Analytics & ML · Study deck

IoT Edge Models: Cold-Chain Processing

A truck gateway passes sensor data between the vehicle and another network.

Data Dora is your guide for this deck.

edgepatternsmodel
Data Dora, the module guide, in a scene from this chapter.
iotclass.org

After studying this chapter

Learning objectives

You will be able to:

  • Test cold chain edge processing with a concrete scenario and pass criteria.
  • Validate three-tier edge design exercise with a concrete scenario and pass criteria.
  • Explain: With the Level 3 functions named, test whether they still hold up when the network is mobile and compliance-sensitive.
  • Explain: Not all data needs to travel to the cloud.
iotclass.org

Major section

Cold Chain Edge Processing

With the Level 3 functions named, test whether they still hold up when the network is mobile and compliance-sensitive.

  • The system must detect temperature excursions above 8 degrees Celsius within 30 seconds for regulatory compliance.
  • The edge gateway investment of $1,750 saves $4,001 per month in cellular costs.
  • More critically, the edge architecture detects temperature excursions even when trucks pass through tunnels or rural areas without cellular coverage -- a compliance requirement that cloud-only architectures cannot guarantee.
IoT Reference Model Levels 1 to 4 carry telemetry upward from devices through connectivity and edge transformation into durable data accumulation.
IoT Reference Model Levels 1 to 4 carry telemetry upward from devices through connectivity and edge transformation into durable data accumulation.
iotclass.org

Major section

Choose the Processing Level

Not all data needs to travel to the cloud.

  • Uploading everything would require approximately 23 TB/day.
  • In this example, edge gateways run FFT (Fast Fourier Transform) locally, extract dominant frequency peaks (~200 bytes), and upload only the spectral summary every 10 minutes.
  • Cloud analytics could correlate these summaries across the fleet to predict bearing failures.

Why it matters

In this illustrative rail-monitoring example, edge processing reduces modeled data volume by over 99.99% while retaining the selected spectral features for predictive-maintenance analysis.

iotclass.org

Major section

Application Requirements Summary

Massive deployments prioritise fleet scale, unit cost, and efficient batch handling; critical systems prioritise bounded latency and local real-time action because delayed decisions can become unsafe.

  • Neither branch removes the need for cloud history or edge evidence, but it changes which tier may close the immediate loop.
Massive IoT versus Critical IoT Processing Strategies
Massive IoT versus Critical IoT Processing Strategies
iotclass.org

Major section

Latency vs Bandwidth Matrix

The placement cost is easiest to see as elapsed path, not as an abstract cloud label.

  • A: Response must traverse the return path before: Action can occur.
  • Those labelled stages are additive and variable, so a safety deadline cannot be justified from compute time alone.
  • The optimal processing location depends on both latency sensitivity and data volume.

Key terms

Edge processing
Edge processing is essential when either latency is critical or bandwidth is limited.
High-latency cloud processing path from an event to a returned action
High-latency cloud processing path from an event to a returned action
iotclass.org

Major section

Edge Placement Contracts

The reference-model mapping above still needs a concrete placement and evidence contract for the computation continuum.

  • Both occupy physical, connectivity, and acquisition responsibilities, but their capacity, latency, resilience, and evidence contracts are deliberately different.
Massive and critical IoT share device, connectivity, and acquisition layers but optimise them for scale or consequence.
Massive and critical IoT share device, connectivity, and acquisition layers but optimise them for scale or consequence.
iotclass.org

Deck summary

Key takeaways

With the Level 3 functions named, test whether they still hold up when the network is mobile and compliance-sensitive.

  • Not all data needs to travel to the cloud.
  • Massive deployments prioritise fleet scale, unit cost, and efficient batch handling; critical systems prioritise bounded latency and local real-time action because delayed decisions can become unsafe.
  • The placement cost is easiest to see as elapsed path, not as an abstract cloud label.
  • The reference-model mapping above still needs a concrete placement and evidence contract for the computation continuum.
iotclass.org

Retrieval practice

Recall check 1 of 3

Data Dora says: answer from memory, then check your reasoning.

Q1What processes and reacts near cold-chain devices before central accumulation?

AL3 Edge Computing
BL1-L2 Devices and Connectivity
CL4 Data Accumulation
Show answer

Answer: A Level 3 filters, transforms, and reacts near the devices before central accumulation.

Q2Complete the edge computing data aggregation function:

Aself.buffer = deque(maxlen=window_size)
Bself.buffer = list()
Cself.buffer = np.zeros(window_size)
Dself.buffer = deque()
Show answer

Answer: A Edge aggregation uses a fixed-size deque buffer to maintain a sliding window of readings.

iotclass.org

Retrieval practice

Recall check 2 of 3

Data Dora says: answer from memory, then check your reasoning.

Q3In the seven-level IoT Reference Model, a gateway receives raw sensor data from multiple devices and performs three operations: converting device-specific protocols to MQTT, checking if temperature exceeds a safety threshold, and averaging readings over 5-minute windows. At which level do these operations occur?

ALevel 1 (Physical Devices), where sensors generate raw readings before gateway conversion or averaging
BLevel 2 (Connectivity), where packets move across the network but payload content is not transformed
CLevel 5 (Data Abstraction), where stored records are reshaped for applications after edge processing
DLevel 3 (Edge Computing), where data is processed at the network edge through formatting, evaluation, and distillation
Show answer

Answer: D Level 3 (Edge Computing) handles three key processing functions: formatting (protocol conversion to MQTT), evaluation (threshold checking for safety alerts), and distillation (5-minute averaging to reduce data volume).

iotclass.org

Retrieval practice

Recall check 3 of 3

Data Dora says: answer from memory, then check your reasoning.

Q4A temperature sensor outputs readings in a proprietary binary format. The edge gateway converts each reading to a standardized JSON document with a UTC timestamp and unit label. Which Level 3 processing function does this represent?

AEvaluation -- comparing the decoded temperature with a threshold to decide whether an alert should fire
BDistillation -- reducing a stream by summaries or features so fewer values move upstream
CFormatting -- standardizing heterogeneous device data into one schema with timestamp and unit fields
DAssessment -- triggering a local action after the gateway recognizes a sensor pattern
Show answer

Answer: C Formatting standardizes data from heterogeneous device-specific formats into consistent representations that downstream systems can process uniformly.

iotclass.org

Print reference

Answers

Answer key.

  1. A · Level 3 filters, transforms, and reacts near the devices before central accumulation.
  2. A · Edge aggregation uses a fixed-size deque buffer to maintain a sliding window of readings.
  3. D · Level 3 (Edge Computing) handles three key processing functions: formatting (protocol conversion to MQTT), evaluation (threshold checking for safety alerts), and distillation (5-minute averaging to reduce data volume).
  4. C · Formatting standardizes data from heterogeneous device-specific formats into consistent representations that downstream systems can process uniformly.
iotclass.org