Model-Based Design for Software Defined Radio on an FPGA

0 downloads 0 Views 598KB Size Report
(2) The system is designed in Simulink with visual blocks. ... encoder in transmitter. To implement their designed system to FPGA based SDR platform, users only ...
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2017.2692764, IEEE Access

1

Model-Based Design for Software Defined Radio on an FPGA Xin Cai, Mingda Zhou, and Xinming Huang*

Abstract—This paper presents an approach of model-based design for implementing a digital communication system on an FPGA for software defined radio (SDR). SDR is a popular prototyping platform for wireless communication systems due to its flexibility and utility. A traditional SDR system performs nearly all computations and signal processing tasks on the host computer, and then sends the waveform to the RF front-end. For complex algorithms or high data rate, the host computer becomes the processing bottleneck and FPGA is often employed as a hardware accelerator. This paper demonstrates the procedure of using model-based design for SDR targeted on FPGA hardware. A complete digital communication system, including a transmitter with convolutional encoder and a receiver with Viterbi decoder, are implemented on an FPGA-based SDR platform and validated by over-the-air demonstration. Synchronization algorithms such as carrier frequency offset, phase offset and time recovery are also optimized for hardware efficiency. Index Terms—software defined radio, FPGA, convolutional code, Viterbi decoder, synchronization.

I. I NTRODUCTION In traditional development process, a digital communication system is designed, implemented and tested on an applicationspecific integrated circuit (ASIC). However, the high nonrecurring engineering cost of an ASIC make it prohibitive for system prototyping. During the last decade, software defined radio (SDR) has become a popular platform for prototyping digital communication systems. It can configure the hardware to perform different functional operations as needed [1], [2]. SDR is usually described as a middleware which can define the radio and build the connection between the devices in hardware and software interface [3], [4]. This unique capability provide SDR with greater technological flexibility, which aroused great enthusiasm in the field of digital signal processing, digital communication, and RF engineering [5]. For high performance SDR system, field programmable gate array (FPGA) is often employed as a key component that can implement customized hardware logic and perform digital signal processing tasks at real-time. But it requires advanced hardware modeling and designs to target the communication system algorithms onto the FPGA. Traditionally a hardware description language (HDL) such as Verilog is used to model This project is supported by US NSF grant No. 1401121, No. 1414250, and NASA grant NNX16AB06A. Cai is with the School of Telecommunications Engineering, State Key Lab of ISN, Xidian University, Xi’an, Shaanxi 710071, China. Zhou and Huang are with the Department of Electrical and Computer Engineering, Worcester Polytechnic Institute, Worcester, MA 01609, USA. Huang is also with Nantong University, Jiangsu 226019, China. The corresponding author is Xinming Huang (email: [email protected]).

and simulate the digital system and subsequently to target onto the FPGA using synthesis and implementation tools. Model-based design is a promising approach that can be adopted for rapid development of a communication system on a SDR platform [6]. There are several existing work on the implementations of communication systems using model-based design targeted on SDR for both educational and research purposes [7]–[9]. However, they were mostly focused on theoretical feasibility study without practical implementations. Meanwhile, there are many other work on the FPGA implementations of communication systems but most of them were focused on the hardware realization of a specific algorithm or a section of digital communication system. For instance, a pair of QPSK modulator and demodulator based on Xilinx Zynq Board targeting SDR was designed and implemented in [10]. Modulated the QPSK symbols are generated from a linear feedback shift register (LFSR), passed through root raised cosine (RRC), interpolation filters and then the signal is transmitted. Similar structure was also implemented in the receiver to recover the QPSK symbols. However, only the basic functional modules around QPSK modulation and demodulation instead of an entire communication system are implemented. In [11], hardware optimization for carrier recovery is presented. The DQPSK signal was loaded onto a generated waveform, transmitted and then resampled by analog-to-digital converters (ADC). Finally the received signal was fed to a Virtex-7 FPGA board and optimized carrier recovery was performed. In addition, design and implementation of error correction coding/decoding are presented in [12], and both LDPC and Turbo coding techniques were tested with noise. Unfortunately, neither [11] nor [12] was involved with an entire communication system. Communication system with convolutional code was prototyped and implemented on WARP SDR platform in [13]. However, most of the computational operations were conducted on the host computer and the SDR boards were mainly used as radio front-end, resulting the fact that most of the FPGA hardware resources were unused. In this paper, a complete communication system with all necessary components, including pulse shaping filters, modulation/demodulation, synchronization and timing recovery, and channel encoder/decoder, is designed and targeted on an FPGA-based SDR using model-based approach. The main contributions of this paper are as follows: (1) The prototype communication system is a model-based design, in which all the functional units are packed in separate models and can be substituted or customized by users. (2) The system is designed in Simulink with visual blocks.

2169-3536 (c) 2016 IEEE. Translations and content mining are permitted for academic research only. Personal use is also permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2017.2692764, IEEE Access

2

Figure 1.

The structure of transmitter computation units in FPGA

Slice (1 downto 1) dBit

pilot/payload spliter dBit

Repeat 2x

output_pilot

Serial In

Bit Pair

pilot pre-QPSK formation

output_data

1

pilot_valid

In

dValid

data_valid phase1

Slice (0 downto 0)

Bit1

In1

pilot BitPair

-1 Z

data BitPairs

phase2

Bit2

dValid encoder

Delay

pilot_valid

1 Out1

data_valid

payload pre-QPSK formation -1 Z

pilot/payload reunion

Delay1 -1 Z Delay2

Figure 2.

The structure of convolutional encoder in transmitter

To implement their designed system to FPGA based SDR platform, users only need to align the dataflow compatible with FPGA interface and make sure that all blocks placed in their design are compatible with HDL Coder [14] for automatic generation of HDL code. It requires little knowledge of HDL programming and hardware pipeline design. The rest of this paper is organized as follows. In Section II, the major design and structure of a transmitter is revealed and analyzed. In Section III, details of the receiver are discussed, including all computational units for signal processing. Implementation of transmitter and receiver on the SDR hardware is described in Section IV. Implementation results are addressed in Section V. Conclusion is made in Section VI.

valid signal and data are split first. Then the pilot/payload splitter takes both of them in and split the pilot bits and payload bits to make sure that only the payload is encoded in the encoder submodule. As an example, the polynomial of the convolutional encoder is (101,111). Considering that the convolutional encoder doubles the data rate of payload, the rate of pilot also needs to be doubled. Both the pilot and payload pre-QPSK formation module pair two sequential bits into an unsigned two-bit output, which is the input format expected by the symbol mapping component. After pre-QPSK formation unit, pilot and encoded data are reframed in the pilot/payload reunion module. B. Symbol Mapping

II. M ODEL -BASED D ESIGN

OF

T RANSMITTER

System diagram of the QPSK transmitter implemented on the FPGA is shown in Figure 1, mainly including host-FPGA format aligning (see also Section IV-B), convolutional encoder, symbol mapping and pulse shaping. It is worth mentioning that no prior knowledge of HDL coding is required since all the units are designed in Simulink or Matlab code. Data generated from the host computer are fed into the FPGA and then get processed. These units are optimized for HDL code generation and perform baseband signal processing to transform the source data to baseband waveform. The baseband waveform are then upconverted to RF band by the SDR radio board and the RF band signals are transmitted over the air. A. Convolutional Coding Figure 2 shows the architecture of convolutional encoder. The convolutional encoder contains five submodules: pilot/payload splitter, encoder, pre-QPSK pilot formation, pre-QPSK payload formation and pilot/payload reunion. When source data, including both pilot and payload, come in this module, the

Gray mapping is a multilevel modulation scheme in which there is only one bit change between two successive values. Gray codes are widely utilized to facilitate error correction by combining with forward error correction (FEC) codes. Due to the special mapping method, a receiver could recovery the original constellation point which drifts into the area of an adjacent point. In the symbol mapping module, a baseband QPSK modulator block from communications system toolbox is adopted to realize the Gray mapping, which maps two-bit data [00,01,11,10] into the corresponding complex symbols [1+i, -1+i, 1-i, -1-i]. C. Pulse Shaping In digital communications, pulse shaping filters are designed to remove the impact of intersymbol interference (ISI) on transmission process. Thus, the filters must have some special requirements : frequency response with sufficient selectivity and attenuation to suppress noise and interference in adjacent channels. Raised cosine (RC) filters are a family of responses that achieves the required zero ISI minimizing the occupied

2169-3536 (c) 2016 IEEE. Translations and content mining are permitted for academic research only. Personal use is also permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2017.2692764, IEEE Access

3

Z-4 Delay

dValid

dValid

AND 1

In

Out

x[2n]

In

Out

In

Out

In

dValid

dValid

dataOutCh1

dataInCh1 Automatic Gain Control

Raised Cosine Receive Filter

Coarse Frequency Compensation

Fine Frequency Compensation

DataOut

In

Bit1

bit1

Bit2

bit2

bit1

in Out1

Timing Recovery

enable

payload_bit2

FPGA-Host Format Aligning

Viterbi decoder

Frame Sync & Demodulation

Figure 3.

1

Out payload_bit1

The structure of receiver computation units in FPGA

bandwidth [15] [16]. To make the transmitted signal fit in frequency band, the pulse shaping module adopts an FIR interpolation filter with a root raised cosine impulse response. In this module, the raised cosine transmit filter block performs root raised cosine pulse shaping with a roll off factor of 0.5 and an upsampling factor of four. The desired roll off factor ranges from 0.25 to 0.75. In order to make the pulse shaping equally distributed between the transmitter and receiver, transmitter side pulse shaping is often combined with matched filter on the receiver side. In this case, the two filters can achieve optimal tolerance for noise.

signal is fed in, AGC is performed to guarantee the accuracy of all the operations. Considering the signals are upsampled, the AGC output power in this module is set to 1/sqrt(upsampling factor) so that the input amplitude of the coarse frequency compensation subsystem is stable and roughly one. Thus, the equivalent gains of the phase and timing error detectors can keep nearly constant over time. 



 





 

III. M ODEL - BASED D ESIGN OF R ECEIVER The detailed receiver design is given in this section, including coarse and fine frequency compensation, timing recovery with fixed-rate resampling, frame synchronization, demodulation and data decoding. The structure of computational units of receiver is shown in Figure 3. These units are also optimized for HDL code generation and implemented on the FPGA. In our demonstration, we choose the baseband sampling rate of 245.76 KHz or the symbol rate of 61.44K symbols per second. Considering the fact that the FPGA can process much faster than that, we buffer each frame of received data first before feed it to the FPGA processing unit. Similarly, the receiver output from the FPGA are also buffered and sent to the host PC to be translated from bits to readable message. This is to accommodate the high speed processing at the FPGA. After going through all the computational processes implemented on FPGA, invalid data are removed and valid data are translated and printed on the screen. The message printed on screen is expected to be a repeated sequence of Hello World ### , where ### are 3 digits increasing from 000 to 099. A. Automatic Gain Control The stability of the signal amplitude at the inputs of the carrier and timing recovery loops must be considered in the receiver design. The automatic gain control (AGC) is an adaptive subsystem and accounts for maintaining the amplitude and strength of the received signal. To make the signal’s amplitude stable, the gain of AGC usually drops when the received signal strength is strong and increases when received signal strength is weak [17]. The structure of AGC is shown in Figure 4. The product of the input signal and the value from the loop gain generates the output signals. The error signal comes from the difference between a reference value and the product of value from the loop gain and the modulus of the input. Once received

 











 



 

Figure 4.



 

Automatic gain control module in receiver

B. Coarse Frequency Compensation The coarse frequency compensation is designed to roughly estimate and compensate the frequency offset of the received signal. Figure 5 shows the coarse frequency compensation module. The received signals can be expressed as ej(nπ/2+∆f t+∆φ) , where n is a designate phase index, ∆f is the frequency offset and ∆φ is the phase offset, n = 0, 1, 2, 3, for QPSK. During coarse frequency compensation, the signal which comes out of AGC is raised to the power of four and the transformed signal ej(4∆f t+4∆φ) is obtained, which excludes QPSK modulation information. This power-raising operation is implemented by two product blocks. Luise algorithm [18] is implemented afterward to acquire ∆f . This algorithm is based on autocorrelation method, which is implemented by an FIR filter and an accumulator. Actually, the filter is an autocorrelator in the structure of an FIR filter, which calculates autocorrelation value. Compared with an FFT method, this algorithm uses much less hardware resources. In addition, pipeline registers are used in the autocorrelation path to improve the speed. However, even if the coarse frequency compensation module estimates the major frequency offset, there is still a residual frequency offset. Usually the remaining frequency offset causes a rotation of the constellation. C. Fine Frequency Compensation Fine frequency compensation needs to be implemented after coarse frequency compensation. The fine frequency compen-

2169-3536 (c) 2016 IEEE. Translations and content mining are permitted for academic research only. Personal use is also permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2017.2692764, IEEE Access

4

 















 

      !"



 







Figure 5.





Coarse frequency compensation module in receiver

sation module is shown in Figure 6, which further estimates the residual frequency offset. This unit is designed with a phase-locked loop (PLL), including a numerically controlled oscillator (NCO), phase error detector (PED) and a loop filter [19]. Since the majority of the frequency offset is compensated, the small residual frequency offset leads to a constant drifting of signal’s phase. Therefore a maximum likelihood PED is placed to estimate the phase difference between the current signal and the expected one. The phase difference is fed into a tunable proportional-plus-integral loop filter where the normalized loop bandwidth and damping factor are usually tuned as 0.06 and 2.5 [19], respectively. This configuration ensures that signal can quickly be locked to the expected phase while introducing little phase noise. The NCO block takes the loop filter output as input and acts as a complex exponential signal generator and therefore compensates the residual frequency offset.

   

!

 

 



  



  

   

" 

 





  

Figure 7.

Timing recovery module in receiver



 

 

 

 











Figure 6.

error reaches symbol boundaries. The underflow signal also controls the ZCTED to decide when the ZCTED calculates the timing errors. The interpolation control block also updates the timing difference for the interpolation filter and generates the interpolants at the optimum sampling time. The interpolation filter is a farrow parabolic filter and is simplified with special parameters [19]. When the signal is fed into timing recovery module, the interpolation filter interpolates the signal according to the estimated timing error and corrects it.

Fine frequency compensation module in receiver

D. Timing Recovery The timing recovery module calculates and compensates the timing error. The timing recovery subsystem is designed to choose the instants at which the incoming signals are sampled in the receiver. The timing recovery module is shown in Figure 7. It is also implemented with a PLL, which includes an interpolation filter, a zero-crossing timing error detector (ZCTED), a loop filter and an interpolation control module [19] [20]. The ZCTED detects the timing errors with the interpolants generated from the interpolation filter, cascaded by a tunable proportional-plus-integral loop filter [19] [21], whose normalized loop bandwidth is set to 0.01 and damping factor is set to unity to make PLL quickly lock to the correct timing. The loop filter’s output is fed into the interpolation control module to update the timing error. The purpose of the interpolation control block is to provide the interpolators with the basepoint index and fractional interval for each desired interpolant. The underflow signal will be activated and indicates one extra or missing interpolant when the timing

E. Frame Synchronization and Demodulation Figure 8 shows the frame synchronization and demodulation module. This module is designed to find the header of a frame so that the data can be located and demodulated. In this work, a 13-bit Barker code is adopted as the pilot [22]. With the characteristics of the Barker code, auto-correlation function is executed in the matched filter block to correlate the Barker code against the received signal [23]. Then the modulus of the matched filter output is compared with a threshold. The threshold value has an important influence on miss probability and frame synchronization accuracy. Usually a larger value increases the miss probability whereas a smaller value may result less accurate frame alignment. Thus, it is a trade-off especially at lower signal to noise ratio (SNR). For high SNR, a larger threshold value can be used. In our design, the threshold is set to 16, which is a compromised value between miss probability and accuracy for the consideration of both low and high SNR cases. Once the output value of modulus block exceeds the threshold, it is indicated that a frame is detected and therefore its pilot and payload can be accurately located. The frame control block is also enabled, which splits a frame into two parts: pilot and payload. The demodulation module demodulates the payload and each symbol is mapped into two bits based on the Gray mapping method. Before feeding the output of matched filter to frame control block, a conjugate operation is adopted to resolve the phase ambiguity issue since passing signal through the matched filter brings extra phase shift. Therefore the matched filter output is fed into a conjugate block to neutralize the extra phase shift.

2169-3536 (c) 2016 IEEE. Translations and content mining are permitted for academic research only. Personal use is also permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2017.2692764, IEEE Access

5

Enable

1

In1

Out1

In1

Out1

Threshold

In Matched Filter

Modulus

>=

enable

dvalid

-3 Z

1 dValid

Constant u

-4 Z

MF_Conj

Freeze_MF_Conj

2

-1 Z

-1 Z

-1 Z

QPSK

Bit1 3 Bit2

-20 Z

Frame synchronization and demodulation in receiver

Figure 9.

Viterbi decoder module in receiver

F. Viterbi Decoder Viterbi decoder in the receiver is the correspondance to the convolutional encoder in transmitter. Detailed structure of Viterbi decoder is demonstrated in Figure 9. This is a general hard decision Viterbi decoder, which has three main components: branch metric computation (BMC), add-compare and select (ACS), and traceback decoding (TBD) [24]. The BMC calculates the branch metrics, which are Hamming distances between possible symbols in the code alphabet and the received symbols. The ACS adds the branch metrics to possible decoding paths, compares the results and then selects the most possible decoding path. The selected decoding path is the maximum-likelihood path and is restored in TBD. A TBD utilizes a first-in-last-out (FILO) buffer to reord the decoded signal. Since the preamble Barker code at beginning of each frame is not encoded by the rate 1/2 convolutional encoder, the Viterbi decoder need to be bypassed for the preamble and re-enabled for decoding the payload. Practically, we introduce an external enable signal to the Viterbi decoder unit. When enable is low, the Viterbi decoder freezes at current state, skip those invalid data and continue once data is valid again. Therefore, the enable signal in the Viterbi decoder is built around the general logic and freezes all intermediate states when enable signal is low. Meanwhile, to avoid the impact of pilot on decoding process, another block is placed right before the Viterbi decoder, as can be seen in Figure 3. This block sets all detected pilot data to zero to guarantee that the decoder

starts fresh at the beginning of each frame. To measure the performance of this Viterbi decoder, 10 million bits are coded with SNR ranging from 1 to 10 dB and fed into the decoder. The bit error rate (BER) versus SNR is illustrated in Figure 10. 100

10-1

BER

Figure 8.

10-2

10-3

10

-4

1

2

3

4

5

6

7

8

9

10

SNR(dB)

Figure 10.

BER simulation results of Viterbi decoder

IV. I MPLEMENTATION AND I NTEGRATION In spite of all the computational units implemented on FPGA as illustrated in Section III, the host PC is still responsible for some functional parts of the SDR system, such as data generation, host-FPGA interfaces and data presentation. Figure 11 and 12 are Simulink models running on the PC when performing over the air transmission, for transmitter and receiver respectively. Figure 12 (b) shows the functional units

2169-3536 (c) 2016 IEEE. Translations and content mining are permitted for academic research only. Personal use is also permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2017.2692764, IEEE Access

6

Data Generation

Serial In

Bit Pair

Host-FPGA Format Aligning

Figure 11.

Repeat 4x

data

PC-FPGA speed Aligning

SDR Transmitter

Buffer Zynq SDR Transmitter

Retargeted transmitter running on the host computer

(a)

(b) Figure 12.

Retargeted receiver running on the host computer

inside QPSK Receiver block. As shown in Figure 11, the host PC generates pilot and payload data, aligns them (both format and data rate) with FPGA interface, and then feeds data to the radio (FPGA and AD9361). Similar structure can also be found in Figure 12, the PC receives processed data from radio, aligns them with PC itself, digs out the valid data and print them out in the workspace. The functional units running on PC are mainly data preparation and presentation since all the computational units are already implemented on FPGA.

A. Data Generation Before baseband processing, the host PC needs to prepare the well-organized data for transmitter. Figure 13 shows the structure of generated data frames. A 13-bit Barker code is adopted as the pilot. With the consideration of getting the best likelihood of detection and synchronization while preserving the autocorrelation properties of the original sequence, the Barker code is mapped to 26 bits in transmitter simply by upsampling and allocating the same sequence for both I and Q channel. The pilot is used to overcome channel impairments and locate the frame header in the receiver. The payload includes 105 bits of data and 69 bits Bernoulli random bits. The 105 bits are the ASCII representation of Hello world ###, where ### is a repeating sequence increasing from 001 to 099. As can be seen in Figure 13, with half rate convolutional encoder, the data rate of payload is doubled.

Figure 13.

Preamble(13bits)

Payload (Hello word ###) 105 bits+Random 69 bits

Upsample by 2

Convolution encoder(Rate=0.5)

Preamble(26bits)

Payload 348 bits

The frame structure in the model

B. Interface between the Host Computer and the FPGA Different from host PC, the FPGA board of the SDR platform processes data streamingly. Hence, data fed into FPGA is accompanied by its valid signal so that the FPGA know when to process the received data. Since the FPGA board in the SDR platform requires only one 32-bit data bus: 16 higher bits for real part and 16 lower bits for imaginary part, data format alignment between PC and FPGA is necessary. An example of host PC to FPGA interface alignment is shown in Figure 14. After a frame is composed, the PC to FPGA alignment block converts every data bit into a 16-bit integer (higher 16 bits) and companied by lower 16 bits containing the valid bit. Then the data and valid bits are combined to a complex signal that is compatible with FPGA bus. Similarly, we split the data and valid signal in FPGA for the purpose of signal processing and computation. When FPGA finishes its task, it is also required to align the format of data and valid signal to fit the bus. An example of FPGA to PC format aligning is shown in Figure 15.

2169-3536 (c) 2016 IEEE. Translations and content mining are permitted for academic research only. Personal use is also permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2017.2692764, IEEE Access

7

 

 

     

   

 !!""" ## $%&""" '' 

    

Figure 14.

Example of PC-FPGA format aligning for PC to FPGA

 

   

Figure 16.

Real time transmission scenario and result





Figure 15.

 

Example of PC-FPGA format aligning for FPGA to PC

C. Data Representation After the Viterbi decoder finishes decoding, the decoded frame data will be sent to the dataframer block, as shown in Figure 12 (b). It receives the streaming data coming out of the FPGA and reframes the data. This block processes the decoded data only when it is indicated that the data is valid. Then in data print block (also shown in Figure 12 (b)), the pilot and 69 bits redundancy are discarded and every 7 bits in the payload will be converted to a corresponding ASCII symbol. While the simulation is running, the data print block also compares the received and expected payload bits to compute accumulative bit error rate. V. I MPLEMENTATION R ESULTS To implement all the signal processing units on FPGA and run the prototype communication system, we utilize the Workflow Advisor in Simulink [25]. It helps generate the HDL code of our design and corresponding FPGA bit file so that all the computational units of Tx and Rx can be targeted onto FPGA. As described earlier, the Simulink models of retargeted transmitter and receiver are shown in Figure 11 and 12 respectively. Since our design is aimed to transmit and receive signals in all directions, an omni directional antenna is selected. In this paper, each SDR platform consists of an FPGA board (ZedBoard), an AD9361/9364 RF transceiver and an omni directional antenna. The center frequency of each SDR platform is 2.4 GHz (tunable from 70 MHz to 6.0 GHz) and baseband sample rate is 245.76 KHz (tunable from 200 KHz to 56 MHz). The host PC and SDR platforms are connect through CAT-5 Ethernet cable. Both Tx and Rx of the SDR hardware are shown in Figure 16. When running the targeted models of both Tx and Rx, the data are first generated by the PC, sent to Tx, processed in the FPGA board of Tx and transmitted over the air. Then the received signal at Rx are processed in the FPGA board and sent back to PC. The translated messages are displayed on screen. The average bit error rate (BER) is also displayed on screen every 50 frames while the BER itself is always

calculated cumulatively. The SDR platform and its real time implementation results are demonstrated in Figure 16. To examine the performance of our implementation, when we run the communication system and perform over-the-air transmission, 100,000 frames are transmitted (105 bits payload data per frame, roughly 10 million bits in total) and the cumulative BER is located between 3 ∗ 10−4 and 3.5 ∗ 10−4 . The experimental results are satisfactory and match with the BER performance at 10dB SNR in the simulation. VI. C ONCLUSION In this paper, a model-based design of a complete communication system with channel coding is presented and all computational units of the system are implemented on an FPGA-based SDR platform. All the units within our design are modular and can be modified by users as long as the dataflow and interface are aligned with corresponding FPGA board. The performance of the model-based design is evaluated through simulations and also demonstrated by over-the-air transmission using the SDR hardware. VII. ACKNOWLEDGEMENT We would like to thank The Mathworks, Inc. for their generous technical support and Dr. Yanjie Peng for his assistance during this research . R EFERENCES [1] R. W. Stewart, L. Crockett, D. Atkinson, K. Barlee, D. Crawford, I. Chalmers, M. McLernon, and E. Sozer, “A low-cost desktop software defined radio design environment using matlab, simulink, and the rtlsdr,” IEEE Communications Magazine, vol. 53, no. 9, pp. 64–71, 2015. [2] R. W. Stewart, K. W. Barlee, D. S. Atkinson, and L. H. Crockett, Software Defined Radio using MATLAB & Simulink and the RTL-SDR. Strathclyde Academic Media, 2015. [3] E. Grayver, Implementing software defined radio. Springer Science & Business Media, 2012. [4] L. Goeller and D. Tate, “A technical review of software defined radios: Vision, reality, and current status,” in Military Communications Conference (MILCOM), 2014 IEEE. IEEE, 2014, pp. 1466–1470. [5] J. Mitola, “The software radio architecture,” IEEE Communications magazine, vol. 33, no. 5, pp. 26–38, 1995. [6] M. Ahmadian, Z. Nazari, N. Nakhaee, and Z. Kostic, “Model based design and sdr,” in DSPenabledRadio, 2005. The 2nd IEE/EURASIP Conference on (Ref. No. 2005/11086). IET, 2005, pp. 8–pp.

2169-3536 (c) 2016 IEEE. Translations and content mining are permitted for academic research only. Personal use is also permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2017.2692764, IEEE Access

8

[7] M. Sruthi, M. Abirami, A. Manikkoth, R. Gandhiraj, and K. Soman, “Low cost digital transceiver design for software defined radio using rtl-sdr,” in Automation, Computing, Communication, Control and Compressed Sensing (iMac4s), 2013 International Multi-Conference on. IEEE, 2013, pp. 852–855. [8] M. Petrova, A. Achtzehn, and P. Máhónen, “System-oriented communications engineering curriculum: teaching design concepts with sdr platforms,” IEEE Communications Magazine, vol. 52, no. 5, pp. 202– 209, 2014. [9] S. G. Bilén, A. M. Wyglinski, C. R. Anderson, T. Cooklev, C. Dietrich, B. Farhang-Boroujeny, J. V. Urbina, S. H. Edwards, and J. H. Reed, “Software-defined radio: a new paradigm for integrated curriculum delivery,” IEEE Communications Magazine, vol. 52, no. 5, pp. 184–193, 2014.

Xin Cai was with School of Telecommunications Engineering, State Key Lab. of ISN, Xidian University, China. He is currently working towards a Ph.D Degree at Worcester Polytechnic Institute. Research interests include information theory, channel coding and MIMO system.

[10] S. B. Junior, V. C. de Oliveira, and G. B. Junior, “Software defined radio implementation of a qpsk modulator/demodulator in an extensive hardware platform based on fpgas xilinx zynq,” Journal of Computer Science, vol. 11, no. 4, p. 598, 2015. [11] R. M. Ferreira, A. Shahpari, F. P. Guiomar, S. B. Amado, M. Drummond, J. D. Reis, A. N. Pinto, and A. L. Teixeira, “Hardware optimization for carrier recovery based on mth power schemes,” in Optical Fiber Communications Conference and Exhibition (OFC), 2016. IEEE, 2016, pp. 1–3. [12] N. J. Gaurihar, I. R. Khadse, T. S. Ghonade, A. Borkar, A. Singh, and M. M. Patil, “Design and implementation of ldpc codes and turbo codes using fpga,” 2016.

Mingda Zhou received his M.S. degree at Worcester Polytechnic Institute in 2015 and B.S degree in Xi’an Jiaotong University in 2013. He is currently working towards a Ph.D Degree at Worcester Polytechnic Institute. His research interests include wireless communication, MIMO system and FPGA implementation.

[13] D. Kuswidiastuti, S. Suwadi, T. Suryani, and D. Elvia, “Implementation and performance analysis of convolution codeon warp (wireless open access research platform),” JAVA Journal of Electrical and Electronics Engineering, vol. 13, no. 1, 2016. [14] K. Kintali and Y. Gu, “Model-based design with simulink, hdl coder, and xilinx system generator for dsp,” Mathworks White Paper 92077V00, 2012. [15] I. Berenguer, M. Palazzi, O. Bastidas-Garcia, L. Bonizec, and Y. Rasse, “Efficient vlsi design of a pulse shaping filter and dac interface for w-cdma transmission,” in SOC Conference, 2003. Proceedings. IEEE International [Systems-on-Chip]. IEEE, 2003, pp. 373–376. [16] R. Schmogrow, S. Ben-Ezra, P. C. Schindler, B. Nebendahl, C. Koos, W. Freude, and J. Leuthold, “Pulse-shaping with digital, electrical, and optical filters¡a a comparison,” Journal of Lightwave Technology, vol. 31, no. 15, pp. 2570–2577, 2013.

Xinming Huang (M’01–SM’09) received the Ph.D. degree in electrical engineering from Virginia Tech in 2001. He is currently a Professor in the Department of Electrical and Computer Engineering at Worcester Polytechnic Institute (WPI). Previously he was a Member of Technical Staff with the wireless advanced technology laboratory, Bell Labs of Lucent Technologies, from 2001 to 2003. His research interests are in the areas of circuits and systems, with emphasis on reconfigurable computing, wireless communications, information security, computer vision, and machine learning.

[17] C. R. Johnson Jr, W. A. Sethares, and A. G. Klein, Software receiver design: build your own digital communication system in five easy steps. Cambridge University Press, 2011. [18] M. Luise and R. Reggiannini, “Carrier frequency recovery in alldigital modems for burst-mode transmissions,” IEEE Transactions on Communications, vol. 43, no. 2, 3, 4, pp. 1169–1178, 1995. [19] M. Rice, Digital communications: a discrete-time approach. Education India, 2009.

Pearson

[20] W. Gappmair, S. Cioni, G. E. Corazza, and O. Koudelka, “A novel approach for symbol timing estimation based on the extended zerocrossing property,” in Advanced Satellite Multimedia Systems Conference and the 13th Signal Processing for Space Communications Workshop (ASMS/SPSC), 2014 7th. IEEE, 2014, pp. 59–65. [21] U. Mengali, Synchronization techniques for digital receivers. Springer Science & Business Media, 2013. [22] M. A. Hossain, M. S. Islam, and M. S. Ali, “Performance analysis of barker code based on their correlation property in multiuser environment,” International Journal of Information Sciences and Techniques (IJIST), vol. 2, no. 1, 2012. [23] E. Hosseini and E. Perrins, “Timing, carrier, and frame synchronization of burst-mode cpm,” IEEE Transactions on Communications, vol. 61, no. 12, pp. 5125–5138, 2013. [24] S. B. Wicker, Error control systems for digital communication and storage. Prentice hall Englewood Cliffs, 1995, vol. 1. [25] “Basic hdl code generation with the workflow advisor.” [Online]. Available: https://www.mathworks.com/help/hdlcoder/examples/basichdl-code-generation-with-the-workflow-advisor.html

2169-3536 (c) 2016 IEEE. Translations and content mining are permitted for academic research only. Personal use is also permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

Suggest Documents