UAT 459 UAS, Internet of Things and Smart Warehouse Systems

Worksheet 9 Connect a mock platform to a mock WMS and design alarm logic

Analysis activity 4 hAssesses CLO5, CLO6

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

  1. Draw an integration map like Figure 1 naming data owners, protocols and human approval steps
  2. Build a mock WMS that accepts hold requests as in Example 1 and test resending
  3. Enforce the state machine of Example 2 and test unauthorised requests and the audit trail
  4. 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
  5. Compute the alarm rate and main culprits as in Example 4 and propose three fixes

Record of results

Table 1 Links in the integration map
Link (from, to)ISA-95 levelProtocolData ownerHuman approval needed?
Table 2 Mock WMS test results
Request testedSenderExpected resultActual resultIn the audit trail?
Table 3 Alarm logic and alarm load
Setting or alarm sourceValueAlarms raisedAlert time or share (%)Comment

Questions

  1. 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?

  2. 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?

  3. 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?

  4. 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

CLO5 Design data storage on databases and cloud services, asset tracking, and integration with warehouse systems including automation logic. CLO6 Analyse IoT data to support decisions and assess the security of smart warehouse systems against relevant standards and law. (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