10 Edge Acquisition: Missing Data and Field Design
More
Depth: Practitioner
Progress saves as you read. Mark sections complete as you go; your progress appears in the sidebar.
10.1 Start With the Situation
This section: Start With the Situation — A gateway passes data between device and wider network.
A gateway passes data between device and wider network. The field link is the connection from the remote site. Even if the gateway translates and protects traffic, that link can disappear and readings can arrive late or not at all. The team must keep the gap as evidence. A buffer holds readings until reconnection; aggregation combines readings into a smaller report when the task allows it.
10.2 Overview
This section: Overview — This route treats missing data explicitly, then applies field cases, store-and-forward design, aggregation, and radio-energy trade-offs.
This route treats missing data explicitly, then applies field cases, store-and-forward design, aggregation, and radio-energy trade-offs.
This is part 2 of 2. Review Edge Acquisition: Power and Gateway Functions when you need the first route.
10.3 Learning Objectives
This section: Learning Objectives
By the end of this chapter, you will be able to:
- represent missing data without silently deleting evidence
- design a bounded store-and-forward gateway
- compare aggregation and transmission energy in a field deployment
10.4 Handling Missing Data
This section: Handling Missing Data
The mistake: Deleting rows with missing sensor values instead of using appropriate imputation or flagging strategies, losing valuable contextual information.
Symptoms:
- Dataset shrinks dramatically after preprocessing (e.g., 1M rows becomes 200K)
- Model accuracy drops when deployed despite good validation scores
- Time gaps in data break time-series analysis (autocorrelation, windowing)
- Critical events during sensor outages are completely missed
Why it happens: Beginners apply pandas dropna() liberally. In IoT, sensors fail intermittently due to battery depletion, network issues, or environmental factors. Deleting these rows removes entire time windows, including valid data from other sensors.
The fix: Use context-appropriate imputation strategies:
# For slow-changing values (temperature): forward-fill
df['temp'] = df['temp'].ffill(limit=60) # Max 60 missing samples
# For periodic values: interpolation
df['humidity'] = df['humidity'].interpolate(method='time')
# For event-driven sensors: mark as "no event" vs "missing"
df['motion_event'] = df['motion'].fillna(0) # No motion detected
df['motion_missing'] = df['motion'].isna() # Track sensor status
# For critical analysis: flag and include in model
df['has_missing'] = df.isna().any(axis=1) # Create feature for missingness
Prevention: Track missing data rates per sensor as a health metric. Implement automated alerts when missingness exceeds 5%. Use “missing” as an informative feature rather than discarding it.
10.5 Illustrative Vineyard Gateway
This section: Illustrative Vineyard Gateway — The vineyard case shows why buffering, battery budgeting, and gateway placement have to be designed together.
The vineyard case shows why buffering, battery budgeting, and gateway placement have to be designed together.
Scenario: A hypothetical Rioja vineyard using Libelium-style sensor and gateway components.
Problem: A 120-hectare vineyard in La Rioja, Spain needed to monitor soil moisture, temperature, and humidity across 60 zones to optimize irrigation. The vineyard had no Wi-Fi coverage, unreliable cellular in valleys, and required 3+ year battery life on sensors placed among vine rows.
Deployment (2019-2022):
- 60 Waspmote Plug & Sense sensor nodes (soil moisture + temperature + humidity)
- 4 Meshlium edge gateways providing: Zigbee-to-HTTP protocol translation, 4GB local store-and-forward buffer, 3G/4G cellular backhaul
- Each gateway covered 15 sensor nodes within 500m radio range
- Sensors reported every 15 minutes using Zigbee 802.15.4
Power budget (per sensor node):
- Battery: 6,600 mAh D-cell lithium
- Active sensing: 15 mA for 3 seconds every 15 minutes
- Zigbee transmit: 45 mA for 1.5 seconds per report
- Deep sleep: 15 uA for remaining 14 min 55.5 sec
- Average current: (3 x 15 + 1.5 x 45 + 895.5 x 0.015) / 900 = 0.14 mA
- Battery life: 6,600 / 0.14 = 47,142 hours = 5.4 years
Gateway store-and-forward results:
- In the illustrative vineyard scenario, assume cellular outages 2-3 times/week, lasting 10-30 minutes each.
- Data buffered per 10–30-minute outage: about 10–30 sensor readings per gateway, depending on report phase.
- In the illustrative vineyard scenario, assume ~8% of readings are lost without gateways.
- In the illustrative vineyard scenario, assume 0.02% of readings are lost after gateway deployment (during outages longer than four hours).
Business impact:
- In the illustrative vineyard scenario, assume water usage falls by 22% through precision irrigation ($18,000/year savings).
- In the illustrative vineyard scenario, assume grape-quality sugar-content variance falls by 15%.
- Total deployment cost: ~$45,000 (sensors + gateways + installation)
- Payback period: 2.5 years from water savings alone
Key lesson: The gateway’s store-and-forward capability was more valuable than expected. In the illustrative vineyard scenario, 8% data loss creates gaps in the soil-moisture trend line, causing the irrigation algorithm to over-water during unknown periods. Lower assumed data loss allowed the algorithm to confidently reduce irrigation.
This section:
Checkpoint: Field Gateway Evidence
You now know:
- The vineyard used 60 sensor nodes, 4 gateways, and 15-minute Zigbee reports across 60 zones.
- The sensor budget used 6,600 mAh, 0.14 mA average current, and 47,142 hours, or 5.4 years.
- In the illustrative vineyard scenario, store-and-forward reduces assumed data loss from about 8% to 0.02%, supporting an assumed 22% water saving.
This section:
10.6 Knowledge Check: Gateway Functions
This section: Knowledge Check: Gateway Functions
10.7 Quiz 2: Gateway Functions
This section: Quiz 2: Gateway Functions
10.8 Visual Reference Gallery
This section: Visual Reference Gallery — Use these diagrams as alternate views of the same path: collect locally, translate or buffer, then transmit upstream.
Use these diagrams as alternate views of the same path: collect locally, translate or buffer, then transmit upstream.
10.9 AI-Generated Data Acquisition Diagrams
This section: AI-Generated Data Acquisition Diagrams — The chapter has treated acquisition, reduction, and gatewaying as separate design decisions.
The chapter has treated acquisition, reduction, and gatewaying as separate design decisions. The four diagrams in Figure 10.1, Figure 10.2, Figure 10.3, and Figure 10.4 put those decisions beside one another so you can test whether they form one defensible path from a physical signal to an authenticated service request.
After locating data reduction in Figure 10.1, inspect Figure 10.2 to ask which gateway boundary must shrink the stream without losing device meaning.
Begin at the non-IP sensors in Figure 10.2 and ask what must survive the gateway boundary. Translation handles protocol differences, but it must keep each reading’s device meaning intact. The buffer then carries that meaning through a field-link outage instead of turning missing connectivity into missing history. Secure forwarding resumes only when the upstream path returns. Read the outage strip last: late readings and an observed gap are both evidence, so replay must not make the stream look continuous when it was not. The inertial-stream view that follows shows how quickly this duty grows for a high-rate source.
Read Figure 10.3 across time and compare all accelerometer and gyroscope axes before deciding what a local window may summarise. The dense, related traces show why raw forwarding is expensive and why reduction must preserve decision-relevant motion. The final service boundary is shown in the API integration diagram in Figure 10.4.
Follow Figure 10.4 from edge-facing translation through authentication and formatting into the cloud service. The sequence shows that a syntactically valid conversion is not yet an admissible request: identity and schema checks still have to protect the service boundary. It also connects the field gateway to the application’s API contract, completing the end-to-end route from sampled signal to a request whose source, meaning, and permissions can be reviewed.
AI-generated SVG diagrams illustrating edge data acquisition concepts
Follow Figure 10.4 from edge-facing protocol translation through authentication and data formatting into the cloud service. It continues the gateway boundary into application integration rather than treating the upstream API as an unrelated endpoint. Together, the four diagrams connect the chapter’s running argument: a gateway is not merely a radio bridge; it preserves signal meaning while controlling volume, outages, protocol differences, and trust boundaries.
10.10 Practice Exercises
This section: Practice Exercises
Objective: Calculate battery life for IoT devices with different duty cycling strategies and optimize for maximum longevity.
Tasks:
- Select a target device (ESP32 or nRF52): identify power consumption in each state (active sensing: 25 mA, Wi-Fi active: 80-240 mA, light sleep: 0.8 mA, deep sleep: 10 uA)
- Design baseline duty cycle: active 30s/hour (sensing + processing), transmit 10s/hour (Wi-Fi/BLE), sleep remainder
- Calculate average current and battery life with 2500 mAh battery using the formula
- Optimize duty cycle: reduce active to 5s/hour, transmit to 2s/hour; recalculate battery life improvement
Expected Outcome: Baseline design yields ~6 months battery life, optimized design achieves 2-3 years (4-5x improvement). Understand that transmission dominates power budget. Learn to batch transmissions and maximize sleep time.
Objective: Build a reliable gateway that buffers data during connectivity outages and implements intelligent synchronization.
The gateway photograph in Figure 10.5 identifies the hardware surfaces that must support this exercise’s buffer, local interfaces, and upstream synchronization. Use those surfaces to connect each task to a physical ingress, durable state, and egress path.
Photo: Laserlicht, CC BY-SA 4.0
Read Figure 10.5 from the local GPIO and peripheral interfaces to the processor, storage connection, and network ports. Sensor records enter on the field side, receive durable sequence and timestamp metadata in local storage, and leave through the network side after connectivity returns. The photograph does not itself prove reliability; it locates the resources the tasks must exercise. This ties the lab back to the running gateway contract: outage survival depends on software-defined buffering, ordering, retry, and acknowledgement evidence built on suitable hardware.
Tasks:
- Set up edge gateway (Raspberry Pi) with local storage (SQLite database or time-series DB)
- Implement data pipeline: sensors to gateway (buffer to DB) to cloud (MQTT or HTTP POST)
- Add connectivity monitoring: ping cloud endpoint every 10s; if unreachable, set offline flag
- Simulate 15-minute outage: disconnect network, accumulate 900 sensor samples (1 sample/sec); reconnect and verify all data syncs with correct timestamps
A small remote-data-logging version can start with a Raspberry Pi reading a DHT22 temperature and humidity sensor, stamping each accepted sample, saving it locally, and then sending the same record to a server or remote machine when the network path is available. Keep the payload boring and auditable: device id, sensor id, temperature, humidity, sample time, quality state, and upload attempt. That record lets the class separate three checks that are often confused in demos: the sensor was read, the gateway kept the reading, and the server received the same timestamped value.
Expected Outcome: Zero data loss during outage with proper temporal ordering after sync. Measure sync latency: 900 records should upload in <10 seconds. Understand buffer sizing: 1 GB storage handles ~10 million sensor readings at 100 bytes each = days of outages.
This section:
Transmission dominates the power budget of IoT devices. By maximizing deep sleep time and batching transmissions into short bursts, battery life can be extended from months to years. Gateways are essential for bridging non-IP sensors to the cloud, providing protocol translation, store-and-forward buffering, and security — ensuring zero data loss even during network outages.
This section:
A precision agriculture deployment uses LoRaWAN soil moisture sensors in vineyards. Target: 3+ year battery life on a 3 V, 6600 mAh battery pack. Current design lasts only 8 months. Optimize duty cycling to meet requirement.
Initial Design (8-Month Battery Life):
| Activity | Duration/Hour | Current Draw | Energy/Hour |
|---|---|---|---|
| Soil moisture sensing (capacitive) | 5 seconds | 25 mA | 0.035 mAh |
| Temperature sensing (NTC) | 2 seconds | 3 mA | 0.002 mAh |
| LoRaWAN transmission (SF7, 14 dBm) | 2 seconds (packet TX) | 120 mA | 0.067 mAh |
| Deep sleep | 3591 seconds | 50 μA | 0.050 mAh |
Average current per hour: 0.035 + 0.002 + 0.067 + 0.050 = 0.154 mAh
Battery life: 6600 mAh ÷ 0.154 mAh/hour = 42,857 hours = 4.9 years
Wait - math says 4.9 years, but field deployment lasts only 8 months? What’s wrong?
Root Cause Analysis (Field Measurements):
- actual transmission time: 5 seconds (not 2) due to join/retry overhead
- Energy: 5s × 120 mA ÷ 3600 = 0.167 mAh (vs 0.067 planned)
- temperature extremes: Vineyard sees -5°C to +40°C
- Battery capacity at -5°C: 6600 × 0.6 = 3960 mAh (40% reduction)
- sleep current higher: Actual measured = 150 μA (not 50 μA)
- Cause: ESP32 RTC power domain + LoRa module quiescent current
- Energy: 3591s × 150 μA ÷ 3600 = 0.150 mAh (vs 0.050 planned)
Revised Actual Energy Budget:
| Activity | Energy/Hour |
|---|---|
| Soil sensing | 0.035 mAh |
| Temp sensing | 0.002 mAh |
| LoRaWAN TX (actual) | 0.167 mAh |
| Sleep (actual) | 0.150 mAh |
| Total | 0.354 mAh/hour |
Actual battery life: 3960 mAh (cold temp) ÷ 0.354 mAh/hour = 11,186 hours = 1.3 years (close to observed 8 months considering further cold-weather losses)
Optimizations to Reach 3+ Years:
Optimization 1 - Reduce Transmission Frequency:
- Original: Transmit every hour (24 transmissions/day)
- Optimized: Transmit every 4 hours (6 transmissions/day)
- Rationale: Soil moisture changes slowly (hourly data unnecessary)
- Energy saving: 0.167 mAh/hour × 0.75 = 0.125 mAh/hour saved
Optimization 2 - Lower LoRaWAN Spreading Factor:
- SF7 (shortest airtime) vs SF12 (longest)
- Airtime reduction: 5s → 1.5s (on-air-time calculator)
- Energy: 1.5s × 120 mA ÷ 3600 = 0.050 mAh per transmission
- At 6 TX/day: 0.050 × 6 ÷ 24 = 0.0125 mAh/hour (vs 0.042 before)
- Saving: 0.030 mAh/hour
Optimization 3 - Improve Deep Sleep Current:
- Disable LoRa module TCXO during sleep (saves 100 μA)
- Use ESP32 hibernation mode instead of light sleep
- New sleep current: 10 μA (vs 150 μA)
- Energy: 3591s × 10 μA ÷ 3600 = 0.010 mAh/hour (vs 0.150)
- Saving: 0.140 mAh/hour
Optimized Energy Budget:
| Activity | Original | Optimized | Improvement |
|---|---|---|---|
| Soil sensing | 0.035 | 0.035 | - |
| Temp sensing | 0.002 | 0.002 | - |
| LoRaWAN TX | 0.167 | 0.0125 (6/day, SF7) | 92% reduction |
| Sleep | 0.150 | 0.010 | 93% reduction |
| Total/hour | 0.354 | 0.0595 | 83% reduction |
New battery life: 3960 mAh (cold temp derated) ÷ 0.0595 mAh/hour = 66,555 hours = 7.6 years
Deployment Result:
- Field test (6 months): Projected lifetime 7.2 years (meets 3+ year requirement)
- Cost: $0 (firmware update only, no hardware changes)
- Trade-off: 4-hour reporting interval (vs 1-hour) - acceptable for soil monitoring
Key Lessons:
- Always measure actual field current (don’t trust datasheets for complex sleep modes)
- Temperature derating is critical; use the chosen battery’s discharge curve at the expected freezing temperature and load.
- Transmission dominates power budget - reduce frequency first, then optimize airtime
| Factor | Direct Cloud Connection (No Gateway) | Edge Gateway with Store-and-Forward | Decision Threshold |
|---|---|---|---|
| Network Reliability | >99% uptime, <10 min/month outage | <95% uptime, hours/day outages | Use gateway if outages >1 hour/week or >0.5% data loss unacceptable |
| Sensor Protocol | IP-native (Wi-Fi, cellular, Ethernet) | Non-IP (Zigbee, Modbus, BLE, LoRa) | Gateway required for non-IP sensors |
| Latency Tolerance | Tolerates 1-5 second delays | Needs <100 ms local decisions | Use gateway if edge processing required for latency |
| Data Volume | <1 GB/day per site | >10 GB/day (pre-filter at edge) | Gateway saves bandwidth if raw data >1 GB/day |
| Security Model | Device-level TLS to cloud | Gateway TLS + device firewall | Use gateway for centralized security policy |
| Deployment Scale | <100 devices | >1000 devices | Gateway amortizes management cost at scale |
| Cost per Device | >$50 (justify cellular/Wi-Fi) | <$10 (use low-cost radio) | Gateway enables cheap sensors with radio backhaul |
Quick Decision Tree:
Use the tree as a sequence of gates, not as a substitute for measured requirements. First establish whether each sensor can reach the selected cloud interface directly and whether that path preserves the required identity, unit, timestamp, and quality fields. A non-IP source creates a translation boundary, so the gateway must own the point map and rejection behavior. Next review outage evidence: compare the longest credible disconnection with local storage, record age, replay rate, and the loss the application can tolerate. Then calculate raw and reduced data volume and identify any decision that must finish locally; either condition can justify filtering or processing at the gateway. Finally review fleet scale, credential lifecycle, segmentation, update ownership, and regulatory constraints. Record the gate that selected the architecture and the observation that would force a re-evaluation. The numerical thresholds in the table are scenario prompts; measured service objectives and operating evidence govern a real deployment.
-
are sensors IP-capable (Wi-Fi/cellular/Ethernet)?
- No → Gateway required (protocol translation)
- Yes → Continue
-
is network connectivity reliable (>99% uptime)?
- No → Gateway with store-and-forward (buffer during outages)
- Yes → Continue
-
is data volume >1 GB/day or real-time processing needed?
- Yes → Gateway (edge filtering/processing)
- No → Continue
-
are there >1000 devices or regulatory security requirements?
- Yes → Gateway (centralized management/security)
- No → Direct cloud connection (simplest architecture)
Architecture Patterns:
| Pattern | When to Use | Example |
|---|---|---|
| Direct Cloud | Wi-Fi sensors, reliable network, low volume | Smart home thermostats |
| Gateway + Store-Forward | Unreliable network, critical data capture | Remote oil pipeline (satellite uplink) |
| Gateway + Edge Processing | High data volume, need local analytics | Factory vibration monitoring (10 kHz sampling) |
| Multi-Tier Gateway | Very large scale, hierarchical processing | Smart city (edge → fog → cloud) |
The Error: An engineer designs a wildlife GPS collar using a 3400 mAh battery. Calculation: “GPS module draws 40 mA for 1 minute/hour. Sleep current is 50 μA. Battery life should be 3+ years!” The scenario reports a three-month field life; compare it with the revised budget below and reconcile the difference using the measured modem duty cycle.
The Flawed Calculation:
| Activity | Duration/Hour | Current | Energy/Hour |
|---|---|---|---|
| GPS fix acquisition | 60 seconds | 40 mA | 0.667 mAh |
| Sleep | 3540 seconds | 0.05 mA | 0.050 mAh |
| Total | - | - | 0.717 mAh/hour |
Expected life: 3400 mAh ÷ 0.717 mAh/hour = 4741 hours = 6.6 months (already wrong, but gets worse)
What Was Forgotten - Cellular Transmission:
GPS collars must transmit location to cloud via cellular (2G/3G/4G). Cellular modem characteristics:
- Idle (registered to network): 5 mA
- Transmitting (GPRS/3G): 200-400 mA peak, 150 mA average
- Transmission time: 5-10 seconds per GPS report (TCP handshake + HTTP POST + response)
Revised Calculation:
| Activity | Duration/Hour | Current | Energy/Hour |
|---|---|---|---|
| GPS fix | 60 seconds | 40 mA | 0.667 mAh |
| Cellular TX (10 sec) | 10 seconds | 200 mA | 0.556 mAh |
| Cellular idle | 3530 seconds | 5 mA | 4.903 mAh |
| Sleep (GPS/cellular off) | 0 seconds | - | 0 mAh |
| Total | - | - | 6.126 mAh/hour |
Battery life predicted by this budget: 3400 mAh ÷ 6.126 mAh/hour = 555 hours = 23 days; this does not match the stated three-month field life, so the measured modem duty cycle or field-life premise needs reconciliation.
Cellular transmission dominated the budget:
- GPS: 0.667 mAh (11% of total)
- Cellular: 5.459 mAh (89% of total!)
Correct Design - Reduce Transmission:
Option 1 - Batch Transmissions:
- Collect 24 GPS fixes in local flash memory
- Transmit once per day (1 longer transmission vs 24 short ones)
- Cellular modem off 23 hours/day
| Activity | Duration/Day | Current | Energy/Day |
|---|---|---|---|
| GPS fix (24x) | 24 minutes | 40 mA | 16 mAh |
| Cellular TX (1x, 60s) | 60 seconds | 200 mA | 3.33 mAh |
| Sleep | 23.5 hours | 50 μA | 1.18 mAh |
| Total/day | - | - | 20.51 mAh |
New battery life: 3400 mAh ÷ 20.51 mAh/day = 166 days = 5.5 months (still short)
Option 2 - Use Low-Power Radio (LoRaWAN or Satellite IoT):
- LoRaWAN transmission: 120 mA for 2 seconds (vs 200 mA for 10 seconds cellular)
- No idle current (radio off between transmissions)
- Energy: 120 mA × 2s ÷ 3600 = 0.067 mAh per transmission
| Activity | Duration/Hour | Current | Energy/Hour |
|---|---|---|---|
| GPS fix | 60 seconds | 40 mA | 0.667 mAh |
| LoRaWAN TX | 2 seconds | 120 mA | 0.067 mAh |
| Sleep | 3598 seconds | 50 μA | 0.050 mAh |
| Total | - | - | 0.784 mAh/hour |
New battery life: 3400 mAh ÷ 0.784 mAh/hour = 4337 hours = 6.0 months (still needs work)
Option 3 - Combine Batching + LoRaWAN:
- GPS fix and transmit every 4 hours instead of hourly (6 cycles/day)
- Energy: 0.667÷4 (GPS) + 0.067÷4 (LoRa) + 0.050 (sleep) = 0.234 mAh/hour
- Battery life: 3400 ÷ 0.234 = 14,530 hours = 20 months
Final Option - Add Solar Panel:
- 100 mAh/day solar harvest (small 50mm × 50mm panel)
- Net drain: 20.51 - 100 = -79.49 mAh/day (battery charges!)
- Battery-life implication: At the assumed 100 mAh/day harvest and 20.51 mAh/day load, the daily charge budget is positive by 79.49 mAh; verify winter harvest, voltage conversion, storage and consecutive dark days before claiming self-sustaining operation.
Key Lessons:
- NEVER ignore transmission energy - wireless radios often dominate power budget
- Cellular idle current (5 mA) is 100x higher than deep sleep (50 μA) - keep modem off
- Batching transmissions reduces overhead (1 long TX < 24 short TXs due to handshake costs)
- Low-power radio options (LoRaWAN, NB-IoT, satellite IoT) have different energy budgets; compare them with the chosen cellular modem under the same message schedule.
- Always measure actual field current with ammeter - datasheets lie about sleep current
This section:
Checkpoint: Design Tradeoffs
You now know:
- A gateway is required for non-IP sensors and valuable when more than 0.5% data loss is unacceptable.
- The store-and-forward exercise expects 900 samples from a 15-minute outage to sync in less than 10 seconds.
- The design rule repeats: measure field current, reduce transmission frequency, and size buffers for the longest outage.
This section:
10.11 Interactive Quiz: Match Concepts
This section: Interactive Quiz: Match Concepts — The remaining activities turn the design rules into recall and sequencing checks.
The remaining activities turn the design rules into recall and sequencing checks.
10.12 Interactive Quiz: Sequence the Steps
This section: Interactive Quiz: Sequence the Steps
Common Pitfalls
This section: Common Pitfalls
Radio transmission can dominate an IoT edge node’s energy budget, depending on transmit power, airtime, sensing and processing duration. Any power budget analysis that omits transmission power will dramatically overestimate battery life.
LoRaWAN, cellular, and Wi-Fi links in remote locations drop regularly. Without local buffering and store-and-forward, every connectivity interruption causes permanent data loss. Size the local buffer for the maximum expected outage duration.
A monolithic gateway application that crashes takes down all protocol translation, buffering, and forwarding functions simultaneously. Use containers or process supervisors so individual components can restart independently.
A device’s average current may be 1 mA but its peak during radio transmission may be 200 mA. Under-sized batteries or capacitors that cannot source the peak current will cause voltage drops and resets exactly when data needs to be transmitted.
10.13 Label the Diagram
This section: Label the Diagram
10.14 Code Challenge
This section: Code Challenge
10.15 Radio Budget and Aggregation
This section: Radio Budget and Aggregation — The radio module choice should be replayed as a full state sequence.
The radio module choice should be replayed as a full state sequence. Figure 10.6 prices wake, burst, sleep, and comparison under one 60-second soil-node workload.
In Figure 10.6, Measure the burst includes startup, listening, transmit, and ACK rather than quoting transmit current alone. Measure the floor shows why 6 µA versus 19 µA dominates when sleep occupies 59.75 s, and Compare equal work keeps payload, margin, retry policy, and reporting period fixed.
The follow-on page narrows the lens to radio scheduling and aggregation contracts.
For the deeper implementation contract behind radio duty cycle, adaptive sampling, gateway aggregation, batching latency, event-preserving summaries, and queue metadata, continue to Radio Budget and Gateway Aggregation Contracts.
10.16 Summary
This section: Summary
Power management and gateway functions are critical for practical edge IoT deployments:
- Duty cycling: Maximize sleep time and batch transmissions - TX current dominates power budget
- Battery life: In this chapter’s duty-cycle example, optimization extends calculated battery life from months to years (about 4.9x).
- Gateway functions: Protocol translation, store-and-forward buffering, and security are essential for non-IP device integration
- Missing data: Treat as information, not noise - use appropriate imputation and track as a health metric
10.17 Concept Relationships
This section: Concept Relationships — Key Insight: Power and connectivity are linked — aggressive transmission schedules drain batteries fast.
Power management and gateways are critical constraints that determine edge system feasibility:
Power Optimization (This chapter):
- In this chapter’s duty-cycle example, deep sleep extends calculated battery life from months to years (about 4.9x).
- Transmission can dominate the power budget; batching is often a useful optimization when wake-up and handshake costs matter.
Gateway Functions (This chapter):
- Protocol translation bridges Non-IP devices to cloud (Modbus → MQTT, Zigbee → HTTP)
- Store-and-forward prevents data loss during network outages (24-48 hour buffer minimum)
Architecture Foundation:
- Edge Data Acquisition: Architecture - Non-IP Things require gateways; power budgets vary by device category
- Edge Data Acquisition: Sampling and Compression - Compression reduces transmission frequency, directly impacting battery life
Broader Context:
- Edge Compute Patterns - Edge processing reduces transmission (saves power); offloading to fog/cloud (costs power)
- Edge Fog Computing - Gateways often serve as fog nodes, providing both connectivity and local processing
Data Quality Impact:
- Data Quality and Preprocessing - Gateway store-and-forward ensures zero data loss (vs gaps during outages)
- Multi-Sensor Data Fusion - Gateways often perform sensor fusion locally, reducing bandwidth
Key Insight: Power and connectivity are linked — aggressive transmission schedules drain batteries fast. In the illustrative vineyard scenario, gateways with store-and-forward reduce assumed data loss from 8% to 0.02%, while the duty-cycle calculation gives 5.4 years of battery life against a three-year target. The combination makes low-power, high-reliability IoT feasible.
10.18 What’s Next
This section: What’s Next
| If you want to… | Read this |
|---|---|
| Understand the acquisition architecture this power system supports | Edge Acquisition Architecture |
| Learn sampling and compression strategies to reduce power | Edge Acquisition Sampling and Compression |
| Control radio and gateway aggregation tradeoffs | Radio Budget and Gateway Aggregation Contracts |
| Study the broader edge data acquisition context | Edge Data Acquisition |
| Apply edge patterns to system design | Edge Compute Patterns |
| Return to the module overview | Big Data Overview |
10.19 See Also
This section: See Also
Edge Acquisition Series:
- Edge Data Acquisition: Architecture - Device categories and connectivity paths
- Edge Data Acquisition: Sampling and Compression - Data reduction techniques
Edge Computing:
- Edge Compute Patterns - Processing patterns and optimization
- Edge Fog Computing - Three-tier architecture
Data Quality:
- Data Quality and Preprocessing - Validation and cleaning pipelines
- Multi-Sensor Data Fusion - Combining data from multiple sources
Practice:
- Edge Topic Review - Edge computing review
- Edge Comprehensive Review - Complete concepts review
- Edge Quiz Bank - Knowledge testing
10.20 Additional Resources
This section: Additional Resources
- AWS IoT Greengrass Documentation - Edge runtime for local compute and data caching
- Azure IoT Edge - Cloud intelligence deployed locally
- ESP-IDF Power Management - ESP32 power optimization
Find help
3 reviewed answers.
Where should I start in a module?
Open the module page from the sidebar to see its chapters in order. Use the module map to return to a topic you need.
Modules and pathsReviewed
What can I try when a project does not work?
Check the symptom, then work through the diagnostic steps. Keep the error message and the smallest example that reproduces it.
When you are stuckReviewed
How do interactive examples work?
Use the interactive guide to check how examples and simulations work before changing your project.
Interactive examples guideReviewed
