Teaching pack · UAT 363
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.
Coverage of the course description
The lessons fully teach 8 of 8 description topics. Each topic lists the modules and lesson sections that teach it, and incomplete topics say what is missing.
| Description topic | Modules | Where it is taught | Status |
|---|---|---|---|
| Design of UAS-based transportation and delivery systems | M1M2 | Module 1: mission analysis and delivery mechanisms · Module 2: drones working with trucks | Covered |
| Payload and energy management | M1M2 | Module 1: hover power and payload, and tethered loads · Module 2: energy and reserve | Covered |
| Route planning | M2 | Module 2: the routing problem, exhaustive search versus nearest neighbour, and splitting into two trips when energy is short | Covered |
| Indoor and outdoor navigation | M2M3 | Module 2: outdoor navigation with GNSS (trilateration, accuracy under the GPS SPS standard and RTK, geofence margins, and Example 3 from latitude and longitude to a safe route) · Module 3: indoor positioning (VIO, motion capture, UWB, AprilTag and Example 2 on position from UWB ranges) | Covered |
| Inventory counting and tracking | M3M4 | Module 3: drones in the warehouse, number of locations and scan time, cycle counting and RFID · Module 4: reconciling scans with records | Covered |
| Integration with IoT and warehouse-management systems | M4 | Module 4: MQTT in the warehouse, scan messages, and product codes with check digits | Covered |
| Fleet management | M2M5 | Module 5: fleet management (allocating several drones, charging cycles, maintenance tracking, and Example 3 on sizing the fleet and its batteries) · Module 2: splitting into two trips when energy is short, and drones working with trucks | Covered |
| Evaluation of efficiency and safety | M5 | Module 5: safety and permission (SORA and safety layers), total cost of ownership and break-even, present value, non-monetary value, and measuring operational performance and safety (success rate, on-time rate, delivery time, incidents per 1,000 flights, leading and lagging indicators, and Example 4) | Covered |
Weekly teaching plan
| Week | Topic | Pre-class | Lecture | Lab | Evidence |
|---|---|---|---|---|---|
| 1 M1 | Analysing a medical delivery mission | Read module 1 on mission analysis | Items, destinations, environment and recipients | Worksheet 1 part A: interview pharmacy staff or use a hypothetical case; tabulate the items to deliver | Lab notebook: table of weight, size, temperature and urgency |
| 2 M1 | Hover power and payload | Read the hover power section; run Example 1 | Momentum theory, hover time falling with payload and the model's limits | Worksheet 1 part B: compute maximum payload, then measure real hover power with two payloads | Lab notebook: calculated versus measured values |
| 3 M1 | Delivery mechanisms and tethered loads | Read the delivery mechanism and tether sections; run Example 2; take the module 1 quiz | Landing, winching or parachute; swing period by tether length | Worksheet 1 part C: choose a mechanism per destination; test a tethered drop in SITL or with a short line in a closed area | Lab notebook: swing period against Example 2; worksheet 1 report |
| 4 M2 | The routing problem | Read module 2 on routing; run Example 1 | Exhaustive search versus nearest neighbour and why the problem grows fast | Worksheet 2 part A: find hospital and health-centre coordinates, convert to distances, compare best route with nearest neighbour | Lab notebook: distance table and routes by both methods |
| 5 M2 | Energy and reserve | Read the energy and reserve section; run Example 2 | Energy per kilometre, reserve for headwind or holding, and splitting trips | Worksheet 2 part B: test flight to measure real energy per km; plan trips with Example 2 | Lab notebook: energy per km and trip plan |
| 6 M2 | Outdoor navigation with GNSS, drones with trucks, and checking routes against restricted areas | Read the outdoor GNSS navigation and drones-with-trucks sections; run Example 3; take the module 2 quiz | GNSS, accuracy under the GPS standard and RTK, geofence margins, the flying sidekick TSP and rerouting around communities | Worksheet 2 part C: set the geofence margin, reroute around restricted areas, recompute energy, fly in SITL and compare energy with the plan | Lab notebook and worksheet 2 report |
| 7 M3 | Drones in the warehouse and cycle counting | Read module 3 on drones in the warehouse; run Example 1 | Number of locations, scan time, barcodes, AprilTags and RFID | Worksheet 3 part A: set up a mock rack with barcodes or AprilTags; plan cycle counts with Example 1 | Lab notebook: rack layout and counting plan |
| 8 M3 | Indoor positioning | Read the indoor positioning section; run Example 2 | VIO, motion capture, UWB, AprilTag and least squares | Worksheet 3 part B: set up indoor positioning, feed PX4, measure error against reference points; apply Example 2 to real UWB ranges | Lab notebook: position error table |
| 9 M3 | Scanning flights in a closed area | Review module 3; take the module 3 quiz | Tag read rate and causes of missed reads | Worksheet 3 part C: manual or automatic scan flights in a closed area; record the read rate | Lab notebook and worksheet 3 report |
| 10 M4 | MQTT in the warehouse | Read module 4 on MQTT; run Example 1 | Topics, scan message format, QoS and msg_id | Worksheet 4 part A: install Mosquitto; publish worksheet 3 scans with paho-mqtt | Lab notebook: messages sent and received |
| 11 M4 | A WMS stand-in and deduplication | Review Example 1 on reconciliation | QoS 0 versus 1 during network loss; reconciling with records | Worksheet 4 part B: write a subscriber that stores to a table, dedupes by msg_id; test QoS 0 and 1 while cutting the network | Lab notebook: lost and duplicate message counts |
| 12 M4 | Product codes and check digits | Read the product code section; run Example 2; take the module 4 quiz | The 13-digit check digit and staff confirmation before adjusting records | Worksheet 4 part C: validate every code, compute record accuracy, write the confirmation procedure | Lab notebook and worksheet 4 report |
| 13 M5 | Safety and permission | Read module 5 on safety and permission | SORA 2.5 and layered safety barriers | Worksheet 5 part A: write the service's safety layers and the permissions needed | Lab notebook: safety layer plan |
| 14 M5 | Total cost, present value, fleet management and operational indicators | Read the cost, present value, fleet management and operational indicator sections; run Examples 1–4; take the module 5 quiz | Break-even, discount rates, fleet size and battery cycles, success rate, delivery time, and leading and lagging safety indicators | Worksheet 5 part B: break-even and present value from real costs; size the fleet and set indicators with targets; prepare a one-page proposal for the hospital director (lecturer) | Lab notebook, fleet and indicator tables, and one-page service proposal |
| 15 M5 | Practical examination | Review all five worksheets and the lab notebook | Briefing on the practical exam task and criteria | Practical exam: plan a new delivery task (payload, route, energy and data hand-off), then present the proposal to management | Practical exam scored with the rubric; complete lab notebook |
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 Analysing a medical delivery mission
Lab · About 12 h of class time · CLO1
Objective: Analyse medical delivery needs, find maximum payload from hover power, compare with measurements and choose delivery mechanisms
Equipment
- Lab drone with its specifications
- Two test masses and a scale
- Power meter or current and voltage log
- Short tether line or SITL
- Python and example code at /downloads/uat-363/
Safety
- Fly within CAAT conditions in visual line of sight; keep people clear
- Secure test masses and stay within the drone's limit
- Test tethered drops only in a netted closed area or in SITL
- Ask consent before interviews and record no patient data
Steps
- Interview pharmacy or health-centre staff (or use a hypothetical case); tabulate items, weight, size, temperature needs and urgency
- Apply Example 1 to the lab drone's spec; find the maximum payload that still meets the required flight time
- Weigh and measure real hover power with two payloads; compare with the calculation and explain differences
- Choose a delivery mechanism for each destination with safety and legal reasons
- Test a tethered drop in SITL or with a short line in a closed area; record the swing period against Example 2
Deliverables
- Delivery needs table
- Payload calculation against measurement
- Mechanism per destination
- Swing period against calculation
- Lab notebook with every session recorded
Checklist
- Table 2 has both payloads, every cell has a unit, and the difference is given in percent
- Hover time uses the 80% usable battery energy, not the full capacity
- Every Table 1 row that uses lowering or release cites ROA.3115 or ROA.3120 and states that approval is needed
- The lab notebook records how test masses were secured, the visual line of sight conditions and the battery used for every flight
- No patient names or data appear in the needs table or interview notes
Instructor guide
Class timing
- Objectives, safety and CAAT conditions briefing45 min
- Interview or hypothetical case, needs table and mechanism choice180 min
- Run Example 1 with the lab drone's specification90 min
- Hover flights measuring real power with two payloads225 min
- Tethered drop in SITL or on a short line, timing the swing120 min
- Wrap-up, questions and hand-in checklist60 min
Expected results
- Table 1: at least 4 rows covering medicines, vaccines and blood samples as in the lesson case. Vaccines must show temperature control and blood samples are urgent. The mechanism must suit the destination: landing where a safe landing area exists, tether lowering where the area is small or people are near. Release and lowering need approval (ROA.3115 and ROA.3120 of CAAT Regulation No. 114).
- Table 2 (if the lab uses the Example 1 drone: 6 kg, four 0.5 m rotors, 500 Wh with 80% usable, FM 0.6): 1 kg payload, 7 kg total, 684 W, 35.1 min hover; 2 kg payload, 8 kg total, 835 W, 28.7 min; no payload 543 W, 44.2 min. Measured power is usually higher than the formula because it leaves out electronics and wind; for example 790 W measured at 1 kg corresponds to an effective FM of about 0.52. Accept any difference the group explains.
- Table 3: 1.0 m tether, period 2.01 s; 2.0 m, 2.84 s (with the longer tethers of Example 2: 5 m 4.49 s, 10 m 6.34 s, 15 m 7.77 s). Time 10 swings and divide by 10, measuring the length to the centre of the load. With a small swing and a still attachment point the measured period should be within about 10% of the formula.
- The formula predicts a ratio of (8/7)^1.5 = 1.22 for 1 kg and 2 kg, equal to 835/684. The ratio does not depend on FM or rotor area, so it usually matches measurement better than the absolute power does. Absolute power differs because of other loads, wind and motor efficiency. A strong answer concludes that the formula shows the trend, while planning must use measured values.
- With the Example 1 drone, 30 minutes allows about 1.77 kg (25 minutes allows about 2.78 kg). Heavier items must be split over several trips or need a larger drone. A strong answer uses the group's measured values, which usually give a lower maximum payload than the formula.
- The manufacturer measures flight time without payload. The lesson drone hovers 44.2 minutes empty but only 28.7 minutes with 2 kg (about 35% less), because power depends on total mass to the power 1.5, not linearly on weight.
- Wait until the swing has died down, at least several periods: with a 2 m tether (2.84 s) at least about 3 periods, roughly 9 s, or until the load is visibly still. The formula fails when the drone accelerates, meets wind, the swing angle is large or the line stretches; if control or wind excites the load near this period, the swing grows.
- ROA.3115 (dropping or spraying from an aircraft in flight) and ROA.3120 (towing an object) of CAAT Regulation No. 114 allow these only in accordance with CAAT regulations and any air traffic services clearance. Whether tether lowering counts as dropping is for CAAT to confirm. Until approval, land on a prepared area with people kept clear. A strong answer says to check the version in force.
Discussion questions
- If payload raises power this much, are many small trips always better value than one combined trip?
- Tether lowering keeps the drone away from people, but what new risks does it add?
- If a health centre has no landing area at all, how should the service be designed while lowering is not yet approved?
Adapting to student background
- Upper secondary (M.6)
- Have them reason from P = T^1.5/√(2ρA) why doubling mass multiplies power by 2.83, and predict the power at both payloads before flying; pair them with a hands-on peer for securing masses and reading the meter.
- Vocational certificate
- Give a step-by-step fill-in table (total mass, thrust, power, time) and have them compute one value with a calculator alongside the code; focus on securing the mass and reading current and voltage correctly.
- Diploma
- Extension: measure a third payload, find the FM that best fits all three measurements, and use it to predict the maximum payload again.
2Worksheet 2 Planning medical delivery routes
Lab · About 12 h of class time · CLO1, CLO3
Objective: Find multi-stop routes, check energy and reserve from real measurements, adjust for restricted areas and confirm in simulation
Equipment
- Map or coordinates of the hospital and health centres
- Lab drone for energy-measurement flights
- ArduPilot SITL
- CAAT restricted-area map
- Python and the module 2 example code
Safety
- Fly energy tests within CAAT conditions in visual line of sight inside the test area; never fly the real route over communities
- Test the real route in SITL only
Steps
- Find coordinates of the hospital and nearby health centres (or hypothetical ones); convert to kilometres
- Use Example 1 to find the best route and compare with nearest neighbour
- Measure real energy per km in a test flight; plan trips with reserve using Example 2
- Check the route against restricted areas and communities; set the geofence margin with Example 3 from the lab drone's real speed and braking; reroute and recompute energy
- Fly the route in SITL and compare energy used with the plan
Deliverables
- Distance table and routes by both methods
- Measured energy per km
- Trip plan with reserve
- Geofence margin and landing-accuracy check
- Adjusted route and simulation result
- Lab notebook
Checklist
- Table 2 compares energy needed with energy after reserve for every trip, in Wh
- Both methods' route lengths and the percentage difference are stated
- The geofence margin includes both the GNSS error and the stopping distance v²/(2a) from the lab drone's measured values
- The real route was tested only in SITL, and the notebook logs every energy flight with place, wind and CAAT conditions
- The lab notebook covers every session and runnable code is attached
Instructor guide
Class timing
- Objectives, safety and test area briefing45 min
- Find coordinates, convert to kilometres and route by both methods180 min
- Energy test flights and trip planning with reserve180 min
- Restricted-area check, geofence margin and rerouting135 min
- SITL flights and energy comparison with the plan120 min
- Wrap-up, questions and hand-in checklist60 min
Expected results
- Table 1 (with the lesson's assumed coordinates): A 2.69 km, B 1.50 km, C 2.24 km, D 4.03 km from the hospital. A at (14.0225, 100.6093) with the hospital at (14.0000, 100.6000) converts to east 1.00 km, north 2.50 km, 2.696 km at a bearing of 22 degrees, matching the haversine distance to the metre. Real coordinates give other values but must be converted the same way.
- Table 2 (with the example 33.3 Wh/km, a 500 Wh battery with 80% usable and a 20% reserve): exhaustive H-B-D-A-C-H 13.25 km, nearest neighbour H-B-A-C-D-H 17.46 km (32% longer). Available energy is 320 Wh; one trip needs 441 Wh, so it is not feasible. Split into H-A-C-H 8.28 km 276 Wh and H-B-D-H 8.08 km 269 Wh, 16.36 km in total. If the measured value differs from 33.3 Wh/km, recompute the whole table.
- Table 3 (with Example 3 values): at 15 m/s braking at 3 m/s² the stopping distance is 37.5 m and the margin 45.5 m with standard GNSS (8 m) or 37.5 m with RTK, both larger than the 30 m gap to the no-fly zone. At 10 m/s the stopping distance is 16.7 m and the margin 24.7 m, which fits. SITL energy may differ from the plan; accept it when the group explains the causes and uses them to adjust the plan.
- In the example nearest neighbour is 32% longer because it chooses one step at a time without seeing the whole picture: it gets stuck at C on the left and then flies far across to D on the right. Four stops have only 24 orders, but 15 stops have more than a trillion (15!), so heuristics are needed and should be checked against better solutions where possible.
- No. Without a reserve the usable energy is 500 × 0.8 = 400 Wh, still below 441 Wh, and cutting the reserve is a safety error. One trip with the 20% reserve needs no more than 320/13.25 = 24.2 Wh/km. A strong answer says the reserve is policy and is never cut to make a plan fit.
- A 20% headwind penalty turns 33.3 into 40.0 Wh/km: H-A-C-H needs 331 Wh and H-B-D-H 323 Wh, both above 320 Wh, so neither trip is feasible. Options are to wait for calmer wind, reduce payload, split into three trips or use a larger battery, and to recompute before every flight.
- Margin = position error + stopping distance v²/(2a). With the error alone, a drone that cannot brake in time enters the no-fly zone; Example 3 shows that even RTK needs 37.5 m at 15 m/s. A 2 m radius pad is smaller than the 8 m standard GNSS error, so the final approach needs RTK or a visual marker such as an AprilTag.
- Difference = (SITL minus plan) divided by plan, in percent. Likely causes are that SITL's battery and aerodynamic models differ from the real drone, that take-off, landing and waiting at stops were left out of the plan, and that one Wh/km value was used for every leg. A strong answer adds take-off, landing and waiting energy and uses measured values for each trip's payload.
Discussion questions
- Using an ambulance or medicine van as a mobile drone base, as in the flying sidekick TSP, how could the service reach health centres beyond drone range?
- Who in the hospital should have the authority to cancel a flight when the energy check fails, and how should that be written as policy?
- Straight lines on the map are shortest, but how does the service's value change once routes avoid communities and restricted areas?
Adapting to student background
- Upper secondary (M.6)
- Have them count orders with n! and derive the stopping distance v²/(2a) from constant-deceleration motion before using the code; pair them with a hands-on peer to prepare the energy flights.
- Vocational certificate
- Have them draw routes on grid paper and measure with a ruler against the code, use a fill-in energy table (distance × Wh/km against 320 Wh), and take the lead in energy flights and reading the log.
- Diploma
- Extension: measure energy per km at two payloads, replan trips with the value for each trip's real payload, and set a geofence in SITL to test that the drone stops before the zone.
3Worksheet 3 Scanning a mock rack
Lab · About 12 h of class time · CLO2
Objective: Plan cycle counting, set up and measure an indoor positioning system, and fly rack scans to measure the tag read rate
Equipment
- Mock rack with a barcode or AprilTag on every slot
- Small indoor drone with propeller guards
- Indoor positioning system (UWB or motion capture)
- PX4 and its external-position guide
- Python and the module 3 example code
Safety
- Fly in a netted closed area; observers stay outside the net
- Use propeller guards and set a geofence or height limit before autonomous flight
- A pilot is ready to take manual control or kill the motors at once
Steps
- Set up the mock rack with a barcode or AprilTag on every slot
- Apply Example 1 to the hospital or lab store size; plan cycle counting
- Install indoor positioning, feed positions to PX4 per the guide, measure error against reference points
- Apply Example 2 to real UWB ranges from several points; record the error
- Fly manual or automatic scans in the closed area; record the successful read rate
Deliverables
- Rack layout and counting plan
- Indoor position error table
- UWB position calculation
- Read rate with causes of missed reads
- Lab notebook
Checklist
- Table 1 gives the number of locations, time per aisle, total time and battery flights, with units
- Table 2 has at least 6 reference points, each with the error in centimetres and its source
- Table 3 gives the read rate as tags read out of total, with a cause for every missed tag
- The notebook confirms a geofence or height limit, propeller guards and observers outside the net before every flight
- The lab notebook covers every session, including the surveyed anchor positions
Instructor guide
Class timing
- Objectives and closed-area safety briefing45 min
- Set up the mock rack and tag every slot90 min
- Run Example 1 and plan cycle counting75 min
- Install indoor positioning, feed PX4, measure error and compute position from UWB ranges300 min
- Rack-scan flights in the closed area150 min
- Wrap-up, questions and hand-in checklist60 min
Expected results
- Table 1 (with the Example 1 store: 6 aisles, 40 m racks in 16 bays and 5 levels, both faces scanned at once at 0.5 m/s): 960 locations, 7.5 min per aisle, 47.5 min in total, 4 battery flights (15 min each). One aisle a day covers 160 locations, the whole store in 6 working days. For a lab mock rack of one 3 m face with 4 bays and 3 levels: 12 locations in about 0.8 min (48 s).
- Table 2: with Example 2 values (anchors at the corners of a 20 × 10 m room, range errors 0.05, -0.03, 0.04, -0.02 m), true (7, 4) gives (7.01, 4.01), an error of 1.6 cm. With the same range errors, (15, 7) gives 6.5 cm and (2, 8) gives 2.4 cm. Real lab error depends on installation and obstructions and must be measured on site; there is no fixed standard value.
- Table 3: rate = tags read divided by total tags, for example 34 of 36 = 94.4%. Acceptable causes include a tilted camera angle, too much distance, motion blur from flying fast, low light or a hidden tag. A strong answer separates causes by run and compares manual with automatic flights.
- In the example, with 6 aisles and one aisle a day, every location is recounted every 6 working days, about once a week. Drones suit cycle counting because they recount often without stopping work or using forklifts, and one aisle in 7.5 minutes fits in one battery, while the whole store needs several battery changes.
- Large errors usually occur near walls or corners, far from some anchors, or where obstructions bias the ranges. Worked example: if anchor A2 is really at (20.3, 0) but entered as (20, 0), position (7, 4) is computed as (6.88, 4.14), an error of 18.1 cm instead of 1.6 cm, showing that a wrong anchor position shifts every position.
- Each range places the drone on a circle around an anchor. Two circles cross at two points, so a third decides between them. If the anchors lie on a line, the two mirror-image points cannot be told apart. A fourth anchor gives more equations than unknowns, so least squares averages out the range errors.
- No. An unread slot may hold stock with an unreadable tag. Rescan or check by hand, look at the cause of the missed read, and send the slot as a finding for staff confirmation (module 4) before concluding that stock is missing.
- Indoors there is no GNSS signal, or reflected signals give wrong positions, so GNSS-dependent modes can drift or switch modes. The group feeds position from UWB or motion capture into PX4's EKF2 estimator following the guide, which recommends 30 to 50 Hz.
Discussion questions
- In a real medical store with staff and forklifts at work, how should flying be separated in time or space?
- If RFID as in the RFly research replaced image reading, which problems in Table 3 would disappear and which would remain?
- What position error is acceptable for rack scanning, and what does it depend on?
Adapting to student background
- Upper secondary (M.6)
- Have them write the circle equations for two anchors and subtract them to reach the linear equation before reading the code; give extra practice installing anchors and measuring reference points with a tape, alongside a hands-on peer.
- Vocational certificate
- Have them draw the room on grid paper with the real reference points, run the position code changing only the ranges, and take the lead in tagging, installing anchors and surveying anchor positions accurately.
- Diploma
- Extension: move one anchor behind an obstruction and measure the error again, or mount AprilTags on the rack as references to correct VIO drift and compare the results.
4Worksheet 4 Sending scan results into a system
Analysis activity · About 12 h of class time · CLO2
Objective: Send scans over MQTT into a WMS stand-in table, remove duplicates, validate check digits and reconcile with records before staff confirmation
Equipment
- Mosquitto broker on the lab network
- Python with paho-mqtt
- Scan results from worksheet 3
- Module 4 example code
Safety
- Desk work only; no flying
- Use the isolated lab network; do not connect to any real hospital system
Steps
- Install Mosquitto; publish scans with paho-mqtt in the Example 1 format
- Write a subscriber that stores to a table and removes duplicates by msg_id
- Send with QoS 0 and 1 while cutting the network briefly; count lost and duplicate messages
- Reconcile scans with records and compute record accuracy
- Validate every code's check digit with Example 2; count rejections
- Write the staff confirmation procedure before records are adjusted
Deliverables
- Publisher and subscriber code
- QoS 0 versus 1 results
- Record accuracy
- Rejected-code count
- Confirmation procedure
Checklist
- Table 1 has both QoS 0 and 1 with sent, received, lost and duplicate counts, and states how many seconds the network was cut
- Record accuracy shows numerator and denominator, for example 6/8 = 75.0%
- Every rejected code in Table 3 has an action such as a rescan, and none is recorded as a wrong item
- The broker runs only on the isolated lab network and no real hospital system is connected
- The confirmation procedure names who confirms, what is checked and how the cause is recorded before records change
Instructor guide
Class timing
- Objectives and MQTT architecture briefing30 min
- Install Mosquitto and write the publisher in the Example 1 format150 min
- Write the subscriber that stores to a table and removes duplicates150 min
- QoS 0 and 1 tests with a brief network cut120 min
- Reconcile with records and validate check digits150 min
- Write the confirmation procedure, answer questions and run the checklist120 min
Expected results
- Table 1: QoS 0 loses messages during the cut (lost above 0, duplicates 0). QoS 1 should lose none but may duplicate on reconnection; after removing duplicates by msg_id the count must equal the number sent. Real numbers depend on the send rate and the length of the cut; accept them when the pattern matches and the group states its test conditions.
- Table 2 (with the 8 locations of Example 1): 6 match, 1 quantity differs (A1-02-1, record 5, scan 3), 1 not found (A1-04-3), 1 unexpected (A1-09-1); record accuracy 6/8 = 75.0%. Data from the group's own rack will differ, but all four outcomes must be separated and the denominator shown.
- Table 3 (example codes): 4012345000016 check digit 6, accepted; 4012348000016 computes to 3, not 6, so it is rejected; 4012345000023 (3), ...030 (0), ...047 (7), ...054 (4), ...061 (1), ...078 (8), ...085 (5) are all accepted. Rejected codes must be rescanned and never recorded.
- A scan lost under QoS 0 makes a stocked location look "not found", leading to the wrong conclusion that stock is missing. QoS 1 delivers at least once, so nothing is lost but duplicates can occur, and the msg_id lets the receiver drop them. Drone positions are sent often, so a new message replaces a lost one within seconds and QoS 0 is acceptable.
- Without removing duplicates, a location's quantity may be added twice or the same location counted in two rows, so it shows as "quantity differs" although the stock matches the record, and record accuracy appears lower than it is. A strong answer points to a real row in the group's data.
- Causes: stock really missing, label unreadable, or message lost in transit. Staff should check the read rate and missed-read causes from worksheet 3, check whether that location's message was sent, then count by hand at the location before adjusting the record and noting the cause.
- The check digit is computed from every digit with weights 3 and 1 alternating, so changing one digit changes the sum and the check digit no longer matches; for example 5 read as 8 gives 3 instead of 6. The system should reject the code and ask for a rescan instead of recording a wrong item.
- A good procedure has at least: the system lists mismatched locations; an assigned staff member counts at the real location; the result and cause are recorded; an authorised person approves the adjustment; and the history of who changed what and when is kept. Records should not change automatically because "not found" may come from a missed read or a lost message, and a wrong adjustment lets medicines run out or expire unnoticed.
Discussion questions
- If the broker has no authentication or encryption, who could inject fake messages, and what would that do to the medical store?
- QoS 2 delivers exactly once, so why do scanning systems still prefer QoS 1 with a msg_id?
- What does the example's 75% record accuracy tell you about the store, and what does it not tell you?
Adapting to student background
- Upper secondary (M.6)
- Have them compute one check digit by hand before coding and explain with a sequence diagram how QoS 1 can duplicate; pair them with a peer confident in installing software and networking.
- Vocational certificate
- Give publisher and subscriber code with blanks only for the topic and msg_id, and have them reconcile the 8 locations on paper before running the code so the four outcomes are clear.
- Diploma
- Extension: enable lab username and password authentication on Mosquitto and test that an unauthorised publisher is refused, or build a simple dashboard showing live reconciliation results.
5Worksheet 5 A service proposal to management
Analysis activity · About 12 h of class time · CLO3
Objective: Plan safety and permissions, size the fleet and set operational indicators, assess monetary and non-monetary value, and present a service proposal to management
Equipment
- Real costs or quotes for drones, insurance, training and current transport
- Python and the module 5 example code
- One-page proposal template
Safety
- Desk work only; no flying
Steps
- Write the service's safety layers following Figure 1 and list the permissions required
- Collect real costs or quotes; find break-even with Example 1
- Compute present value with Example 2 at two discount rates
- Name at least three non-monetary benefits and how to measure them
- Size the fleet with Example 3 and design a battery and maintenance log; define the indicators of Example 4 with targets, including at least two leading safety indicators
- Present a one-page proposal to the hospital director (lecturer), with the conditions that would change it
Deliverables
- Safety layers and permission list
- Break-even and present-value results
- Non-monetary benefits table
- Fleet size, battery and maintenance log, and indicator table with targets
- One-page proposal and slides
Checklist
- Table 2 shows break-even in trips per year and per day, and present value at two discount rates, all in baht
- At least three non-monetary benefits are listed, each with a way to measure it
- Table 1 covers all five layers of Figure 1 and lists the permissions required
- Table 3 has at least two leading safety indicators, and every rate shows its denominator and confidence interval
- Fleet sizing counts drones, batteries and charge cycles, with logs kept by serial number
Instructor guide
Class timing
- Objectives and proposal brief30 min
- Write the safety layers and permission list120 min
- Compute cost, break-even and present value, and identify non-monetary benefits240 min
- Size the fleet, design the logs and define indicators150 min
- Prepare the one-page proposal and slides, answer questions and run the checklist120 min
- Presentation to the hospital director (lecturer)60 min
Expected results
- Table 1: the five layers of Figure 1, namely route and area design, energy limits and reserve, geofence and auto return, pre-flight checks and trained pilots, and SMS, occurrence reports and insurance. Permissions: the CAAT announcements in force (UAT 313), ROA.3115 and ROA.3120 if goods are lowered or released, risk assessment with SORA 2.5 for the Specific category, and an SMS following ICAO Doc 9859.
- Table 2 (with the lesson's assumed figures: drone initial 1,500,000, fixed 300,000 a year, 60 baht a trip; motorcycle 250 baht a trip; 4,000 trips a year): five-year totals drone 4,200,000 and motorcycle 5,000,000; break-even about 3,158 trips a year (8.7 a day). Present value at 3%: 3,973,042 against 4,579,707; at 7%: 3,714,107 against 4,100,197. Real quotes give other values but must use the same formulas.
- Table 3 (with Examples 3 and 4): a peak of 6 trips an hour needs 3 drones (including 1 spare) and 8 batteries in rotation; 584 flight hours per drone per year, 11.7 inspections per drone per year, 1,095 cycles per battery per year, about 30 new batteries a year. Example month: launched 92% of requests, delivered 95.0% (95% CI 89.5% to 97.7%), on time 92%, median delivery time 14.0 min, 90th percentile 25.2 min, incidents 8.3 per 1,000 flights (95% CI 1.5 to 45.7). Leading indicators include the share of flights with a complete pre-flight check and the number of near-miss reports.
- At 1,460 trips a year the drone costs 3,438,000 baht over 5 years and the motorcycle 1,825,000 baht, so the motorcycle is cheaper because the volume is below the 3,158-trip break-even. Benefits that might still justify the drone include delivery during floods (measure the days the road is unusable and deliveries completed on those days) and faster blood samples to the lab (measure median time against the existing option). A strong answer does not claim environmental benefits without data from the actual service.
- A higher discount rate narrows the gap, from 606,665 baht at 3% to 386,091 baht at 7%, because future payments are discounted more. The option with a large up-front payment (the drone's 1,500,000 baht) is therefore more disadvantaged, while the motorcycle is paid year by year.
- Batteries are busy longer than drones because each 12-minute flight needs 60 minutes of charging and cooling, so 8 batteries rotate for 3 drones, and cycles build up fast: 1,095 per battery per year against a life of 300. About 30 new batteries a year belong in Example 1's annual fixed cost, which raises the break-even point.
- No. Zero incidents in 120 flights only shows, with 95% confidence, that the true rate is below about 31 per 1,000 flights; with 1,200 incident-free flights the upper limit falls to about 3.2 per 1,000. Many flights are needed before safety can be claimed from outcomes alone. Leading indicators measure the processes that prevent incidents, so they reveal problems before an incident happens.
- A good proposal names conditions with numbers, for example volume below break-even (about 8.7 trips a day in the example), CAAT permission or approval for lowering not granted, battery or insurance costs above the estimate, frequent wind making the energy check fail, or a success rate below target, and says how each would change the recommendation.
Discussion questions
- If the service costs more than the existing option but can save lives on flood days, how should management weigh this, and who should take part in the decision?
- Which safety layer does your group think is weakest in its service, and how could it be strengthened without much extra cost?
- What kind of organisational culture does near-miss reporting need in order to work?
Adapting to student background
- Upper secondary (M.6)
- Have them derive the break-even formula by setting the two total costs equal and explain the Wilson interval in their own words; give more practice presenting to an audience and answering management-style questions.
- Vocational certificate
- Give a spreadsheet or fill-in table that breaks costs into single items, and have them take the lead in designing the battery and maintenance log from their workshop experience.
- Diploma
- Extension: add about 30 new batteries a year at the quoted price to the fixed cost, recompute break-even, and write a pre-flight check procedure that can actually measure a leading indicator.
Scoring rubric
For worksheets and the mini-project. Each criterion scores level (1–4) ÷ 4 × weight.
| Criterion | Weight | Excellent (4) | Good (3) | Fair (2) | Needs work (1) |
|---|---|---|---|---|---|
| Delivery mission design | 30% | Payload, route and energy reserve correct and confirmed by real measurements | Nearly all correct, partly confirmed | Some errors or no energy reserve | Plan unusable |
| Warehouse system and data integration | 25% | High read rate, no lost or duplicate data, codes validated and reconciled | Works with minor flaws | Data lost or codes unchecked | System does not work |
| Safety and practice | 25% | Follows every control; safety layers and permissions complete | Nearly always follows controls | Some controls neglected | Unsafe |
| Value, lab notebook and communication | 20% | Correct value figures, notebook complete for every session, clear presentation with conditions | Nearly complete | Notebook gaps or unclear presentation | No records or cannot communicate |
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.