UAT 302 UAS Installation and System Integration

Worksheet 2 Install and check the sensors

Lab 12 hAssesses CLO1, CLO2

Objective

Install the flight controller, compass and GNSS with correct orientation and offsets, calibrate the compass and check vibration from logs

Equipment and materials

  • Training drone, flight controller, damped mount, GNSS and compass module
  • Mission Planner or QGroundControl
  • Tape measure
  • Python and the module 2 example code

Safety

  • Propellers off during installation and setup
  • Run compassmot only under lecturer supervision; secure the drone and stay clear of propellers
  • Hover within CAAT conditions in visual line of sight; keep people clear
  • Calibrate the radio with the battery and propellers removed, powered by USB

Steps

  1. Measure compass distance to the nearest power wire; estimate interference with Example 1
  2. Mount the FC on dampers; set AHRS_ORIENTATION and COMPASS_ORIENT; verify by tilting and rotating
  3. Measure the GNSS antenna offset; set GPS1_POS_X/Y/Z as in Example 2
  4. Calibrate the accelerometers, level and radio; check the results with Example 3 and set the receiver failsafe correctly
  5. Calibrate the compass, then run compassmot; record the percentage
  6. Hover; read vibration and clipping from the log against ArduPilot limits

Record of results

Table 1 Compass distance from power wires and estimated interference
Nearest wire and hover current (A)Go-and-return spacing s (mm)Distance to compass r (cm)Interference B (µT) and % of HMaximum heading error (deg)
Table 2 Orientation, offset and calibration results
ItemValue set or read (with unit)Criterion usedPass or fail, and what was fixed
Table 3 Vibration and clipping from the hover log
AxisPeak vibration (m/s²)Clipping countArduPilot rangeConclusion

Questions

  1. From Table 1, is the training drone's compass far enough away for the 5% of H rule? If the go-and-return spacing grew four times, how many times further must the compass be, and why?

  2. How far above the IMU is the training drone's GNSS antenna? At a 25 degree tilt how many centimetres does the antenna move, and why does this matter with RTK but hardly show with ordinary GNSS?

  3. If channel 3 with the transmitter off reads less than 10 µs below FS_THR_VALUE, what happens when the link is lost in flight, and where should it be fixed?

  4. Which ArduPilot range do your compassmot result and logged vibration fall in? If either is outside the acceptable range, which cause should be fixed first?

Check before you hand in

What to hand in

  • Interference estimate and distances used
  • Screenshots of orientation and offset settings
  • Calibration and compassmot results
  • Vibration plot from the log with conclusion

CLO1 Install and interface flight controllers, sensors and power. CLO2 Configure and test subsystem compatibility. (CLOs are a web-team draft; the course owner sets the final ones.)

Instructors: answers and teaching notes for this worksheet are in the teaching pack