UAT 458 Indoor Autonomous UAS and Navigation Technology

Worksheet 6 IMU drift and range from AprilTags

Lab 6 hAssesses CLO4, CLO1

Objective

Measure a real IMU bias and compute its effect on position, check tag ranges against the pinhole model, and find the limits of optical flow

Equipment and materials

  • IMU or flight controller with a logging cable
  • Calibrated camera and AprilTag detection software
  • AprilTags printed in two sizes and a measuring tape
  • Optical-flow sensor with a rangefinder
  • Computer with Python

Safety

  • Bench work and carrying sensors by hand; no flying
  • Fix tags to walls within reach; do not climb chairs or ladders without someone holding them
  • Keep cables and equipment clear of walkways

Steps

  1. Leave the IMU still on a bench for 10 minutes, log the accelerometer and find the bias from the mean
  2. Use the code in Example 1 to compute when the position error would exceed 0.30 m
  3. Photograph both tag sizes from 1 to 8 m, measure true range with the tape and compare with Z = f_x S/s
  4. Find the longest range at which every image decodes and set the group's tag-size rule
  5. Carry the optical-flow sensor and rangefinder over three floors, log flow quality and decide which floors are usable

Record of results

Table 1 Navigation requirements for the group's chosen space
RequirementMeaningGroup value (with unit)How it will be checked
Table 2 IMU bias and time to exceed 0.30 m
AxisMeasured mean = bias (m/s²)Time to 0.30 m (s)Error at 10 s (m)
Table 3 AprilTag range against true range
Tag size S (m)True range by tape (m)Image size s (px)Z = f_x S/s (m)Error (cm)Decoded in every image?

Questions

  1. From the bias you measured, how many seconds until an IMU-only position exceeds 0.30 m? If there is also a gyro bias, which error grows faster over longer times, and what does this say about how often position must be corrected?

  2. Do your data in Table 3 show the range error growing with the square of range? Compare the error at one range with that at twice the range.

  3. How did the group set its tag-size rule from the longest range at which every image decoded, and how large must a tag be to read it from 12 m?

  4. Which floors are usable for optical flow and which are not? Explain with the logged flow quality, and say how a height error affects the velocity.

  5. With VIO drifting 1% of distance, how often must a tag or other reference be seen to stay within 0.30 m, and what does this say about choosing a reference technology?

Check before you hand in

What to hand in

  • Navigation-requirements table for the group's chosen space
  • Measured bias and time to exceed 0.30 m
  • Plot of tag range against true range and the tag-size rule
  • Summary of floor suitability for optical flow

CLO4 Explain and compare indoor positioning with vision, infrared, ultra-wideband, LiDAR and inertial sensors, and compute the expected accuracy from error models. CLO1 Explain the limits of operating in GNSS-denied environments and choose visual, LiDAR and inertial position sources to suit each indoor zone. (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