UAT 462 Edge Artificial Intelligence for UAS

Worksheet 1 Mission requirements and platform shortlist

Analysis activity 12 hAssesses CLO1

Objective

Set measurable mission requirements, compute the minimum frame rate, count the model's cost, use the roofline and shortlist platforms with figures checked at the manufacturers and by measurement

Equipment and materials

  • Manufacturers' specification pages for at least three boards the department has
  • A computer with Python and NumPy and the example code at /downloads/uat-462/
  • The layer table of the model the group chose

Safety

  • Desk work, no flying
  • Record figures from the manufacturer's page with URL and date checked; do not use figures from sources that cannot be checked
  • Use only image data that is permitted and shows no identifiable person

Steps

  1. Read the manufacturers' pages and make a specification table, noting dense or sparse and the numeric precision of the TOPS
  2. Compute the mission's minimum frame rate with Example 1 from the group's GSD, speed and overlap, then write measurable requirements
  3. Edit the layer table in Example 2 to the group's model and count MACs, parameters and peak activations at int8 and float32
  4. Check whether it fits each board's memory and find the largest input that fits
  5. Write a NumPy script that measures the working machine's memory bandwidth and compute rate, then compute its ridge
  6. Compute the roofline of each board (Example 3), name the memory-bound layers, then write a one-page platform note

Record of results

Table 1 Board specifications from the manufacturers' pages
BoardCompute (TOPS or GHz) and numeric precisionDense or sparseMemory and bandwidthPower or power modesURL and date checked
Table 2 Mission requirement, model cost and the measured machine
QuantityFormula or code usedValueUnit
Table 3 Layer-by-layer roofline of the chosen board
LayerOperations (ops)Bytes read and writtenArithmetic intensity (ops/byte)Memory-bound or compute-boundMinimum time (ms)

Questions

  1. How many times lower is the group's minimum frame rate than the camera's 30 fps? If the requirement followed the camera, how would the board choice, mass and energy change?

  2. If the model's weights fit the MCU's flash, why can the MCU still not be used? Explain with the peak activation memory in Table 2 and the object size in pixels when the input is reduced.

  3. From Table 3, which layers are memory-bound? If you bought a board with twice the TOPS but the same bandwidth, would those layers get faster? Why?

  4. Does the group's roofline time tell you the real time on the board? What work is not counted, and what must the group measure in the next module?

Check before you hand in

What to hand in

  • Specification table with sources and dates checked
  • Measurable mission requirements with the minimum frame rate
  • Model-cost table and memory-fit result
  • A one-page platform note with what still has to be measured

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