OPERATION MANUAL SPRING SEMESTER REPORT Indoor Quad-rotor Control M.E. Team Number 01 Members: ECE DEPARTMENT: Jigar Patel: Team Leader John Chung: Software/Hardware Engineer Matthew Kishe: Team Webmaster/Test Engineer ME DEPARTMENT: Adam Sobiewski: Team Leader/Treasurer Andrew Silva: Sponsor Liaison SPONSOR EGLIN AIR FORCE BASE JABIL ELECTRONICS
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
SPRING SEMESTER REPORTIndoor Quad-rotor Control
M.E. Team Number 01Members:
ECE DEPARTMENT:
Jigar Patel: Team Leader
John Chung: Software/Hardware Engineer
Matthew Kishe: Team Webmaster/Test Engineer
ME DEPARTMENT:
Adam Sobiewski: Team Leader/Treasurer
Andrew Silva: Sponsor Liaison
Gabriel Morales: Mechanical Engineer
SPONSOR
ContentsI. Function Analysis..............................................................................................................2
II. Project Specifications........................................................................................................2
III. Operation Procedures...................................................................................................3
Hold down the safety switch while powering on the PX4 to renter the boot loader
mode. If done correctly the red led on the IO board will flash rapidly. Let the FMU
boot normally, it will automatically upgrade the processor firmware.
d. Airframe Setup
Once the firmware is flashed onto the board the first thing to do in QGC is to
make sure the right Airframe has been selected. This is done by clicking on the
AIRFRAME CONFIG button on the left toolbar and following the onscreen
instructions.
e. Sensor Calibration
Next is the sensor calibrations which is done by clicking on the SENSOR
CALIBRATION from the left toolbar. Follow the on-screen instructions to calibrate
all the sensors (i.e. Magnetometer, Gyro meter, and Accelerometer)
f. RC Calibration
After the sensors are calibrated, the remote controller (RC) needs to be calibrated
to set the min and max values for the RC inputs. This is done by clicking on the
RC CALIBRATION button from the left toolbar and following instructions.
g. Manual Mode flight Test
Once all the previous steps are successfully completed a manual mode flight test
is to be performed. The USB will not provide sufficient power to spin the motors
and thus the battery should be connected to the system and the USB shall no
longer be connected. Follow the steps below to enter Manual Mode:
1. Make sure RC calibration is done first
2. Start QGC (optional)
3. Connect PX4 board to the battery
4. Connect PX4 board to USB (for data collection if telemetry is not
connected)
5. Turn on the RC transmitter
6. Hold down the safety switch (blinking red light should now be solid red
indicating ready to arm status)
7. Hold the RC throttle stick to the bottom left (this is the method for arming
the copter)
8. You should hear the audio alarm for “ARMED”
9. Release the safety switch
10. The servos should now move
If you are having trouble make sure the Throttle and Yaw channels are not
reversed and also make sure that the ESCs are calibrated.
h. Telemetry on PX4
Plug in the telemetry to the board using a 3DR Radio adapter cable to the UART2
port of the board.
Page 8 of 12
IV. Addition Assembly Required This section talks about the
installation of the protective
housing. Twenty-four (24)
M3x25.4mm screws and M3 nuts
are required for installation. Pre-
drilled holes and support arm and
propeller guard should be lined
up and secured using a screw
and nut. The arrows and solid
sots in Figure 2 illustrate where
each screw and nut should be
placed.
V. TroubleshootingMost of the troubleshooting requires research since there are many stages at which
troubleshooting may occur. Primary sites referred to were the manufactures’ sites. (i.e.
PX4, 3DR etc.)
VI. Future Repair/ReplacementThis section talks about the future repairs and replacements which are specific to the
future goals of the project. Major code modifications and replacements are anticipated to
implement the Velocity based flight control. This involves modifications to the PX4
firmware. Specific files that need to be modified are listed below:
The multirotor velocity controller folder contains the source code that needs
modifications to implement the velocity controller. (Filename:
mc_vel_control_main.cpp)
The PX4 depends on a RC script file to initialize all the sensors, IO board, Inter
Process Communication (IPC), PX4 Flow, MavLink (communication protocols) and
the controller module. This file needs to be updated onto the SD card for the
initialization.
Page 9 of 12
FIGURE 12: INSTALLATION INSTRUCTIONS FOR PROTECTIVE HOUSING.
The PX4 also requires configuration to set the controller to recognize the vehicle
type, and to set the parameters to be used by the quadcopter. i.e PWM cutoff
frequencies.
In addition to the controls listed above, spare parts for each component of the protective
housing will be fabricated in case of failure of one piece. The parts were designed to be
easily interchangeable if a piece were to fracture. Prior to each flight, all screws, nuts,
and components of the protective housing, as well as the entire quadcopter system,
should be checked for any issues to prevent catastrophic failure during flight.
VII. Spare PartsThis section provides the specs and descriptions of the required spare parts needed to
minimize downtime in case of crashes. Click here to buy these parts.
TABLE 1: SPARE PARTS LIST
Part Name Specifications Description Images
Propellers 11 X 4.711 X 4.7P
Used for flying the copter, the letter P which stands for pusher is used for the clockwise rotating arms. While the propellers without the P are used for the counter-clockwise rotating arms.
SpacersM3 X 24mmM3 X 08 mmM3 X 18 mmM3 X 30 mm
Black nylon spacers of varied lengths.*NOTE: have lots of these on hand, easy to break hard to find.
Legs N/A
Legs break easily specially when learning flight and landing. Having spares or re-designing legs will be helpful.