IoT data acquisition system explained
Short answer: An IoT data acquisition system samples sensor signals, converts them to digital values, does a first pass of processing, and sends them on to an aggregator or cloud. Analogue sensor signals need conditioning before the converter can read them.
What an IoT data acquisition system does, from sensor and signal conditioning to converter, microcontroller and aggregator, and what to check first.
This article covers the chain from sensor to converter to microcontroller to aggregator, what signal conditioning does, how analogue and digital sensor outputs differ, and the power and link choices that follow It does not cover a ranking of data acquisition boards, the choice of a specific converter, the calibration of a sensor, or the design of the cloud database
A data acquisition system turns a physical reading into a number a computer can use. In an IoT system, that number then goes over a network. This guide covers each stage from the sensor to the cloud, why the signal often needs conditioning first, and what to check before you build one.
What the system is
Wikipedia defines data acquisition as the process of sampling signals that measure real-world physical conditions, and converting the resulting samples into digital numeric values that can be manipulated by a computer. A complete system, it says, has DAQ hardware, sensors and actuators, signal conditioning hardware, and a computer running DAQ software.
In this guide the chain has four parts: the sensor, the conditioning and converter, a microcontroller, and an aggregator or gateway. A water-quality monitoring chapter on arXiv describes four major subsystems in its generic architecture: data acquisition, data aggregator, data server and cloud server.
The sensor and the signal
Wikipedia says a sensor converts a physical parameter into an electrical signal. The water-quality chapter says these signals may be analogue or digital.
The water-quality chapter says that analogue signals need conditioning electronics on the microcontroller side. Many sensors have their own circuitry that converts the analogue signal to digital, and it can then talk to the microcontroller over I2C, SPI or UART. The chapter names I2C as a synchronous, single-ended computer bus.
Signal conditioning
Wikipedia defines signal conditioning as manipulating an analogue signal so it meets the requirements of the next stage. Its listed functions include filtering, isolation and linearisation.
- Filtering. Wikipedia calls filtering the most common signal conditioning function.
- Isolation. Wikipedia says signal isolation may be used to pass the signal from the source to the measuring device without a physical connection.
- Linearisation. Wikipedia says it is needed when a sensor produces voltage signals that are not linearly related to the physical measurement.
The chapter says the signals may be filtered and scaled, and then converted to digital by sampling with an analogue-to-digital converter (ADC). Wikipedia puts the same stage in plain terms: conditioning circuitry converts sensor signals into a form that can be converted to digital values, and the ADC does the conversion.
The microcontroller and the aggregator
The chapter describes the microcontroller as a low power device that collects the sensor data and does the first level of signal processing. It then sends the information to the aggregator. The chapter says the link between them is usually wireless, because the distances are often large. It also says low power matters for the acquisition side, which is why low power microcontrollers and long range protocols such as LoRaWAN, Sigfox or the short range BLE and Zigbee are common.
The aggregator is a second layer of processing. The chapter says it is usually a low power microcomputer running Linux, with the Raspberry Pi family as the most typical example. It may process the signal, encrypt the data, store it temporarily, and send it to central servers or straight to a cloud IoT service.
What to check before you build one
- Signal type. Is the sensor analogue or digital? An analogue output needs conditioning and a converter. A digital sensor may take the bus directly.
- Conditioning. Does the signal need filtering, scaling or linearising before the converter can read it?
- Processing on the board. How much does the microcontroller do before it sends? The chapter describes first-level processing only.
- Power. Will the acquisition side run on a battery? The chapter says low power is a concern there, so the microcontroller and radio choices follow from it.
- Link to the aggregator. Is the distance short enough for a short range radio, or does it need a long range link or a gateway? The sensor network guide covers the gateway side in more detail: IoT sensor network explained.
- Where the record lives. Decide whether the aggregator, the server or the cloud holds the copy people review. The logging guide covers the buffer side: IoT data logging explained.
Common questions
What is an IoT data acquisition system?
A system that samples signals from sensors, converts them into digital values, and sends them on over a network. Wikipedia defines data acquisition as sampling signals that measure real-world physical conditions and converting the samples into digital numeric values that a computer can manipulate.
Does a sensor signal always need conditioning?
Not always. The water-quality chapter says analogue signals need some conditioning electronics, while many sensors have their own circuitry that converts the signal to digital and talks to the microcontroller over I2C, SPI or UART.
What does the microcontroller do in a data acquisition system?
The chapter describes it as a low power device that collects the sensor data, provides the first level of signal processing and sends the information to a data aggregator.
What is the data aggregator?
A low power microcomputer, often a Raspberry Pi, that may process signals, encrypt data, store it temporarily and send it to central servers or cloud services.
Written by Hamza Rivera. Facts in this article follow the editorial policy: each one is behavior that is well established or set by the standard named in the text. A confirmed error is fixed in the article and its Updated date changes.