UAT 102 Applied Physics for Aircraft Technology

Worksheet 5 Comparing calculation, simulation and flight

Lab 6 hAssesses CLO1, CLO3

Objective

Use SITL to test hover and climb, extract log data, compare with hand calculations and explain differences

Equipment and materials

  • Computer with ArduPilot or PX4 SITL and a ground station
  • Python or a spreadsheet to read logs
  • Results from worksheets 3 and 4
  • Lab drone (if available)

Safety

  • The simulation part is computer work; no flying
  • If flying for real, fly within CAAT conditions in visual line of sight under the lecturer's supervision; keep people clear

Steps

  1. Run SITL; take off, hover at 10 m, then climb at constant speed
  2. Extract current, voltage and height from the log
  3. Compute hover power and climb rate from the log
  4. Compare with hand calculations from modules 3 and 4
  5. If a real drone is available, fly the same mission and compare three sources
  6. Explain differences using 'When simulation and reality disagree'

Record of results

Table 1 Values from the SITL log
Flight phaseTime window (s)Mean voltage (V)Mean current (A)Power (W)Climb rate (m/s)
Table 2 Three-way comparison
QuantityHand calculationSITLReal flight (if any)Difference (%)
Explanation of the differences, using 'When simulation and reality disagree'

Questions

  1. Which cause in 'When simulation and reality disagree' best explains the differences in Table 2? What evidence in the log supports it?

  2. Using the lesson's Example 1 (2 kg drone, 22 N of thrust), find the height at t = 0.3 s with the Euler method at Δt = 0.1 s and 0.05 s and compare with the exact value. What does this say about choosing Δt in a simulator?

  3. If the motors stop while hovering at 10 m in SITL, does a 2 kg drone with C_D A = 0.05 m² reach terminal velocity before hitting the ground? Show the calculation.

  4. Does passing SITL tests mean the drone is ready for real flight? How should testing be staged?

Check before you hand in

What to hand in

  • Log files and the script or spreadsheet
  • Three-way comparison table
  • Explanation of the differences

CLO1 Explain forces, moments and UAS motion using Newton's laws. CLO3 Conduct and analyse flight-related physics experiments. (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