Chapters

10 Edge Acquisition: Missing Data and Field Design

analytics-ml
edge
acq
power

10.1 Start With the Situation

A gateway translates and protects traffic correctly, but the field link still disappears and readings arrive late or not at all. The team must preserve the gap as evidence, buffer safely, and decide what may be aggregated before reconnection.

10.2 Overview

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

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 Chapter Roadmap

Follow the original sections below in order. They begin at the reviewed split boundary and keep every worked example, figure, check, and supporting banner with the section that owns it.

10.5 Handling Missing Data

Time: ~8 min | Difficulty: Intermediate | Reference: P10.C08.U05b

Common Pitfall: Missing Data Deletion

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.6 Libelium Agriculture Gateway

The vineyard case shows why buffering, battery budgeting, and gateway placement have to be designed together.

Libelium Vineyard Monitoring

Company: Libelium (Zaragoza, Spain), an IoT hardware manufacturer specializing in sensor platforms for agriculture, environment, and smart cities.

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:

  • Average cellular outage: 2-3 times/week, 10-30 minutes each
  • Data buffered per outage: ~15-30 sensor readings per gateway
  • Data loss before gateways: ~8% of readings lost
  • Data loss after gateway deployment: 0.02% (only during rare >4-hour outages)

Business impact:

  • Water usage reduced by 22% through precision irrigation ($18,000/year savings)
  • Grape quality improved — sugar content variance reduced 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. Without it, 8% data loss created gaps in the soil moisture trend line, causing the irrigation algorithm to over-water during unknown periods. Zero data loss allowed the algorithm to confidently reduce irrigation.

Data DoraCheckpoint: 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.
  • Store-and-forward cut data loss from about 8% to 0.02%, supporting 22% water savings.

10.7 Knowledge Check: Gateway Functions

10.8 Quiz 2: Gateway Functions

10.10 AI-Generated Data Acquisition Diagrams

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.

Edge data acquisition pipeline diagram showing the flow from physical sensors through data collection, local processing, and transmission stages with sampling rates and data reduction at each step.
Figure 10.1: Edge Data Acquisition Pipeline

In Figure 10.1, read from the physical sensor through collection and local processing to transmission; the falling data rate is the evidence that reduction happens before the constrained link. Next inspect the deployment diagram in Figure 10.2 to locate the boundary that must implement that reduction without losing device meaning.

Gateway deployment connects devices and sensors to an edge gateway, WAN and cloud. Their roles are aggregate, transmit and analyze.
Figure 10.2: Gateway Deployment Architecture

Trace Figure 10.2 from non-IP sensors through translation, buffering, and secure forwarding to cloud infrastructure. Those gateway functions explain how the first pipeline survives protocol differences and outages. The high-rate source behind that need becomes concrete in the time-series diagram in Figure 10.3.

A wrist IMU dashboard groups accelerometer X/Y/Z readings and gyroscope roll, pitch and yaw, followed by recent data points. Six samples are labeled at about 5 Hz.
Figure 10.3: Accelerometer and Gyroscope Data

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.

Protocol translation, authentication and data formatting lead to a cloud service. Identity or schema failures prevent admission; check identity before the protocol bridge accepts a device.
Figure 10.4: API Gateway Integration

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.11 Practice Exercises

Objective: Calculate battery life for IoT devices with different duty cycling strategies and optimize for maximum longevity.

Tasks:

  1. 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)
  2. Design baseline duty cycle: active 30s/hour (sensing + processing), transmit 10s/hour (Wi-Fi/BLE), sleep remainder
  3. Calculate average current and battery life with 2500 mAh battery using the formula
  4. 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.

Top view of a Raspberry Pi 4 Model B showing its circuit board, processor, GPIO header, and ports
Figure 10.5: A Raspberry Pi 4 provides the processor, storage interface, GPIO, and network ports needed for this store-and-forward gateway exercise; the software below supplies the buffering and synchronization contract.

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:

  1. Set up edge gateway (Raspberry Pi) with local storage (SQLite database or time-series DB)
  2. Implement data pipeline: sensors to gateway (buffer to DB) to cloud (MQTT or HTTP POST)
  3. Add connectivity monitoring: ping cloud endpoint every 10s; if unreachable, set offline flag
  4. 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.

Key Takeaway

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.

A precision agriculture deployment uses LoRaWAN soil moisture sensors in vineyards. Target: 3+ year battery life on 2x AA batteries (6600 mAh total @ 3V). Current design lasts only 8 months. Optimize duty cycling to meet requirement.

Initial Design (8-Month Battery Life):

ActivityDuration/HourCurrent DrawEnergy/Hour
Soil moisture sensing (capacitive)5 seconds25 mA0.035 mAh
Temperature sensing (NTC)2 seconds3 mA0.002 mAh
LoRaWAN transmission (SF7, 14 dBm)2 seconds (packet TX)120 mA0.067 mAh
Deep sleep3591 seconds50 μA0.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:

ActivityEnergy/Hour
Soil sensing0.035 mAh
Temp sensing0.002 mAh
LoRaWAN TX (actual)0.167 mAh
Sleep (actual)0.150 mAh
Total0.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:

ActivityOriginalOptimizedImprovement
Soil sensing0.0350.035-
Temp sensing0.0020.002-
LoRaWAN TX0.1670.0125 (6/day, SF7)92% reduction
Sleep0.1500.01093% reduction
Total/hour0.3540.059583% 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:

  1. Always measure actual field current (don’t trust datasheets for complex sleep modes)
  2. Temperature derating is critical (battery capacity drops 40-60% at freezing)
  3. Transmission dominates power budget - reduce frequency first, then optimize airtime
FactorDirect Cloud Connection (No Gateway)Edge Gateway with Store-and-ForwardDecision Threshold
Network Reliability>99% uptime, <10 min/month outage<95% uptime, hours/day outagesUse gateway if outages >1 hour/week or >0.5% data loss unacceptable
Sensor ProtocolIP-native (Wi-Fi, cellular, Ethernet)Non-IP (Zigbee, Modbus, BLE, LoRa)Gateway required for non-IP sensors
Latency ToleranceTolerates 1-5 second delaysNeeds <100 ms local decisionsUse 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 ModelDevice-level TLS to cloudGateway TLS + device firewallUse gateway for centralized security policy
Deployment Scale<100 devices>1000 devicesGateway 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:

PatternWhen to UseExample
Direct CloudWi-Fi sensors, reliable network, low volumeSmart home thermostats
Gateway + Store-ForwardUnreliable network, critical data captureRemote oil pipeline (satellite uplink)
Gateway + Edge ProcessingHigh data volume, need local analyticsFactory vibration monitoring (10 kHz sampling)
Multi-Tier GatewayVery large scale, hierarchical processingSmart city (edge → fog → cloud)
Include Transmission Energy

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!” In field testing, collars die after 3 months.

The Flawed Calculation:

ActivityDuration/HourCurrentEnergy/Hour
GPS fix acquisition60 seconds40 mA0.667 mAh
Sleep3540 seconds0.05 mA0.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:

ActivityDuration/HourCurrentEnergy/Hour
GPS fix60 seconds40 mA0.667 mAh
Cellular TX (10 sec)10 seconds200 mA0.556 mAh
Cellular idle3530 seconds5 mA4.903 mAh
Sleep (GPS/cellular off)0 seconds-0 mAh
Total--6.126 mAh/hour

Actual battery life: 3400 mAh ÷ 6.126 mAh/hour = 555 hours = 23 days (matches field failure at 3 months with temperature derating + inefficiencies)

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
ActivityDuration/DayCurrentEnergy/Day
GPS fix (24x)24 minutes40 mA16 mAh
Cellular TX (1x, 60s)60 seconds200 mA3.33 mAh
Sleep23.5 hours50 μA1.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
ActivityDuration/HourCurrentEnergy/Hour
GPS fix60 seconds40 mA0.667 mAh
LoRaWAN TX2 seconds120 mA0.067 mAh
Sleep3598 seconds50 μA0.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: Indefinite (solar sustains during daylight, battery covers night)

Key Lessons:

  1. NEVER ignore transmission energy - wireless radios often dominate power budget
  2. Cellular idle current (5 mA) is 100x higher than deep sleep (50 μA) - keep modem off
  3. Batching transmissions reduces overhead (1 long TX < 24 short TXs due to handshake costs)
  4. Low-power radios (LoRaWAN, NB-IoT, satellite IoT) use 50-90% less energy than cellular
  5. Always measure actual field current with ammeter - datasheets lie about sleep current

Data DoraCheckpoint: 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.

10.12 Interactive Quiz: Match Concepts

The remaining activities turn the design rules into recall and sequencing checks.

10.13 Interactive Quiz: Sequence the Steps

Common Pitfalls

Radio transmission is typically the dominant energy consumer in an IoT edge node — often 10x the current draw of the sensor and MCU combined. 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.14 Label the Diagram

10.15 Code Challenge

10.16 Radio Budget and Aggregation

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.

A soil-node radio ledger prices scheduled wake, active burst and sleep before comparing equal work. Duty cycle weights every state; battery life follows total charge.
Figure 10.6: A soil sensor completes a numbered radio duty cycle and compares module current using an equal-work charge ledger.

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.17 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: Optimized duty cycling extends battery life from months to years (4-5x improvement typical)
  • 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.18 Concept Relationships

Power management and gateways are critical constraints that determine edge system feasibility:

Power Optimization (This chapter):

  • Duty cycling formula extends battery life from months to years (4-5x improvement via deep sleep)
  • Transmission dominates power budget (10-100x more than sensing); batching is highest-leverage optimization

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:

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:

Key Insight: Power and connectivity are linked — aggressive transmission schedules drain batteries fast. Vineyard case study: Gateways with store-and-forward achieved 0.02% data loss (vs 8% without), while duty cycling achieved 5.4-year battery life (vs target of 3 years). The combination makes low-power, high-reliability IoT feasible.

10.19 What’s Next

If you want to…Read this
Understand the acquisition architecture this power system supportsEdge Acquisition Architecture
Learn sampling and compression strategies to reduce powerEdge Acquisition Sampling and Compression
Control radio and gateway aggregation tradeoffsRadio Budget and Gateway Aggregation Contracts
Study the broader edge data acquisition contextEdge Data Acquisition
Apply edge patterns to system designEdge Compute Patterns
Return to the module overviewBig Data Overview

10.20 See Also

Edge Acquisition Series:

Edge Computing:

Data Quality:

Practice:

10.21 Additional Resources