Professional Documents
Culture Documents
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 2
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 3
IoT Connectivity Competitive Landscape:
for Long-range Communication
IFA’2021
5
LoRa for Wide Area Networks for IoT
Origin:
– First proposed by CYCLOS and acquired by SemTech (France)
– Now being developed by the LoRa Alliance
https://www.lora-alliance.org
Cisco, IBM, SemTech, …
Released in July 2015.
Secret Sauce:
– Wideband CIRP-like (Compressed chirp spread spectrum (CSS)) PHY layer with adaptive rate
– Simple but effective LoRA WAN MAC protocol
IFA’2021 6
LoRa Alliance
International
Operators
Integrators
and
Industrialists
Manufacturers
and End-points
Manufacturers
of
Semiconductors
IFA’2021 7
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 8
What do we need to deploy a LoRa Network ?
IFA’2021 9
LoRaWAN
IFA’2021 10
ARCHITECTURE
Server
*Relays Optional!
Gateway
*Relay *Relay
IFA’2021 11
LoRa Architecture
IFA’2021 12
LoRaWAN
Unlicensed Spectrum:
– USA: 902-928 MHz
– EU: 863-870 MHz
– Australia: 915-928 MHz
– China: 779-787 MHz
– Asia: 433 MHz
IFA’2021 14
CHANNELIZATION (USA)
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
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 15
POWER AND TIME LIMITS (USA)
IFA’2021 16
LoRa PHY
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
Main advantages:
– Processing gain due to spread spectrum technique
– High tolerance to frequency misalignment
– Support of variable FEC codes and Spreading Factors
possibility to trade throughput for coverage range/robustness/energy
consumption while keeping constant bandwidth
IFA’2021 17
Physical Layer: LoRa (USA)
LoRa uses a chirp spread spectrum (CSS) modulation scheme
CSS uses wideband linear frequency modulated chirp pulses to encode information
A chirp is a compressed high intensity radar pulse
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 19
REMARK
IFA’2021 20
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 21
REMARK
IFA’2021 22
SYMBOL, SPREADING FACTOR AND CHIP
A Symbol represents one or more bits of data, e.g. Symbol =1011111 (Decimal 95)
# of raw bits that can be encoded by the symbol is 7; SF=7
The symbol has 2SF values. If SF=7 the values range from 0-127 = 128 chips
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 23
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 25
SYMBOL, SPREADING FACTOR AND CHIP
Sweep signal is divided into 2SF steps or chips
For example, the symbol is 1011111. (Dec. is 95)
# of raw bits that can be encoded by this symbol is SF=7
Sweep signal (shown at “0”) is chopped/divided into 2SF=27=128 chip
SYMBOL= 10 11 11 1 = 95
fcenter
128 chips with decimal value 95
flow 0 64 32 95
64 represented 32 represented 95 represented
IFA’2021 By (2/2) By (3/4) by (1/4) Time 26
SYMBOL, SPREADING FACTOR AND CHIP
Example: SF=12. Each symbol can carry 12 raw bits of information and
there are 212=4096 unique chip values ranging from 0-4095
SF defines 2 values:
– # of raw bits that can be encoded by that symbol: SF
– Each symbol can hold 2SF chips
SF=9
fhigh - flow
flow
IFA’2021
Symbol holds Time 28
512 chips
SYMBOL RATE
A SINGLE SYMBOL
fhigh
Bandwidth (BW)
fhigh - flow
fcenter
flow
Time
IFA’2021 29
DATA RATE
IFA’2021 31
EXAMPLES:
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
Different chirp rate can be achieved by different spreading factors and/or by different BWs
This way LoRa symbols can by simultaneously transmitted and received on a same channel
without interference.
LoRa has 6 spreading factors (SF7 - SF12) and 3 different BWs (125kHz, 250kHz & 500kHz).
Note that all the combinations of spreading factors and bandwidth are not orthogonal.
EXAMPLE:
Symbol Rate = B / (2SF) and Chirp Rate = B* (Symbol Rate) CHIRP RATE= B * B/(2SF)
IFA’2021 35
SYMBOL DURATION = SWEEP TIME
Ts (sec) = 2SF / BW (Hz) For SF =7-12
SF=7
fhigh BW=125kHz Ts = 1.024 ms
Bandwidth (BW)
BW=250kHz Ts = 512 msec
BW=500kHz Ts = 256 msec
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 36
SPREADING FACTOR VS SYMBOL DURATION
BW
fh
fc
fl
SF7 SF8 SF9 SF10 SF11
IFA’2021 37
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 38
SPREADING FACTOR IMPACT
If you increase the SF by 1,
– Time on Air (ToA) (=message transmission time) increases which means the
distance increases
IFA’2021 39
SPREADING FACTOR IMPACT
If the sensor is far away from sink the signal can get
weaker and thus, it needs a higher spreading factor.
IFA’2021 40
RSSI & SNR VALUES IN LORA
– RSSImin = -120dBm
– RSSI = -30 dBm (Signal strong)
– RSSI = -120 dBm (Signal weak)
IFA’2021 41
LoRa Demodulation: Without Interference
IFA’2021 42
LoRa Demodulation: With Narrowband Interference
IFA’2021 43
LoRa Frame Format: PHY Frame
Explicit Header
Mode
Implicit Header
Mode:
Without Header
(fixed values)
IFA’2021 44
LoRaWAN Device Classes
– Class B (BEACON): same as class A but these devices also opens extra
receive windows at scheduled times
IFA’2021 45
LoRa Class A (ALL)
At any time an end-device initiates communication; can broadcast a signal; UL
After this UL tx, the end node will listen for a response from the gateway.
End node opens two receive slots (pre-determined) response windows at t1 and t2 seconds
after an UL tx.
Gateway can respond within the first receive slot or the second one but not both
By this way end node only needs to listen during those time intervals.
Otherwise it can sleep to save energy
Slot 1 Slot 2
TX RX1 RX2
t1
End node t2
time
transmits UL
IFA’2021 46
CLASS A
IFA’2021 47
LoRa Class A (ALL)
IFA’2021 48
CLASS B (COORDINATED SAMPLED LISTENING)
beacon beacon
ping period
Class A
node rx rx rx rx rx
tx slot 1 slot 2
IFA’2021 50
LoRa Class B (Beacon)
End devices with latency constraints for the reception of messages in a few secs
Low energy consumption
Bidirectional communication with scheduled receive slots
Unicast and Multicast messages
Small payloads, long intervals
Periodic beacons from gateway
Adapted to battery powered end devices
Smart Metering
Temperature Monitoring
IFA’2021 51
CLASS C (CONTINOUSLY LISTENING)
In addition to Class A receive slots, a class C device will listen continuously for
responses from the gateway until the next UL transmission
Class C devices do not support class B functionality.
Server (Gateway) can initiate transmission at any time
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 52
CLASS C (CONTINOUSLY LISTENING)
IFA’2021 53
LoRa Class C (Continuously Listening)
IFA’2021 54