UAT 459 UAS, Internet of Things and Smart Warehouse Systems
Worksheet 8 A temperature record database and a mock pallet tracking system
Objective
Design an ALCOA+ database, compute storage, summarise data with pandas, and build a mock pallet tracking system that computes time out of refrigeration
Equipment and materials
- Computer with Python, sqlite3 and pandas
- At least 24 hours of data from the Worksheet 7 mock gateway
- Three BLE or RFID tags with a reader
- Three mock boxes and tape marking a "cold-room door"
Safety
- Desk and computer work, no flying
- Use simulated or non-identifying data; never load other people's personal data into the database
- Carry light mock boxes and walk in clear areas
- Do not use tags or readers to read other people's cards or belongings
Steps
- Extend the Example 1 database with calibration and audit_log tables and load 24 hours of data
- Write at least three parameterised SQL queries and design corrections that never overwrite
- Compute storage as in Example 2, summarise hourly with pandas and identify events the mean hides
- Tag the mock boxes, move them through the designated door, log the events and decide zones as in Example 3
- Compute cumulative time out of refrigeration as in Example 4 and test one missed read and one duplicate read
Record of results
| Table or query | Purpose | Key columns or parameters | Result (rows or value) |
|---|---|---|---|
| Quantity | Formula | Value | Unit |
|---|---|---|---|
| Box (SSCC) | Event (OUT/IN) | Time | Cumulative minutes out | Decision |
|---|---|---|---|---|
Questions
Which event in the group's 24 hours of data does the hourly mean hide, and why must a pharmaceutical store keep minimum, maximum and complete original records?
How does the group's correction design follow ALCOA+ (attributable, original kept, contemporaneous)?
With one missed portal read and with one duplicate OUT read, what time out of refrigeration did the group's program compute in each case, in which direction was it wrong, and which rule in the code catches the unusual event sequence and passes it to a person?
Why can RSSI tell only which room or zone a pallet is in, not its rack slot? Explain with the distance ranges you computed, and say why tracking forklifts falls under personal data protection law.
Check before you hand in
What to hand in
- Database schema and SQL queries
- Correction example with audit trail
- Storage table and hourly summary chart
- Event log and time-out-of-refrigeration table