3.8 Sensing-Layer Engineering Summary
3.8.1 Engineering Wrap-up and the Practice Checklist
Technology choices in the sensing layer directly determine the engineering boundaries of an IoT project. If sensor accuracy is insufficient, however well the upper-layer algorithms run, no valid data gets in; if RFID anti-collision is handled poorly, a warehouse auto-inventory system will print wrong lists in tag-dense areas; if a positioning solution develops blind zones at indoor-outdoor handovers, a mobile robot's path planning will suffer intermittent dropouts. These problems are rarely emphasized in product manuals, yet they are unavoidable pitfalls in field deployment.
Along the main line of "physical sensing — identity recognition — spatial positioning — edge processing — local intelligence — unified abstraction," this chapter has taken apart the sensing layer's core technologies. Every area carries a clear engineering trade-off: sensor selection balances accuracy, power consumption, and interface; the RFID band directly determines read/write range and scenario fit; a positioning solution must first understand the innate blind zones of single-source technologies, then fill them in with fusion; an edge node's compute and power budget together decide the model complexity it can carry; the heart of on-device AI is not "which algorithm to move onto the MCU" but whether the accuracy loss after quantization is acceptable; and the crux of thing-model design lies in balancing semantic consistency against extensibility.
The most effective way to turn what you have learned from knowledge into action is to build an engineering checklist. Pull it out and verify item by item every time you plan a sensing layer, and the odds of stumbling in the field drop sharply. Table 3-5 covers the full process from selection and deployment through model design.
Table 3-5 Sensing-Layer Engineering Practice Checklist
| Area | Check item | Self-check guidance |
|---|---|---|
| Sensor selection | Physical-quantity range and headroom | Against the range being measured, reserve at least 1.5× headroom; watch for nonlinear offset, and prefer models that were linearization-calibrated at the factory (e.g., MEMS pressure sensors with TC compensation). |
| Sensor interface | Analog/digital choice and wiring | Analog signals (e.g., 4-20 mA, 0-10 V) must match the ADC's effective bit width, with the shield grounded at a single end; for digital interfaces (e.g., I²C, SPI), mind address conflicts and bus capacitive-load limits. |
| Signal conditioning | Sampling rate and effective noise bit width | For fast-changing signals (e.g., vibration, current transients), sample at least 2.5× the bandwidth; focus on the effective number of bits (ENOB), not the nominal resolution. |
| RFID band selection | Environmental compatibility and tag cost | Metal and liquid surfaces do not suit the UHF band (860-960 MHz) — switch to HF (13.56 MHz) or low frequency (125 kHz); for active tags, evaluate the battery-replacement cycle and cost. |
| Anti-collision protocol | Stability under bulk read/write | When the number of tags in the same anti-collision field zone reaches several dozen, evaluate the Q-value gain (EPC Gen2) or switch to an improved framed-slotted ALOHA protocol; prefer readers that support dynamic frame-length adjustment. |
| Positioning fusion | Single-source blind zones and fallback plans | When GNSS loses lock indoors, switch to UWB/Wi-Fi fingerprinting; when initializing the Kalman filter, mind the warm start of the covariance matrix to avoid first-fix drift. |
| Edge-node hardware | Compute match and power budget | Select from measurements of the target model, concurrency, peak memory, thermal design, and power supply; do not substitute CPU clock or the presence of an NPU for an end-to-end benchmark. |
| Data preprocessing | Filtering and sampling chain | Select filters from signal bandwidth, the noise model, permissible phase delay, and control stability. Design analog anti-aliasing before sampling, and validate the digital filter's magnitude and phase responses with target waveforms. |
| On-device AI deployment | Model quantization and the calibration set | The calibration set must cover real operating conditions and tail samples. Accept accuracy, latency, peak memory, and power after quantization separately; do not prescribe a fixed sample count or acceptable accuracy loss. |
| Adaptive sampling | Threshold setting and historical data | Calibrate thresholds from event cost, noise distribution, and seasonality. Mean ± 2σ applies only under assumptions such as approximate stationarity and normality and is not a universal threshold. |
| Thing-model design | Read/write points and event coverage | Check each point's type, unit, range, read/write permissions, and quality semantics. A write capability must connect to authorization, operating-condition validation, receipts, and safety control rather than being judged only by field completeness. |
| Data-interoperability verification | Uplink/downlink and outage recovery | Use a real Driver to verify acquisition, buffering, reconnection, duplicates/out-of-order delivery, point commands, and receipts. The current IoT DC3 implementation should not be described as providing a universal Device Shadow with a fixed 5-second synchronization SLA. |
For the learning path ahead, take a data-acquisition project you already have as a training ground and try applying on-device AI and thing-model thinking to it directly. When you revisit RFID identity mapping or the details of indoor fusion positioning, go back to the theory discussions in Sections 3.3 and 3.4; when making edge-node deployment and preprocessing trade-offs, Section 3.5 has a more detailed discussion. The sensing layer's data ultimately flows to the application layer, and later chapters will progressively take up data cleaning, modeling, and closed-loop actuation.
The capability and boundary of the word Sense on the cover — turning the physical world into trustworthy data — have a counterpart in every checklist item of this chapter: accuracy, drift, anti-collision, and fusion positioning all guard the quality of this upstream supply.