IoT Device Lecture Part2
IoT Device Lecture Part2
1
Architecting IoT device, January 2025 COPYRIGHT
© SUPCOM, © 2025
January 2025
LECTURE OUTLINE
▪ Part 1: IoT Concepts & Architectures
▪ Part 2: IoT device Connectivity
▪ Part 3: IoT-device Power efficient design
▪ Part 4: IoT-device smart sensors
▪ Part 5: IoT-device digital processing
2
Architecting IoT device, January 2025 COPYRIGHT © 2025
COMMUNICATION REQUIREMENTS
Use Case eHealth Smart Home Transportation Smart Metering
Mobility Low mobility Low/no mobility High-speed No mobility
mobility
Latency tolerance Milliseconds (emergency Minutes Milliseconds to Seconds to hours
case) to hours (remote minutes
monitoring)
4
Architecting IoT device, January 2025 COPYRIGHT © 2025
TECHNOLOGIES : RANGE, DATA RATE AND POWER CONSUMPTION
5
Architecting IoT device, January 2025 COPYRIGHT © 2025
OBJECTIVES
The Internet of Things (IoT) starts with connectivity, but since IoT is a
widely diverse and multifaceted realm, we certainly cannot find a one-size-
fits-all communication solution. The objectives of this part consist in:
▪ Presenting an overview of short range and long range IoT standards and
architectures
6
Architecting IoT device, January 2025 COPYRIGHT © 2025
LECTURE OUTLINE
7
Architecting IoT device, January 2025 COPYRIGHT © 2025
LPWAN ARCHITECTURE
Short range
Long range
Devices
8
Architecting IoT device, January 2025 COPYRIGHT © 2025
LPWAN CHARACTERISTICS
▪ Long Range: The operating range of LPWAN technology varies from a few kilometers in urban areas to over
10 km in rural settings. It can also enable effective data communication in previously infeasible indoor and
underground locations.
▪ Low Power: Optimized for power consumption, LPWAN transceivers can run on small, inexpensive batteries
for up to 20 years
▪ Low Cost: LPWAN's simplified, lightweight protocols reduce complexity in hardware design and lower device
costs. Its long range combined with a star topology reduce expensive infrastructure requirements, and the use
of license-free or licensed bands reduce network costs.
9
Architecting IoT device, January 2025 COPYRIGHT © 2025
DEVICE’S OPERATION
▪ Publish or Subscribe
▪ Be online or offline
▪ ZigBee
▪ WiFi
11
Architecting IoT device, January 2025 COPYRIGHT © 2025
BLUETOOTH CHARACTERISTICS
▪ Short range communication technology
▪ Low cost
▪ Low power
▪ Wireless synchronization
▪ Internet connectivity
Class Maximum Power Range
1 100 mW ~100 m
2 2,5 mW ~10 m
3 1 mW ~1 m
12
Architecting IoT device, January 2025 COPYRIGHT © 2025
BLUETOOTH AND IOT
BLE : Bluetooth Low Energy or Bluetooth Smart
▪ Offer significantly reduced power consumption.
▪ widespread integration in smartphones and many other mobile devices
▪ Connection improvement
▪ Low latency
Range ~ 150m
Latency ~ 6ms
Data rate 1 Mbits/s – 2 Mbits/s
Modulation GFSK at 2.4 GHz
Power consumption 10 mW
Peak current consumption < 15 mA
Sleep current ~1 µA
13
Architecting IoT device, January 2025 COPYRIGHT © 2025
BLUETOOTH AND BLUETOOTH LOW ENERGY
Perfect personal IoT devices like wearables and fitness trackers
solution for
→Bluetooth has long been popular in the consumer electronics segment for its
ability to continuously stream large amounts of data.
Why? →BLE was designed specifically for low-powered IoT devices.
→BLE is best suited for devices that transmit low volumes of data in bursts, as
the devices are designed to save power when they are not transmitting data.
→Its application in industrial projects has been limited because of its very short-
range connectivity and high battery consumption.
→Still, the low price of this solution attracts developers, who have introduced
Weak hybrid architecture schemes with Bluetooth, which help to overcome the Bluetooth
points short-range restriction.
→These schemes use Bluetooth for connecting dozens of endpoint devices to
one master access device. In turn, the access device uses another, more
expensive technology (for example, cellular) for connecting to the back end.
14
Architecting IoT device, January 2025 COPYRIGHT © 2025
LECTURE OUTLINE
▪ Part 1: IoT concepts & archirectures
▪ ZigBee
▪ WiFi
15
Architecting IoT device, January 2025 COPYRIGHT © 2025
ZIGBEE CHARACTERISTICS
▪ Low power
▪ Close proximity
systems, and other consumer and industrial equipment that requires short-range low-rate
▪ Increased reliability,
▪ Interoperability,
▪ No line-of-sight barrier
▪ high security,
17
Architecting IoT device, January 2025 COPYRIGHT © 2025
ZIGBEE AND IOT
Perfect in-house applications and neighboring projects like smart
solution for lighting, security systems, HVAC systems and remote controls.
18
Architecting IoT device, January 2025 COPYRIGHT © 2025
LECTURE OUTLINE
▪ Part 1: IoT concepts & archirectures
▪ ZigBee
▪ WiFi
19
Architecting IoT device, January 2025 COPYRIGHT © 2025
WIFI CHARCTERISTICS
▪ Alternative to wired technology
▪ Wireless connectivity
▪ IEEE 802.11 standard for WLAN
20
Architecting IoT device, January 2025 COPYRIGHT © 2025
WIFI AND IOT
WiFi HaLow
▪ Long range (up to 1 km) connectivity (in-outdoor Wi-Fi)
▪ Robust connections with superior penetration through walls and other obstacles in home and industrial environments.
▪ Moderate data rates (up to several Mbps) with enough throughput to support TCP/IP, Internet discovery protocols
and diverse applications such as voice, low/medium resolution video
▪ Bi-directional monitoring and control of IoT clients enabling over the air software updates
▪ Large number of connected devices per access point, no need for repeaters and gateways
▪ Low-power wide-area network (LPWAN) is designed for any network that allows communication over large distances
(at least 500 meters of signal range from the gateway device to the endpoint) using minimal power.
▪ These solutions have been designed for IoT; therefore, they’re designed to send small amounts of data at longer
intervals from a lot of endpoints, but within a long period (hence the need for low-power usage) and at longer distances.
LPWAN
LTE-M SigFox
Licensed Unlicensed
NB-IoT
Standards Standards LoRa
EC-GSM
23
Architecting IoT device, January 2025 COPYRIGHT © 2025
LECTURE OUTLINE
▪ Part 1: IoT concepts & archirectures
24
Architecting IoT device, January 2025 COPYRIGHT © 2025
3GPP
• The 3GPP (Generation Partnership Program) have developed a set of M2M deployment models and associated architectural
enhancements.
• The end-to-end communications, between the MTC (Machine Type Communication) Application in the User Equipment (UE)
and the MTC Application in the external network, uses services provided by the 3GPP system, and optionally the services
provided by a Services Capability Server (SCS).
eMTC : LTE
enhancements for MTC,
based on Release-12 (UE
Cat 0, new PSM, power
saving mode)
NB-IOT: New radio added to
the LTE platform optimized
for the low end of the market
EC-GSM-IoT : EGPRS
enhancements in combination
with PSM to make GSM/EDGE
markets prepared for IoT
25
Architecting IoT device, January 2025 COPYRIGHT © 2025
MAIN EMTC, NB-IOT AND EC-GSM-IOT FEATURES
26
Architecting IoT device, January 2025 COPYRIGHT © 2025
LECTURE OUTLINE
▪ Part 1: IoT concepts & archirectures
– NB-IoT
– EC-GSM
▪ Deployment
– Can be in any LTE spectrum
– Coexist with other LTE services within the same bandwidth
– Support FDD, TDD and Half Duplex modes
– Reuse existing LTE base stations with software update
– NB-IoT
– EC-GSM
31
Architecting IoT device, January 2025 COPYRIGHT © 2025
NB-IOT
▪ Objectives
– Long battery life : ~10 years of operation depending on traffic and coverage needs
– Even lower cost than LTE-M
– Support for massive number of devices : at least 50.000 per cell
– Reduced data rate/bandwidth
▪ Deployment
– Support 3 modes of operation : Stand-alone, Guard Band, In-band
– Reuse existing base stations with software update
32
Architecting IoT device, January 2025 COPYRIGHT © 2025
NB-IOT AND LTE-M COMPARISON
NB-IoT LTE-M
33
Architecting IoT device, January 2025 COPYRIGHT © 2025
LECTURE OUTLINE
▪ Part 1: IoT concepts & archirectures
– NB-IoT
– EC-GSM
▪ Long battery life: ~10 years of operation with 5 Wh battery (depending on traffic pattern and coverage extension)
▪ Leverage on the GSM/GPRS maturity to allow fast time to market and low cost
▪ Excellent coverage : 15 km
35
Architecting IoT device, January 2025 COPYRIGHT © 2025
LECTURE OUTLINE
▪ Part 1: IoT concepts & archirectures
– LoRa
• The network operates in the globally available ISM license-free bands (868MHz in Europe and 902MHz in the
USA) and co-exists with other radio technologies, but without any risk of collisions or capacity problems.
• Communication on SIGFOX is secured in many ways, including anti-replay, message scrambling, sequencing,
etc. SIGFOX only acts as a transport channel, pushing the secure data towards the customer's IT system.
• UNB allows the use of small and simple antennas, but more importantly, it allows devices to use inexpensive
and easily customizable antennas.
• The SIGFOX protocol is compatible with existing transceivers and is actively being ported to a growing number
of technical platforms.
37
Architecting IoT device, January 2025 COPYRIGHT © 2025
SIGFOX FEATURES
− Low cost and thus allowing for any sort of object to be connected in high volumes
− Low energy consumption to increase battery life expectancy, lower maintenance (TCO), minimize climate
impact
− Ease of use, both in regards to integration in objects but also in regards to object management and
integration with IT systems
− Long range, to avoid having to deploy complex local infrastructures and to reach all objects
− Penetration should be deep and allowing for underground or or otherwise stringent structural environment
connectivity
38
Architecting IoT device, January 2025 COPYRIGHT © 2025
SIGFOX STANDARD SPECIFICATIONS
39
Architecting IoT device, January 2025 COPYRIGHT © 2025
SIGFOX COMMUNICATION SPECIFICATIONS
Uplink Downlink
− Channel mask: 100 Hz (600 Hz in USA) − Channel mask: 1.5 kHz
− Data rate: 100 baud (600 baud in USA) − Throughput: 600 baud
− Uplink transmission power: Complies with local regulations − Transmission power Downlink: 500 mW (4W in USA)
− Link budget: 155 dB (or better) − Link budget: 153 dB (or better)
− Central frequency accuracy: Not relevant, provided that there − Central frequency accuracy: The downlink central transmission
is no significant frequency drift in an uplink packet rate defined by the network as a function of the
− UNB in Europe: limited frequency band from 868.00 to 868.60 corresponding uplink transmission
MHz, with a maximum output power of 25 mW and a − UNB in Europe: limited frequency band of 869.40 to 869.65
maximum average transmission time of 1% MHz, with a maximum output power of 500 mW and a
maximum average transmission time of 10%
40
Architecting IoT device, January 2025 COPYRIGHT © 2025
SIGFOX MESSAGE SPECIFICATIONS
− Operated in the ISM bands (868/915 MHz): Sub-GHz + Ultra Narrow Band
− Two-way communication: 12 bytes max per message, 140 messages per day max
− ISM bands regulation requires for every device to respect a 1% duty cycle use which means 36 secs per hour
− A SIGFOX message takes up to 6 sec to emit => 6 messages per hour max
− When sending a message, the device will stay ~20 secs in Rx mode to receive the downlink response. The
downlink message can be set as auto message (~ack) or be sent an instant response from the application IS
− Once a message is sent & processed by the SIGFOX cloud, it can be retrieved by using a REST API or an HTTP
callback. Few seconds are assumed between transmission start and callback to the application server
− The data pushed by callback is composed of the transmitted raw payload (up to 12 Bytes) and various
metadata: device ID, timestamp, the station which received the message, signal/noise & RSSI values.
41
Architecting IoT device, January 2025 COPYRIGHT © 2025
SIGFOX PROTOCOL STACK
− RF layer: This layer supports frequency assignment and transmission / reception power
requirements at SigFox endpoints and base stations.
− PHY layer: This layer takes care of inserting the preamble (at the transmission end) and its
Application
removal (at the end of reception). It uses BPSK modulation in the uplink and GFSK Layer
modulation in the downlink. MAC
Layer
− MAC layer: manages the management of MAC messages. It prepares frames in uplink and
PHY
downlink formats. Mainly the Sigfox system is used for uplink transmissions. It can also be
Layer
used for downlink transmissions using a piggy backing concept.
RF
− Application layer: different applications are supported in this technology. There are various Layer
interfaces / protocols between WAN (Cloud) and servers to support the same protocol, eg
SNMP, HTTP, MQTT, IPv6 etc.
42
Architecting IoT device, January 2025 COPYRIGHT © 2025
SIGFOX NETWORK TOPOLOGY
▪ Manages the assembly of the MAC frame (during transmission) and disassembly of the MAC frame
(during reception) according to the uplink and downlink structure.
▪ Implementation of the UNB is done for the transmission of messages of the uplink. The
transmission of downstream messages can be implemented using piggy backing or broadcasting.
▪ Handles End Device Authentication.
▪ Supports error detection using FCS.
44
Architecting IoT device, January 2025 COPYRIGHT © 2025
SIGFOX MODULE DESIGN
SPI
Microprocessor
Interface Rx Combined
ADuCM3029
Header Radio Tx/Rx Tx/Rx
Chip Antenna
Pins ADF7030-1 Tx matching
network
Sigfox Radio
DBPSK
stack drivers
ADF7030-1 RF Transceiver
ADuCM3029 Low Power Micro • Fully compliant Sigfox RF performance
• ARM Cortex M3 • -128dBm sensitivity in downlink ensures
• 256kB Flash, 64kB SRAM maximum range
• <38uA/MHz in active mode and <750nA • 5nA sleep current for long battery life
in standby • Industry leading phase noise and blocking
• EEMBC ULPBench score > 250 ensures highly robust network
45
Architecting IoT device, January 2025 COPYRIGHT © 2025
SIGFOX MODULE : SI868_25MW
Si868
module
Maximum Downlink
payload size of message size:
uplink messages: 8 bytes
46 12 data bytes.
Architecting IoT device, January 2025 COPYRIGHT © 2025
LIBELIUM SIGFOX TECHNOLOGY
SigFox Gateway
47
Architecting IoT device, January 2025 COPYRIGHT © 2025
LECTURE OUTLINE
▪ Part 1: IoT concepts & archirectures
– LoRa
49
Architecting IoT device, January 2025 COPYRIGHT © 2025
KEY FEATURES OF LORA TECHNOLOGY
Supports millions of messages per base station :
Connects devices up to 15Km in rural High capacity
areas and penetrates dense urban or
deep indoor environments :
Long range
Reduces infrastructure investment,
Requires minimum energy battery investment expense :
Low Power Low cost
Maintains communication with devices in Offers device interoperability and global availability
motion without strain power consumpltion : of LoRaWAN networks for speed deployment of IoT
Mobile applications :
50
Standardized
Architecting IoT device, January 2025 COPYRIGHT © 2025
ROADMAP
▪ Jun 2015 : Amsterdam become the first city covered by the LoRaWAN network
51
Architecting IoT device, January 2025 COPYRIGHT © 2025
LORA NETWORK ARCHITECTURE
End Device Gateway Application Server
CLOUD
Storage
Intelligence
Analytics
52
Architecting IoT device, January 2025 COPYRIGHT © 2025
LORAWAN : THE DNA OF IOT
Bit Rate
Symbol Rate
54
Architecting IoT device, January 2025 COPYRIGHT © 2025
INFLUENCE OF SF ON CONNECTIVITY PERFORMANCE
SF Rb Rb range
55
Architecting IoT device, January 2025 COPYRIGHT © 2025
INFLUENCE OF SF ON CONNECTIVITY PERFORMANCE
range
→ Increase of SF(Spreading
factor), decrease of BitRate but
the connexion is maintained
→ Decrease of SF(Spreading
factor), increase of BitRate and
decrease of energy consumption
SF
56
Architecting IoT device, January 2025 COPYRIGHT © 2025
RSSI VARIATION OF SF AND BW
57
Architecting IoT device, January 2025 COPYRIGHT © 2025
LORA MODULATION TECHNOLOGY
▪ LoRa communication is SS (spread-spectrum)
technique that uses wideband linear frequency
modulated pulses to encode information
58
Architecting IoT device, January 2025 COPYRIGHT © 2025
SPREAD SPECTRUM PRINCIPLES
▪ SS modulation process is achieved by multiplying the
wanted data signal with a spreading code (chip
sequence) that occurs at a much faster rate than the
data signal and thus spreads the signal bandwidth
beyond the original signal bandwidth.
▪ The LoRaWAN specification defines three device types. All LoRaWAN devices must implement Class A, whereas
Class B and Class C are extensions to the specification of Class A devices.
– The device opens two receive windows at specified times (1sec and 2 sec) after uplink transmission (from device to server)
61
Architecting IoT device, January 2025 COPYRIGHT © 2025
LORAWAN SPECIFICATION
▪ Classe B devices “BEACON”
– Class B devices extend Class A by adding scheduled receive windows for downlink messages from the server.
– Using time-synchronized beacons transmitted by the gateway, the devices periodically open receive windows.
– The module listens at a regularly adjustable frequency
62
Architecting IoT device, January 2025 COPYRIGHT © 2025
CLASS A
Device Gateway
63
Architecting IoT device, January 2025 COPYRIGHT © 2025
CLASS B
Device Gateway
RX1
Listening period
The Device RX2
opens N →Class B provides optimized
Listening period
reception RX3
energy consumption
windows at
regular →Communication initiated by
intervals Listening period
the gateway
RXN
Beacon’s end
64
Architecting IoT device, January 2025 COPYRIGHT © 2025
CLASSE C
Device Gateway
→The device is permanently listening
→The device closes the reception window
during transmissions
Reception
window
always open
Reception
TX →Class C provides more
window is
close energy consumption
Reception
window is
open
65
Architecting IoT device, January 2025 COPYRIGHT © 2025
LORA FRAME STRUCTURE
66
Architecting IoT device, January 2025 COPYRIGHT © 2025
LORA FRAME STRUCTURE
▪ Physical Layer Frame: At PHY layer, a LoRa frame starts with a preamble. Apart from the synchronization
function, the preamble defines the packet modulation scheme, being modulated with the same spreading factor as the
rest of the packet. Typically, the preamble duration is 12.25 Ts and is followed by a PHY Header and a Header CRC
that together are 20-bits long and are encoded with the most reliable code rate of , while the rest of the frame is
encoded with the code rate specified in the PHY Header. The PHY header also contains such information as payload
length and whether the Payload 16-bit CRC is present in the frame. Specifically, in a LoRa network, only uplink frames
contain payload CRC. PHY payload contains MAC Frame
▪ MAC Layer Frame: The packet processed in the MAC layer consists of a MAC Header, a MAC Payload, and a
Message Integrity Code (MIC). MAC header defines protocol version and message type, i.e., whether it is a data or a
management frame, whether it is transmitted in uplink or downlink, whether it shall be acknowledged. MAC Header can
also notify that this is a vendor specific message. In a join procedure for end node activation, the MAC Payload can be
replaced by join request or join accept messages. The entire MAC Header and MAC Payload portion is used to
compute the MIC value with a network session key (Nwk_SKey). The MIC value is used to prevent the forgery of
messages and authenticate the end node.
67
Architecting IoT device, January 2025 COPYRIGHT © 2025
LORA FRAME STRUCTURE
▪ Application Layer Packet: The MAC Payload handled by the Application layer consists of a Frame Header, a
Frame Port, and a Frame Payload. The Frame Port value is determined depending on the application type.
The Frame Payload value is encrypted with an application session key (App_SKey). This encryption is based
on the AES 128 algorithm.
7 bits 25 bits
– Frame Control 1 byte for network control information, such as whether to use the data rate specified by the gateway
for uplink transmission, whether this message acknowledges the reception of the previous message, whether the
gateway has more data for the mote.
– Frame counter for sequence numbering
– Frame options for commands used to change data rate, transmission power and connection validation etc.
68
Architecting IoT device, January 2025 COPYRIGHT © 2025
UPLINK/DOWNLINK MESSAGES FORMAT
▪ Uplink messages are sent by end-devices to the network server relayed by one or many gateways.
▪ Uplink messages use the LoRa radio packet explicit mode in which the LoRa physical header (PHDR) plus a header
CRC (PHDR_CRC) are included. The integrity of the payload is protected by a CRC.
▪ The PHDR, PHDR_CRC and payload CRC fields are inserted by the radio transceiver
▪ Each downlink message is sent by the network server to only one end-device and is relayed by a single gateway.
▪ Downlink messages use the radio packet explicit mode in which the LoRa physical header (PHDR) and a header CRC
(PHDR_CRC) are included.
69
Architecting IoT device, January 2025 COPYRIGHT © 2025
LORAWAN NETWORK SECURITY
LoRaWAN knows three distinct security keys AES-128 bits:
▪ The AppKey application key is only known by the device and by the application.
▪ An AppSKey application session key is generated when a device joins the network and ensures the security and privacy of data
transmitted across the network.
▪ A NwkSKey network session key is also generated when a device joins the network and ensures the authenticity of the devices on
the network. It is used to validate the integrity of each message by its message integrity code (MIC).
▪ The NwkSKey key is shared with the network, while the AppSKey is kept private. These session keys will be used for the duration of the
session.
▪ Frame counters: Prevent repeat attacks when an attacker re-emits a previously recorded message. The network and the device must
reject messages containing a frame counter that is less than the expected frame counter.
70
Architecting IoT device, January 2025 COPYRIGHT © 2025
IDENTIFICATION OF AN END DEVICE IN LORA
acronym description
AppEUI A global application identifier in IEEE EUI6 adress space that identifies the
owner of the end-device
NwkSKey Network session key, A key used by the network server and the end-device
to calculate and verify the message integrity code of all data messages to
ensure data integrity.
AppSKey Application Key, A key used by the network server and end-device to
encrypt and decrypt the payload field of data messages.
71
Architecting IoT device, January 2025 COPYRIGHT © 2025
END DEVICE ACTIVATION BY OTAA METHOD
Activation d'un équipement par OTAA
▪ At each new session, the session keys are renewed. All these mechanisms are managed by the
management and registration servers.
▪ The concentrators relay all the data transmitted by the devices present in their area of coverage,
whether activated or not.
72
Architecting IoT device, January 2025 COPYRIGHT © 2025
LORA PROVIDERS ECO-SYSTEM
73
Architecting IoT device, January 2025 COPYRIGHT © 2025
LORA TRANSCEIVER: SEMTECH SX1272
Long Range, Low Power RF Transceiver 860-1000MHz with LoRa® Technology
▪ LoRa Modem
▪ 157 dB maximum link budget
▪ +20 dBm at 100 mW constant RF output vs. V supply
▪ +14 dBm high efficiency PA
▪ Programmable bit rate up to 300 kbps
▪ High sensitivity: down to -137 dBm
▪ Bullet-proof front end: IIP3 = -12.5 dBm
▪ 89 dB blocking immunity
▪ Low RX current of 10 mA, 100 nA register retention
▪ Fully integrated synthesizer with a resolution of 61 Hz
▪ FSK, GFSK, MSK, GMSK, LoRa and OOK modulation
▪ Built-in bit synchronizer for clock recovery
▪ Preamble detection
▪ 127 dB Dynamic Range RSSI
▪ Automatic RF Sense and CAD with ultra-fast AFC
▪ Packet engine up to 256 bytes with CRC
▪ Built-in temperature sensor and low battery indicator
74
Architecting IoT device, January 2025 COPYRIGHT © 2025
LORA RADIO MODULE EXAMPLE: IM880A
Key Features
75
Architecting IoT device, January 2025 COPYRIGHT © 2025
LORA CONCENTRATOR: SEMTECH SX1301
Base Band Processor for Data Concentrator for Long Range Communication Network
77
Architecting IoT device, January 2025 COPYRIGHT © 2025
INDP2: IOT & CLOUD
78
Architecting IoT device, January 2025 COPYRIGHT
© SUPCOM, © 2025
January 2025