First, it was M2M – Machine to Machine communication a technology that was suppose to revolutionize our world, but never really took off in a big way due to the cost of embedding cellular connectivity in the end devices. Now M2M has been replaced with IoT – Internet of Things, a better sounding term and hopefully with smarter and cheaper options to connect random things to the Internet. Everyone has their own idea of what the Internet of Things (IoT) is, but one thing is certain that it will increasingly become important in our lives given the ever decreasing cost of wearable devices, sensors, and other monitoring equipment.
It is important to separate over optimistic ignorant hype from actual reality of the technologies. Any software / hardware engineer who ever developed anything useful will tell you that it is easy to define a use case, but a lot harder to actually build a system.
Our aim is describe technology enablers for IoT, especially communication technologies and protocols that will be used for building IoT applications.
Applications for IoT Abound
Despite a lot of vague use cases cited in popular press (and many seem out of science fiction books rather than based on understanding of technology), IoT can be applied to three broad areas:
– Consumer Homes and Personal Networks
– Consumer in his/her Automotive Vehicle
– Industrial and Office Applications
Homes are easy frontiers to deal with for IoT. A typical American home contains home appliances, entertainments systems, temperature and humidly controls units. It is easy to see how a user will like to be able to manage some or all of these devices using his wearable or handheld devices. Most use cases are easy to enumerate by using a general paradigm of control X using Unit Y.
Automotive sector is already integrating all kind of sensors in the car and creating various enablers like Advanced Driver Assistance Systems (ADAS). ADAS can warn drivers from low tire pressure to dangers ahead using a combination of communication and data processing technologies.
Industrial applications for IoT are still in infancy. Most existing M2M applications will be moved to the IoT categories be it the data collection in the supply truck or the manufacturing floor. The amount and type of such applications is only limited by human imagination and the ability of engineers to create them.
Today, these mentioned segments use wireless technologies and Internet interaction, but typically they each focus on what is common within their industry. The chosen wireless solution needs to adequately address the industries’ concerns regarding connectivity options, robust operation, and security features.
The Internet of Things (IoT) is built on an underlying multi-protocol communications framework that can easily move data between embedded “things” and systems located at higher levels of the IoT hierarchy. For designers and application developers, a diverse set of wireless and wired connectivity options provides the glue that holds IoT together.
All IoT sensors require some means of relaying data to the outside world. There’s a plethora of short-range, or local area, wireless technologies available, including: RFID, NFC, Wi-Fi, Bluetooth (including Bluetooth Low Energy), XBee, ZigBee, Z-Wave and Wireless M-Bus. There’s no shortage of wired links either, including Ethernet, HomePlug, HomePNA, HomeGrid/G.hn and LonWorks.
Selecting the best network option for an IoT device, however, requires a careful look at various factors for each situation.
- The Scale and Size of the IoT Network
- Data Throughput or Transfer Requirements,
- The eventual physical location of the embedded devices, the battery size and physical size etc.
Micro-controllers that provide the heart of most embedded or wearable devices already have certain input output integrated. Today, there is a big choice of good, inexpensive, programmer-friendly devices with nice peripherals, low power consumption, and good cross-platform support. You can get cheap Arduino or Raspberry boards just for under 10 dollars.
Just like Micro-controllers, designers do not lack options for wireless connectivity and ICs able to support them. While ANT, Bluetooth®, WiFi and ZigBee may number among the more familiar alternatives, viable wireless connectivity solutions have coalesced around standards including 6LoWPAN, DASH6, EnOcean, Insteon and Z-Wave, among many others. At the same time, smart designers can use proprietary RF approaches. However, for remote and highly mobile applications cellular broadband with LTE or other Wireless connectivity is the only option.
For Wired Devices, Ethernet Rules Supreme
The Internet of Things (IoT) implies connectivity, and developers have lots of wired and wireless options at their disposal to make it happen. Ethernet tends to dominate the wired realm. IoT frameworks map higher-level protocols on this type of connectivity, but the devices don’t work until they have a method of communication with the network.
At this point, Ethernet implementations range from 10 Mb/s up to 100 Gb/s. Of course, the high end generally targets the backbone of the Internet to link server farms in the cloud, while the low to mid-range runs on the rest of the devices. The median implementation these days is 1-Gb/s Ethernet. A new class of Ethernet speeds looms on the horizon. Essentially, 1-Gb/s Ethernet is bumping up to 2.5 Gb/s with a corresponding hop up for higher-speed Ethernet like 10 Gb/s moving to 25 Gb/s. This change essentially provides faster throughput using the same cabling.
Other less common networking possibilities exist on both the wired and wireless side, but are worth mentioning. For example, the HomePlug Alliance’s Powerline networking uses power connections to power the interface as well as a transmission medium. A host of interoperable products include devices such as wireless access points and bridges to Ethernet.
IoT Wireless Technology Selection
Here it really gets interesting. There are several proprietary wireless solutions used in every segment as well as standards including 6LoWPAN, ANT+, Bluetooth, Bluetooth low energy, DECT, EDGE, GPRS, IrDA, LTE, NFC, RFID, Weightless, WLAN (also commonly referred to as Wi-Fi), ZigBee, Z-Wave, and others. We can briefly examine the merits of each.
Wi-Fi When You Need Big Bandwidth
Wi-Fi, with its array of 802.11 variants, provides the highest throughput of wireless technologies at this point. New emerging 802.11ac uses the 2.5- and 5-GHz bands with a combined bandwidth of 5.3 Gb/s. Indoor range is on the order of 100 to 200 feet. The next evolution—802.11ax—is poised to succeed 802.11ac.
A key challenge for IoT developers surrounds power requirements. WiFi communication technology requires far more power than some other technologies. Hence, WiFi option may have to be limited only to devices such as mobile phone, tablets or where it may be possible to deliver wired power like home mounted temperature control sensors and security system components.
Wi-Fi for more power-limited budgets is possible but will have to add techniques to preserve battery lives. For example, a device can send a burst of data at pre-determined intervals and then get to sleep mode.
Bluetooth Classic and Bluetooth-Low Energy (LE)
Bluetooth is a short-range technology utilizing the 2.4- to 2.485-GHz ISM (industrial, scientific, and medical) band. The Bluetooth Special Interest Group manages the technology, with the latest standard being Bluetooth 4.2.
Until smart phones came with media players, Bluetooth was at the verge of almost dying but since then it has come to be embedded in numerous devices. Bluetooth has “classic” and Low Energy (LE) versions; the 4.x standard allows both or either to be implemented. BT- “classic” and BT-Smart/LE aren’t backward-compatible and very different technologies except for the name.
BT-LE is designed to allow for devices that run and communicate for months or years using low-power sources like button cell batteries or energy-harvesting devices. Classic and Smart Bluetooth maximum range is about 100 m (330 feet), while data rate is up to 3 Mbs/s and 1 Mb/s, respectively. However, actual application throughput, like most wireless technologies, is less—2.1 Mb/s for classic and 0.27 Mb/s for Smart.
A new feature in BT-LE is Bluetooth beacons that permit a transfer of information such as device availability, coupons etc at certain intervals. It can be very useful for IoT apps.
ZigBee – Sensor Networking with Scalable Mesh Routing
This is my favorite technology. You can get ZigBee modules cheaply for a few cents, and integrate in any device. It barely uses any battery, runs for a year on a simply battery, and is good for sending periodic sensor data. It can be used for everything from embedded sensors, medical profiling and, naturally home automation processes.
ZigBee is a wireless technology developed as an open global standard to address the unique needs of low-cost, low-power wireless M2M networks. The ZigBee standard operates on the IEEE 802.15.4 physical radio specification and operates in unlicensed bands including 2.4 GHz, 900 MHz and 868 MHz.
A key component of the ZigBee protocol is the ability to support mesh networking of up to 65,000 nodes. In a mesh network, nodes are interconnected with other nodes so that multiple pathways connect each node. Connections between nodes are dynamically updated and optimized through sophisticated, built-in mesh routing table.
Other Low Energy Wireless Options – Zwave, 6LowPan, MiWi, ANT etc.
Just like ZigBee, there are other options some proprietary, some developed by a group of vendors and some coming through other standardization bodies that sit on top of IEEE 802.15.4 physical radio specifications or have their own proprietary radio layers.
Zwave, supported by the Z-Wave Alliance, is another competing technology to Zigbee for home automation projects. Like ZigBee it too supports mesh networking, but is protocol is proprietary. ZigBee chipsets are produced by several silicon vendors, while Z-Wave ones come only from one manufacturer, Sigma Designs.
Z-Wave uses the Part 15 unlicensed ISM band. It operates at 908.42 MHz in the U.S. and Canada but uses other frequencies in other countries depending on their regulations Performance characteristics are similar to 802.15.4, including 100-kb/s throughput and a 100-ft. (30.5 m) range.
In addition, a number of vendor-specific protocols are built on 802.15.4, such as Microchip’s MiWi, which are often lighter weight and have fewer licensing restrictions.
6LoWPAN is a low-power wireless mesh network where every node has its own IPv6 address, allowing it to connect directly to the Internet using open standards. Since, each node has its own IP address all other IP routing protocols can be used.
ANT is an open access multicast wireless sensor network technology designed and marketed by ANT Wireless, now part of Garmin, featuring a wireless communications protocol stack that enables semiconductor radios operating in the 2.4 GHz band (“ISM band”) to communicate. ANT is characterized by low computational overhead resulting in low power consumption by the radios supporting the protocol and enabling low power wireless embedded devices that can operate on a single coin-cell battery from months to years..
In short, 6LoWPAN, ZigBee, ZWAve, MiWi, ANT are all competing for the same space.
Cellular Network Options Are Still Available
Most cellular IoT devices aim to use Long Term Evolution (LTE) 4G and 5G standards. Cellular technology has the advantage of coverage and availability in the large areas. For some devices mounted in the moving trains, trucks, roadside emergency devices, or cars this may be the only viable option.
LTE and LTE-advanced both provide excellent bandwidth throughputs. LTE provides almost like 300 MBits/sec. 4G LTE-Advanced will provide 1 Gb/s, while 5G promises 10 Gb/s.
The major problem is the recurring cost of cellular connectivity since cellular operation requires plans from service providers.
Device Selection Criteria for IoT Designers
IoT is about creating a most efficient, application specific network of connected devices. Connected devices all share five key components:
- The need for smarter power consumption, data storage, and network management;
- The need for stronger safeguards for privacy and security;
- The need high-performance micro-controllers (MCUs); sensors and actuators; and
- The ability to communicate without losing information.
To narrow down the list of options, compare the technologies from the following IoT key needs:
- Cost efficiency: Most IoT devices are of low cost, and need affordable radio solutions. So, performance and cost balance are very important.
- Small size. IoT devices are typically of small size, the radio technology with all its Antenna, battery etc need to physically fit in the housing of the sensor device.
- Secure Communication. Security of communication is needed. Authentication and data encryption must be supported by the chosen wireless technology. Also, it should be possible to build end to end secure applications.
- Low power consumption. Since most IoT devices operate on batteries or energy harvesting technologies, the radio technology must have ultra-low power consumption.
- Strong Available Ecosystem. For any device selection you will need to examine its ecosystems since interoperability with other devices will be important.
- High Reliability under Noisy Conditions. IoT devices will operate in less than perfect conditions. Hence wireless technology must be able to deal with signal noise, interference and other environmental conditions.
- Easy to Use. It is possible to leave configurations to experts in the industrial settings, but for consumers ease of plug and play is needed.
- Radio Range extension capability. Though IoT operates in short distances, it is important that the chosen technology can offer enough range coverage or have some range extension capabilities.
Matching the Design to the Target Market
Despite the bewildering list of connectivity options, system designers find that the best option for a particular IoT device. A design is often constrained based on application needs, performance requirements and environmental limitations. The need for compatibility in established markets may also affect the best connectivity choice.
The good part is that if you are a hardware or embedded system designer, the choices of components is plentiful.
You can find a diverse set of relate hardware solutions including modules and ICs for ANT connectivity from vendors including Nordic Semiconductor, Panasonic and Texas Instruments; ZigBee solutions from Atmel, Freescale and Microchip; and Bluetooth/BLE solutions from CSR, RFM and STMicroelectronics, 6LowPAN devices from TI, STMicroElectronics, Sensinode, Atmel etc.
If you are designing IoT devices or wants to create iOT software and need individual consulting, feel free to connect with me.