UAT 462 Edge Artificial Intelligence for UAS
Worksheet 5 Power, heat, release and the mini-project
Objective
Measure the energy and heat of the on-board computer, compute the effect on flight time, make a signed release, test update and rollback, design a fallback ladder, and summarise it as an acceptance report and deployment plan
Equipment and materials
- A power meter for the board and a tool to read SoC temperature (vcgencmd or tegrastats)
- A closed mock equipment enclosure and a fan or airflow source
- Python with scipy and cryptography, the example code at /downloads/uat-462/, and the department aircraft's data
Safety
- A board under full load is hot; do not touch the heat sink, and limit full-load ground tests to the time calculated
- Test installation and updates on the bench only; never on an aircraft with propellers fitted and the battery connected
- Any real flying follows CAAT conditions in visual line of sight with people kept clear; check lithium batteries and propellers before every flight
- Log only metrics; do not store images of people
Steps
- Measure the board's power while idle and while running the model; compute energy per inference and per real frame at the frame rates of both modes
- Compute the effect on the department aircraft's flight time including added mass, and compare with the 1.3-times criterion
- Log SoC temperature for 10 minutes under full load in the closed enclosure and in airflow, fit R and tau, and predict when throttling starts
- Write the release manifest, sign it and test the installer with a one-bit-flipped file
- Simulate two failing A/B updates (does not boot, and over the time budget) and design a fallback ladder with hysteresis
- Write an acceptance report and deployment plan of at most 4 pages checking each requirement, with a model card, then present it
Record of results
| Quantity | Patrol mode (1 fps) | Evidence mode (10 fps) | Unit |
|---|---|---|---|
| Setup | Power (W) | R (C/W) | tau (s) | Steady-state temperature (C) | Time to throttling threshold (s) |
|---|---|---|---|---|---|
| Test | Expected result | Observed result | Pass? |
|---|---|---|---|
Questions
Is the board with the lowest energy per inference the best one for patrol mode? Explain with the energy per real frame and the power added by mass.
Does the department's aircraft meet the 1.3-times flight-time criterion with the computer fitted, and which adds more power: the board's electricity or its mass?
From Table 2, how many seconds at most should a full-load ground test last, and why? How do ground results differ from those in the air?
Why must the update health check include the p95 time budget and not only a successful boot? Give an example from the group's tests.
If 20 test flights show no failure, what per-flight failure rate can you claim to be below at 95% confidence? What does this say about the roles of flight tests and of fault injection in simulation?
Check before you hand in
What to hand in
- Table of power, energy per frame and remaining flight time
- Temperature plot with R and tau and the time throttling starts
- Signed manifest and the installer and update test results
- Acceptance report and deployment plan with a model card and a staged roll-out plan