Most of the IoT (“Internet-of-Things”) hype is about a futuristic vision that has billions of devices generating massive data streams that will be fed into advanced machine learning and AI (“Artificial Intelligence”) systems to create enormous business value. However, often overshadowed in these grandiose discussions is the IoT hardware which makes it all possible.
What is IoT?
IoT is a system of sensor devices, servers, and people connected via IP (“Internet Protocol”) networks. Sensor devices capture and process sensor data, transmit the sensor data to servers where the data is stored and processed in conjunction with other data, often historical data, from disparate sources to provide operational visibility and to generate novel insights that can be acted upon by people or by automated systems.
IoT is a paradigm shift away from vertically integrated, standalone monitoring and alarm systems that silo data and that can only provide pre-programmed reports and alerts. While these legacy systems are limited to either 1:1 (one-to-one) or 1:N (one-to-many) communication pathways, IoT systems enable M:N (many-to-many) communications pathways that allow developers to reconfigure existing systems to create new IoT applications that were not previously conceived.
Sensor devices are composed of four key elements: sensors, processors, network interfaces, and power sources.
Without sensors, there is no IoT data.
At a basic level, all IoT sensors generate analog electrical signals that are proportional to a physical property. Then, these analog signals are converted to digital data using ADCs (“Analog-to-Digital Converter”).
Sensors can measure simple electrical properties such as voltage, current, resistance, capacitance, inductance, and impedance. They can also measure the strength and direction of electric and magnetic fields, especially changing ones, across the electromagnetic spectrum from radio waves to light to gamma rays.
For sensors that measure non-electrical properties, a transducer converts physical properties into analog electrical signals.
Common physical properties are:
• Spatial parameters such as acceleration, velocity/speed, vibration, and displacement/position/deflection.
• Environmental properties such as temperature and humidity.
• Fluid dynamics of liquids or gases such as sound, pressure, and flow rates.
Sensors may be passive or active. Active sensors emit radio, light, or sound waves into the environment and detect reflections using a receiver that processes them into measurements. Although passive sensors do not emit waves into the environment, this does not imply that passive sensors are unpowered. In fact, many passive sensors generate electric or magnetic fields and detect changes to these fields as a sensing mechanism.
Advanced digital sensors such a GPS, radars, chemical detectors, gyroscopes, or digital cameras use multiple analog sensing elements to take measurements. Then, sophisticated algorithms translate these raw measurements into useful sensor data.
Once the sensor data is captured it must be processed before transmitting the results to the cloud. The level of processing varies greatly depending upon the complexity of the sensor and the amount of data processing required to generate the resultant sensor data. A simple example is a temperature reading may be a single data value or an average of a set of values over time. A more complex example is a security camera that may not record digital video unless a scene detection algorithm flags an event.
Based on the complexity and processing power required there are four classes of processing platforms for IoT hardware: PC, mobile systems, microprocessor (MPU) based embedded systems, and microcontroller (MCU) based embedded systems.
|PCs||Mobile||Embedded MPUs||Embedded MCU|
|Processor||x86 (32/64) bit||Varies (32/64 bit)||Varies (32/64 bit)||Varies (8/32 bit)|
|Clock Speed / Cores||GHz / Multi-core||GHz / Multi-core||Varies||MHz / Single-core|
|Memory||DRAM (GB)||DRAM (GB)||DRAM (MB/GB)||SRAM (kB/MB)|
|Storage||HDD / SSD (TB)||SSD / SD Card (GB)||HDD/SSD (GB), Flash (MB), SD Card (GB)||NOR/NAND Flash (kB/MB)|
|Peripheral Bus||USB, PCIe||USB-OTG||USB, TWI, I2C, SPI, USART, Proprietary||TWI, I2C, SPI, USART|
|Avg System Cost||$100s to $3,000||$100 to $1,000||Varies||$5-$50|
|Networking||Ethernet, WiFi™, Bluetooth™||WiFi™, Bluetooth™, NFC||Varies||Proprietary RF or BLE™|
|Graphics||Integrated Graphics or Graphics Card||Integrated Graphics||Varies||Simple text or char display|
|Cooling||Active (Fans)||Passive||Active or Passive||Not usually required|
|Power||Line powered (desktop)
Rechargeable Li-Ion battery (laptop)
|Rechargeable Li-Ion battery||Line powered||Battery powered|
PC Based Systems
The PC is the ultimately configurable platform that enables system integrators to create custom systems easily from inexpensive, widely available off-the-shelf motherboards, processors, memory, power supplies, and cases. Terabyte hard drives or SSDs (“Solid State Drive”) can provide large data storage capacities. Peripherals can be connected via modern standards-based USB (“Universal Serial Bus”) or PCIe (“Peripheral Component Interconnect Express”) buses, and there are still options to support legacy PC peripheral buses such as RS-232/RS-422/RS-485.
Furthermore, there are even expansion processor cards that include DSPs, FPGAs, GPUs, or high speed I/O to address the needs of specialized applications.
While PCs have an excellent price-to-performance ratio, they are based on consumer-grade technology which tends to have short life cycles and may not be suitable for applications outside of the office or home environments.
An alternative to PCs are SBCs (“Single Board Computer”) that are based on PC technology, but designed for embedded applications with robust, industrial components to provide reliable performance in harsh operating environments.
Because SBCs have higher grade components and the production volumes for SBCs are relatively low, they are more expensive than equivalent performance PC based hardware. However, they usually have long lifecycles that can span up to a decade
PC-based systems usually run Windows or Linux operating systems.
Mobile systems are a specialized subset of embedded systems that are optimized for tablets and smartphones which are battery-powered devices that require frequent charging. While these inherently personal devices provide high-performance processing capabilities, they also have advanced system power management capabilities that enable them to conserve energy which extends battery life.
Mobile systems typically have many integrated sensors including 1 or 2 digital cameras, a 3D accelerometer, a gyroscope, a touch sensor, a barometer, a proximity sensor, a magnetometer (compass), an ambient light sensor, and a GPS receiver.
Unfortunately, mobile systems have very limited expansion capabilities.
While Android-based systems may allow expansion through USB OTG (“On-The-Go”) devices, Apple based systems only permit approved 3rd party devices through the MFI (“Made-for-iPod”) licensing program.
Mobile systems have a relatively expensive price-to-performance ratio. They are personal devices based on consumer-grade technology with short lifecycles. They are limited to operation in indoor or mild outdoor environments, and they are also relatively fragile and susceptible to drop damage unless enclosed in a 3rd party ruggedized case.
Although there are a few other options, Google’s Android and Apple’s iOS are the most dominant software environments for mobile systems.
Microprocessor (MPU) Based Embedded Systems
MPU based embedded systems provide the widest possible range of performance and capability options that are optimized to address specific product requirements for consumer electronics, industrial controls, medical devices, automotive controls, communication systems, or other vertical market applications.
They are usually based on application specific ICs (“Integrated Circuits”) such as SoCs (“System-on-Chip”) or SIPs (“System-in-Package”) that have integrated chip-level cores that simplify the design effort and provide cost-optimized solutions for specific product niches.
MPU’s typically run general purpose, multi-tasking operating systems or RTOSs (“Real-Time Operating System”) that provide deterministic responses for control-based applications.
While most embedded systems are fully custom designed, some SoCs are available in SOM (“System-on-Module”) form factors with standardized mating connectors. SOMs enable developers to avoid the difficult and time-consuming work to design a custom embedded system from scratch. Instead, the designers can focus on designing carrier PCBs and on developing software to customize their product.
MPU based embedded systems can run Linux or a variety of other commercial RTOSs (“Real-Time Operating System”).
Microcontroller (MCU) Based Embedded Systems
MCU based embedded systems provide very low-cost solutions for applications with limited processing requirements.
However, some advanced microcontrollers embed specialized hardware modules to accelerate image processing or security functions such as cryptographic acceleration for public/private key exchange, hashing, and TRNG (“True Random Number Generation”).
MCU based systems can be very power efficient because they have fine-grained power control of the processor, peripherals, and clocks. With power optimized internal or external wake-up sources, it is possible to create very low power products that can last for many years without requiring a battery charge.
System software may be a simple run-loop plus interrupt handler or it may run a small footprint RTOS.
While some IoT hardware connects via physical networks such as Ethernet, it is much more common to connect to the Internet via wireless networks such as Wi-Fi™ or cellular.
Power vs Range vs Data Rate
The classic design tradeoffs for wireless communication systems are low power, long distance, or high data rate. (Pick two!)
|Network Type||Range||Power||Data Rate||Licensed||Frequencies|
|Wi-Fi™ (802.11a/b/g/n/ac/ax)||Medium||High||High||No||2.4/5 GHz|
|White-Fi / Super Wi-Fi (802.11af)||Long||Medium||Medium||No||54-698 MHz|
|HaLow (802.11ah)||Long||Medium||Medium||No||915 MHz|
|Bluetooth™ Low Energy (BLE)||Short||Low||Low to Medium||No||2.4 GHz|
|802.15.4 / ZigBee™||Medium||Low||Low||No||2.4 GHz|
|Proprietary RF||Varies||Varies||Varies||No||868/915 MHz|
|LPWAN – SigFox™||Long||Very Low||Very Low||No||868/915 MHz|
|LPWAN – LoRA™/Symphony||Very Long||Very Low||Low||No||433/868/915 MHz|
|LPWAN – Ingenu||Medium to Long||Low||Low||No||2.4 GHz|
|LPWAN – Weightless||Long||Low to Medium||Low to Medium||No||470-790 MHz|
|Cellular – 2G, 3G, 4G, 5G||Long||High||High||Yes||3GPP Regional Bands|
|Cellular – CAT-1M||Long||Low||Low||Yes||3GPP Regional Bands|
|Cellular – NB-IoT||Long||Very Low||Very Low||Yes||3GPP Regional Bands|
Licensed vs Unlicensed Bands
Governmental authorities regulate access to the electromagnetic spectrum. They may grant licenses to people or entities to operate wireless transmitters within a specified frequency band at a maximum power level within a certain geographic region.
Often a wireless network services provider that holds an exclusive frequency license, such as a cellular service provider, will provide access to its network to other users for a fee. In this case, the service provider is responsible for the operation and maintenance of the wireless network.
Access to certain frequency bands is available to users without a license if they use an approved wireless communication system that complies with the regulations necessary for unlicensed operation. These wireless communication systems must have intelligent coexistence mechanisms such as carrier sensing or frequency agility to compensate for in-band interference from other systems that operate concurrently within the same unlicensed bands.
Unlicensed networks, such as Wi-Fi™ networks, are usually operated and maintained by users at their own cost.
The simplest power solution for IoT hardware is to use line power from the electric power grid.
However, many emerging IoT applications cannot use line power because it is not readily accessible in the deployment area and it would be prohibitively difficult or expensive to run additional power lines.
For IoT hardware with low power requirements, novel energy harvesting technologies such as piezo-based vibrational, thermopiles, and hydrodynamic or wind turbines can be viable, but solar panels are still the most popular choice. Although it is technically possible to power IoT hardware directly from these energy sources, a better option is to store the energy for later use.
While esoteric energy storage systems continue to evolve such as banks of supercapacitors or fuel cells, old, but reliable battery technologies are still the most popular energy storage choice for off-grid IoT hardware.
With a variety of chemistries and construction types, batteries offer a broad range of options for package sizes, energy capacities, voltage ranges, and current delivery capabilities. Some even offer specialized features that minimize self-discharge, support high pulse currents, operate at extreme temperatures or provide extended lifecycles of up to a decade or more.
As you can see, there are a plethora of sensor, processing, networking, and power supply technologies available to create IoT hardware to meet the technical performance requirements for applications in the healthcare, transportation, industrial, automotive, smart cities, and other niche IoT market segments.
The key is to combine the appropriate technologies that meet the essential technical performance requirements while satisfying the necessary business constraints to create a viable IoT solution.