Low Power Wide Area Networks: Noncellular Based Iot Networks (Lora, Sigfox)
Low Power Wide Area Networks: Noncellular Based Iot Networks (Lora, Sigfox)
Low Power Wide Area Networks: Noncellular Based Iot Networks (Lora, Sigfox)
IFA’2021 2
LPWAN REQUIREMENTS
Long
Battery Life
Support for
a Massive Low Device
Number of
Cost
Devices
LPWAN
Extended
Coverage Low Cost and
(10-15 km in rural areas; Deployment
2-5km in urban areas)
IFA’2021 3
LPWAN CHARACTERISTICS
Unlicensed and
Licensed Bands Low bandwidth offering
throughput between 50 bps
to 250kbps
Duty Cycle limits the MTU variable
transmission (Changing with Modulation) Scalability, High Reliability,
In unlicensed bands Security, Interoperability
Duty Cycle: 1% (up), 10% (down)
IFA’2021 4
IoT Connectivity Competitive Landscape:
for Long-range Communication
IFA’2021
6
IoT Connectivity Competitive Landscape
Data Rate
10 Mbps
1 Mbps
100 kbps
10 kbps
802.15.4
100 bps
Range (m)
1 10 100 1000 5000
IFA’2021 7
COMPARISON OF STANDARDS IN TERMS OF ENERGY CONSUMPTION
IFA’2021
8
LoRa for Wide Area Networks for IoT
n Origin:
– First proposed by CYCLOS and acquired by SemTech (France)
– Now being developed by the LoRa Alliance
l https://www.lora-alliance.org
l Cisco, IBM, SemTech, …
l Released in July 2015.
n Secret Sauce:
– Wideband CIRP-like (Compressed chirp spread spectrum (CSS)) PHY layer with adaptive rate
– Simple but effective LoRA WAN MAC protocol
IFA’2021 9
LoRa Alliance
International
Operators
Integrators
and
Industrialists
Manufacturers
and End-points
Manufacturers
of
Semiconductors
IFA’2021 10
LoRa Network Features
Long Range Max Lifetime MultiUsage Low Cost
* Greater than Cellular * Low power optimized * High Capacity * Minimal Infrastructure
* Deep indoor coverage * 1—20 year lifetime * MultiTenant * Low Cost End Node
* Star Topology * >10x vs cellular M2M * Public Network * Open Software
IFA’2021 11
What do we need to deploy a LoRa Network ?
IFA’2021 12
LoRaWAN
IFA’2021 13
ARCHITECTURE
Server
*Relays Optional!
Gateway
*Relay *Relay
IFA’2021 14
LoRa Architecture
IFA’2021 15
LoRaWAN
Physical Medium
IFA’2021 17
PHYSICAL MEDIUM: FREQUENCY BANDS
nUnlicensed Spectrum:
– USA: 902-928 MHz
– EU: 863-870 MHz
– Australia: 915-928 MHz
– China: 779-787 MHz
– Asia: 433 MHz
IFA’2021 18
CHANNELIZATION (USA)
n Upstream:
– 64 channels (0-63) utilizing LoRa 125 kHz BW varying from data rate DR0 to DR3, using coding
rate 4/5, starting at 902.3 MHz and incrementing linearly by 200 kHz to 914.9 MHz
– 8 channels (64-71) utilizing LoRa 500 kHz BW at DR4 starting at 903.0 MHz and incrementing
linearly by 1.6 MHz to 914.2 MHz (non-orthogonal; overlapping; interferences possible)
– Very short packets
n Downstream:
– 8 channels (0-7) utilizing LoRa 500 kHz BW at DR8 to DR13 starting at 923.3 MHz and
incrementing linearly by 600 kHz to 927.5 MHz
IFA’2021 19
POWER AND TIME LIMITS (USA)
IFA’2021 20
LoRa PHY
n Proprietary modulation scheme derivative of Chirp Spread Spectrum (CSS)
– Linear frequency modulated pulses whose frequency increases or
decreases over a certain amount of time to encode information
n Main advantages:
– Processing gain due to spread spectrum technique
– High tolerance to frequency misalignment
– Support of variable FEC codes and Spreading Factors
lpossibility to trade throughput for coverage range/robustness/energy
consumption while keeping constant bandwidth
IFA’2021 21
Physical Layer: LoRa (USA)
n LoRa uses a chirp spread spectrum (CSS) modulation scheme
n CSS uses wideband linear frequency modulated chirp pulses to encode information
n A chirp is a compressed high intensity radar pulse
n A chirp often called a SWEEP SIGNAL, is tone (sinusoids signal) in which the frequency
increases (up chirp) or decreases (down chirp) with time
Up-Chirp
fhigh
Starts with the lowest
freq and reaches the fcenter
max freq and
starts again with the flow
lowest freq.
Time
Down-Chirp
fhigh
fcenter
flow
IFA’2021 Time 23
REMARK
IFA’2021 24
CHARACTERISTICS OF CHIRP PULSES
S(f)
f
B
Assume a snapshot of time T
where we see UP-CHIRP Up-chirp in time and frequency domains)
IFA’2021 25
REMARK
IFA’2021 26
SYMBOL, SPREDING FACTOR AND CHIP
n A Symbol represents one or more bits of data, e.g. Symbol =1011111 (Decimal à 95)
n # of raw bits that can be encoded by the symbol is 7; à SF=7
n The symbol has 2SF values. If SF=7 the values range from 0-127 = 128 chips
n The symbol value is encoded onto a sweep signal (up chirp)
fhigh
Take this sweep signal and chop it
into 128 pieces and call each piece a chip
fcenter
flow
Time
IFA’2021 27
MODULATION TECHNIQUES FOR CSS
MODULATED SIGNALS
00 01 10 11
Frequency +B/2
-B/2
0/4 1/4 2/4 3/4 Time
Symbol Time
Ts=2SF/B
From the patent SF=Spreading factor
EP2449690 (B1)
IFA’2021 29
SYMBOL, SPREADING FACTOR AND CHIP
flow 0 64 95 32
64 represented 95 represented 32 represented
IFA’2021 By (2/2) By (3/4) by (1/4) Time 30
SYMBOL, SPREADING FACTOR AND CHIP
n Example: SF=12. Each symbol can carry 12 raw bits of information and
there are 212=4096 unique chip values ranging from 0-4095
n SF defines 2 values:
– # of raw bits that can be encoded by that symbol: SF
– Each symbol can hold 2SF chips
fhigh
Bandwidth (BW)
SF=9
fhigh - flow
flow
IFA’2021
Symbol holds Time 32
512 chips
SYMBOL RATE
A SINGLE SYMBOL
fhigh
Bandwidth (BW)
fcenter fhigh - flow
flow
Time
IFA’2021 33
DATA RATE
IFA’2021 35
EXAMPLES:
n BW=125 kHz and CR=1
– SF=7 à Rb = 5.5 kbps
– SF 8 à Rb =3.13 kbps
– SF=9 à Rb = 1.76 kbps
– SF=10 à Rb = 0.98 kbps
– SF=11 à Rb = 0.54 kbps
– SF=12 à Rb = 0.29 kbps
n Different chirp rate can be achieved by different spreading factors and/or by different BWs
n This way LoRa symbols can by simultaneously transmitted and received on a same channel
without interference.
n LoRa has 6 spreading factors (SF7 - SF12) and 3 different BWs (125kHz, 250kHz & 500kHz).
n Note that all the combinations of spreading factors and bandwidth are not orthogonal.
EXAMPLE:
n Symbol Rate = B / (2SF) and Chirp Rate = B* (Symbol Rate) à CHIRP RATE= B * B/(2SF)
IFA’2021 39
SYMBOL DURATION = SWEEP TIME
nTs (sec) = 2SF / BW (Hz) à For SF =7-12
SF=7
fhigh BW=125kHz à Ts = 1.024 ms
Bandwidth (BW)
BW=250kHz à Ts = 512 µsec
BW=500kHz à Ts = 256 µsec
fhigh - flow
fcenter
Increasing BW à Symbol duration decreases
flow BW=125 kHz
SF=7 à Ts = 1.024 msec
time SF=9 à Ts = 4.096 msec
Ts Ts SF=12 à Ts=32.768 msec
Symbol Duration Increasing SF à Symbol duration increases
IFA’2021 40
SPREADING FACTOR VS SYMBOL DURATION
BW
fh
fc
fl
SF7 SF8 SF9 SF10 SF11
IFA’2021 41
SPREADING FACTOR
HOW FAST YOU CAN GO UP IN THE FREQUENCIES à USE SF
Frequency
Time
The smaller the SF, the shorter time you take from lower frequency to higher frequency
* Higher the Spreading Factor -> Higher the over-the-air time
* Lower the Spreading Factor -> Higher the Data Rate.
IFA’2021 42
SPREADING FACTOR IMPACT
n If you increase the SF by 1,
– Time on Air (ToA) (=message transmission time) increases which means the
distance increases
IFA’2021 43
SPREADING FACTOR IMPACT
nIf the end device is far away from gateway, the signal
can get weaker and thus, it needs a higher spreading
factor.
IFA’2021 44
RSSI & SNR Values in LoRA
– RSSImin = -120dBm
– RSSI = -30 dBm (Signal strong)
– RSSI = -120 dBm (Signal weak)
IFA’2021 45
LoRa Demodulation: Without Interference
IFA’2021 46
LoRa Demodulation: With Narrowband Interference
IFA’2021 47
LoRa Frame Format: PHY Frame
Explicit Header
Mode
Implicit Header
Mode:
Without Header
(fixed values)
IFA’2021 48
TIME ON AIR
e.g., Time on Air = 530 ms
Transmitter Receiver
Total air transmission time of a LoRA packet (or ToA or LoRa packet duration (Tpacket)
IFA’2021 49
TIME ON AIR: PAYLOAD DURATION
n ADR functionality (by fixed nodes) is requested by end nodes by setting the ADR flag in
the UL message.
n If the ADR flag is set, the server can control the transmission parameters
IFA’2021 51
ADR
n Server collects the 20 most recent UL transmissions data (such as data rate
and SNR from an end node)
Gateway
End Node Network
Server
Gateway
#01: Data Rate=SF12BW125; SNR=5
#02: Data Rate=SF12BW125; SNR=1
#03: Data Rate=SF12BW125; SNR=5
IFA’2021 52
ADR
n From those 20 received UL messages the server takes the max SNR value which is now
called the SNRmeasured and the corresponding data rate
Example:
Data Rate=SF12BW125 (Data Rate equation: Rb = SF * (BW/2SF))
SNRmeasured = 5dB
SNRlimit = -20dB ( or SF=12)
margindefault = 10dB
margin=15dB
Margin is large à end node uses unnecessary too much power to transmit UL messages.
IFA’2021 53
ADR
n Server calculates optimized data rate:
n SNRmeasured = 5dB
n SNRlimit = -7.5dB
n Margin is now from 15dB to 2.5dB; this further can be optimized by lowering the transmission
power.
n Optimized data rate and/or transmission power are new transmission parameters calculated
by the server are then sent to the end node.
n End node will use these new transmission parameters to transmit its data and thus using less
power
IFA’2021 54
LoRaWAN Device Classes
– Class B (BEACON): same as class A but these devices also opens extra
receive windows at scheduled times
IFA’2021 55
LoRa Class A (ALL)
n At any time an end-device initiates communication; can broadcast a signal; UL
n After this UL tx, the end node will listen for a response from the gateway.
n End node opens two receive slots (pre-determined) response windows at t1 and t2 seconds
after an UL tx.
n Gateway can respond within the first receive slot or the second one but not both
n By this way end node only needs to listen during those time intervals.
n Otherwise it can sleep to save energy
Slot 1 Slot 2
TX RX1 RX2
t1
End node t2
time
transmits UL
IFA’2021 56
CLASS A
IFA’2021 57
LoRa Class A (ALL)
IFA’2021 58
CLASS B (COORDINATED SAMPLED LISTENING)
beacon beacon
ping period
Class A
node
tx
rx
slot 1
rx
slot 2
rx rx rx
IFA’2021 60
LoRa Class B (Beacon)
n End devices with latency constraints for the reception of messages in a few secs
n Low energy consumption
n Bidirectional communication with scheduled receive slots
n Unicast and Multicast messages
n Small payloads, long intervals
n Periodic beacons from gateway
n Adapted to battery powered end devices
n Smart Metering
n Temperature Monitoring
IFA’2021 61
CLASS C (CONTINOUSLY LISTENING)
n In addition to Class A receive slots, a class C device will listen continuously for
responses from the gateway until the next UL transmission
n Class C devices do not support class B functionality.
n Server (Gateway) can initiate transmission at any time
n End –device can continuously receive
Class A
node rx rx rx (remains open until next uplink) node
tx slot 1 slot 2 tx
time
IFA’2021 62
CLASS C (CONTINOUSLY LISTENING)
IFA’2021 63
LoRa Class C (Continuously Listening)
IFA’2021 64
LoRaWAN Scalability
IFA’2021 65
SIGFOX FEATURES
• First LPWAN technology n Extended range (up to 10s of kms)
• Star Based Architecture (long range communication)
* By default, data is conveyed over the air interface without any encryption.
* Sigfox gives customers the option to either implement their own end to end encryption solutions
IFA’2021 68
SIGFOX OPERATION
IFA’2021 69
SIGFOX OPERATION
IFA’2021 70
SPECTRUM AND ACCESS
n Narrowband technology
n Binary Phase Shift Keying (BPSK) Modulation
n Takes very narrow parts of spectrum and changes the phase of the carrier
radio wave to encode the data
n Frequency spectrum (868MHz in Europe; 915 MHz in USA)
IFA’2021 71
SIGFOX TRANSMISSION
n Starts by an UL transmission
n Each message is transmitted 3 times by the end device with 1 sec delays
n A DL message is sent only if the end device asks for it by setting the DL request flag in the UL message to the
gateway.
n 20 sec after receiving the first UL message the GATEWAY will send the DL message to the end device.
n Maximum payload for UL messages: 12 bytes
n Maximum payload for DL messages: 8 bytes
IFA’2021 72
Comparison of LoRa and SigFox
LoRa SigFox
Range (Outdoor) (MCL) <11km (157dB) <13km; (160dB)
Spectrum BW Unlicensed 900MHz Unlicensed 900MHz
<500kHz 100Hz
Data Rate <10kbps <100bps
Battery Life >10 years >10 years
Avialability Widely Widely
IFA’2021 73
COMPARISON
LoRa SigFox
Standardization Open Private
IFA’2021
Device Power Consumption Low-Medium Low 74
LoRA versus SIGFOX
LoRA Sigfox
Business Model LoRA chips • Network-As-a-Service
• Royalty from service providers
Openness Anyone can make either or both end • Anyone à end points
devices • Sigfox à BSs
IFA’2021 75