2 Edge Acquisition: Device Architecture
2.1 Start With the Decision
An accelerometer stream can overwhelm a small gateway before any model runs. Device choice sets the sample rate, buffer, and compute budget.
2.2 Route Overview
This is part 1 of 3. Continue with Edge Acquisition: Control Paths and Bandwidth.
2.3 Part Objectives
- Compare MCU, gateway, and edge-computer acquisition roles.
- Size sampling and buffer needs from device constraints.
2.4 Start With the Story
2.4.1 Keep the Decision Close Enough to Survive
A conveyor bearing begins to shake. The local controller can stop the machine, while a remote service can compare the change with months of history. If every raw value must travel away before anyone acts, a broken link may turn a useful warning into late evidence. The operations owner must decide what stays near the machine.
Trace one reading from motion to action. Keep the source, event time, unit, quality, and device state with it. Mark the local rule, the summary sent upstream, and the person who may approve a stop. State how much delay is safe and what the local system should do when the remote service is absent.
Then inject poor evidence. Drop samples. Change the event time. Send a value outside the known range. Load the local computer with other work. Disconnect the remote path. Check whether the local rule stays bounded, whether uncertain data is marked, and whether stored records arrive later without losing order or identity.
This split does not prove that all analysis belongs near the machine. Local work has limits in power, memory, context, and upkeep. The deeper sections compare device classes, collection paths, local processing, remote history, and the evidence needed before a local result is allowed to change an operation.
The design record should answer: What must happen now? What can wait? What must stay on site? What history does the remote team need? Which source made the value? How old is it? What marks poor quality? Who may change the local rule? What safe state remains when the link is gone?
Prove the split with matched runs. Use a known good bearing trace. Use a known bad trace. Drop part of each one. Fill local storage. Slow the local task. Restore the remote path. Compare the local action with the later full record. Keep the code version, rule, input, time, and result together. A quick local answer is useful only when its scope and failure state are just as clear.
Picture an IoT team using the ideas in Edge Data Architecture during a live operations review. A device has produced messy evidence, an analytic step is about to change an alert or control decision, and someone has to explain why the result should be trusted.
Read this page as that path from sensor evidence to accountable action. Start with what the system observes, keep the model or data treatment visible, and finish with the check that would convince an operator, maintainer, or auditor to act.
- Start With the Story
- In 60 Seconds
- Phoebe’s Field Notes: What “0.05g Rising to 0.5g” Actually Moves
- Quick Check: Edge Data Architecture
- Prerequisites
- Edge Data Acquisition Basics
- Introduction to Edge Data Acquisition
- Key Concepts
- Key Takeaway
- Why Edge Matters
- IoT Device Categories
- Three Categories of Things
- Mobile diagram summary
- Device Characteristics Comparison
2.5 Learning Objectives
By the end of this chapter, you will be able to:
- Classify IoT Data Sources: Distinguish between Big Things, Small IP Things, and Non-IP Things in edge architectures
- Explain Device Connectivity Paths: Describe how different device types connect to cloud infrastructure through direct IP or gateways
- Analyze Data Generation Rates: Calculate data volumes across device categories and assess their implications for edge processing
- Design Data Acquisition Strategies: Select and justify appropriate transmission schedules based on device capabilities and constraints
2.6 Quick Check: Edge Data Architecture
2.7 Prerequisites
Before diving into this chapter, you should be familiar with:
- Edge, Fog, and Cloud Overview: Understanding the three-tier IoT architecture provides context for where edge data acquisition fits
- Sensor Fundamentals: Knowledge of sensor types and characteristics helps understand data acquisition requirements
Think of edge data acquisition like a local newspaper reporter versus a national news network.
A local reporter (edge device) collects news from the neighborhood and decides what’s important enough to send to the national headquarters (cloud). They don’t send everything - just the highlights. This saves time, money, and keeps headquarters from being overwhelmed.
The “Edge” is simply where your sensors live:
| Location | Example | Why “Edge”? |
|---|---|---|
| Your thermostat | Living room wall | At the edge of your network |
| Factory sensor | On a machine | Far from the central servers |
| Traffic camera | Roadside pole | Collecting data at the source |
Three types of “Things” at the edge:
- Big Things - Computers, servers (they can talk to the internet directly)
- Small IP Things - Smart bulbs, webcams (they have their own internet connection)
- Non-IP Things - Simple sensors that need a “translator” (gateway) to reach the internet
Why process data at the edge instead of sending everything to the cloud?
| Challenge | Without Edge | With Edge |
|---|---|---|
| Speed | Wait for cloud response | Instant local decisions |
| Battery | Constant transmission drains battery | Send only summaries, save power |
| Bandwidth | Network gets clogged | Only important data travels far |
| Privacy | All your data goes to remote servers | Sensitive data stays local |
Real-world example: A security camera generates 1GB of video per hour. Instead of sending all that to the cloud, edge processing detects “motion” and only uploads the 5-second clips that matter.
2.8 Introduction to Edge Data Acquisition
Key Concepts
- Edge acquisition architecture: The hardware and software design of a system that captures, validates, and pre-processes sensor data at or near the source before transmission to higher processing tiers.
- Sensor interface bus: The low-level communication protocol connecting sensors to a microcontroller or gateway — common IoT interfaces include I2C, SPI, UART, and ADC.
- Data aggregation gateway: A device that collects raw readings from multiple nearby sensors, applies local processing (averaging, event detection), and forwards summarised data to the cloud.
- Ring buffer: A circular fixed-size memory structure used in edge devices to store a rolling window of recent sensor readings without dynamic memory allocation.
- Interrupt-driven sampling: A microcontroller technique where a hardware timer interrupt triggers sensor reads at precise intervals, ensuring consistent sample timing without busy-wait polling.
- DMA (Direct Memory Access): A hardware mechanism allowing peripherals (ADC, sensor buses) to transfer data directly to memory without CPU intervention, freeing the processor for other tasks.
Edge data acquisition is the process of collecting, processing, and transmitting sensor data at the network periphery - where physical devices meet the digital infrastructure. This chapter explores the fundamental architecture and device categories that form the foundation of efficient data collection at the IoT edge.
In one sentence: Collect raw data at the edge, but only transmit what’s needed - 90% of IoT data is never analyzed.
Remember this rule: If you can’t name who will use the data and how, don’t collect it.
Traditional cloud-centric architectures require all sensor data to travel to remote servers for processing. Edge data acquisition shifts some processing closer to the source, reducing:
- Latency: Critical for time-sensitive applications (autonomous vehicles, industrial safety)
- Bandwidth: Raw sensor streams can overwhelm network capacity
- Energy: Transmitting data is 10-100x more power-intensive than local processing
- Privacy: Sensitive data can be processed locally without cloud exposure
2.9 IoT Device Categories
The key sources of data in IoT are the ‘Things’ - the physical devices and controllers located on Level 1 of the IoT Reference Model. Things can be accessed directly to send and receive data, however, to be IoT ‘Things’, they must be connected to the Internet.
2.10 Three Categories of Things
The connectivity diagram in Figure 2.1 is the reason to compare device categories here: it shows when a thing can carry an IP path itself and when a gateway must preserve its meaning across a protocol boundary.
Read Figure 2.1 from Big Things through Small IP Things to Non-IP Things. Big Things combine compute and direct connectivity; Small IP Things retain an IP path but operate with tighter local resources; Non-IP Things end at a field bus or short-range link and therefore require gateway translation before cloud services can use their data. The different routes, not the physical size of the device, define the categories. This connects the classification to the chapter’s running design path from source capability to acquisition, reduction, and reliable forwarding.
2.11 Mobile diagram summary
- Edge acquisition architecture: The hardware and software design of a system that captures, validates, and pre-processes sensor data at or near the source before transmission to higher processing tiers.
- Sensor interface bus: The low-level communication protocol connecting sensors to a microcontroller or gateway — common IoT interfaces include I2C, SPI, UART, and ADC.
- Data aggregation gateway: A device that collects raw readings from multiple nearby sensors, applies local processing (averaging, event detection), and forwards summarised data to the cloud.
- Ring buffer: A circular fixed-size memory structure used in edge devices to store a rolling window of recent sensor readings without dynamic memory allocation.
- Interrupt-driven sampling: A microcontroller technique where a hardware timer interrupt triggers sensor reads at precise intervals, ensuring consistent sample timing without busy-wait polling.
- DMA (Direct Memory Access): A hardware mechanism allowing peripherals (ADC, sensor buses) to transfer data directly to memory without CPU intervention, freeing the processor for other tasks.
Big Things might be computers and databases. Small IP-enabled Things could include webcams, lights, and smartphones. Non-IP Things may need a Gateway or other device to assist - examples include lights, temperature gauges, locks, and gates.
2.12 Device Characteristics Comparison
Read the Device Characteristics Comparison material as a decision path rather than as isolated entries. First identify the operating condition in each entry and keep its units, timing, source, and assumed system state attached to it. Next compare the entries at the point where responsibility changes between device, gateway, network, analytic service, and operator; that hand-off is where apparently similar choices often produce different outcomes. Then follow the failure case: ask what becomes stale, delayed, unavailable, or unsafe, who detects it, and what evidence permits recovery. Finally connect the result to the chapter’s running design record by naming the selected behavior, the rejected alternative, the measurement that justifies the choice, and the condition that forces a recheck. That order turns the examples or comparison into an auditable engineering argument.
| Category | Examples | Connectivity | Data Rate | Processing Capability |
|---|---|---|---|---|
| Big Things | Servers, industrial PLCs | Full IP stack | GB/day | High (full OS) |
| Small IP Things | Smart cameras, lights | Wi-Fi, cellular | MB/day | Medium (embedded) |
| Non-IP Things | Temperature sensors, door locks | Zigbee, BLE, Modbus | KB/day | Low (microcontroller) |
2.13 Continue to the Next Part
Carry this evidence into Edge Acquisition: Control Paths and Bandwidth, which begins with Cloud and Edge Control Paths.
