UAT 459 UAS, Internet of Things and Smart Warehouse Systems
Worksheet 9 Connect a mock platform to a mock WMS and design alarm logic
Objective
Draw an integration map, build a mock WMS that accepts hold requests and enforces the state machine, design alarm logic that meets the time budget, and analyse alarm load
Equipment and materials
- Computer with Python and Flask or FastAPI
- Mock gateway and database from Worksheets 7 and 8
- One week of alarm log (real or simulated)
Safety
- Desk and computer work, no flying
- Run APIs only on your own computer or the laboratory network, never exposed to the internet
- Do not send test SMS or calls to anyone who has not agreed
Steps
- Draw an integration map like Figure 1 naming data owners, protocols and human approval steps
- Build a mock WMS that accepts hold requests as in Example 1 and test resending
- Enforce the state machine of Example 2 and test unauthorised requests and the audit trail
- Test the alarm logic of Example 3 against at least five door openings and one real event, and show the module 6 time budget still holds
- Compute the alarm rate and main culprits as in Example 4 and propose three fixes
Record of results
| Link (from, to) | ISA-95 level | Protocol | Data owner | Human approval needed? |
|---|---|---|---|---|
| Request tested | Sender | Expected result | Actual result | In the audit trail? |
|---|---|---|---|---|
| Setting or alarm source | Value | Alarms raised | Alert time or share (%) | Comment |
|---|---|---|---|---|
Questions
Why must the hold request ID be derived from the source data (event ID and SSCC), and how did the group's mock WMS respond to a resend?
With the delay and deadband the group chose, how many door-opening alarms were removed, how many minutes later was the real event reported, and how much margin is left in the module 6 time budget?
Does the group's average alarm rate meet the target of no more than one per ten minutes? Why can the average alone mislead, and which source should be fixed first?
Why may automation hold a pallet but not release or reject it, and why must an IoT or drone result never command a machine directly?
Check before you hand in
What to hand in
- Integration map
- Mock WMS code with resend and permission test results
- Chosen delay and deadband with reasons from the time budget
- Alarm load table and proposed fixes