UAT 462 Edge Artificial Intelligence for UAS

Worksheet 5 Power, heat, release and the mini-project

Lab 12 hAssesses CLO3, CLO1

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

  1. 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
  2. Compute the effect on the department aircraft's flight time including added mass, and compare with the 1.3-times criterion
  3. 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
  4. Write the release manifest, sign it and test the installer with a one-bit-flipped file
  5. Simulate two failing A/B updates (does not boot, and over the time budget) and design a fallback ladder with hysteresis
  6. 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

Table 1 Power, energy and flight time
QuantityPatrol mode (1 fps)Evidence mode (10 fps)Unit
Table 2 Temperature fit and time to throttling
SetupPower (W)R (C/W)tau (s)Steady-state temperature (C)Time to throttling threshold (s)
Table 3 Release, update and fallback-ladder tests
TestExpected resultObserved resultPass?

Questions

  1. 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.

  2. 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?

  3. 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?

  4. 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.

  5. 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

CLO3 Measure and report time, energy and temperature on real hardware, interface sensors, and plan safe deployment. CLO1 Explain the memory, bandwidth, latency and energy limits of edge AI and select a platform to match the mission. (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