Teaching pack · UAT 205

A 15-week teaching plan, 5 worksheets, a scoring rubric and a map from the course description to the lessons, for instructors to evaluate and adapt before teaching.

Last updated: · 3(2-2-5) · Per week: lecture 2 h, lab 2 h, self-study 5 h; 60 contact hours per term

Coverage of the course description

The lessons fully teach 12 of 12 description topics. Each topic lists the modules and lesson sections that teach it, and incomplete topics say what is missing.

Description topicModulesWhere it is taughtStatus
Measurement principlesM1Module 1: the measurement chain, from sensor, conditioning and ADC to a value with its uncertaintyCovered
Sensor characteristicsM1Module 1: the measurement chain, range, resolution, sensitivity, nonlinearity, bandwidth and response timeCovered
Accuracy, precision and errorsM1M2Module 1: 'Accuracy, precision and measurement error' (VIM definitions of systematic and random error, bias, trueness, precision, repeatability, reproducibility, accuracy, resolution and gross errors) with Example 3 on two rangefinders at a known height, plus the calibration curve and GUM uncertainty budget · Module 2: the MEMS error modelCovered
CalibrationM1M2M3M4Module 1: the calibration curve · Module 2: six-position accelerometer calibration and hard iron · Module 3: airspeed calibration · Module 4: calibration with Zhang's methodCovered
Signal conditioningM1Module 1: 'Signal conditioning: bridges and amplifiers' (Wheatstone bridge, strain gauges, load cells, instrumentation amplifiers and CMRR, RC anti-alias filter) with Example 4 on a thrust-stand load cell into a 12-bit ADC, plus 'The measurement chain' and 'ADC and sampling' · Module 4: the photodiode transimpedance amplifierCovered
Motion sensors and IMUsM2M3Module 2: MEMS and the error model, Allan deviation, magnetometers and hard iron · Module 3: airspeed from a pitot tubeCovered
Pressure sensorsM3Module 3: barometers and the standard atmosphere; airspeed from a pitot tubeCovered
Distance sensors and LiDARM3M5Module 3: ultrasonic and laser rangefinders · Module 5: LiDAR and FMCW radarCovered
Position sensors and GNSSM3M5Module 3: 'GNSS: position from satellite signals' (pseudoranges and at least four satellites, UERE error sources and DOP, GPS SPS performance, RTK, and pre-flight checks per CAAT-GM-UAS-001 and ArduPilot pre-arm checks) with Example 3 on clock errors and the GNSS error budget · Module 5: LiDAR uses GNSS position and the PPS time signal. The worksheets do not yet include a hands-on position measurement with a real receiverCovered
Light sensorsM4Module 4: 'Light sensors: photodiodes and ambient light' (photosensitivity, quantum efficiency, dark current, transimpedance amplifier, the OPT3001 ambient light sensor and the DLS on multispectral cameras) with Example 3, plus the pinhole camera modelCovered
Temperature sensorsM1M3Module 1: 'Temperature sensors' (NTC thermistors, RTDs, thermocouples and IC sensors, self-heating) with Example 5 on a battery NTC thermistor in a voltage divider, plus Example 1 and the lab calibrating a battery temperature sensor · Module 3: temperature effects on airspeed and on the speed of sound for rangefindersCovered
Camera systemsM4Module 4: the pinhole camera model, lens distortion and calibration with Zhang's methodCovered

Weekly teaching plan

WeekTopicPre-classLectureLabEvidence
1 M1The measurement chain and sensor characteristicsRead module 1 up to 'The measurement chain'Stages of one measurement and reading characteristics from a datasheet; temperature sensors: NTC, RTD, thermocouple and IC (Example 5)Worksheet 1 part A: connect an analog temperature sensor to the microcontroller board; record ADC resolutionWiring diagram and datasheet characteristics table
2 M1Calibration curves and uncertainty budgetsRead the calibration-curve section; run Example 1Two-point and multi-point calibration and the GUM propagation law; accuracy, trueness, precision and systematic, random and gross errors (Example 3)Worksheet 1 part B: measure against a reference thermometer at five or more temperatures; fit the calibrationCalibration equation and uncertainty budget
3 M1ADC and samplingRead the ADC and sampling section; run Example 2; take the module 1 quizADC resolution, quantisation noise, aliasing and anti-alias filters; signal conditioning with a bridge and an instrumentation amplifier (Example 4)Worksheet 1 part C: check errors at unused temperatures; record a shaker at two sampling ratesValidation table, alias explanation and quiz result
4 M2MEMS and the IMU error modelRead module 2 to 'MEMS and the error model'Gyroscopes and accelerometers; bias, scale factor and noiseWorksheet 2 part A: six-position accelerometer calibration in Mission Planner or QGroundControlOffsets and scales from the software
5 M2Six-position calibration and Allan deviationRead the six-position and Allan deviation sections; run Example 1Bias and scale factor from ±g; reading an Allan plot for ARW and bias instabilityWorksheet 2 part B: compute the six positions yourself; start a one-hour static gyro recordingComputed versus software table and Allan deviation plot
6 M2Magnetometers and hard ironRead the magnetometer section; run Example 2; take the module 2 quizHard and soft iron and their effect on headingWorksheet 2 part C: rotate the compass board, find hard iron, test a steel screwdriver nearbymx/my plots before and after correction, lab-notebook entry, quiz result
7 M3Barometers and the standard atmosphereRead module 3 on barometers; run Example 1Altitude from pressure, relative altitude and weather driftWorksheet 3 part A: two-hour static recording against a weather station; fan test with and without foamDrift plot and foam comparison
8 M3Airspeed from a pitot tubeRead the airspeed section; run the first part of Example 2Dynamic pressure, IAS versus TAS and hot-day effects; GNSS pseudoranges, error sources, DOP and pre-flight checks (Example 3)Worksheet 3 part B: calibrate airspeed per the ArduPilot or PX4 guide and convert to TASResulting parameters and IAS/TAS table
9 M3Rangefinders; midtermRead the rangefinder section; review modules 1–3; take the module 3 quizMidterm examination (modules 1–3)Worksheet 3 part C: ultrasonic range at room temperature and in sun; test laser cos θ compensationWorksheet 3 report and midterm score
10 M4The pinhole camera modelRead module 4 on the pinhole modelProjection centre, focal length and the K matrixWorksheet 4 part A: print a checkerboard, measure squares with calipers and take at least 20 imagesImage set covering the whole frame including edges
11 M4Lens distortionRead the lens distortion section; run Example 1Brown's model and its effect on ground distancesWorksheet 4 part B: calibrate following OpenCV or L11; record K, distortion and reprojection errorCalibration results with the reprojection-error definition
12 M4Calibration with Zhang's methodRead the Zhang's method section; run Example 2; take the module 4 quizPer-image reprojection error and finding abnormal images; light sensors: photodiodes, ambient light sensors and the DLS (Example 3)Worksheet 4 part C: drop abnormal images, recalibrate and undistort one aerial imageBefore/after undistorted image and quiz result
13 M5LiDAR and pulse densityRead module 5 on LiDAR; run Example 1Time of flight, point density, QL1 and time synchronisationWorksheet 5 part A: find altitude and speed meeting QL1; count real density in CloudCompare (if data exist)Altitude, speed and density table
14 M5FMCW radar and choosing sensors for a missionRead the radar and sensor-choice sections; run Examples 2–3; take the module 5 quizRange resolution, beat frequency, scoring matrices and weight sensitivityWorksheet 5 part B: test a radar board; build the group scoring matrix with independent weightsRadar results, scoring matrix and quiz result
15 M5Mini-project presentations or practical examPrepare the mission-sensor plan with the course's calibration resultsCourse wrap-up and assessment criteriaPresent the mission-sensor plan, or a practical exam calibrating one sensor with an uncertainty budgetMini-project report and presentation or practical exam, scored with the rubric

Worksheets and instructor guide

One worksheet per module. Students open it on the web, print it or download the .docx. The instructor guide under each worksheet gives the class timing, expected results, discussion questions and notes for students with different backgrounds.

1Worksheet 1 Calibrating a temperature sensor
Lab · About 6 h of class time · CLO2, CLO1

Objective: Calibrate an analog temperature sensor, build an uncertainty budget, validate it and observe aliasing from sampling

Equipment

  • Lab microcontroller board and analog temperature sensor
  • Certified reference thermometer
  • Water baths or a controlled temperature source
  • Shaker or motor
  • Computer with Python and example code at /downloads/uat-205/

Safety

  • Avoid scalds from hot water; use heat-resistant gloves and stable containers
  • Keep water away from boards and wires; power down before wiring changes
  • Clamp the shaker or motor firmly and keep clear of moving parts

Steps

  1. Connect the sensor and record the ADC resolution
  2. Measure against the reference at five or more temperatures, waiting for each to settle
  3. Use Example 1 to find the calibration equation and uncertainty budget
  4. Measure at temperatures not used for calibration and check errors fall within the uncertainty
  5. Record the shaker or motor at two sampling rates
  6. Explain the apparent frequencies with Example 2

Deliverables

  • Calibration data and equation
  • Uncertainty budget
  • Validation table at new temperatures
  • Aliasing explanation

Checklist

  • Table 1 has at least 5 calibration points and at least 2 validation points, every value has a unit, and settling before each reading is noted (Experimental practice and lab safety)
  • Both the two-point and least-squares equations are shown, with code that reruns (Accuracy of calibration and calculations)
  • The budget has at least 3 sources (multimeter, reference thermometer, nonlinearity), combined with the law of propagation, and gives the expanded value at k = 2 (Uncertainty evaluation and validation)
  • Table 3 has predicted and observed frequencies at both sampling rates, with an explanation of any mismatch (Accuracy of calibration and calculations)

Instructor guide

Class timing 360 min

  1. Objectives and safety briefing; prepare water baths30 min
  2. Wire the sensor and measure against the reference at five or more temperatures120 min
  3. Run Example 1 code for the equation and uncertainty budget60 min
  4. Validation measurements at new temperatures45 min
  5. Record the shaker at two sampling rates and explain aliasing75 min
  6. Wrap-up, questions and hand-in checklist30 min

Expected results

  1. Record: Table 1 Calibration and validation dataTable 1 (numbers depend on the real sensor; with the lesson's Example 1 data, six points from 0 to 50 °C): two-point 9.980 mV/°C, offset 0.5020 V, worst error 0.44 °C (0.88% FS); least squares 10.034 mV/°C, offset 0.4998 V, worst error 0.38 °C (0.76% FS). An IC sensor of about 10 mV/°C should give a sensitivity close to this. Validation points should have errors no larger than the expanded uncertainty (about ±0.8 °C if the budget is close to the example).
  2. Record: Table 2 Uncertainty budgetTable 2 (Example 1 values): multimeter 2 mV times c_V = 99.7 °C/V gives 0.20 °C, reference thermometer 0.10 °C (c = 1), nonlinearity from the residuals 0.31 °C; combined u_c = 0.38 °C, expanded U = 0.77 °C (k = 2). Adding a row for the quantization noise of a 12-bit 3.3 V ADC (0.233 mV, or 0.023 °C) still gives 0.38 °C. Accept rounding differences of ±0.01 °C.
  3. Record: Table 3 Apparent frequency at two sampling ratesTable 3: a 180 Hz shaker sampled at 200 Hz appears at 20 Hz, and at 1,000 Hz it appears at its true 180 Hz (Example 2: 1,170 Hz at 1,000 Hz appears at 170 Hz; 450 Hz at 1,000 Hz stays at 450 Hz). Observed values should match the prediction within the frequency resolution of the analysis; a mismatch usually means the motor's real frequency is not the set value.
  4. Question 1: Compare the worst error of the two-point line with the least-squares line from your group's data. Which is better, and what does the pattern of residuals say about the sensor's nonlinearity?A strong answer: least squares spreads the error over all points, so its worst error is lower than two-point (0.76% against 0.88% FS in the example). Two-point forces both ends to zero error and hides the error in the middle. If the residuals show a pattern (for example negative in the middle, positive at the ends) rather than random scatter, the sensor is nonlinear and a quadratic fit should be tried.
  5. Question 2: Which source is largest in your uncertainty budget? To cut the combined uncertainty the most, which source would you work on first, and why?In the example the nonlinearity (0.31 °C) is largest. Halving the multimeter uncertainty only lowers u_c from 0.38 to 0.34 °C, while removing the nonlinearity (for example with a quadratic fit) lowers it to about 0.22 °C. A strong answer uses the group's own numbers and notes that the largest source matters most because the terms add in quadrature.
  6. Question 3: Did the errors at the new temperatures (not used for calibration) fall within the expanded uncertainty you computed? Why must you check with new points rather than the calibration points?Most validation points should be within U (about 0.77 °C in the example). If not, common causes are not waiting for the temperature to settle, a point outside the calibrated range, or more nonlinearity than estimated. New points are needed because the equation was fitted to the old ones, so errors at the calibration points look better than they really are.
  7. Question 4: How many °C is one ADC count, and how does that compare with the expanded uncertainty? Does the resolution tell you the accuracy of the measurement?A 12-bit 3.3 V ADC has an LSB of 0.806 mV, or 0.080 °C per count, while U of about 0.77 °C is almost 10 times larger. Resolution is therefore not accuracy: it only gives the smallest step that can be read, and accuracy comes from the uncertainty budget and the check against a reference.
  8. Question 5: Explain the apparent frequencies you saw at both sampling rates with the alias formula, and explain why the signal must be filtered before the ADC rather than in software afterwards.Using f_a = |f - round(f/f_s) f_s|: 180 Hz at 200 Hz gives 20 Hz because it is above half the sampling rate; at 1,000 Hz it gives 180 Hz because it is below 500 Hz. Once sampled, the 180 Hz and 20 Hz samples are identical at every point, so software cannot separate them and an anti-aliasing filter is needed before the ADC. A strong answer adds that a simple RC filter (1 kΩ and 1 µF, cutoff 159 Hz) still passes 30% of a 500 Hz vibration.

Discussion questions

  • If the lab only has time for three temperatures, which points should it choose and which equation should it use, and why?
  • Why can averaging many readings not remove a sensor's bias, while calibration can?
  • On a real drone, what would the flight controller do wrong if propeller vibration were sampled too slowly?

Adapting to student background

Upper secondary (M.6)
Have them compute c_V = 1/a and combine the budget by hand once before running the code, and give them time to practise wiring and reading the reference thermometer with a hands-on peer.
Vocational certificate
Start by measuring and completing Table 1, then explain least squares with the plot (a line close to every point) and use a fill-in table for the budget one row at a time.
Diploma
Extension: fit a quadratic to the same data and compare residuals and combined uncertainty, or design an RC filter for the sampling rate used and measure its effect.

Common student mistakes: Common mistakes in the module 1 lesson

2Worksheet 2 IMU and compass calibration
Lab · About 6 h of class time · CLO2, CLO1

Objective: Calibrate the accelerometer in six positions, analyse the gyro with Allan deviation and correct compass hard iron

Equipment

  • Flight controller or IMU board and compass board
  • Mission Planner or QGroundControl
  • Python, AllanTools and module 2 example code
  • Steel screwdriver

Safety

  • Remove propellers whenever a battery is connected to a drone in the lab
  • Bench work only; no flying

Steps

  1. Run six-position calibration in the software and read offsets and scales
  2. Record raw six-position readings, compute with Example 1 and compare
  3. Leave the IMU still for at least an hour and record the gyro
  4. Compute Allan deviation to find ARW and bias instability
  5. Rotate the compass board, record mx and my, find hard iron with Example 2
  6. Place a steel screwdriver near the compass, observe the circle change and record it in the lab notebook

Deliverables

  • Bias and scale-factor comparison table
  • Allan deviation plot with ARW and bias instability
  • mx/my plots before and after hard-iron correction
  • Screwdriver test notes

Checklist

  • Table 1 covers all three axes in m/s² and shows bias = (up + down)/2 and scale = (up - down)/2g (Accuracy of calibration and calculations)
  • The Allan deviation plot is log-log with the slope -1/2 line and states the bias-instability reading method (Uncertainty evaluation and validation)
  • The mx/my plots before and after hard-iron correction share the same axes and state the offset used (Accuracy of calibration and calculations)
  • The lab notebook records that propellers were off, the IMU stayed still throughout the recording, and the screwdriver's distance from the compass (Experimental practice and lab safety)

Instructor guide

Class timing 360 min

  1. Objectives and safety; remove propellers; start the still gyro recording30 min
  2. Six-position calibration in software and own raw readings90 min
  3. Compute bias and scale with Example 1 and compare with the software45 min
  4. Rotate the compass, find hard iron and run the screwdriver test75 min
  5. Stop the gyro recording and compute Allan deviation90 min
  6. Wrap-up, questions and hand-in checklist30 min

Expected results

  1. Record: Table 1 Six-position accelerometer calibrationTable 1 (numbers depend on the real IMU; with the lesson's Example 1 values): x bias +0.120 m/s², scale 1.0003; y bias +0.040 m/s², scale 1.0003; z bias -0.200 m/s², scale 1.0014. Your own values should be close in size to the software's (check the sign convention in the software's parameter description before comparing). Scale factors should be near 1; one far from 1 usually means the board moved during the reading.
  2. Record: Table 2 Gyro Allan deviation resultsTable 2 (depends on the real IMU): for the TDK ICM-42688-P quoted in the lesson, a gyro noise of 2.8 mdps/√Hz means an Allan deviation on the slope -1/2 line at τ = 1 s of about 0.0028 °/s (equal to 0.168 °/√h). Values measured on a real board are often higher than the datasheet. Bias instability is read at the minimum of the curve; with the IEEE method divide by 0.664 (the value becomes 1.51 times larger). The record must be long enough to show the minimum before the curve rises.
  3. Record: Table 3 Compass data and hard-iron correctionTable 3 (with Example 2 values: 35 µT horizontal field, offset (12, -8) µT): mx from -23.0 to 47.0 µT, my from -43.0 to 27.0 µT, estimated offset (12.0, -8.0) µT; worst heading error 24.3° before correction and 0.0° after. With the screwdriver nearby the circle should shift or distort and the offset should change; the real values depend on the screwdriver's distance.
  4. Question 1: Without calibration, how many degrees of tilt would the bias your group measured make the flight controller see while the drone sits level, and how would the drone fly?From Example 1, biases of +0.12 m/s² on x and +0.04 m/s² on y show about 0.72° of tilt while the drone is level, and 0.00° after correction. The controller would keep correcting a tilt that does not exist until the drone drifts to one side. A strong answer computes the angle from the group's own values with atan2.
  5. Question 2: How far do your own bias and scale-factor results differ from the software's values, and what could cause the difference?Small differences are normal. Causes worth naming: the board moved during the reading (a common mistake), the positions were not truly vertical, raw readings were averaged too briefly so noise mattered, or the software uses a different definition or sign from the lesson's formula.
  6. Question 3: Which method did your group use to read bias instability, how would the value change with the other method, and why must the report state the method?AN5087 reads the minimum directly, while the IEEE gyro standard divides the minimum by 0.664, giving a value about 1.51 times larger. Without the method stated, a reader cannot compare with the datasheet or another gyro model, and the EKF noise settings may be set wrongly.
  7. Question 4: With the steel screwdriver near the compass, did the data circle shift its centre, stretch into an ellipse, or both? Explain with hard iron and soft iron, and say what this means for mounting a compass on a drone.A strong answer: a shifted centre means an added constant field (hard iron, for example a magnetised screwdriver); stretching into an ellipse means a permeable material distorts the field (soft iron). The steel of a screwdriver can do both. The compass must therefore be mounted away from steel parts and high-current wiring, and recalibrated whenever equipment near it is moved.

Discussion questions

  • Why does calibrating a compass near a car or steel structure make the result worse rather than better?
  • If you had to choose between two IMU models for the lab's VTOL, how would Allan deviation results help you decide?
  • Why is relying on a single datasheet value without measuring it yourself risky?

Adapting to student background

Upper secondary (M.6)
Have them derive bias = (up + down)/2 and scale = (up - down)/2g from the model ã = s a + b before starting, paired with a peer fluent in Mission Planner or QGroundControl.
Vocational certificate
Do the six positions by hand first and fill in a template table; explain Allan deviation with a ready-made plot and point out only the two readings needed (the slope -1/2 line at τ = 1 s and the minimum).
Diploma
Extension: correct soft iron by fitting the ellipse back to a circle, or repeat the gyro recording after warming the board to see the effect of temperature on bias.

Common student mistakes: Common mistakes in the module 2 lesson

3Worksheet 3 Barometer, airspeed and rangefinder
Lab · About 6 h of class time · CLO2, CLO1

Objective: Measure barometer drift, calibrate airspeed and check temperature and tilt effects on rangefinders

Equipment

  • Board with barometer and foam cover
  • Airspeed sensor with pitot tube
  • Ultrasonic and laser rangefinders
  • Fan, tape measure and protractor
  • Pressure data from a nearby weather station

Safety

  • Never aim the laser rangefinder at eyes; check its laser class first
  • Boards left in the sun get hot
  • Bench and lab-area work only; no flying

Steps

  1. Leave the board still for two hours; record barometric altitude against weather-station pressure
  2. Blow a fan at the bare and foam-covered board; compare altitude change
  3. Calibrate airspeed per the ArduPilot or PX4 guide
  4. Convert readings to TAS with Example 2
  5. Measure distance to a wall with ultrasonic at room temperature and in sun, against a tape
  6. Tilt the laser board at several angles and check cos θ compensation

Deliverables

  • Drift plot against real pressure
  • Foam comparison
  • IAS/TAS table
  • Range versus temperature and angle table

Checklist

  • Table 1 covers the full two hours, names the weather station and the time of its pressure data, and includes the altitude against pressure plot (Uncertainty evaluation and validation)
  • Table 2 computes IAS with ρ0 = 1.225 kg/m³ and TAS with the real density from measured pressure and temperature, every value with a unit (Accuracy of calibration and calculations)
  • Table 3 gives percentage errors before and after compensation, for both the temperature case and at least three tilt angles (Uncertainty evaluation and validation)
  • Records show the laser was never aimed at eyes, its laser class was checked, and the temperature was logged for every measurement (Experimental practice and lab safety)

Instructor guide

Class timing 360 min

  1. Objectives and laser safety; start the still barometer recording30 min
  2. Fan test on the bare and foam-covered board45 min
  3. Airspeed calibration and conversion to TAS90 min
  4. Ultrasonic rangefinder indoors and in sun; tilt the laser at several angles105 min
  5. Stop the barometer recording, fetch station data and plot60 min
  6. Wrap-up, questions and hand-in checklist30 min

Expected results

  1. Record: Table 1 Barometric altitude against station pressureTable 1 (depends on the day's weather): near 1,008 hPa the sensitivity is 8.36 m per hPa (Example 1). If station pressure falls by 1.5 hPa, barometric altitude should rise by about 12.5 m although the board is still. Measured altitude should follow the pressure change in the opposite direction; the BMP390's short-term relative accuracy is about ±0.25 m (3 Pa). With the fan, the bare board should jump clearly more than the foam-covered one.
  2. Record: Table 2 IAS and TASTable 2 (lesson Example 2): 245 Pa gives IAS 20.00 m/s; at 1,008 hPa and 35 °C the density is 1.1396 kg/m³ and TAS 20.74 m/s (3.7% above IAS). Indoors at 25 °C and 1,008 hPa the density is 1.1778 kg/m³ and TAS is about 2.0% above IAS. A fan's airflow is much weaker; for example IAS 5 m/s needs only 15.3 Pa of differential pressure (TAS 5.10 m/s). Accept rounding differences of ±0.01.
  3. Record: Table 3 Range against temperature and tiltTable 3: for a sound round trip of 5.83 ms, Example 2 gives 1.001 m when 20 °C is assumed but 1.026 m at a real 35 °C (2.5% error). If the wall is really 2.000 m away and the sensor assumes 25 °C while the air in the sun is 40 °C, it reads about 1.952 m (2.5% short). A laser at a true height of 1.000 m reads 1.015, 1.064 and 1.155 m at 10°, 20° and 30° of tilt; multiplied by cos θ these should return close to 1.000 m.
  4. Question 1: Did the barometric altitude drift over the two hours follow the station's pressure change? Check with the sensitivity of about 8.4 m per hPa and say what it means for a one-hour mission.Altitude should change by about 8.4 m per 1 hPa of pressure change, in the opposite direction. On a one-hour mission with a 1.5 hPa fall, altitude drifts about 12.5 m, so the barometer must be fused with GNSS and the pressure at the landing site checked before landing. A strong answer uses the group's own numbers and points out where they disagree with the station (for example board heating or distance from the station).
  5. Question 2: How much did the foam reduce the altitude change when the fan blew? Explain why wind and sun make the altitude wrong.Wind blowing into the sensor port changes the pressure the sensor feels, so the altitude jumps; foam reduces this. Sun heats the board and makes the value drift, which the ±3 Pa relative accuracy figure does not include. A strong answer gives numbers for how much the foam reduced the change.
  6. Question 3: By what percentage did the TAS you computed differ from IAS on the test day? What would it be on a 35 °C hot day, and why must the pitot tube be covered at power-up?Hot air is less dense, so TAS is higher than IAS: about 2.0% at 25 °C and about 3.7% at 35 °C (20.00 to 20.74 m/s), which affects flight-time and energy calculations. The pitot tube must be covered at power-up because the system measures the differential-pressure zero then; wind in the tube would make the zero wrong.
  7. Question 4: By what percentage did the ultrasonic rangefinder in the sun differ from the tape, compared with the prediction from the speed of sound a = √(γRT)? Explain when the laser's cos θ compensation works and when it does not.The speed of sound varies with √T: from 25 °C to 40 °C it rises about 2.5% (346.1 to 354.7 m/s), so an uncompensated sensor is off by about 2.5%. A strong answer compares this with the measured value. cos θ compensation works over flat ground and fails on slopes, over crops or obstacles, or when the laser spot lands on another object.

Discussion questions

  • If the VTOL surveys a plot for an hour on a day when pressure changes quickly, which altitude sources should it use, and what should be checked before landing?
  • Why does the number of GNSS satellites alone not show that the position is accurate, and how does that relate to using the barometer?
  • Between an ultrasonic and a laser rangefinder, which suits landing over a crop plot in the sun, and why?

Adapting to student background

Upper secondary (M.6)
Have them derive the m per hPa sensitivity from the standard-atmosphere formula and TAS = IAS √(ρ0/ρ) from q = ½ρv² before starting, then practise fitting the pitot tube and calibrating in the software with an assistant nearby.
Vocational certificate
Focus on complete measurements and records first; use the shortcut of 8.4 m per hPa instead of the full formula, and a fill-in table with the IAS, TAS and cos θ formulas written in each column.
Diploma
Extension: write temperature-compensation code for the ultrasonic rangefinder using the board's temperature sensor, then repeat the sun measurement to show the error falls.

Common student mistakes: Common mistakes in the module 3 lesson

4Worksheet 4 Camera calibration with OpenCV
Lab · About 6 h of class time · CLO2, CLO1

Objective: Find camera intrinsics and distortion, check quality with reprojection error and undistort a real image

Equipment

  • Checkerboard on a flat rigid board
  • Calipers
  • Drone camera or a camera with locked focus
  • Python and OpenCV
  • One aerial image from the same camera

Safety

  • Desk and indoor photography only; no flying
  • Remove propellers if the camera is on a powered drone

Steps

  1. Print a checkerboard, measure squares with calipers, mount it flat
  2. Lock focus and take at least 20 images in many poses, covering the frame and edges
  3. Calibrate following the OpenCV tutorial or lab L11
  4. Record K, distortion coefficients and reprojection error with its definition
  5. Use Example 2 to find abnormal images, inspect the cause and recalibrate
  6. Undistort one aerial image and compare edge straight lines before and after

Deliverables

  • K and distortion coefficients
  • Per-image reprojection error before and after pruning
  • Before/after undistorted images

Checklist

  • The checkerboard square size measured with calipers is stated with its unit, along with the number of inner corners (Experimental practice and lab safety)
  • Table 1 has fx, fy, cx, cy and every distortion coefficient, plus the reprojection error with the definition used (Accuracy of calibration and calculations)
  • Table 2 lists every image, and each dropped image has a cause seen on inspection, not just a high value (Uncertainty evaluation and validation)
  • Before and after images are attached, with at least one edge straight line marked (Sensor selection and communication)

Instructor guide

Class timing 360 min

  1. Objectives; prepare the checkerboard and measure the squares45 min
  2. Lock focus and take at least 20 images covering the frame to the edges60 min
  3. Calibrate in OpenCV and record K, distortion and reprojection error90 min
  4. Find abnormal images with Example 2, inspect and recalibrate75 min
  5. Undistort the aerial image and compare edge lines60 min
  6. Wrap-up, questions and hand-in checklist30 min

Expected results

  1. Record: Table 1 Camera intrinsics and distortionTable 1 (depends on the real camera): fx should be close to f/p from the specification, for example about 2,666.7 px for the 8.8 mm focal length and 3.3 µm pixels of Example 1; fy close to fx; cx and cy near the image centre (about 2,000 px for a 4,000-pixel-wide image). Wide-angle drone lenses usually give a negative k1 (barrel distortion). If fx is far from f/p, check that the resolution or zoom matches the specification.
  2. Record: Table 2 Per-image reprojection errorTable 2 (lesson Example 2): overall 1.031 px per point (0.729 px per component); normal images about 0.245 to 0.250 px; the twice-the-median limit is 0.490 px; img03 at 2.252 px is flagged, and without it the overall figure is 0.246 px per point. The group's real data should have few flagged images, each with an explainable cause such as blur or misdetected corners.
  3. Record: Note 1 Edge straight lines before and after undistortionNote 1: before correction, straight lines near the image edges bow toward the centre (barrel distortion when k1 is negative); after correction they should be straight, while lines near the centre barely change. In Example 1 (k1 = -0.12, k2 = 0.03 at 100 m), points move 0.3 px at X = 10 m but 96.3 px (3.61 m on the ground) at X = 70 m.
  4. Question 1: Is your group's reprojection error RMS per point or per component? What is it in the other definition, and why must the report state the definition?RMS per point divides by n and RMS per component by 2n, so they differ by a factor of √2: for example 1.031 px per point equals 0.729 px per component, and 0.5 px per point equals 0.354 px per component. Without the definition, a reported value may look √2 times better than it is when compared with other work.
  5. Question 2: What caused the flagged images when you inspected them, how much did the overall figure change after recalibrating, and why does a low reprojection error alone not prove the calibration is right?Common causes are a blurred image, misdetected corners or a board that is not flat. The image must be inspected before it is dropped, not removed just for a high value. In the example the overall figure falls from 1.031 to 0.246 px per point, but a low value still does not prove correctness, because the parameters were fitted to the same images; an independent image set not used for calibration is needed.
  6. Question 3: Use Example 1 to explain why the checkerboard must reach the edges and corners of the image, and describe how straight lines near the edges of your aerial image changed after undistortion.Distortion grows with distance from the centre: in Example 1 a point at the centre barely moves while one near the edge moves almost 100 px. Without checkerboard corners near the edges, k1 and k2 are poorly estimated there. A strong answer describes the group's own edge lines as curved before and straight after correction.
  7. Question 4: If the team changes the image resolution or zoom after calibration, which values in Table 1 can no longer be used, and what must be done?A calibration belongs to that camera, lens and resolution only. Changing resolution or zoom changes fx, fy, cx and cy, and the distortion may change with zoom, so the camera must be recalibrated at the settings used in flight.

Discussion questions

  • If a map stitched from aerial images warps into a bowl or dome, which step should you suspect first?
  • Why can a calibration of one camera not be used straight away on another camera of the same model?
  • Can an ambient light sensor that reads in lux replace the downwelling light sensor of a multispectral camera? Why?

Adapting to student background

Upper secondary (M.6)
Have them compute fx = f/p and the pixel position u = fx X/Z + cx by hand for one point before running the code, then give time to practise setting up the camera, locking focus and posing the board to reach the edges.
Vocational certificate
Start with the real photography, showing examples of good and bad poses; use a prepared OpenCV script where they enter only the square size and corner count, and explain reprojection error with a picture of detected against reprojected corners.
Diploma
Extension: take an independent set of 10 more images to check the calibration, and compare the reprojection error of the calibration set with the check set.

Common student mistakes: Common mistakes in the module 4 lesson

5Worksheet 5 Planning mission sensors
Lab · About 6 h of class time · CLO3, CLO1

Objective: Compute LiDAR flight parameters, test a ranging radar and choose mission sensors with a scoring matrix

Equipment

  • Specification of a LiDAR the lab has or plans to buy
  • Sample LiDAR data and CloudCompare (if available)
  • Ranging radar development board
  • Python and module 5 example code

Safety

  • Check the laser safety class in the manufacturer's documents before testing near people
  • Never look into the LiDAR aperture
  • Indoor work only; no flying

Steps

  1. Use Example 1 with the LiDAR specification to find altitude and speed meeting QL1
  2. If sample data exist, count real density in CloudCompare and compare
  3. Test the radar board indoors and record separable ranges against Example 2
  4. Build a scoring matrix for the group's mission
  5. Have each member set weights independently; compare results and sensitivity
  6. State the chosen sensors with reasons

Deliverables

  • Altitude, speed and density table
  • Radar test results
  • Scoring matrix with weight sensitivity
  • Sensor selection conclusion

Checklist

  • Table 1 has at least 4 altitude and speed pairs, states the PRR and field of view of the LiDAR used, and at least one pair meets QL1 (Accuracy of calibration and calculations)
  • The mission and its question are stated before the scoring matrix, and each member's weights sum to 1 (Sensor selection and communication)
  • Weight sensitivity is reported, saying whether the ranking changed, and the sensor choice gives numeric reasons (Sensor selection and communication)
  • The laser safety class from the manufacturer's documents and the radar test conditions (range, target material) are recorded (Experimental practice and lab safety)

Instructor guide

Class timing 360 min

  1. Objectives; check the laser class; frame the group's mission question45 min
  2. Compute altitude and speed meeting QL1 from the LiDAR specification75 min
  3. Count real density in CloudCompare (if data exist)45 min
  4. Test the radar board indoors75 min
  5. Build the scoring matrix, set weights independently and compare sensitivity90 min
  6. Sensor choice summary, questions and hand-in checklist30 min

Expected results

  1. Record: Table 1 Altitude, speed and pulse densityTable 1 (depends on the real specification; with Example 1 values and a 70° field of view): 240,000 pulses/s at 60 m and 8 m/s gives an 84.0 m swath, 357.0 pulses/m², 0.05 m spacing; at 120 m and 15 m/s a 168.0 m swath and 95.2 pulses/m²; 20,000 pulses/s at 100 m and 12 m/s a 140.0 m swath, 11.9 pulses/m², 0.29 m spacing; all meet QL1. For the 20,000 pulses/s LiDAR at 100 m, the highest speed still meeting QL1 (8 pulses/m²) is 17.9 m/s. If real data exist in CloudCompare, real density is usually higher than computed where passes overlap and lower at the swath edges or on non-reflective surfaces.
  2. Record: Table 2 Ranging radar test resultsTable 2 (depends on the real board): range resolution ΔR = c/2B, for example 3.75 cm at 4 GHz bandwidth, 14.99 cm at 1 GHz and 59.96 cm at 0.25 GHz. Two targets closer than the board's ΔR should merge into one. Beat frequency is proportional to range: with a 30 MHz/µs chirp slope a 5 m target gives 1.00 MHz. If the lab's board uses another bandwidth, recompute ΔR from its specification.
  3. Record: Table 3 Sensor scoring matrixTable 3 (depends on the group's mission; with Example 3, sugarcane canopy height over 50 rai): accuracy-first weights give LiDAR 3.75, RGB photogrammetry 3.10, radar 2.80; budget-first weights give RGB 3.50, radar 3.20, LiDAR 2.95. Every weight set must sum to 1. Accept rounding differences of ±0.01.
  4. Question 1: From Table 1, if altitude and speed both double, by what factor does pulse density change, and which altitude and speed did your group choose to meet QL1, with reasons?Density = PRR/(v W), and W is proportional to altitude, so doubling both altitude and speed cuts density to a quarter (357.0 to about 89.3 pulses/m² at 120 m and 16 m/s; the example uses 15 m/s and gets 95.2). A strong answer chooses a pair that meets QL1 with a margin for swath edges and low-reflectance surfaces, and states the trade-off against area per flight.
  5. Question 2: How close could two targets be for your radar to separate them, compared with ΔR = c/2B for the board, and why is range resolution not the accuracy of the range measurement?The separable gap should be close to the board's ΔR = c/2B (for example 3.75 cm at 4 GHz). Resolution says how far apart two targets must be to be separated, not how wrong the range to one target is; accuracy must be judged against a reference range such as a tape measure.
  6. Question 3: When members set different weights, did the sensor ranking change? What does that tell you, and why must the weights be agreed before seeing the scores?In Example 3 the ranking swaps when the weights change (LiDAR wins on accuracy, RGB on budget), showing the result depends on the weights. If the group's ranking does not change, the conclusion is robust; if it does, go back to the data users' needs. Weights must be agreed before seeing scores so nobody tunes them to get the sensor they want.
  7. Question 4: If the drone flies at your chosen speed and the LiDAR and IMU timing is off by 10 ms, how far do points shift, and how do real systems solve this?Shift = speed × timing error, for example 8 cm at 8 m/s, 10 cm at 10 m/s and 12 cm at 12 m/s. Real systems synchronise time with the GNSS PPS signal or a time-synchronisation protocol.

Discussion questions

  • Why must sensor choice start from the mission question? Give an example mission where an expensive LiDAR is not needed.
  • What advantages does a ranging radar have over LiDAR for an agricultural drone flying in dust or fog?
  • If the group's scoring result differs from what the instructor expected, what should be checked before concluding it is wrong?

Adapting to student background

Upper secondary (M.6)
Have them derive W = 2H tan(θ/2) and ΔR = c/2B before using the code, and give them hands-on responsibility for wiring and testing the radar board with a hands-on peer.
Vocational certificate
Start with the radar test and real range measurements; use a spreadsheet with the density formula built in so they change only altitude and speed, and explain the scoring matrix with an everyday example of choosing what to buy.
Diploma
Extension: place two metal targets and move them closer until the radar can no longer separate them, compare that gap with the board's ΔR, and propose an overlapping flight plan that raises density.

Common student mistakes: Common mistakes in the module 5 lesson

Scoring rubric

For worksheets and the mini-project. Each criterion scores level (1–4) ÷ 4 × weight.

CriterionWeightExcellent (4)Good (3)Fair (2)Needs work (1)
Accuracy of calibration and calculations30%Calibration and numbers all correct, with reproducible method and codeNearly all correct, method shownSome errors or missing stepsMany errors or no method
Uncertainty evaluation and validation25%Complete uncertainty budget, validated with unused data, errors explainedNearly complete budget with validationKey sources missing or no validationNo uncertainty evaluation
Experimental practice and lab safety20%Sound setup, complete conditions in the lab notebook, all safety rules followedNearly all correct, minor gaps in recordsIncomplete records or setup errorsSafety ignored or no records
Sensor selection and communication25%Selection matches mission needs with numeric reasoning; clear report, correct citationsGood reasoning, minor report flawsUnclear reasoning or missing partsSensors not linked to the mission

Assessment map: CLOs and how they are assessed Draft

The CLOs are a web-team draft; the course owner sets the final ones (curriculum book, part 4). This table is built from the worksheet and module-quiz data, so it follows any change to the CLOs.

CLOWorksheetsModule quizzes
CLO1 Explain the operating principles of UAS sensorsW 1W 2W 3W 4W 5M1M2M3M4M5
CLO2 Calibrate sensors and evaluate measurement uncertaintyW 1W 2W 3W 4M1M2M3M4
CLO3 Select sensors appropriate to missionsW 5M5