Skip to content
Adaptive AgroTech NetworkUniversity of Southern Denmark · SDU Drone Center
Course2026
← DronesModule 24

Lecture 29 | Measure Drone Flight Time, Payload & Battery Energy | PX4 Log Analysis

InstructorDr. Redmond R. Shamshiri
AffiliationAssistant Professor of Robotics · University of Southern Denmark (SDU)
Study time35 minutes
Watch & study

Lecture video

Open on YouTube ↗

Video unavailable here? Watch on YouTube. Captions and playback speed are available in the player.

Study companion. These editable notes, worked examples and exercises supplement the source material. They are not a verbatim video transcript or a reproduction of the book.

Study Lecture 29 | Measure Drone Flight Time, Payload & Battery Energy | PX4 Log Analysis. Use the accompanying model, numerical example and practical task to connect the topic to a measurable engineering result. Notes are original supplemental material, not a transcript.

Learning Objectives

  • Explain the role of power distribution, inrush and decoupling in the engineering system.
  • Calculate the worked quantity with consistent units.
  • Design a measurement that can reveal an implementation failure.

Study guide

Original companion notes. These notes support the topic of this lesson. They are not a transcript or a claim about the exact contents, hardware settings or examples in the video.

Lesson focus: Lecture 29 | Measure Drone Flight Time, Payload & Battery Energy | PX4 Log Analysis

Retain original data and timestamps so later filtering or threshold changes can be evaluated fairly.

Power distribution, inrush and decoupling

Motors and radios draw dynamic current. A supply that meets average power can still sag during startup and reset a controller. Separate the high-current path, measure at the actual device pins and account for wiring resistance and transient energy.

Model, units and assumptions

\[P=VI,\qquad\Delta V\approx I\Delta t/C,\qquad V_{drop}=IR_{wire}\]

The capacitor relation approximates a short current pulse supplied only by a capacitor and ignores ESR and regulator dynamics. Real decoupling design needs component and layout constraints as well as capacitance.

Worked engineering example

A 0.5 A pulse lasting 1 ms would cause a 0.5 V ideal drop on 1,000 µF if the capacitor alone supplied it. A 0.2 Ω round-trip cable adds 0.1 V drop at the same current.

Practical task and evidence

Apply the following procedure to the topic of this lesson: Lecture 29 | Measure Drone Flight Time, Payload & Battery Energy | PX4 Log Analysis.

  • Measure voltage at the controller rail while the actuator starts.
  • Record peak current, brownout logs and the timing of resets.
  • Use a correctly rated supply and protection; add decoupling based on measured transient behavior.

Submit: a diagram or interface table, a short timestamped dataset, the calculation with units, and a paragraph explaining the largest observed limitation.

Check your understanding

Question. A 24 V load draws 2 A. What electrical input power is required?

Show worked answer

48 W before supply and conversion losses.

Extension. Change one assumption in the model and explain which measurement would reveal that it no longer holds.

Summary

Power distribution, inrush and decoupling: keep units, assumptions and timing explicit. Check the numerical model against an independent observation before using it in a larger system.

Suggested Reading & Resources

  • Reading
    Espressif ESP-IDF programming guide

    Primary documentation or original technical reference; check the version used in your lab.

    Open ↗
  • Reading
    PX4 official user guide

    Primary documentation or original technical reference; check the version used in your lab.

    Open ↗