On The LoRa Chirp Spread Spectrum Modulation Signal Properties and Their Impact On Transmitter and Receiver Architectures
On The LoRa Chirp Spread Spectrum Modulation Signal Properties and Their Impact On Transmitter and Receiver Architectures
Abstract— The LoRa modulation scheme is arousing a growing that more than 50% of all non-cellular LPWAN connections
interest in the Internet of Things community as it is adopted by will be LoRa-enabled by 2026, this technology is predicted to
the emerging LoRaWAN technology. In this paper, we firstly dominate the LPWANs market in the next years.
analyse the baseband processing for the generation of LoRa
signals at the transmitter side, providing a simple algorithm From a technical point of view, LoRaWANs are defined
that leverages digital signal processing techniques to reduce the by an open standard [10] developed by the LoRa Alliance,
modulator complexity. Secondly, we analytically investigate the which mainly defines the Medium Access Control (MAC)
signal demodulation technique. Quite surprisingly, we found that layer and the message formats. At the physical (PHY) layer,
its effectiveness depends on the particular choice of the sampling they are based on LoRa, a proprietary modulation scheme
frequency at the receiver side, which purposely does not meet
the sampling theorem requirement. Finally, we consider the developed by Semtech Corporation and derived from Chirp
actual architecture of digital receivers investigating the trade-off Spread-Spectrum (CSS).
between the selectivity of receive digital filters, which impacts on In the following sections, we provide an in-depth analysis of
the required computational effort and power consumption, and the LoRa PHY layer. We start by investigating the generation
the receiver performance. of the modulated signal at the transmitter, which is addressed
Index Terms— Digital modulation, Chirp Spread-Spectrum leveraging digital signal processing techniques. We also focus
(CSS), LoRa, Low-Power Wide-Area Networks (LPWANs), the attention on the receiver, providing a frequency-domain
Internet of Things (IoT). analysis of the demodulation technique. Although the numer-
ical demodulation algorithm adopted by LoRa receivers is
I. I NTRODUCTION
well-known, since it is described in [11], [12] and discussed
Authorized licensed use limited to: INP TOULOUSE. Downloaded on June 22,2022 at 12:56:27 UTC from IEEE Xplore. Restrictions apply.
358 IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 21, NO. 1, JANUARY 2022
TABLE I
TABLE OF S YMBOLS AND R ELATED M EANINGS
Authorized licensed use limited to: INP TOULOUSE. Downloaded on June 22,2022 at 12:56:27 UTC from IEEE Xplore. Restrictions apply.
PASOLINI: ON Lo, vol. 21, no. 1, january 2022Ra CSS MODULATION: SIGNAL PROPERTIES AND THEIR IMPACT 359
Fig. 2. Instantaneous frequency-offset and phase of a pure upchirp. SF = 12, B = 500 kHz.
as chirp in the following, consists of a short-time frequency with Th = Ts − TMs s denoting the time instant in which
sweep mathematically expressed as Δf (s, t), having reached B2 , wraps around to − B2 .
In the specific case of LoRa, the modulation parameters are
t
chosen such that
c(t) = V0 cos 2π f (ξ)dξ + φ0 , t0 ≤ t ≤ t0 + Tc (1) • B ∈ {125, 250, 500} kHz,
t0 SF
• M = 2 , with SF denoting the spreading factor,
where • SF ∈ {7, 8, 9, 10, 11, 12},
• V0 > 0 is the chirp amplitude,
• BTs = M .
• f (t) is the instantaneous frequency,
In Fig.1, an example of instantaneous frequency-offset with
• φ0 is the signal phase at the initial instant t0 ,
s = 91, B = 500 kHz and SF = 8 is given: one observes that
• Tc is the chirp duration.
Δf (s = 91, t) linearly sweeps within the interval [− B2 , B2 ]
Denoting with f0 the central frequency of the sweep interval and wraps around at Th = 3.3 · 10−4 s.
[f0 − B2 , f0 + B2 ] and assuming, without loss of generality, According to [33], [34], a specific frame format is used at
t0 = 0 and φ0 = 0, (1) can also be written as the physical layer of Semtech devices to accommodate data:
t
A LoRa frame begins with a preamble, that consists of a
c(t) = V0 cos 2πf0 t + 2π Δf (ξ)dξ , 0 ≤ t ≤ Tc (2)
0 configurable number of pure upchirps, whose frequency-offset
with Δf (t) representing the instantaneous frequency-offset, linearly increases from − B2 to B2 (see Fig.2(a) for the
ranging in the interval [− B2 , B2 ], with respect to f0 . frequency-offset of a pure upchirp in the case SF = 12 and
Equation (2) is the basis of the LoRa modulation, which B = 500 kHz), followed by two and a quarter downchirps,
uses M differently shaped chirps, each of which is in one- and, optionally, a frame header. The remainder of the frame
to-one correspondence with the M symbols of the modu- includes the payload, which carries ns symbols, and, option-
lation alphabet S = {0, · · · , M − 1}. In particular, given a ally, the corresponding CRC.
modulation symbol s ∈ S, the instantaneous frequency-offset Focusing on the payload, one observes that it consists of
Δf (s, t) of the corresponding modulated chirp linearly a sequence of ns modulated chirps, each of which with an
instantaneous frequency-offset similar to the one depicted
increases starting from − B2 + M B
s. Then, when the maximum
B in Fig.1 (they differ each other by the “wraps around
frequency-offset 2 is reached, Δf (s, t) wraps around to
instant” Th , which depends on s). In this regard, one observes
− B2 and keeps on increasing linearly. Assuming t0 = 0
that, irrespectively of the modulation symbol s, it is1
as the symbol starting instant, the chirp stops when Ts
Δf (s, t = Ts ) = Δf (s, 0). Its duration Ts is usually referred
Δf (s, ξ)dξ = 0. (4)
to as symbol time. 0
In mathematical terms, still considering the symbol interval This means that the phase term
[0, Ts ], for any given modulation symbol s it is: t
⎧ θ(s, t) = 2π Δf (s, ξ)dξ (5)
⎪ B B B
⎨− + s + t, 0 ≤ t < Th , 0
Δf (s, t) = 2 M Ts (3)
⎪
⎩−
3B
+
B B
s + t, Th ≤ t ≤ Ts
1 The proof, based on geometric reasoning, is trivial and is omitted for the
2 M Ts sake of conciseness.
Authorized licensed use limited to: INP TOULOUSE. Downloaded on June 22,2022 at 12:56:27 UTC from IEEE Xplore. Restrictions apply.
360 IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 21, NO. 1, JANUARY 2022
Authorized licensed use limited to: INP TOULOUSE. Downloaded on June 22,2022 at 12:56:27 UTC from IEEE Xplore. Restrictions apply.
PASOLINI: ON Lo, vol. 21, no. 1, january 2022Ra CSS MODULATION: SIGNAL PROPERTIES AND THEIR IMPACT 361
One might observe that B99 B, so that the bandwidth of In the following, we show that starting from the
p(t) and q(t) can be assumed equal to B2 without a significant Nmax samples of the upchirp phase (16) when SF = 12,
lack of accuracy. Although this is certainly true, it does not it is possible to derive the sampled phase terms for all
mean that choosing fs = B is a reasonable choice, as it would possible modulation symbols and all possible values of SF,
appear by simply considering the sampling theorem condition. with significant benefits in terms of transmitter complexity.
In fact, when it comes to actually implement the transmitter For this reason, hereinafter we will refer to
with digital processing techniques, one has to consider that any 213 −1
213 −1 π k
DAC includes an analog low-pass filter, aimed at preserving (12)
θ (k) = k −1 + 13 , (17)
undistorted the spectrum in the frequency interval [− B2 B2 ] k=0 2 2
k=0
and removing the periodic spectral replicas that occur with
period fs . Choosing fs = B would mean that the spectral as reference upchirp phase. Its shape is depicted in Fig.2(b).
replicas are perfectly adjacent (actually, there might even be a
little overlap at their boundaries for low SFs), thus leaving no B. Step 2: Sampled Upchirp Phase Term for Each SF
room for the DAC’s filter to completely remove the spectral The sampled upchirp phase for all SFs (given by (16)) can
components in the immediate vicinity of the interval [− B2 B2 ]. be derived by properly decimating and scaling (17). More
The remainder of this section is aimed at showing how the precisely, having defined the decimation factor D = 212−SF ,
baseband modulator of a LoRa digital transmitter can generate it is:
the baseband discrete-time signals (12) and (13) with fs = 2B. 2SF+1 −1 1 (12) 2SF+1 −1
θ(SF) (k) = θ (Dk) , (18)
k=0 D k=0
A. Step 1: Generation of the Reference Phase Term The proof of (18) is reported in Appendix C.
One considers, firstly, a pure upchirp, whose instantaneous It follows that the 213 = 8192 samples of (17) might be
frequency-offset Δf (t) linearly increases from − B2 to B2 . stored in a lookup table (LUT), so that the sampled upchirp
Fig.2(a) shows an example of pure upchirp in the case phase for all SFs can be derived (according to (18)) by simply
1
B = 500 kHz and SF = 12. The analytical reading 1 sample every D in the LUT and scaling it by D .
t expression of
the corresponding phase term θ(t) = 2π 0 Δf (ξ)dξ in the Alternatively, the sampled upchirp phase for a given SF might
symbol interval [0, Ts ] can be easily derived: be computed run-time using (18), one sample at a time in each
sampling interval T , thus avoiding the need of a LUT.
B B 2 Equation (18), which refers to the sampled phase of pure
θ(t) = 2π − t + t , 0 ≤ t ≤ Ts . (14)
2 2Ts upchirps, is only an intermediate step toward our final objec-
Since (14) refers to a pure upchirp, in the following tive, which is the derivation of a similar equation expressing
it will be denoted as upchirp phase. One considers, now, the sampled phase for all modulation symbols s and all SFs.
the discrete-time upchirp phase Nonetheless, (18) may be directly used to generate the cos(·)
and sin(·) terms in (12) and (13) when pure upchirps need
N −1 to be transmitted, that is, in the frame preamble, and in
θ(k) = θ(0), θ(T ), . . . , θ (N − 1)T (15) both the payload and CRC fields when the symbol s = 0
k=0
(corresponding to a pure upchirp) is to be sent. Moreover,
obtained taking N uniformly spaced samples of (14) in a sym- it may be used to generate also the downchirps required at the
bol interval. Assuming T = f1s = 2B1
, as previously stated, end of the preamble, by simply replacing5 sin(·) with − sin(·).
it results Most importantly, however, (17) and (18) are the basis to
N −1
N −1 π k
generate the modulated chirps for all symbols and all SFs,
θ(SF) (k) = k −1 + SF+1 . (16) as shown hereafter.
k=0 2 2
k=0
C. Step 3: Sampled Phase Term for Each SF and Each
The proof of (16) is reported in Appendix B. Modulation Symbol
Remark 1: One observes that (14) depends on the parame-
ters B and Ts . Given the relationship BTs = 2SF that holds for The paramount importance of (17) lays in that it is the
2SF+1 −1
LoRa signals, it clearly appears that θ(t) depends, ultimately, basis to generate the sampled phase θ(SF) (s, k) for
k=0
on two of the three parameters B, Ts and SF. In (16), all modulation symbols s ∈ S and all SFs. This is possible
the dependence on SF appears explicitly in the right-hand term, thanks to the following equation:
whereas the dependence on B is implicitly taken into account
1 1
by the time interval T = 2B between two consecutive samples. θ(SF) s, k = θ(12) D (k + 2s) mod 2SF+1
For the sake of conciseness, in the left-hand term of (16) we D
explicitly highlighted in the superscript only the dependence 1
on SF, which is the key parameter for the following discussion. − θ(12) 2sD , (19)
D
Having chosen fs = 2B, and recalling that BTs = M ,
it results N = fs Ts = 2M , that is, N = 2SF+1 . As it is with k = 0, 1, . . . , 2SF+1 − 1.
evident, N increases for increasing values of SF, reaching its 5 Given (14), the downchirp is obtained by simply taking −θ(t). Clearly,
maximum Nmax = 8192 for SF = 12. this impacts only on the sign of sin(·), which is an odd function.
Authorized licensed use limited to: INP TOULOUSE. Downloaded on June 22,2022 at 12:56:27 UTC from IEEE Xplore. Restrictions apply.
362 IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 21, NO. 1, JANUARY 2022
V. D EMODULATION OF L O R A S IGNALS :
F REQUENCY D OMAIN I NTERPRETATION
In order to investigate the basics of the demodulation
method adopted by LoRa devices, let us assume that the
received signal is not affected by distortion, noise and inter-
ference. This means that, with a view to providing an insight
into the demodulation technique, the presence of receive filters
is not considered in this section. The receiver architecture and
the impact of filtering will be discussed, instead, in Sec.VI.
List. 1. MATLAB function for the generation of modulated phases.
We assume, moreover, that perfect carrier-, symbol-, and
frame-synchronizations have been established, so that the
receiver, after the RF to baseband conversion, exactly recovers
the complex envelope (8) in each symbol interval.
As observed in [12]–[14], in the n-th symbol interval
the receiver computes the twisted (dechirped) signal by
multiplying the received complex envelope (8) with the
complex-conjugate of a pure upchirp,6 whose phase is given
in (14). In particular, in the n-th symbol interval the receiver
computes:
rn (t) = in (t)e−jθ(t−nTs ) (20)
which results in
rn (t)
B
V0 ej2π M s(t−nTs ) , nTs ≤ t < nTs + Th ,
= B
V0 ej2π(−B+ M s)(t−nTs ) , nTs + Th ≤ t ≤ (n + 1)Ts .
(21)
Fig. 4. Transmitter: Modulated phase with s = 91 and SF=8.
Since we are considering the generic symbol interval
[nTs , (n + 1)Ts], the term Th in (21) is the offset with respect
to the beginning of the same interval. The proof of (21) is
The proof of (19) is reported in Appendix D. reported in Appendix F.
In any symbol interval n, for any SF and modulation It clearly appears that rn (t) is a phasor with frequency
symbol s, (19) provides the corresponding phase samples to be (1) B
• f0 = M s in the interval [nTs , nTs + Th ),
fed to the cos(·) and sin(·) terms in (12) and (13). This results (2) B
• f0 = (−B + M s) in the interval [nTs + Th ,
in a simple implementation of LoRa transmitters, which can
thus be realized according to a digital architecture exploiting (n + 1)Ts ].
the capabilities of modern DSP microprocessors. Taking the Continuous Time Fourier Transform Rn (f )
The MATLAB function reported in Listing 1 shows the of (21) and computing its modulus leads to (see Appendix G):
phase generation algorithm: the function receives the mod-
Rn (f )
ulation symbol s and the spreading factor SF as inputs, and
(1) (1) Th (1)
provides the discrete-time modulated phase (19) as output. The = V0 Th sinc (f −f0 )Th e−j2π(f −f0 )(nTs + 2 ) e−j2πf0 nTs
core of the function is represented by lines 5, 6, 7 and 8, which
(2)
implement (19) starting from the reference upchirp phase (17) +Th sinc (f −f0 )Th
derived in lines 3 and 4.
(2) T (2)
×e−j2π(f −f0 )(nTs +Th + 2 ) e−j2πf0 nTs
h
As an example case, the above MATLAB function has (22)
been used to derive the sampled phase depicted in Fig.4 with with Th denoting the residual chirp duration after the folding.
a dotted line-style, which refer to s = 91 and SF = 8 It turns out that the amplitude spectrum (22) contains two
(the lower curve, with a dashed line-style, is commented (1) (2)
sinc(·) functions centred in f0 and f0 , which appear as
in Appendix D). This is the modulated phase that origi- well-separated spectral lines, whose positions in the frequency
nates the instantaneous frequency-offset shown in Fig.1 when
axis depends on the modulation symbol s. Figure 5 shows an
B = 500 kHz. example of spectrum computed in the case s = 91, SF = 8,
Remark 2: It is worth observing that the sequence of
B = 500 kHz (the same setting used to derive Figs.1 and 4).
Nmax = 8192 samples provided by (17) is symmetric, meaning
Remark 3: With reference to (22), it is worth observing that
that θ(12) (k) = θ(12) (213 − k), with k = 0, 1, . . . , 212 (see (1) (2)
• f0 ∈ [0, M−1
M B], whereas f0 ∈ [−B, −B + M−1 M B],
Appendix E for the proof). This nice property of (17), clearly
meaning that the peak of the first sinc(·) is always in
evident in Fig.2(b), allows reducing by half the size of the
LUT needed for its storage. 6 The complex-conjugate of a pure upchirp corresponds to a pure downchirp.
Authorized licensed use limited to: INP TOULOUSE. Downloaded on June 22,2022 at 12:56:27 UTC from IEEE Xplore. Restrictions apply.
PASOLINI: ON Lo, vol. 21, no. 1, january 2022Ra CSS MODULATION: SIGNAL PROPERTIES AND THEIR IMPACT 363
Authorized licensed use limited to: INP TOULOUSE. Downloaded on June 22,2022 at 12:56:27 UTC from IEEE Xplore. Restrictions apply.
364 IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 21, NO. 1, JANUARY 2022
Authorized licensed use limited to: INP TOULOUSE. Downloaded on June 22,2022 at 12:56:27 UTC from IEEE Xplore. Restrictions apply.
PASOLINI: ON Lo, vol. 21, no. 1, january 2022Ra CSS MODULATION: SIGNAL PROPERTIES AND THEIR IMPACT 365
Authorized licensed use limited to: INP TOULOUSE. Downloaded on June 22,2022 at 12:56:27 UTC from IEEE Xplore. Restrictions apply.
366 IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 21, NO. 1, JANUARY 2022
A PPENDIX A
P ROOF OF (6)
Proof: Given (4), it follows that
Ts
θ(s, Ts ) = 2π Δf (s, ξ)dξ = 0.
0
Being, of course,
0
of curves for SF = 7 and SF = 12 highlight the performance θ(s, 0) = 2π Δf (s, ξ)dξ = 0
degradation that is to be expected passing from fstop = 64 kHz 0
(leftmost simulated curve of each bunch) to fstop = 98 kHz the proof of (6) is immediately obtained.
(rightmost simulated curve of each bunch), which corresponds,
for both SF = 7 and SF = 12, to an SNR loss of about A PPENDIX B
1dB for a target symbol error rate of 10−3 . On the other P ROOF OF (16)
hand, as shown in Table II, the benefit in terms of number Proof: Given (14) and (15), it is:
of coefficients required to implement each of the two filters N −1 N −1
k2 T 2
is quite relevant, as it passes from 409 for fstop = 64 kHz to θ(k) = πB −kT + .
k=0 Ts k=0
only 17 for fstop = 98 kHz.
1
Clearly, intermediate choices are possible, which are pre- Having assumed fs = 2B, one obtains T = 2B and therefore:
sented in Table II. For instance, passing from fstop = 64 kHz N −1 N −1
k k2
to fstop = 68 kHz allows saving nearly 300 coefficients for θ(k) = πB − +
k=0 2B 4B 2 Ts k=0
each filter with an almost insignificant SNR loss for the target N −1
symbol error rate 10−3 . π k
(ADC) = k −1 + .
Comments on fs and f (d) : In this section, we assumed 2 2BTs k=0
(ADC)
that the sampling frequency fs adopted by the ADCs Since BTs = M = 2SF , and explicitly showing the depen-
fully meets the Shannon-Hartley sampling theorem. This is dence on SF, (16) is immediately derived.
a mandatory condition to design digital filters capable of pre-
serving the useful signal while reducing the out-of-band noise. A PPENDIX C
However, in Sec.V we pointed out that the sampling frequency P ROOF OF (18)
f (d) = B, which purposely does not meet the sampling Proof: Given the reference sampled phase (17), one
theorem requirement, must be adopted in the demodulation considers its decimated version, obtained taking 1 sample
process (Sec.V, Step 1). This means that the demodulator must every D = 212−SF samples. It results
include a downsampling stage, which reduces the sampling 2D −1
13
(ADC) 2D13 −1
frequency from fs to f (d) = B immediately after the π Dk
filters. θ(12) (Dk) = Dk −1 + 13 .
k=0 2 2
In order to keep the downsampler as simple as possible, it is k=0
(ADC) 213
convenient to choose fs as an integer multiple of f (d) , Observing that D =2 SF+1
, one obtains
(ADC) (d)
that is, fs = Lf = LB, with L ∈ Z and L > 1. 2SF+1 −1
2SF+1 −1 π k
In such a case, the downsampler needs only to select one
θ(12) (Dk) =D k −1 + SF+1 .
sample every L. In the numerical results, given the choice k=0 2 2
(ADC) k=0
fs = 250 ksamples
s for the considered LoRa signals with
Recalling (16) it follows
B = 125 kHz, we assumed L = 2.
2SF+1 −1 2SF+1 −1
θ(12) (Dk) = D θ(SF) (k) ,
VII. C ONCLUSION k=0 k=0
Authorized licensed use limited to: INP TOULOUSE. Downloaded on June 22,2022 at 12:56:27 UTC from IEEE Xplore. Restrictions apply.
PASOLINI: ON Lo, vol. 21, no. 1, january 2022Ra CSS MODULATION: SIGNAL PROPERTIES AND THEIR IMPACT 367
A PPENDIX D dotted line-style. One observes, by the way, that both phases
P ROOF OF (19) shown in Fig.4 provide the right frequency sweep, which is
Proof: For a given SF, (16) provides the (sampled) phase the one depicted in Fig.1. Nonetheless, the dashed curve is not
term of a pure upchirp, whose instantaneous frequency-offset compliant with the LoRa specifications.
sweeps the entire interval [− B2 , B2 ] starting from its lowest Plugging (18) in (26), it finally results:
boundary − B2 (see Fig.2(a)). A chirp modulated by a symbol 1
s is different from a pure upchirp in that its instantaneous θ(SF) s, k = θ(12) D (k + 2s) mod 2SF+1
D
frequency-offset sweeps the same interval starting from a
higher value, given by − B2 + MB
s, then it wraps around to − B2 1
− θ(12) 2sD ,
B
as soon as it reaches 2 and keeps on increasing until the end D
of the symbol interval (see Fig.1). with k = 0, 1, . . . , 2SF+1 − 1.
Considering the reference symbol interval [0, Ts ], the instan-
taneous frequency-offset of a chirp modulated by a symbol s A PPENDIX E
can thus be considered as the result of a time advance S YMMETRY OF THE R EFERENCE U PCHIRP P HASE
(that is, a left shift along the time axis), whose entity
depends on s, of the instantaneous frequency-offset of a It must be proved that θ(12) (213 − k) = θ(12) (k) with
pure upchirp. This modelling is complete on condition that k = 0, 1, . . . , 212 .
the symbol time interval is given the circularity property, Proof: Starting from (17) it is
so that the translated instantaneous frequency-offset wraps (12) 13 13 π 213 − k
around “horizontally” in t = 0, making it enter from the θ (2 − k) = (2 − k) −1 + .
2 213
right boundary of the symbol interval what exits from the left
boundary. After easy manipulations of the right-hand term, one obtains:
In particular, starting from the phase term (16) of a pure π k
θ(12) (213 − k) = k − 1 + 13
upchirp, a new phase term can be derived as follows, which 2 2
provides the frequency sweep associated to a certain modula- Recalling (17) it immediately follows:
tion symbol s:
θ(12) (213 − k) = θ(12) (k).
2SF+1 −1
(SF) SF+1
θ (k + 2s) mod 2 . (25) Clearly, both terms of the above equality are sound
k=0
only provided that their arguments are meaningful, which
Equation (25) incorporates both the time advance, given means 0 ≤ k ≤ 213 . Such interval includes the range
by 2s, and the wrap-around feature, given by the mod oper- k = 0, 1, . . . , 212 of interest for this proof.
ation. One observes, in particular, that since the number of
modulation symbols is M , whereas the number of samples in A PPENDIX F
a chirp interval is 2M (see, Sec.IV-A), the number of samples P ROOF OF (21)
corresponding to a time advance of s is 2s.
Although (25) provides the right frequency sweep for Proof: Given (8), in the n-th symbol interval
any given symbol s, it lacks of the fundamental prop- [nTs , (n + 1)Ts ] the receiver obtains:
erty of null phase at the boundaries of symbol intervals rn (t) = in (t)e−jθ(t−nTs )
(Property 1, Sec.III). This is clearly evident in Fig.4, where (n)
,t) −jθ(t−nTs )
the dashed curve represents the phase term given by (25) in = V0 ejθ(s e , (27)
the case s = 91 and SF = 8. where θ(s(n) , t) can be easily derived from (3) as in (28),
The null phase at the boundaries of the symbol interval shown at the bottom of the page.
can be simply obtained by compensating (i.e., removing) Plugging (28) and (14) in (27) immediately leads to (21).
the vertical offset θ(SF) (2s) exhibited by (25) for k = 0
(see Fig.4), thus obtaining:
(SF) (SF) SF+1 A PPENDIX G
θ s, k = θ (k + 2s) mod 2 P ROOF OF (22)
−θ(SF) 2s (26) Proof: Equation (21) can be rewritten as
(1)
(t−nTs )
with k = 0, 1, . . . , 2SF+1 − 1. In the example case s = 91 and rn (t) = V0 ej2πf0 gTh (t − nTs )
(2)
j2πf0 (t−nTs )
SF = 8, the resulting phase term is shown in Fig.4 with a +V0 e gTh (t − nTs − Th ). (29)
2π[− B2 (t − nTs ) + M
B
s(t − nTs ) + 2T
B
(t − nTs )2 ], nTs ≤ t < nTs + Th ,
θ(s(n) , t) = 3B
s
(28)
2π[− 2 (t − nTs ) + M s(t − nTs ) + 2Ts (t − nTs )2 ], nTs + Th ≤ t ≤ (n + 1)Ts
B B
Authorized licensed use limited to: INP TOULOUSE. Downloaded on June 22,2022 at 12:56:27 UTC from IEEE Xplore. Restrictions apply.
368 IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 21, NO. 1, JANUARY 2022
Th
(1)
Rn (f ) = V0 δ(f − f0 )e−j2πf nTs ∗ Th sinc(f Th )e−j2πf (nTs + 2 )
T
(2)
+ V0 δ(f − f0 )e−j2πf nTs ∗ Th sinc(f Th )e−j2πf (nTs +Th + 2 )
h
(1) Th (1)
(1)
= V0 Th sinc (f − f0 )Th e−j2π(f −f0 )(nTs + 2 ) e−j2πf0 nTs
(2) T (2)
(2)
+V0 Th sinc (f − f0 )Th e−j2π(f −f0 )(nTs +Th + 2 ) e−j2πf0 nTs .
h
(30)
(1) Th (1)
(1)
Rn(p) (f ) = V0 B Th sinc[(f − f0 )Th ]e−j2π(f −f0 )(nTs + 2 ) e−j2πf0 nTs
(2) T (2)
(2)
+Th sinc[(f − f0 − B)Th ]e−j2π(f −f0 −B)(nTs +Th + 2 ) e−j2πf0
h nTs
. (33)
(1) Th (1)
(1)
Rn(p) (f ) = V0 B Th sinc[(f − f0 )Th ]e−j2π(f −f0 )(nTs + 2 ) e−j2πf0 nTs
(1) T (2)
(1)
+Th sinc[(f − f0 )Th ]e−j2π(f −f0 )(nTs +Th + 2 ) e−j2πf0 nTs .
h
(34)
Authorized licensed use limited to: INP TOULOUSE. Downloaded on June 22,2022 at 12:56:27 UTC from IEEE Xplore. Restrictions apply.
PASOLINI: ON Lo, vol. 21, no. 1, january 2022Ra CSS MODULATION: SIGNAL PROPERTIES AND THEIR IMPACT 369
[17] T. Elshabrawy and J. Robert, “Closed-form approximation of LoRa [30] D. Bankov, E. Khorov, and A. Lyakhov, “Mathematical model of
modulation BER performance,” IEEE Commun. Lett., vol. 22, no. 9, LoRaWAN channel access with capture effect,” in Proc. IEEE 28th
pp. 1778–1781, Sep. 2018. Annu. Int. Symp. Pers., Indoor, Mobile Radio Commun. (PIMRC),
[18] H. Mroue, A. Nasser, B. Parrein, S. Hamrioui, E. Mona-Cruz, and Oct. 2017, pp. 1–5.
G. Rouyer, “Analytical and simulation study for LoRa modulation,” in [31] C. Pham, A. Bounceur, L. Clavier, U. Noreen, and M. Ehsan, “Inves-
Proc. 25th Int. Conf. Telecommun. (ICT), Jun. 2018, pp. 655–659. tigating and experimenting interference mitigation by capture effect in
[19] A. Marquet, N. Montavont, and G. Z. Papadopoulos, “Investigating LoRa networks,” in Proc. 3rd Int. Conf. Future Netw. Distrib. Syst.,
theoretical performance and demodulation techniques for LoRa,” in New York, NY, USA, Jul. 2019.
Proc. IEEE 20th Int. Symp. World Wireless, Mobile Multimedia Netw. [32] (2020). Semtech Corporation. AN1200.22 LoRa Modulation Basics,
(WoWMoM), Jun. 2019, pp. 1–6. May 2015. Accessed: Jul. 6, 2021. [Online]. Available: http://wiki.
[20] T. T. Nguyen, H. H. Nguyen, R. Barton, and P. Grossetete, “Efficient lahoud.fr/lib/exe/fetch.php?media=an1200.22.pdf
design of chirp spread spectrum modulation for low-power wide-area [33] A. Augustin, J. Yi, T. Clausen, and W. Townsley, “A study of LoRa:
networks,” IEEE Internet Things J., vol. 6, no. 6, pp. 9503–9515, Long range & low power networks for the Internet of Things,” Sensors,
Dec. 2019. vol. 16, no. 9, p. 1466, Sep. 2016.
[21] T. Elshabrawy and J. Robert, “Interleaved chirp spreading LoRa-based [34] N. Sornin and A. Yegin. (2017). LoRaWAN Specification.
modulation,” IEEE Internet Things J., vol. 6, no. 2, pp. 3855–3863, Accessed: Jul. 6, 2021. [Online]. Available: https://lora-alliance.org/wp-
Apr. 2019. content/uploads/2020/11/lorawantm_specification_-v1.1.pdf
[22] T. Elshabrawy, P. Edward, M. Ashour, and J. Robert, “On the different [35] R. Ghanaatian, O. Afisiadis, M. Cotting, and A. Burg, “LoRa digital
mathematical realizations for the digital synthesis of LoRa-based modu- receiver analysis and implementation,” in Proc. IEEE Int. Conf. Acoust.,
lation,” in Proc. Eur. Wireless, 25th Eur. Wireless Conf., 2019, pp. 1–6. Speech Signal Process. (ICASSP), May 2019, pp. 1498–1502.
[23] A. Thomas and N. V. Eldhose, “Performance evaluation of chirp spread
spectrum as used in LoRa physical layer,” in Proc. IEEE Int. Conf. Syst.,
Comput., Autom. Netw. (ICSCAN), Mar. 2019, pp. 1–6.
[24] B. Dunlop, H. H. Nguyen, R. Barton, and J. Henry, “Interference analysis
for LoRa chirp spread spectrum signals,” in Proc. IEEE Can. Conf.
Electr. Comput. Eng. (CCECE), May 2019, pp. 1–5. Gianni Pasolini (Member, IEEE) received the M.Sc.
[25] J. M. de Souza Sant’Ana, A. Hoeller, R. D. Souza, H. Alves, degree in telecommunications engineering and the
and S. Montejo-Sánchez, “LoRa performance analysis with superposed Ph.D. degree in electronic engineering and com-
signal decoding,” IEEE Wireless Commun. Lett., vol. 9, no. 11, puter science from the University of Bologna, Italy,
pp. 1865–1868, Nov. 2020. in 1999 and 2003, respectively. He is currently an
[26] U. Noreen, L. Clavier, and A. Bounceur, “LoRa-like CSS-based PHY Assistant Professor with the Department of Electri-
layer, capture effect and serial interference cancellation,” in Proc. 24th cal, Electronic and Information Engineering (DEI),
Eur. Wireless Conf., 2018, pp. 1–6. University of Bologna, Italy, where he has been
[27] P. Edward, A. Muhammad, S. Elzeiny, M. Ashour, T. Elshabrawy, and holding the professorship of several courses in the
J. Robert, “Enhancing the capture capabilities of LoRa receivers,” in telecommunications area since 2003 and holds the
Proc. Int. Conf. Smart Appl., Commun. Netw. (SmartNets), Dec. 2019, “Signal Processing” course with the Engineering
pp. 1–6. School. He has been involved in several European initiatives on wireless com-
[28] C. Pham and M. Ehsan, “Dense deployment of LoRa networks: Expec- munications, such as COST actions and Networks of Excellence (Newcom and
tations and limits of channel activity detection and capture effect for Newcom#). His research interests include wireless communication systems,
radio channel access,” Sensors, vol. 21, no. 3, p. 825, Jan. 2021. the Internet of Things, digital signal processing, and THz communications.
[29] R. B. Sorensen, N. Razmi, J. J. Nielsen, and P. Popovski, “Analysis of He is the Vice Chair of the Joint ComSoc/VTS Italian Chapter and an
LoRaWAN uplink with multiple demodulating paths and capture effect,” Associate Editor of the IEEE O PEN J OURNAL OF THE C OMMUNICATIONS
in Proc. IEEE Int. Conf. Commun. (ICC), May 2019, pp. 1–6. S OCIETY (IEEE OJ-COM).
Authorized licensed use limited to: INP TOULOUSE. Downloaded on June 22,2022 at 12:56:27 UTC from IEEE Xplore. Restrictions apply.