an advanced gnu radio receiver of ieee 802.15.4 oqpsk ...keying (oqpsk) physical layer and provide...

13
9206 IEEE INTERNET OF THINGS JOURNAL, VOL. 8, NO. 11, JUNE 1, 2021 An Advanced GNU Radio Receiver of IEEE 802.15.4 OQPSK Physical Layer Evan Faulkner, Student Member, IEEE, Zelin Yun, Shengli Zhou , Fellow, IEEE, Zhijie J. Shi, Member, IEEE, Song Han , Member, IEEE, and Georgios B. Giannakis , Fellow, IEEE Abstract—In this article, we present an advanced coherent receiver for the IEEE 802.15.4 offset quadrature phase-shift key- ing (OQPSK) physical layer and provide an open-source imple- mentation in the GNU Radio framework. Simulation and field test results show that the proposed receiver achieves about 11-dB power gain over an existing GNU Radio receiver, which treats OQPSK as minimum-shift-keying (MSK) for low-complexity pro- cessing. While suitable modules can be added to the MSK-based receiver for performance enhancement, the proposed receiver still maintains a 6-dB power gain. The proposed coherent receiver is attractive for IoT applications where a powerful software- defined-radio (SDR)-based gateway is deployed to interact with various sensors. Index Terms—GNU-Radio, IEEE 802.15.4, IoT, offset quadra- ture phase-shift keying (OQPSK), software-defined radio (SDR). I. I NTRODUCTION T HE IEEE 802.15.4 standard was developed in 2003 and has since undergone multiple rounds of revi- sions [1], [2]. The standard deals with physical layer and medium access control techniques for numerous low-rate wire- less local area networks such as ZigBee, 6LoWPAN, and WirelessHART [3]–[7], and will remain popular for emerging IoT applications [3]. This article focuses on the physical layer that relies on off- set quadrature phase-shift keying (OQPSK). At the transmitter, each group of 4 bits in the data packet is mapped to a sequence of 32 chips, which corresponds to a direct-sequence spread spectrum (DSSS) operation. The chip sequence is divided into I and Q branches and passes through a half-sine pulse shaper. The waveform on the Q branch is delayed by one chip period, and hence an OQPSK waveform is generated. The overall pro- cess yields a carefully designed 16-ary modulation scheme Manuscript received October 11, 2020; revised January 12, 2021; accepted January 27, 2021. Date of publication February 5, 2021; date of current version May 21, 2021. The work of Zelin Yun and Song Han was supported in part by the National Science Foundation (NSF) under Award CNS-1925706 and Award IIP-1919229. (Evan Faulkner and Zelin Yun contributed equally to this work.) (Corresponding author: Shengli Zhou.) Evan Faulkner and Shengli Zhou are with the Department of Electrical and Computer Engineering, University of Connecticut, Storrs, CT 06250 USA (e-mail: [email protected]; [email protected]). Zelin Yun, Zhijie J. Shi, and Song Han are with the Department of Computer Science and Engineering, University of Connecticut, Storrs, CT 06250 USA (e-mail: [email protected]; [email protected]; [email protected]). Georgios B. Giannakis is with the Department of Electrical and Computer Engineering, University of Minnesota, Minneapolis, MN 55455 USA (e-mail: [email protected]). Digital Object Identifier 10.1109/JIOT.2021.3057472 consisting of 16 nearly orthogonal waveforms. On the other hand, OQPSK can be viewed as minimum-shift-keying (MSK) modulation over a transformed chip sequence [8]. For clar- ity, we next discuss existing IEEE 802.15.4 receiver designs depending on whether the modulation is treated as OQPSK or MSK. A. OQPSK-Based Receiver A complete receiver includes modules for carrier frequency synchronization, chip/symbol timing, and data detection, although the orders might change depending on a particu- lar implementation. While simulation-based studies tend to focus on one or two key modules, a fully functional receiver requires all modules to be implemented. We categorize existing references according to the modules they address. 1) Data Detection: In the presence of additive white Gaussian noise (AWGN), tight union bounds on the probability of error for both coherent and noncoherent maximum likelihood (ML) detectors with known signal parameters are derived in [9]. A simple detector based on a double-correlation operation is developed in [10] that nearly reaches the performance of noncoherent ML detector in the presence of a large carrier frequency offset (CFO). The noncoherent demodulator in [11] replaces the complex correlation metrics in the coher- ent ML receiver by their magnitudes, which achieves robustness against phase mismatch and frequency offset. 2) Synchronization: A carrier synchronization algorithm is proposed in [12] by measuring the slope of phase drifts on the complex baseband samples corresponding to the synchronization header of the data packet. In [13], car- rier synchronization is accomplished by the Costa’s loop and symbol synchronization is pursued via the early late-gate timing recovery method. 3) Full-Receiver Implementation: A digital baseband transceiver is implemented in [14] using FPGA and CMOS technologies, where a noncoherent demodulator is adopted. A coherent receiver is implemented in [15] using MATLAB based on data samples from a software- defined-radio (SDR) device. Similarly, an extensive eval- uation of a coherent receiver is carried out in [16] using MATLAB. Recently, a coherent OQPSK receiver with a decision-directed residual phase noise compensation procedure has been implemented in [17] under a dual- mode architecture, where the receiver could switch into low-complexity MSK-based processing depending on 2327-4662 c 2021 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See https://www.ieee.org/publications/rights/index.html for more information. Authorized licensed use limited to: University of Minnesota. Downloaded on May 22,2021 at 15:53:09 UTC from IEEE Xplore. Restrictions apply.

Upload: others

Post on 23-Mar-2021

19 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: An Advanced GNU Radio Receiver of IEEE 802.15.4 OQPSK ...keying (OQPSK) physical layer and provide an open-source implementation in the GNU Radio framework. Simulation and field test

9206 IEEE INTERNET OF THINGS JOURNAL, VOL. 8, NO. 11, JUNE 1, 2021

An Advanced GNU Radio Receiver of IEEE802.15.4 OQPSK Physical Layer

Evan Faulkner, Student Member, IEEE, Zelin Yun, Shengli Zhou , Fellow, IEEE, Zhijie J. Shi, Member, IEEE,

Song Han , Member, IEEE, and Georgios B. Giannakis , Fellow, IEEE

Abstract—In this article, we present an advanced coherentreceiver for the IEEE 802.15.4 offset quadrature phase-shift key-ing (OQPSK) physical layer and provide an open-source imple-mentation in the GNU Radio framework. Simulation and fieldtest results show that the proposed receiver achieves about 11-dBpower gain over an existing GNU Radio receiver, which treatsOQPSK as minimum-shift-keying (MSK) for low-complexity pro-cessing. While suitable modules can be added to the MSK-basedreceiver for performance enhancement, the proposed receiver stillmaintains a 6-dB power gain. The proposed coherent receiveris attractive for IoT applications where a powerful software-defined-radio (SDR)-based gateway is deployed to interact withvarious sensors.

Index Terms—GNU-Radio, IEEE 802.15.4, IoT, offset quadra-ture phase-shift keying (OQPSK), software-defined radio (SDR).

I. INTRODUCTION

THE IEEE 802.15.4 standard was developed in 2003and has since undergone multiple rounds of revi-

sions [1], [2]. The standard deals with physical layer andmedium access control techniques for numerous low-rate wire-less local area networks such as ZigBee, 6LoWPAN, andWirelessHART [3]–[7], and will remain popular for emergingIoT applications [3].

This article focuses on the physical layer that relies on off-set quadrature phase-shift keying (OQPSK). At the transmitter,each group of 4 bits in the data packet is mapped to a sequenceof 32 chips, which corresponds to a direct-sequence spreadspectrum (DSSS) operation. The chip sequence is divided intoI and Q branches and passes through a half-sine pulse shaper.The waveform on the Q branch is delayed by one chip period,and hence an OQPSK waveform is generated. The overall pro-cess yields a carefully designed 16-ary modulation scheme

Manuscript received October 11, 2020; revised January 12, 2021; acceptedJanuary 27, 2021. Date of publication February 5, 2021; date of current versionMay 21, 2021. The work of Zelin Yun and Song Han was supported in partby the National Science Foundation (NSF) under Award CNS-1925706 andAward IIP-1919229. (Evan Faulkner and Zelin Yun contributed equally to thiswork.) (Corresponding author: Shengli Zhou.)

Evan Faulkner and Shengli Zhou are with the Department of Electrical andComputer Engineering, University of Connecticut, Storrs, CT 06250 USA(e-mail: [email protected]; [email protected]).

Zelin Yun, Zhijie J. Shi, and Song Han are with the Departmentof Computer Science and Engineering, University of Connecticut,Storrs, CT 06250 USA (e-mail: [email protected]; [email protected];[email protected]).

Georgios B. Giannakis is with the Department of Electrical and ComputerEngineering, University of Minnesota, Minneapolis, MN 55455 USA (e-mail:[email protected]).

Digital Object Identifier 10.1109/JIOT.2021.3057472

consisting of 16 nearly orthogonal waveforms. On the otherhand, OQPSK can be viewed as minimum-shift-keying (MSK)modulation over a transformed chip sequence [8]. For clar-ity, we next discuss existing IEEE 802.15.4 receiver designsdepending on whether the modulation is treated as OQPSK orMSK.

A. OQPSK-Based Receiver

A complete receiver includes modules for carrier frequencysynchronization, chip/symbol timing, and data detection,although the orders might change depending on a particu-lar implementation. While simulation-based studies tend tofocus on one or two key modules, a fully functional receiverrequires all modules to be implemented. We categorize existingreferences according to the modules they address.

1) Data Detection: In the presence of additive whiteGaussian noise (AWGN), tight union bounds on theprobability of error for both coherent and noncoherentmaximum likelihood (ML) detectors with known signalparameters are derived in [9]. A simple detector basedon a double-correlation operation is developed in [10]that nearly reaches the performance of noncoherent MLdetector in the presence of a large carrier frequencyoffset (CFO). The noncoherent demodulator in [11]replaces the complex correlation metrics in the coher-ent ML receiver by their magnitudes, which achievesrobustness against phase mismatch and frequency offset.

2) Synchronization: A carrier synchronization algorithm isproposed in [12] by measuring the slope of phase driftson the complex baseband samples corresponding to thesynchronization header of the data packet. In [13], car-rier synchronization is accomplished by the Costa’s loopand symbol synchronization is pursued via the earlylate-gate timing recovery method.

3) Full-Receiver Implementation: A digital basebandtransceiver is implemented in [14] using FPGA andCMOS technologies, where a noncoherent demodulatoris adopted. A coherent receiver is implemented in [15]using MATLAB based on data samples from a software-defined-radio (SDR) device. Similarly, an extensive eval-uation of a coherent receiver is carried out in [16] usingMATLAB. Recently, a coherent OQPSK receiver witha decision-directed residual phase noise compensationprocedure has been implemented in [17] under a dual-mode architecture, where the receiver could switch intolow-complexity MSK-based processing depending on

2327-4662 c© 2021 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.See https://www.ieee.org/publications/rights/index.html for more information.

Authorized licensed use limited to: University of Minnesota. Downloaded on May 22,2021 at 15:53:09 UTC from IEEE Xplore. Restrictions apply.

Page 2: An Advanced GNU Radio Receiver of IEEE 802.15.4 OQPSK ...keying (OQPSK) physical layer and provide an open-source implementation in the GNU Radio framework. Simulation and field test

FAULKNER et al.: ADVANCED GNU RADIO RECEIVER OF IEEE 802.15.4 OQPSK PHYSICAL LAYER 9207

Fig. 1. Various sensors communicate with powerful SDR-based gateways.

channel conditions or performance requirements. Thedual-mode receiver is evaluated in [17] along with FPGAprototyping and ASIC implementation.

B. MSK-Based Receiver

The receiver treats the OQPSK waveform as an analog MSKwaveform and uses a phase differential operation to obtain anestimate of the instantaneous frequency of the received sig-nal. Timing recovery is then applied to achieve chip levelsynchronization, followed by a despreading operation for datadetection. This receiver bypasses the need for carrier frequencysynchronization and timing recovery is operated on real,instead of complex, baseband signals.

The MSK-based receiver tailored for IEEE 802.15.4 wasfirst presented in [18]. A GNU radio implementation was pro-vided in [19] and later refined in [20] and [21]. GNU radioimplementations are open source and hence valuable to usersand developers. Indeed, the implementation in [20] and [21]has been popular in the community and has led to numerousfollow-on works, e.g., [22]–[26]. Specifically, dynamic spec-trum access has been explored based on 802.15.4 networksin [22]. A new synchronization scheme without preamble sym-bols has been developed in [23]. A physical layer SDR testbedis implemented in [24] to allow rapid prototyping of wire-less sensor networks. An efficient error packet recovery ispresented in [25] based on error characteristic of adjacent datasymbols. Using the commodity SDR hardware and an open-source software testbed, characterization of ZigBee devicesfrom different manufactures has been demonstrated in [26].

C. Contributions of This Work

In this work, we introduce a novel coherent receiver forthe IEEE 802.15.4 OQPSK physical layer and implement itin the GNU radio framework. The proposed receiver has threestages. In the first stage, packet detection is carried out in thepresence of an unknown CFO based on the specific preamblein IEEE 802.15.4. In the second stage, CFO is estimated andsymbol timing is refined. In the third stage, a linear decision-directed equalizer is adopted for symbol detection, whicheffectively tracks residual frequency variations and equalizesthe multipath channel.

The proposed receiver is distinct from all the OQPSKreceivers discussed in Section I-A. In particular, no existing

receivers have adopted the presented triggering mechanismin the presence of unknown CFO and the linear equalizerapproach to track the residual frequency change and mitigatethe channel time-dispersion. In contrast to the MSK-basedGNU Radio receivers discussed in Section I-B, this workpresents the first GNU Radio implementation of an OQPSK-based receiver. Simulation results show that the proposedreceiver achieves a 11-dB performance improvement over theexisting GNU radio receiver [20], [21], and maintains a 6-dBgain after we apply modifications to the MSK-based receiverto enhance its performance. A field test in an indoor envi-ronment verifies that the proposed receiver maintains largeperformance gains over both the existing GNU radio receiverand the hardware CC2652 receiver from Texas Instruments.

The excellent performance of our novel GNU Radio receiveris achieved at the expense of receiver complexity. Theproposed receiver would not be preferred for a low-cost orlow-power receiver. However, it is appealing for applicationscenarios as shown in Fig. 1, where wireless nodes (includingboth sensors and actuators) must operate with ultralow-powerconsumption and may come from different manufacturerswhile the gateways can be more powerful and can be imple-mented via SDR [27]–[29]. Compared with existing gatewaysdeployed in the field with low-cost receivers, the proposedreceiver can significantly increase the communication rangefor the uplink transmission from the wireless nodes to thegateways. This increased communication range will simplifythe network topology design, require a smaller number of relaynodes deployed in the field, and reduce the deployment andmaintenance costs of the system. For the transmissions fromthe gateway to the wireless nodes, the gateway is often con-nected to the backbone network and not energy constrainedand can therefore offer a high-power transmission to thelow-power receiver nodes.

The remainder of this article is organized as follows.Section II reviews the transmitter design, and Section III devel-ops a coherent receiver. Section IV presents the GNU radioimplementation, with its simulated performance demonstratedin Section V and field test results collected in Section VI.Section VII presents the conclusions.

Notation: Boldface lowercase letters stand for row vectorsand upper case letters stand for matrices. Symbol | · | standsfor the absolute value, ‖ · ‖ for the 2-norm of a vector, and(·)H for the Hermitian transpose of a vector or matrix. For twovectors a and b, the correlation coefficient is defined as

<a, b> =∣∣abH

∣∣

‖a‖ · ‖b‖ . (1)

II. IEEE 802.15.4 OQPSK PHY

Consider the popular OQPSK physical layer in the IEEE802.15.4 standard. The packet structure is shown in Fig. 2.Each packet consists of a preamble, a header, and a pay-load [1]. The preamble contains 4 bytes of zeros followedby a start of frame delimiter, 0xA7. A one-byte packet headergives the number of bytes contained in the payload of thepacket. 1 bit in the header is reserved so that the maximumpacket payload length is 127 bytes.

Authorized licensed use limited to: University of Minnesota. Downloaded on May 22,2021 at 15:53:09 UTC from IEEE Xplore. Restrictions apply.

Page 3: An Advanced GNU Radio Receiver of IEEE 802.15.4 OQPSK ...keying (OQPSK) physical layer and provide an open-source implementation in the GNU Radio framework. Simulation and field test

9208 IEEE INTERNET OF THINGS JOURNAL, VOL. 8, NO. 11, JUNE 1, 2021

TABLE I32 CHIP PSEUDORANDOM QUASIORTHOGONAL SEQUENCES

FOR THE OQPSK PHYSICAL LAYER [1]

Fig. 2. Packet structure.

All bytes in the packet are represented with the most sig-nificant bit on the right. Each byte is split into two 4-bitsymbols, and each 4-bit symbol is mapped to one of the 16nearly orthogonal 32-chip sequences given in Table I. Even-indexed chips are modulated onto the data sequence In onthe in-phase carrier and odd-indexed chips are modulated tothe data sequence Qn on the quadrature-phase carrier with themapping 0 → −1 and 1 → 1. Let Tc denote the chip periodand g(t) denote the half-sine pulse

g(t) = sin

(π t

2Tc

)

, 0 ≤ t ≤ 2Tc. (2)

The baseband OQPSK signal is

s(t) =∑

n

Ing(t − 2nTc) + j∑

n

Qng(t − 2nTc − Tc) (3)

where the quadrature phase signal is delayed by one chipperiod.

In an SDR implementation, the data samples from s(t) arepassed from the computer to the SDR device. The basebandwaveforms are converted to passband via the SDR unit as

spb(t) = Re{

s(t)ej2π fc,txt}

(4)

where fc,tx is the carrier frequency at the transmitter. The chipduration is Tc = 0.5 μs, from which we can infer the symbolrate (1/Tc)/32 = 62.5 kilo-symbols/s and the data rate of theOQPSK PHY is 62.5 × 4 = 250 kb/s.

III. COHERENT RECEIVER DESIGN

The received passband waveform xpb(t) is converted to thebaseband as

x(t) = LPF{

xpb(t)e−j2π fc,rxt}

(5)

Fig. 3. Illustration of the receiver template and index.

Fig. 4. Sample index used in three stages of receiver processing.

where fc,rx is the carrier frequency at the receiver. Due toimperfect oscillators, there exists a nonnegligible CFO

ε = fc,tx − fc,rx. (6)

If multipath dispersion is explicitly modelled, the channelinput-output at the baseband can be represented as

x(t) = ej2πεt∑

l

hls(t − τl) + w(t) (7)

where τl is the delay and hl is the amplitude of the lth path,and w(t) is AWGN.

The sampling rate fs is set as 4 MHz in this article. Thesampling interval is ts = 1/fs, and the sampled sequence is

x[n] = x(t)|t=nts . (8)

These samples are passed from an SDR unit to the computerfor further processing.

We next present a coherent receiver to decode the data fromthe discrete samples. Reception and decoding of a transmissionrequire detection of the packet, CFO compensation, timingsynchronization, and compensation for channel effects. Forconvenience, let us define the templates corresponding to 0,

7, and a symbols as

s0, s7, sa. (9)

Furthermore, define two templates corresponding to the 0x00and 0xA7 bytes as

d00 = [s0, s0], dA7 = [s7, sa]. (10)

Note that s7 is in front of sa due to the format of the mostsignificant bits on the right. With a sampling rate of 4 MHz,templates s0, s7, sa have N = 64 samples while templates d00and dA7 have M = 2N = 128 samples.

The following subsections describe each of the three stagesof our coherent receiver, with useful illustrations given inFigs. 3 and 4.

Authorized licensed use limited to: University of Minnesota. Downloaded on May 22,2021 at 15:53:09 UTC from IEEE Xplore. Restrictions apply.

Page 4: An Advanced GNU Radio Receiver of IEEE 802.15.4 OQPSK ...keying (OQPSK) physical layer and provide an open-source implementation in the GNU Radio framework. Simulation and field test

FAULKNER et al.: ADVANCED GNU RADIO RECEIVER OF IEEE 802.15.4 OQPSK PHYSICAL LAYER 9209

Fig. 5. Correlation height in the presence of CFO mismatch.

A. First Stage: Triggering

To trigger the receiver processing in the presence ofunknown CFO, we adopt a set of parallel branches where eachbranch has been compensated by a fixed CFO value. On theith branch, the CFO compensation is applied to obtain

yi[n] = x[n]e−j2πεints (11)

where εi is the CFO value on the ith branch. At each sampleindex n, define a length-N vector

yi[n] = [

yi[n − N + 1], . . . , yi[n]]

. (12)

For each n, three correlation outputs are computed as

ρ0[n] = <yi[n], s0> (13)

ρ7[n] = <yi[n], s7> (14)

ρa[n] = <yi[n], sa> (15)

We choose correlation at the symbol level of length N ratherthan at the byte level of length M = 2N because the CFOmismatch leads to a reduced correlation peak. As shown inFig. 5, the symbol level correlation is more robust to CFOmismatch than the byte level correlation. A 16-kHz CFO mis-match reduces the correlation peak from 1 to 0.9 using thesymbol level correlation.

Following the pattern illustrated in Fig. 3, a trigger signalon the ith branch is defined as

Ti[n] =7

i=2

(ρ0[n−iN] ≥ �1)(ρ7[n−N] ≥ �1)(ρa[n] ≥ �1)

(16)

where �1 is a threshold to be set. Combining the output fromP branches, the overall trigger signal as

T[n] = T1[n] |T2[n]| · · · |TP[n] (17)

where | stands for the OR operation. When T[n] = 0, thereis no follow-on processing. The second stage processing isactivated during each segment where T[n] = 1.

B. Second Stage: Synchronization and Packet Detection

Second-stage processing is performed within each data seg-ment where T[n] = 1. For one segment, denote the startingindex as n0 and the ending index as n1, as shown in Fig. 4.The following tasks are carried out sequentially.

1) CFO Estimation: CFO estimation is done using the sam-ples indicated in Fig. 3 by leveraging the last three 0x00 bytesin the preamble, where the first 0x00 byte is not used in orderto avoid problems caused by the transient effects of initiatinga transmission in the hardware.

The overall CFO has fractional and integer CFO compo-nents as

ε = εf + ν (18)

where ν is an integer, is a constant, and εf is the fractionalCFO in the range of (−/2,/2). Define a length-5N vectorx[n] at time n as

x[n] = [x[n − 5N + 1], . . . , x[n]]. (19)

We estimate the fractional CFO via

εf = ∠(

x[n0 − 2N]xH[n0 − 3N])

2πNts(20)

where the operation ∠(·) evaluates the angle of a complexnumber with units in radians. Since the output of ∠(·) is lim-ited to (−π, π), and Nts = 16 μs, the fractional CFO εf islimited in the range of (−31.25, 31.25) kHz with the constant = 62.5 kHz.

We resolve the integer ν from the set {−I, . . . , I}with 2I + 1 candidate values. For each ν, define a CFO-compensated sequence

yν[n] = x[n]e−j2π(εf +ν)nts . (21)

Furthermore, collect the samples into a length-M vector as

yν[n0] = [

yν[n0 − M + 1], . . . , yν[n0]]

. (22)

The integer CFO estimate is found by

ν = arg maxν=−I,...,I

<yν[n0], dA7> (23)

The overall CFO is estimated by

ε = εf + ν. (24)

The estimate ε falls in the range of

(−31.25 − 62.5I,+31.25 + 62.5I) kHz. (25)

We set I = 2 in the receiver implementation.2) Fine Timing: Fine timing is carried out based on the

CFO compensated samples

y[n] = e−j2πεntsx[n]. (26)

At each index n, define a vector

y[n] = [y[n − M + 1], . . . , y[n]]. (27)

A correlation with the 0xA7 template leads to

ρ1[n] = <y[n], dA7>. (28)

Authorized licensed use limited to: University of Minnesota. Downloaded on May 22,2021 at 15:53:09 UTC from IEEE Xplore. Restrictions apply.

Page 5: An Advanced GNU Radio Receiver of IEEE 802.15.4 OQPSK ...keying (OQPSK) physical layer and provide an open-source implementation in the GNU Radio framework. Simulation and field test

9210 IEEE INTERNET OF THINGS JOURNAL, VOL. 8, NO. 11, JUNE 1, 2021

During each segment where T[n] = 1, the best sample indexfor the last sample of the 0xA7 byte is estimated as

nA7 = arg maxn0≤n≤n1

ρ1[n]. (29)

3) Packet Detection: To reduce the probability of falsealarms, we further verify that the bytes preceding 0xA7 areindeed 0x00. Define correlation outputs as

ρ0[n] = <y[n], d00> (30)

where y[n] is defined in (27). The packet detection variable isdetermined as

D = (

ρ1[

nA7] ≥ �2

)6

i=2

(

ρ0[

nA7−iN] ≥ �2

)

(31)

where �2 is a predefined threshold.At each instance when D = 1, a packet arrival is declared,

and the third-stage processing is activated. The timing offsetnA7 and the CFO estimate ε are passed to the third stage.

4) Link Quality Indicator: Per detected packet, the receivedsignal strength indicator (RSSI) is the energy of the receivedsamples corresponding to the three 0x00 bytes as

E = 1

6N

nA7−2N∑

n=nA7−8N+1

|x[n]|2. (32)

The link quality indicator (LQI) can be evaluated by anestimate on the signal to noise ratio (SNR) as follows. Define

ζ = <x[

nA7 − 3N]

, x[

nA7 − 2N]

> (33)

where x[n] is defined in (19). The expected value of the cor-relation is ζ = SNR/(1 + SNR), and hence the SNR can beestimated as

SNR = ζ

1 − ζ. (34)

C. Third Stage: Data Detection

With the correct timing and the estimated CFO, we obtainthe compensated data sequence as

r[n] = e−j2πεntsx[

n + nA7]

, n = 1, 2, . . . (35)

We adopt a length-K linear equalizer for channel equalizationas detailed in [30]. Corresponding to the lth symbol to bedetected, the equalizer coefficients are collected into a vectorof K = K1 + K2 + 1 taps as

f[l] = [

f [l;−K1], . . . , f [l; 0], . . . , f [l; K2]]

. (36)

We will rely on decision-directed equalization. Let f [l−1] bethe equalizer computed based on the (l−1)th symbol. For thelth symbol, the equalizer output is

z[l] = f [l − 1]R[l] (37)

where

z[l] = [z[lN − N + 1], . . . , z[lN]] (38)

R[l] =

⎢⎢⎢⎢⎢⎢⎣

r[lN − N + 1 − K1] . . . r[lN − K1]...

...

r[lN − N + 1] . . . r[lN]...

...

r[lN − N + 1 + K2] . . . r[lN + K2]

⎥⎥⎥⎥⎥⎥⎦

. (39)

The equalized sequence is used to detect the symbol throughthe maximum-correlation criterion as

s[l] = arg maxs

Re{

z[l]sH}

(40)

where s is the data sequence corresponding to the 16 possiblechip sequences in Table I.

Assuming that the decoded symbol s[l] is correct, theequalizer at the lth symbol is updated as

f [l] = s[l]RH[l]([

R[l]RH[l])−1

. (41)

For initialization, f [0] is computed based on the 0xA7 bytein the preamble. The equalizer update and the data detectionorder is

f[0] → s[1] → f [1] → s[2] → · · · (42)

Typically, the decision directed approach is susceptible toerror propagation where one incorrect decision will impact thedetection of later symbols. However, a single symbol errormeans that the whole packet is in error, and hence the errorpropagation does not negatively affect the packet delivery ratio(PDR).

A basic symbol-by-symbol update is presented here for con-venience. Alternatively, one can update the equalizer everyseveral symbols. For noise suppression, one can update theequalizer by stacking several symbols together. One conve-nient variation is to update the equalizer byte-by-byte, whereeach byte contains two symbols.

IV. GNU RADIO IMPLEMENTATION

The GNU Radio IEEE 802.15.4 testbed in [20] and [21]implements the communication stack from the physical layerup to the network layer, and allows the application layer to beattached easily. This implementation is included in the GNURadio 3.8 release and is popular in the GNU Radio community.This article only focuses on the receiver portion of the OQPSKphysical layer, and aims to improve the error performance.

A. Enhancing the MSK-Based Receiver [19]–[21]

Fig. 6 shows the flowgraph of the MSK-basedreceiver [20], [21] in gnuradio companion (GRC). Thereare four key modules.

1) The Quadrature Demod module takes the phase dif-ference of consecutive samples ∠(x∗[n−1]x[n]), whichis an estimate of the instantaneous frequency of thereceived signal.

2) The Single Pole IIR Filter module tracks theDC bias from the frequency estimates due to the car-rier frequency shift. The DC bias is subtracted from thefrequency estimates.

Authorized licensed use limited to: University of Minnesota. Downloaded on May 22,2021 at 15:53:09 UTC from IEEE Xplore. Restrictions apply.

Page 6: An Advanced GNU Radio Receiver of IEEE 802.15.4 OQPSK ...keying (OQPSK) physical layer and provide an open-source implementation in the GNU Radio framework. Simulation and field test

FAULKNER et al.: ADVANCED GNU RADIO RECEIVER OF IEEE 802.15.4 OQPSK PHYSICAL LAYER 9211

Fig. 6. Current MSK-based receiver in [21].

Fig. 7. Proposed enhancement for the MSK-based receiver.

Fig. 8. Flowgraph of the proposed coherent OQPSK receiver.

3) The Clock Recovery MM module implements theMüller and Mueller timing recovery algorithm [31] andoutputs a recovered chip sequence.

4) The custom-made Packet Sink module performsframe synchronization and data detection, and outputsthe decoded packet.

We recommend to add two modules to improve theperformance of the MSK-based receiver.

1) The Decimating FIR Filter module implementsa matched filtering (MF) operation on the raw frequencyestimates, with two filter taps (1/2, 1/2).

2) The Low Pass Filter (LPF) module aims to reducethe noise as much as possible before taking the phasedifference of the incoming samples. The sampling ratefor the GNU Radio implementation is 4 MHz, withthe USRP baseband bandwidth set at 2 MHz. As thenull-to-null frequency band of the incoming signal is(−1.5, 1.5) MHz [9], we set the cutoff frequency at1.5 MHz with a transition band of 0.1 MHz.

As we shall see in Section V-A, the MF modulewill bring about 4 to 5-dB performance gain while

the LPF module will bring additional 1-dB performanceimprovement.

B. Proposed Coherent Receiver

The coherent receiver described in Section III has beenimplemented in the GNU Radio framework and its flowgraphis shown in Fig. 8. The code for the blocks can be foundin the GitHub repository at [32]. There are six custom-mademodules.

1) The Divider module outputs the incomingcomplex data samples x[n] and the squaredmagnitudes |x[n]|2.

2) The Power Step module computes the power sum∑N

i=1 |x[n − i]|2, which is needed by all correlationoperations in other modules.

3) The Pre_CFO_Fix module outputs a complexsequence after a prefixed CFO compensation. To speedup the processing, the pre-CFO value is chosen so thatit divides the sampling rate fs, i.e., εi = fs/Q for an inte-ger Q. This way, ej2πεints = ej2πn/Q repeats itself afterQ samples and a finite-size look-up table can be used to

Authorized licensed use limited to: University of Minnesota. Downloaded on May 22,2021 at 15:53:09 UTC from IEEE Xplore. Restrictions apply.

Page 7: An Advanced GNU Radio Receiver of IEEE 802.15.4 OQPSK ...keying (OQPSK) physical layer and provide an open-source implementation in the GNU Radio framework. Simulation and field test

9212 IEEE INTERNET OF THINGS JOURNAL, VOL. 8, NO. 11, JUNE 1, 2021

store the values. Also, the pre-CFO values εi and −εi

are paired so that e−j2πεits are directly obtained fromej2πεits by conjugation.

4) The Trigger module implements the triggering opera-tion described in Section III-A and outputs Ti[n] in (16).For the correlation operations, we downsample the cor-relation template and the received samples by two. Thedownsampled templates d0, d7, da have values of only±1,±i, so no actual multiplication needs to be carriedout when evaluating the inner products involved.

5) The Synchronization module implements the syn-chronization and packet detection operation described inSection III-B, and outputs the timing and CFO estimates(nA7, ε). The received samples are downsampled by twofor the correlation operation in (28) and downsampledby 4 for the CFO estimation in (20).

6) The Decode module implements the data detectionmodule in Section III-C and outputs the decoded datapacket. We have chosen the byte-by-byte update forthe data demodulation. With simulations, we confirmedthat the performance of the symbol-by-symbol update isnearly the same as the byte-by-byte update.

The parameters that can be customized by the users include:1) the number of correlation branches; 2) the CFO values onthe branches; 3) the detection threshold �1 in the trigger mod-ule; and 4) the detection threshold �2 in the synchronizationmodule. Four correlation branches are used in Fig. 8 and hencetwo Pre_CFO_Fix and four Trigger modules are shown.

C. Computational Requirements

The computational requirements of different modules of theproposed receiver are analyzed as follows.

1) The Power Step module requires two realmultiplications and N real additions per incomingdata sample. The Pre_CFO_fix module requires twocomplex multiplications per sample. The Triggermodule has no complex multiplications in the corre-lators as the downsampled templates have only ±1values, but has N/2 complex additions and two realdivisions. With P = 4 branches, the first stage of thereceiver involves 4 complex multiplications, 2 realmultiplications, 2P = 8 real divisions, and PN/2 = 128complex additions per incoming data sample.

2) The Synchronization module is run once perdetected packet. CFO compensation in (26) over5 bytes in the preamble requires 5N = 320 complexmultiplications. Fine timing in (29) is typically accom-plished within four samples. The operations in (29)and (30) have no more than 4 + 5 = 9 byte-level cor-relations, which amounts to 2 × 9N/2 = 576 complexadditions but no complex multiplications. The synchro-nization complexity is small relative to other modulesas it occurs only once per data packet.

3) The Decode module is run on the detected packet. Letus only track the number of complex multiplicationshere. The matrix inversion in (41) has complexityon the order of O(K3), and is counted to have 255complex multiplications in our current implementation.

For each update in the byte-by-byte receiver, thenumbers of complex multiplications correspondingto (35), (37), (40), (41) are 2N, 2KN, 2 · 16 · N,2NK2 + 255 + 2NK + K2, respectively. With N =64 and K = 4, there are a total of 5519 complexmultiplications per byte update, which correspond to 43complex multiplications per incoming data sample.

The MSK-based receiver has much lower complexity. TheQuadrature Demod module has one complex multiplica-tion per sample. The Clock Recovery MM runs on realsamples and has 8 real multiplications per sample using thedefault 8-tap Minimum Mean Squared Error (MMSE) interpo-lator. The Clock Recovery MM outputs chip sequences athalf the sampling rate. In the Packet Sink module, framesynchronization with 0xA7 uses 64 bit-level additions per chip.Once 0xA7 is found, the despreading operation runs 16 cor-relators with each correlator having 32 chips. To decode onebyte of data, a total of 2 · 16 · 32 = 1024 bit-level additionsare needed, corresponding to 1024/128 = 8 bit-level additionsper incoming data sample.

To obtain an intuitive understanding, we put three receiversin one flowgraph and feed them with consecutive 30-bytedata packets with 1 ms interpacket separation. We accessthe Performance Counters, in particular the averageclock cycles in call to the modules, through the use ofControlPort in the GNU Radio [33]. Based on the mea-surements, we infer that the enhanced MSK-based receiverrequires approximately 2.7 times clock cycles relative to theoriginal MSK-based receiver, which reduces to 1.4 times if theLPF is dropped (alternatively, the generic LPF module couldbe replaced by a custom-made module for speedup). On theother hand, the proposed receiver requires approximately 31times clock cycles than the original MSK-based receiver. Notethat the proposed receiver has not yet been optimized anda careful optimization could lead to multifold speedup. Forexample, the implementation of an IEEE 802.11 transceiverin [34] has been accelerated in [35] by a factor between 2×and 10× depending on the modulation and code scheme used.

V. SIMULATED PERFORMANCE

We set the following parameters for the proposed receiveruploaded in [32]. There are a total of P = 4 branches withprefixed CFO values ±(fs/250) = ±16 kHz,±(fs/83) =±48.2 kHz. The detection thresholds are set as �2 = 0.3 and�1 = 0.8�2 = 0.24. In Section V-A, we use the PDR as theperformance metric to compare the coherent receiver and theMSK-based receivers. Other performance metrics are used toevaluate the coherent receiver in Section V-B.

A. PDR Performance of Different Receivers

Figs. 9 and 10 show the receiver performance for packets of30 and 120 bytes in the presence of AWGN, where the CFOvalue is uniformly drawn from the interval [−64, 64] kHz.For each SNR point, several thousand packets are used forperformance evaluation. The PDR curve of the original MSK-based receiver is consistent with that in [23, Fig. 9], wherean input SNR of 5 dB yields a PDR of 0.5 for packets with20 bytes. We have made the following observations.

Authorized licensed use limited to: University of Minnesota. Downloaded on May 22,2021 at 15:53:09 UTC from IEEE Xplore. Restrictions apply.

Page 8: An Advanced GNU Radio Receiver of IEEE 802.15.4 OQPSK ...keying (OQPSK) physical layer and provide an open-source implementation in the GNU Radio framework. Simulation and field test

FAULKNER et al.: ADVANCED GNU RADIO RECEIVER OF IEEE 802.15.4 OQPSK PHYSICAL LAYER 9213

Fig. 9. PDR performance in AWGN, packet length: 30 bytes.

Fig. 10. PDR performance in AWGN, packet length: 120 bytes.

1) For the modified MSK-based receiver, the MF moduleintroduces 4 to 5-dB power gain and the LPF moduleintroduces another 1-dB gain.

2) The coherent receiver with or without the LPF mod-ule has similar performance. Hence, the LPF module isbypassed in the GNU Radio package for the coherentreceiver.

For convenience, we collect the PDR curves of the proposedreceiver without LPF, the enhanced MSK receiver with bothLPF and MF, and the original MSK receiver in Fig. 11, forpackets of 30 and 120 bytes. We observe that the enhancedMSK receiver has about 5-dB gain over the original MSKreceiver, while its performance lags behind the proposedcoherent receiver by about 6 dB.

The performance gain of the proposed coherent receiverover the MSK receiver in [21] is larger than we expectedat the beginning of this work. It is well-known that antipo-dal signalling (e.g., binary phase shift keying) outperformsbinary orthogonal signalling (e.g., binary frequency shift key-ing) by 3 dB and coherent decoding of binary orthogonal

Fig. 11. PDR performance in AWGN.

Fig. 12. Comparison with two genie-aided receivers, packet length: 120 bytes.

signals outperforms noncoherent decoding by about 1 dB.Hence, we started the work expecting a 4-dB improvementresulting from coherent decoding of OQPSK over noncoherentdecoding of MSK. However, there is a large spreading gainin the IEEE 802.15.4 OQPSK physical layer. The proposedcoherent receiver first establishes carrier and time synchro-nization, and the demodulator works well even when the inputSNR is well below 0 dB due to the large spreading gain.On the other hand, the key step in the MSK-based receiveris to take the phase difference of consecutive received sam-ples x[n], which enables subsequent low-complexity symbolsynchronization and data detection. Let x[n] = s[n] + w[n],where s[n] is the signal and w[n] is the noise. The operation∠((s[n−1] + w[n−1])∗(s[n] + w[n])) works well only whenthe signal is reasonably stronger than the noise, otherwise thephase estimate will correspond to the noise rather than the sig-nal. This step operates on a per-sample basis, so it does notbenefit from the redundancy in the modulation, and hence isone key performance bottleneck for the MSK-based receiver.

In Fig. 12, we compare the proposed receiver with twogenie-aided receivers for packets of length 120 bytes. In both

Authorized licensed use limited to: University of Minnesota. Downloaded on May 22,2021 at 15:53:09 UTC from IEEE Xplore. Restrictions apply.

Page 9: An Advanced GNU Radio Receiver of IEEE 802.15.4 OQPSK ...keying (OQPSK) physical layer and provide an open-source implementation in the GNU Radio framework. Simulation and field test

9214 IEEE INTERNET OF THINGS JOURNAL, VOL. 8, NO. 11, JUNE 1, 2021

Fig. 13. Number of false alarms for data segments of 1-ms long.

genie-aided receivers, all packets are correctly detected. Thefirst receiver assumes perfect timing nA7 = nA7 but with prac-tical CFO estimation and data-directed equalizer update, whilethe second receiver assumes perfect timing nA7 = nA7, per-fect CFO estimation ε = ε and the optimal equalizer f [l] =[0, 1, 0, 0] for an AWGN channel. The second receiver corre-sponds to the receiver analyzed in [9], which assumes perfectcarrier and time synchronization and tests only the demodula-tion performance in an AWGN channel. Since every 4 b aremapped into 64 samples, Eb/N0 is 10 log10(64/4) = 12 dBhigher than the input SNR. Fig. 4 of [9] shows that a sym-bol error rate (SER) of 10−4 is achieved at Eb/N0 = 7 dBand hence SNR = −5 dB, and the corresponding PDR is(1 − SER)120·2 = 0.98 for a 120-byte packet. Our result inFig. 12 is hence consistent with the union bound and thesimulated performance in [9, Fig. 6].

From Fig. 12, we observe that the proposed receiver is about2.7-dB away from the ideal receiver with perfect carrier andtime synchronization in an AWGN channel [9]. Out of the2.7-dB gap, 1.5 dB is attributed to the CFO estimation anddata detection modules and 1.2 dB is attributed to the packetdetection and time synchronization modules.

B. Detection Threshold, CFO, and SNR Estimation

Here, we report other performance metrics for the proposedcoherent receiver: packet detection performance, CFO estima-tion accuracy, and SNR estimation.

Packet detection has two probabilities to deal with: 1) prob-ability of detection and 2) probability of false alarms. Lowerdetection thresholds can improve the probability of detectionbut will increase the probability of false alarms. We choosethe constant as

�1 = 0.8 �2 (43)

and vary �2 between 0.2 and 0.4. It turns out that the falsealarms due to AWGN can be neglected in view of the ran-domly generated data packets. Fig. 13 depicts the joint effectof mixing randomly generated packets (without the preamble

Fig. 14. Accuracy of the CFO estimation.

Fig. 15. Estimated SNR as an LQI.

portion) with additive noise on the number of false alarms pro-cessing each data segment of 1 ms (corresponding to a packetof 30 bytes). When �2 = 0.3, �1 = 0.8, and �2 = 0.24, falsealarms are negligible. We hence recommend these thresholdvalues for the coherent receiver.

For the correctly detected packets, the root mean-squarederror (RMSE) of the CFO estimates is shown in Fig. 14, wherethe original data sequence could be also downsampled by fourtimes to speed up the processing. As the input SNR staysabove −6 dB, the RMSE is below 4 kHz. The average valuesof the SNR estimates are depicted in Fig. 15 with the standarddeviation illustrated via error bars around the mean. The aver-age SNR agrees with the true SNR very well. The standarddeviation of the SNR estimates is about 1.5 dB at input SNRof −5 dB and is about 0.75 dB at input SNR of 0 dB. TheSNR estimate can serve as one reliable LQI, especially whenaveraged over several packets.

Authorized licensed use limited to: University of Minnesota. Downloaded on May 22,2021 at 15:53:09 UTC from IEEE Xplore. Restrictions apply.

Page 10: An Advanced GNU Radio Receiver of IEEE 802.15.4 OQPSK ...keying (OQPSK) physical layer and provide an open-source implementation in the GNU Radio framework. Simulation and field test

FAULKNER et al.: ADVANCED GNU RADIO RECEIVER OF IEEE 802.15.4 OQPSK PHYSICAL LAYER 9215

Fig. 16. Example channel impulse responses: sample interval ts = 0.25 μs.

C. Emulated Performance Based on Recorded Data Sets

We used USRP to record several data sets from the transmis-sions of a TI CC2650 device. The estimated CFO between thetransmitter and the receiver is about 10.5 kHz. Channel esti-mates based on the least-squares fitting of the received samplescorresponding to the 0xA7 byte are plotted in Fig. 16, and aresimilar to those reported in [36]. These channel plots moti-vated the choice of the four-tap equalizer with K1 = 1 andK2 = 2.

VI. FIELD TEST

We performed a field test in an indoor environment. Fig. 17shows a TI CC2650 transmitter [37], placed on a cart. Fig. 18shows the receiver setup with five receivers placed together.One monopole antenna is connected to a divider whichprovides identical RF signals to three USRP units throughwired connections. With samples from USRP devices, threeGNU Radio receivers were running: 1) the proposed coherentreceiver; 2) the enhanced MSK-based receiver; and 3) the orig-inal MSK-based receiver. Two CC2652 receivers from TexasInstruments [38] were placed near the monopole antenna, one

Fig. 17. TI CC2650 transmitter on a moving cart.

Fig. 18. Five receivers placed side by side: three GNU Radio receivers andtwo TI CC2652 receivers.

Fig. 19. Floor plan with marked receiver and transmitter locations.

on the left and one on the right. The CC2652 receivers havetheir own printed-circuit board (PCB) inverted-F antennas,whose beam patterns can be found in [39]. The normalizedreceiver gains on the USRP units were set to 0.9. To avoidinterference from the WiFi, we used IEEE 802.15.4 channel20 centered at 2.450 GHz.

The third floor of the Information Technology andEngineering (ITE) building at the UConn campus, whose floormap is shown in Fig. 19, was used for tests. At points P1, P2,P3, the transmitter cycled the power levels from the set of tenvalues {−21,−18,−15, . . . , 0, 3, 5} dBm, where 5 dBm is themaximum power allowed by the device. Point P1 is 28 m awayand has a direct line-of-sight (LOS) path to the receiver. P2and P3 are 40 and 49 m away from the receiver, respectively.Although there are open hallways between P2/P3 and thereceiver, the transmission paths might not be claimed as LOS

Authorized licensed use limited to: University of Minnesota. Downloaded on May 22,2021 at 15:53:09 UTC from IEEE Xplore. Restrictions apply.

Page 11: An Advanced GNU Radio Receiver of IEEE 802.15.4 OQPSK ...keying (OQPSK) physical layer and provide an open-source implementation in the GNU Radio framework. Simulation and field test

9216 IEEE INTERNET OF THINGS JOURNAL, VOL. 8, NO. 11, JUNE 1, 2021

Fig. 20. PDR versus transmission power at P2.

Fig. 21. PDR versus transmission power at P3.

paths. All receivers decoded nearly all the packets at P1 for allpower levels. Figs. 20 and 21 show the PDR performance atP2 and P3, respectively. For each PDR evaluation, 500 pack-ets were sent with packet length 30 bytes. From Figs. 20and 21, we observe that the proposed receiver has approxi-mately a 6-dB gain over the enhanced MSK-based and a 10-dBgain over the original MSK-based receiver. These performancegains are mostly consistent with the simulation results. TheTI receivers are worse than the MSK-based receiver and showlarge performance variations between P2 and P3. However, theTI receivers and the USRP receivers do not share the sameantennas and the antenna patterns have an influence that can-not be quantified here. In addition, we tried to transmit packetsat point P4, which is on the other side of the hallway and hastransmission paths blocked from the receiver. At a transmitpower of 5 dBm, the proposed coherent receiver received 80%of the packets while all other receivers received zero packets.

We further examine the SNR estimates provided by thecoherent receiver (the “debug” option in the Decode module

Fig. 22. Estimated SNRs at P1, P2, P3, and P4.

in Fig. 8 needs to be turned on). The average SNRs at P1-P4are reported in Fig. 22 as a function of transmit power, andthe standard deviation is about 1.6 dB. Moving the trans-mitter from P1 to P2, nearly 10-dB SNR is lost, while P2and P3 have almost the same SNRs. Corresponding to thetransmit power of 5 dBm, the average SNR is only −2.7 dBat P4, while about 17 dB at P3. The SNR estimates shedlight on the PDR performance differences in Figs. 20 and 21.We underscore that indoor propagation channels are complexand the receiver performance is not merely a function of thetransmission distance.

VII. CONCLUSION

In this article, we presented a coherent receiver for theIEEE 802.15.4 OQPSK physical layer and implemented itin the GNU Radio framework. The receiver achieves a sig-nificant improvement around 11 dB in performance over anexisting GNU radio receiver, and maintains about 6-dB gainwhen the latter is suitably improved. This proposed receiveris suitable for SDR-based high-performance gateways in IoTapplications. Our future work will include code optimizationfor processing speeds and application of the proposed receiverin IoT testbeds.

AUTHORS’ CONTRIBUTIONS

Evan Faulkner focused on algorithm development andperformance analysis, while Zelin Yun implemented the GNUradio receiver and led the experimental validation.

ACKNOWLEDGMENT

The authors thank Ms. Natong Lin for her help in assist-ing the experimental tests, and Kaiyuan Liu for his help ininvestigating the receiver complexity. The authors are gratefulto Dr. Bloessl whose open-source GNU-radio receiver in [21]has motivated this work.

Authorized licensed use limited to: University of Minnesota. Downloaded on May 22,2021 at 15:53:09 UTC from IEEE Xplore. Restrictions apply.

Page 12: An Advanced GNU Radio Receiver of IEEE 802.15.4 OQPSK ...keying (OQPSK) physical layer and provide an open-source implementation in the GNU Radio framework. Simulation and field test

FAULKNER et al.: ADVANCED GNU RADIO RECEIVER OF IEEE 802.15.4 OQPSK PHYSICAL LAYER 9217

REFERENCES

[1] IEEE Standard for Low-Rate Wireless Networks, IEEE Standard802.15.4-2015 (Revision IEEE Std 802.15.4-2011), 2016.

[2] A. G. Ramonet and T. Noguchi, “IEEE 802.15.4 historical evolution andtrends,” in Proc. 21st Int. Conf. Adv. Commun. Technol. (ICACT), 2019,pp. 351–359.

[3] L. Davoli, L. Belli, A. Cilfone, and G. Ferrari, “From micro to macroIoT: Challenges and solutions in the integration of IEEE 802.15.4/802.11and sub-GHz technologies,” IEEE Internet Things J., vol. 5, no. 2,pp. 784–793, Apr. 2018.

[4] N. Choudhury, R. Matam, M. Mukherjee, and L. Shu, “Beacon syn-chronization and duty-cycling in IEEE 802.15.4 cluster-tree networks:A review,” IEEE Internet Things J., vol. 5, no. 3, pp. 1765–1788,Jun. 2018.

[5] W. Li, X. Hu, and T. Jiang, “Path loss models for IEEE 802.15.4 vehicle-to-infrastructure communications in rural areas,” IEEE Internet ThingsJ., vol. 5, no. 5, pp. 3865–3875, Oct. 2018.

[6] M. Wu, X. Hu, R. Zhang, and L. Yang, “Collision recognition inmultihop IEEE 802.15.4-compliant wireless sensor networks,” IEEEInternet Things J., vol. 6, no. 5, pp. 8542–8552, Oct. 2019.

[7] G. Chen, X. Cao, L. Liu, C. Sun, and Y. Cheng, “Joint schedulingand channel allocation for end-to-end delay minimization in indus-trial WirelessHART networks,” IEEE Internet Things J., vol. 6, no. 2,pp. 2829–2842, Apr. 2019.

[8] J. G. Proakis, Digital Communications, 4th ed. Boston, MA, USA:McGraw-Hill, 2001.

[9] P. Gupta and S. G. Wilson, “IEEE 802.15.4 PHY analysis: Power spec-trum and error performance,” in Proc. Annu. IEEE India Conf., vol. 1,2008, pp. 171–176.

[10] D. Park, C. S. Park, and K. Lee, “Simple design of detector in the pres-ence of frequency offset for IEEE 802.15.4 LR-WPANs,” IEEE Trans.Circuits Syst. II, Exp. Briefs, vol. 56, no. 4, pp. 330–334, Apr. 2009.

[11] S. Dai, H. Qian, K. Kang, and W. Xiang, “A robust demodulator forOQPSK-DSSS system,” Circuits Syst. Signal Process., vol. 34, no. 1,pp. 231–247, 2015.

[12] U. Pešovic, S. Duraševic, and P. Planinšiš, “Carrier synchronization algo-rithm for software defined radio,” in Proc. 25th Telecommun. Forum(TELFOR), 2017, pp. 1–4.

[13] K. Gorantla and V. V. Mani, “Synchronization in IEEE 802.15.4 Zigbeetransceiver using MATLAB Simulink,” in Proc. Int. Conf. Adv. Comput.Commun. Informat. (ICACCI), 2015, pp. 144–148.

[14] S. Yin, J. Cui, A. Luo, L. Liu, and S. Wei, “A highly efficient basebandtransceiver for IEEE 802.15.4 LR-WPAN systems,” in Proc. 9th IEEEInt. Conf. ASIC, 2011, pp. 224–227.

[15] U. Pešovic, D. Gliech, P. Planinšic, Z. Stamenkovic, and S. Randic,“Implementation of coherent IEEE 802.15.4 receiver on software definedradio platform,” in Proc. 23rd Telecommun. Forum Telfor (TELFOR),2015, pp. 224–227.

[16] R. M. Koteng, “Evaluation of SDR-implementation of IEEE 802.15.4physical layer,” M.S. thesis, Dept. Electron. Telecommun., NorwegianUniv. Sci. Technol., Trondheim, Norway, 2006.

[17] A. Z. Mohammed, A. K. Nain, J. Bandaru, A. Kumar, D. S. Reddy,and R. Pachamuthu, “A residual phase noise compensation method forIEEE 802.15.4 compliant dual-mode receiver for diverse low power IoTapplications,” IEEE Internet Things J., vol. 6, no. 2, pp. 3437–3447,Apr. 2019.

[18] N. Dehaese, S. Bourdel, H. Barthelemy, and G. Bas, “Simple demod-ulator for 802.15.4 low-cost receivers,” in Proc. IEEE Radio WirelessSymp., 2006, pp. 315–318.

[19] T. Schmid, “GNU radio 802.15.4 en- and decoding,” Dept. Electr. Eng.,Univ. California, Los Angeles, CA, USA, Rep., 2006.

[20] B. Bloessl, C. Leitner, F. Dressler, and C. Sommer, “A GNUradio-based IEEE 802.15.4 testbed,” in Proc. 12. GI/ITG KuVSFachgespräch Drahtlose Sensornetze (FGSN), Cottbus, Germany,Sep. 2013, pp. 37–40.

[21] B. Bloessl. Wirless Measurement and Experimentation (WIME).Accessed: Jan. 12, 2021. [Online]. Available: https://www.wime-project.net/

[22] R. Zitouni, L. George, and Y. Abouda,“A dynamic spectrum access onSDR for IEEE 802.15.4e networks,” Mar. 2015. [Online]. Available:arXiv:1505.02653.

[23] B. Bloessl and F. Dressler, “mSync: Physical layer frame synchroniza-tion without preamble symbols,” IEEE Trans. Mobile Comput., vol. 17,no. 10, pp. 2321–2333, Oct. 2018.

[24] H. K. Benitez, C. H. Cabuso, M. T. De Leon, J. R. Hizon, andM. Rosales, “Implementation of a physical layer wireless sensor networktestbed using software defined radios,” in Proc. Int. Symp. MultimediaCommun. Technol. (ISMAC), 2019, pp. 1–6.

[25] J. Gu, C. Chen, S. Zhu, and J. He, “Efficient error packet recoverywithout redundant bytes for IEEE 802.15.4 protocol,” in Proc. 3rd Int.Symp. Auton. Syst. (ISAS), Shanghai, China, May 2019, pp. 418–423.

[26] S. Gvozdenovic, J. K. Becker, and D. Starobinski, “SDR-based PHYcharacterization of ZigBee devices,” in Proc. 63rd Int. MidwestSymp. Circuits Syst. (MWSCAS), Springfield, MA, USA, Aug. 2020,pp. 129–132.

[27] S. Wang, Y. Li, C. Ming, and Z. Zhang, “Building gatewayinterconnected heterogeneous ZigBee and WiFi network based onsoftware defined radio,” in Proc. Int. Conf. Commun. Netw. China(ChinaCom), Shanghai, China, Nov. 2019, pp. 445–456.

[28] C. Gavrila, C.-Z. Kertesz, M. Alexandru, and V. Popescu, “SDR-basedgateway for IoT and M2M applications,” in Proc. Baltic URSI Symp.(URSI), Poznan, Poland, May 2018, pp. 71–74.

[29] H. Hellstrom, M. Luvisotto, R. Jansson, and Z. Pang, “Software-definedwireless communication for industrial control: A realistic approach,”IEEE Ind. Electron. Mag., vol. 13, no. 4, pp. 31–37, Dec. 2019.

[30] R. C. Johnson, Jr., W. A. Sethares, and A. G. Klein, Software ReceiverDesign: Build Your Own Digital Communication System in Five EasySteps, 1st ed. Cambridge, U.K.: Cambridge Univ. Press, 2011.

[31] K. Mueller and M. Müller, “Timing recovery in digital synchronousdata receivers,” IEEE Trans. Commun., vol. 24, no. 5, pp. 516–531,May 1976.

[32] Cloud9477/gr-advoqpsk. Accessed: Jan. 12, 2021. [Online]. Available:https://github.com/cloud9477/gr-advoqpsk

[33] T. Rondeau, T. O’Shea, and N. Goergen, “Inspecting GNU radio appli-cations with controlport and performance counters,” in Proc. 2nd ACMSIGCOMM Workshop Softw. Radio Implement. Forum, Hong Kong,China, Aug. 2013, pp. 65–70.

[34] B. Bloessl, M. Segata, C. Sommer, and F. Dressler, “An IEEE802.11a/g/p OFDM receiver for GNU radio,” in Proc. 2nd ACMSIGCOMM Workshop Softw. Radio Implement. Forum, Hong Kong,China, Aug. 2013, pp. 9–16.

[35] G. Arcos, R. Ferreri, M. Richart, P. Ezzatti, and E. Grampín,“Accelerating an IEEE 802.11 a/g/p transceiver in GNU radio,” in Proc.9th Lat. America Netw. Conf. (LANC), Valparaíso, Chile, Oct. 2016,pp. 13–19.

[36] S. Ayvasik, M. Gürsu, and W. Kellerer, “Veni Vidi Dixi: Reliable wire-less communication with depth images,” in Proc. 15th Int. Conf. Emerg.Netw. Exp. Technol., Orlando, FL, USA, Dec. 2019, pp. 172–185.

[37] Texas Instruments. SimpleLink 32-Bit Arm Cortex-M3 Multiprotocol2.4 GHz Wireless MCU. Accessed: Jan. 12, 2021. [Online]. Available:https://www.ti.com/product/CC2650

[38] Texas Instruments. SimpleLink Multi-Standard CC26x2R Wireless MCULaunchPad Development Kit. [Online]. Accessed: Jan. 12, 2021.Available: https://www.ti.com/tool/LAUNCHXL-CC26X2R1

[39] Texas Instruments. Application Report: 2.4-GHz Inverted F Antenna.Accessed: Jan. 12, 2021. [Online]. Available: https://www.ti.com/lit/an/swru120d/swru120d.pdf

Evan Faulkner (Student Member, IEEE) receivedthe B.S. degree in electrical engineering and mathe-matics from the University of Connecticut, Storrs,CT, USA, in 2020. He is currently pursuing thePh.D. degree in electrical engineering with theUniversity of Washington, Seattle, WA, USA.

His primary research areas are optimization andgame theory.

Authorized licensed use limited to: University of Minnesota. Downloaded on May 22,2021 at 15:53:09 UTC from IEEE Xplore. Restrictions apply.

Page 13: An Advanced GNU Radio Receiver of IEEE 802.15.4 OQPSK ...keying (OQPSK) physical layer and provide an open-source implementation in the GNU Radio framework. Simulation and field test

9218 IEEE INTERNET OF THINGS JOURNAL, VOL. 8, NO. 11, JUNE 1, 2021

Zelin Yun received the B.S. degree in measur-ing and controlling technologies and instrumentsfrom Tianjin University, Tianjin, China, in 2017.He is currently pursuing the Ph.D. degree withthe Computer Science and Engineering Department,University of Connecticut, Storrs, CT, USA.

His general research interests are in the areasof wireless powered communication and real-timehigh-speed industrial wireless networks.

Shengli Zhou (Fellow, IEEE) received the B.S.and M.Sc. degrees in electrical engineering andinformation science from the University of Scienceand Technology of China, Hefei, China, in 1995 and1998, respectively, and the Ph.D. degree in electri-cal engineering from the University of Minnesota,Minneapolis, MN, USA, in 2002.

He is currently a Professor with the Department ofElectrical and Computer Engineering, University ofConnecticut, Storrs, CT, USA. His general researchinterests are in the areas of wireless communicationsand signal processing.

Prof. Zhou received the 2007 ONR Young Investigator Award and the 2007Presidential Early Career Award for Scientists and Engineers.

Zhijie J. Shi (Member, IEEE) received the B.S.and M.S. degrees from Tsinghua University, Beijing,China, in 1992 and 1996, respectively, and the Ph.D.degree from Princeton University, Princeton, NJ,USA, in 2004.

He is currently an Associate Professor ofComputer Science and Engineering with theUniversity of Connecticut, Storrs, CT, USA. His cur-rent research interests include security in wirelesscommunications, side channel attacks and counter-measures, embedded system designs, and sensornetwork security.

Dr. Shi is a member of ACM.

Song Han (Member, IEEE) received the B.S.degree in computer science from Nanjing University,Nanjing, China, in 2003, the M.Phil. degree in com-puter science from the City University of HongKong, Hong Kong, in 2006, and the Ph.D. degreein computer science from the University of Texas,Austin, TX, USA, in 2012.

He is currently an Associate Professor with theDepartment of Computer Science and Engineering,University of Connecticut, Storrs, CT, USA. Hisresearch interests include cyber–physical systems,

real-time and embedded systems, and wireless networks.

Georgios B. Giannakis (Fellow, IEEE) received theDiploma degree in electrical engineering from theNational Technical University of Athens, Athens,Greece, in 1981, the M.Sc. degree in electrical engi-neering, the M.Sc. degree in mathematics, and thePh.D. degree in electrical engineering, from theUniversity of Southern California at Los Angeles,Los Angeles, CA, USA, in 1983, 1986, and 1986,respectively.

He was a Faculty Member with the Universityof Virginia, Charlottesville, VA, USA, from 1987

to 1998, and since 1999, he has been a Professor with the University ofMinnesota, Minneapolis, MN, USA, where he holds an ADC Endowed Chair,a University of Minnesota McKnight Presidential Chair in ECE, and servesas the Director of the Digital Technology Center. His general interests spanthe areas of statistical learning, communications, and networking—subjectson which he has published more than 475 journal papers, 775 conferencepapers, 25 book chapters, two edited books and two research monographs.He is the (co-) inventor of 34 issued patents. His current research focuses ondata science, and network science with applications to the Internet of Things,and power networks with renewables.

Prof. Giannakis the (co-) recipient of 9 best journal paper awards fromthe IEEE Signal Processing and Communications Societies, including theG. Marconi Prize Paper Award in Wireless Communications. He also receivedthe IEEE-SPS Norbert Wiener Society Award in 2019; EURASIP’s A.Papoulis Society Award in 2020; Technical Achievement Awards from theIEEE-SPS in 2000 and from EURASIP in 2005; the IEEE CommunicationsSociety Education Award in 2019; and the IEEE Fourier Technical FieldAward in 2015. He is a Foreign Member of the Academia Europaea, andFellow of the National Academy of Inventors, the European Academy ofSciences, IEEE and EURASIP. He has served the IEEE in a number of posts,including that of a Distinguished Lecturer for the IEEE-Signal ProcessingSociety.

Authorized licensed use limited to: University of Minnesota. Downloaded on May 22,2021 at 15:53:09 UTC from IEEE Xplore. Restrictions apply.