research article fpga-based implementation of all-digital ...external phase noise and internal phase...
TRANSCRIPT
-
Research ArticleFPGA-Based Implementation of All-Digital QPSKCarrier Recovery Loop Combining Costas Loop andMaximum Likelihood Frequency Estimator
Kaiyu Wang, Zhiming Song, Xianwei Qi, Qingxin Yan, and Zhenan Tang
Dalian Institute of Semiconductor Technology and School of Electronic Science and Technology,Dalian University of Technology, Dalian 116023, China
Correspondence should be addressed to Zhenan Tang; [email protected]
Received 27 June 2014; Revised 3 August 2014; Accepted 6 August 2014; Published 31 August 2014
Academic Editor: Nadia Nedjah
Copyright ยฉ 2014 Kaiyu Wang et al. This is an open access article distributed under the Creative Commons Attribution License,which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
This paper presents an efficient all digital carrier recovery loop (ADCRL) for quadrature phase shift keying (QPSK). The ADCRLcombines classic closed-loop carrier recovery circuit, all digital Costas loop (ADCOL), with frequency feedward loop, maximumlikelihood frequency estimator (MLFE) so as to make the best use of the advantages of the two types of carrier recovery loops andobtain amore robust performance in the procedure of carrier recovery. Besides, considering that, forMLFE, the accurate estimationof frequency offset is associated with the linear characteristic of its frequency discriminator (FD), the Coordinate Rotation DigitalComputer (CORDIC) algorithm is introduced into the FD based onMLFE to unwrap linearly phase difference.The frequency offsetcontained within the phase difference unwrapped is estimated by the MLFE implemented just using some shifter and multiply-accumulate units to assist the ADCOL to lock quickly and precisely. The joint simulation results of ModelSim and MATLAB showthat the performances of the proposed ADCRL in locked-in time and range are superior to those of the ADCOL. On the otherhand, a systematic design procedure based on FPGA for the proposed ADCRL is also presented.
1. Introduction
Along with the continuous development of the technologiesof field programmable logic gate array (FPGA) and digitalsignal processing, the FPGAs in possession of large capacityand low power dissipation make it possible to realize a truesoftware defined radio and integrate a whole digital commu-nication system into the chips in order to reconfigure flex-ibly the continuously evolving communication protocolsand minimize the volume of spacecraft. A typical exampleapplying the software defined radio (SDR) based on FPGAto deep space communication is the National Aeronauticand Space Administration (NASA) Electra radio, in whichthe baseband processing is entirely implemented in a FPGA.Virtually any channel code, modulation, and data ratemay beaccommodated via suitable reprogramming of this SDR [1].
In communication system, the style of modulation anddemodulation plays an important role and directly influencesthe performance of the system. However, in deep space com-munication, both power efficiency and bandwidth efficiency
of a communication system should be simultaneously consid-ered. Therefore, the modulation and demodulation methodof QPSK have been widely used into deep space communica-tion.With respect toQPSK demodulator, there are two differ-ent solutions to demodulate. They are noncoherent demod-ulation and coherent demodulation, respectively. Comparedwith noncoherent demodulation, coherent demodulation canbe implemented in a simpler structure so as to save thelogic resources of FPGA. Hence, this paper takes the QPSKcoherent demodulator as the object of our study.
In QPSK coherent demodulator, a special phase-lockedloop (PLL), namely, Costas loop, is used to synchronize thelocally generated carrier with the carrier contained in thereceived input buried by external noise. It is well knownthat the PLL has an outstanding ability to restrain noiseas a result of its narrow-band characteristic. Therefore, itcan precisely realize carrier tracking. Nonetheless, in thedesign procedure of the PLL, the pair of contradictionsbetween lock-in frequency range and tracking precision isalways difficult to reconcile. In particular, in deep space
Hindawi Publishing CorporationInternational Journal of Reconfigurable ComputingVolume 2014, Article ID 502942, 15 pageshttp://dx.doi.org/10.1155/2014/502942
-
2 International Journal of Reconfigurable Computing
communication, Doppler shift is common and will introducea considerable frequency offset between transmitter andreceiver. In this situation, for the PLL, to increase lock-infrequency range, loop noise bandwidth must be broadened,whereas the precise tracking of its carrier in the condition ofa relatively low signal-to-noise ratio (SNR) is dependent ona narrow loop noise bandwidth. So, a large lock-in frequencyrange (loop noise bandwidth) and a high tracking precisioncannot be simultaneously satisfied [2]. In practical designs, acompromise between them is a best choice.
Except for PLL, there are also many kinds of methodsreferred to as automatic frequency control (AFC) for carrierrecovery, such as the frequency recovery loop based onfeedback control [3] and the frequency offset estimator (FOE)based on estimation theory [4โ6]. They are usually used inburst communication where the speed of carrier recoverymust be very quick. However, a fatal flaw for these methodsis a relatively low tracking precision. Thus, in low SNR envi-ronments, they do not present a perfect performance.
To recover carrier quickly and precisely in the twosituations, a large frequency offset and a relatively low SNR,some approaches combining PLL and AFC are proposed totake advantage of their ownmerits. In [7], a kind of all-digitalphase-locked loop (ADPLL) for QPSK combining a first-order frequency recovery loop based on feedback controlwith a second-order phase-locked loop is proposed. But dueto the use of the FD in possession of a sinusoid characteristic(nonlinear characteristic), namely, the second algorithmshown in Table 1, extra noises are introduced into the loop inthe circumstance of a low SNR. On the other side, [8] appliesfast Fourier transformation (FFT) into the output of the phasediscriminator (PD) of QPSK ADCOL, to roughly estimatefrequency offset and then speed up the procedure of thecarrier recovery of the ADCOL. However, when phase offsetis considerable, its PD performs the nonlinear characteristic.On the other hand, for FFT accurate frequency estimation isproportional to the number of its points, which implies thatto estimate precisely frequency must consume many logicresources of FPGA. From the above analysis, we can see thatPD and FD also influence carrier recovery. Therefore, [9]proposes an all-digital phase-locked loop (ADPLL) takingHilbert transform andCORDIC algorithm as its PD, resultingin that the locked-in range of the ADPLL is broadened tothe sample frequency of the system (Nyquist rate). Given thatour design is to combine MLFE with QPSK ADCOL andthen use the former to roughly estimate a large frequencyoffset to assist the latter to lock quickly and precisely, whichmakes it possible for the ADCOL to operate within the linearrange of its PD, we just draw our attention to the linercharacteristic of the FD of the MLFE. Thus, a kind of FDwhich can implement frequency discrimination linearly isproposed. In other words, our proposed design considersnot only the merits of the MLFE and the ADCOL, but alsothe linear characteristic of the FD of the MLFE so thatcarrier can be recovered quickly and precisely. Furthermore,the lock-in frequency range is also broadened so that thepair of contradictions hardly reconciled for ADCOL can bealleviated. On the other hand, the whole design process of theADCRL based on FPGA presented by us will also provide a
guideline for the readers anxious to implement an excellentFPGA-based ADCRL for QPSK, which is hardly found inpublished literatures.
In the following, the design procedure of the ADCOLbased on FPGA is presented step by step. Next, our proposedthe FDof linear characteristic,MLFE based on phase domain,and the overall design of our QPSK ADCOL are describedin Section 3. In Section 4, simulation results and compara-tive analyses are given. Finally, conclusion and outlook areobtained in Section 5.
2. FPGA-Based All-Digital QPSKPhase-Locked Loop
With respect to QPSK ADCOL, there are three basic compo-nents. They are PD, loop filter, and numerical control oscilla-tion (NCO), respectively. Because it is also a kind of ADPLL,the design procedure of it is the same as the normal ADPLL.Therefore, it is indispensable to analyze the design procedureof the normal ADPLL. The normal ADPLL is derived fromthe result of digitizing analogy PLL. The analysis and designfor analogy PLL has been well known. Some monographshave discussed some analogy PLLs which have differentorders [10]. As it is sufficient for our QPSK demodulator touse a second-order ADPLL, we just discuss the digitizingprocedure of a second-order analogy PLL.
2.1. The Modeling for All-Digital Phase-Locked Loop.Figure 1(a) shows the phase domain model of a second-orderanalogy PLL. It consists of the PD modeled by a subtractorwith gain ๐๐, the loop filter which is modeled by a first-orderlow pass filter, proportion integral filter, with the ๐ -domaintransfer function ๐น(๐ ) = ๐๐(๐ )/๐๐(๐ ) = (1/๐ )((๐2๐ + 1)/๐1)to minimize the phase noise of the output of the PD, ๐๐(๐ ),and a voltage control oscillator (VCO) tuned by ๐๐(๐ ) tomake the output phase ๐๐(๐ ) closed to the input phase ๐๐(๐ ),which acts like a radian frequency integrator as a result of๐๐(๐ ) = ฮ๐ค๐ก + ฮ๐, and have the ๐ -domain transfer function๐(๐ ) = ๐๐(๐ )/๐๐(๐ ) = ๐๐/๐ .
From the above the analysis, a set of equations describingthe ๐ -domain transfer functions of the phase domain modelof a second-order analogy PLL can be obtained:
๐น (๐ ) =๐๐ (๐ )
๐๐ (๐ )=1
๐
๐2๐ + 1
๐1
, (1)
๐ (๐ ) =๐๐ (๐ )
๐๐ (๐ )=๐พ๐
๐ , (2)
๐ป(๐ ) =๐๐ (๐ )
๐๐ (๐ )=
๐พ๐๐น (๐ ) ๐ (๐ )
1 + ๐พ๐๐น (๐ ) ๐ (๐ )=
2๐๐ค๐๐ + ๐ค2
๐
๐ 2 + 2๐๐ค๐๐ + ๐ค2๐
, (3)
where๐ค๐ = โ๐๐๐๐/๐1 is natural radian frequency, ๐ = ๐2๐ค๐/2is damping factor, ๐๐ is the gain of the VCO, ๐๐ is the gainof the PD, ๐1 and ๐2 are time constants of the proportionintegral filter, and ๐ป(๐ ) is the ๐ -domain transfer function ofthe analogy PLL. Please note that the above the equationsare just reasonable on the condition that the phase difference
-
International Journal of Reconfigurable Computing 3
Phasediscriminator
Loopfilter
Voltage controloscillator
๐i(s) ฮฮฆ(s)Kd F(s)
Vd(s) Vc(s)
๐o(s)
V(s) =Kos
(a) Phase domain model of a second-order analogy PLL
Phase discriminator
Loopfilter
Numericallycontrolled oscillator
๐i(z) ฮฮฆ(z)Kd F(z)
Vd(z) Vc(z)
๐o(z)
N(z)
(b) Phase domain model of a second-order ADPLL
Figure 1: The different modes of PLL.
between ๐๐(๐ ) and ๐๐(๐ )makes it possible for the PD to workwithin its linear range.
To digitize the analogy PLL, bilinear transformationwhich is often used to digitize analogy filter [11] is adopted.Letโs set the transformation as
๐ =2
๐๐
1 โ ๐งโ1
1 + ๐งโ1, (4)
where ๐๐ is the sample time of a discrete-time system.Taking (4) into (1) and (2), then we can obtain
๐น (๐ง) =๐๐ (๐ง)
๐๐ (๐ง)= ๐ถ1 +
๐ถ2
1 โ ๐งโ1,
๐ (๐ง) =๐๐ (๐ง)
๐๐ (๐ง)=
๐๐๐งโ1
(1 โ ๐งโ1),
(5)
where ๐ถ1 = ๐2/๐1 โ ๐๐ /2๐1 and ๐ถ2 = ๐๐ /๐1.Therefore, as shown in Figure 1(b), the model of ADPLL
can be acquired. On the basis of Figure 1(b) and the two equa-tions (5); the based-model discrete-time transfer function ofthe ADPLL can be expressed as
๐ป(๐ง) =๐๐ (๐ง)
๐๐ (๐ง)
=๐๐๐๐ (๐ถ1 + ๐ถ2) ๐ง
โ1โ ๐๐๐๐๐ถ1๐ง
โ2
1 + [๐๐๐๐ (๐ถ1 + ๐ถ2) โ 2] ๐งโ1 + (1 โ ๐๐๐๐๐ถ1) ๐ง
โ2.
(6)
2.2. Parameter Calculation of All-Digital Phase-Locked Loop.Form (6), we can see that to obtain the based-model discrete-time transfer function of the ADPLL, the values of theparameters, ๐ถ1, ๐ถ2, ๐๐, and ๐๐ are needed. However, it isnot easy to calculate them after knowing about the model ofADPLL. Nonetheless, none of researches published presentthe procedure. Thus, in the following we will display how tocalculate them.
First of all, the method to acquire ๐ถ1 and ๐ถ2 is given.Equation (6) is just the ๐ง-domain transfer function based
on the model of Figure 1(b) and the two equations, (5). Onthe other hand, taking (4) into (3), and the ๐ง-domain transferfunction of the ADPLL based on bilinear transformation canbe obtained:
๐ป(๐) = ([4๐๐ค๐๐๐ + (๐ค๐๐๐ )2] + 2(๐ค๐๐๐ )
2๐งโ1
+ [(๐ค๐๐๐ )2โ 4๐๐ค๐๐๐ ] ๐ง
โ2)
ร ([4 + 4๐๐ค๐๐๐ + (๐ค๐๐๐ )2] + [2(๐ค๐๐๐ )
2โ 8] ๐ง
โ1
+ [4 + 4๐๐ค๐๐๐ + (๐ค๐๐๐ )2] ๐งโ2)โ1
.
(7)
Let us set the denominator of the two ๐ง-domain transferfunctions of the ADPLL; (6) and (7) obtained by differentmethods to be equal and the two equations about ๐ถ1 and ๐ถ2can be given:
๐ถ1 =1
๐พ๐๐พ๐
8๐๐ค๐๐๐
4 + 4๐๐ค๐๐๐ + (๐ค๐๐๐ )2โ2๐๐ค๐๐๐
๐พ๐๐พ๐
,
๐ถ2 =1
๐พ๐๐พ๐
4(๐ค๐๐๐ )2
4 + 4๐๐ค๐๐๐ + (๐ค๐๐๐ )2โ(๐ค๐๐๐ )
2
๐พ๐๐พ๐
,
(8)
where the two approximations are just true when ๐ค๐๐๐ โช1. Namely, assuming that the PD of ADPLL lies in itslinear operation range and for ADPLL the characteristic offrequency response is within the range of its passband.
Secondly, on the basis of [12], when ๐ = 0.707, second-order PLL can meet the optimal value of Wiener theory. Sowe can get that ๐ = 0.707.
The third step is to determine ๐ค๐.
-
4 International Journal of Reconfigurable Computing
For PLL, the natural radian frequency ๐ค๐ determineslocked-in frequency range and the performance of sup-pressing noise. The pair of contradictions between locked-in frequency range (loop noise bandwidth) and trackingprecision stem from it.
In the following, we are going to discuss the range of๐ค๐ from the two aspects, fast capture bandwidth of ADPLL,and its loop SNR, so as to make a compromise between thelocked-in range and the tracking precision.
In the case of ADPLL, there are two kinds of noises,external phase noise and internal phase noise. The externalnoise caused by additive white Gaussian noise (AWGN) isa main part which has an influence on the performance ofthe ADPLL, and the internal noise caused by the finite wordlength effect can be improved by the reasonable selection ofword length. Herein, the impact on the selection of ๐ค๐ isexternal phase noise. Thus, we just take it into consideration.
The channel of deep-space communication is quitebenign, with AWGN being the dominating impairment [1],and thus the phase noise of ADPLL caused by AWGN can begiven by [13]
๐๐2= (
๐
๐)๐
โ1๐ต๐ฟ
๐ต๐
, (9)
where ๐ต๐ is the bandwidth of input signal of the ADPLL,(๐/๐)๐ is its input SNR, and ๐ต๐ฟ is loop noise bandwidth.
For the second-order ADPLL taking proportion integralfilter as its loop filter, ๐ต๐ฟ can be expressed as
๐ต๐ฟ =๐ค๐
8๐(1 + 4๐
2) . (10)
For ADPLL, the ability to suppress noise can be reflectedby the loop SNR:
(๐
๐)๐ฟ
=1
๐๐2= (
๐
๐)๐
๐ต๐
๐ต๐ฟ
. (11)
It determines the size of phase jitter. The result of linearanalysis [14] manifests that PLL cannot work normally until(๐/๐)๐ฟ โฅ 6๐๐ต.
Taking (10) into (11) and considering that ADPLL canoperate normally, the upper bound of ๐ค๐ can be expressedas
๐ค๐ โค (๐
๐)๐
4๐๐ต๐
(1 + 4๐2) 3. (12)
The tracking procedure of ADPLL contains frequencytracking and phase tracking, and the former needs longertime than the latter. In design of our ADCRL, however, wefirstly use maximum likelihood frequency offset estimator(MLFOE) to assist ADCOL to implement frequency trackingin that for MLFOE the speed of tracking a large frequencyoffset is superior to ADCOL.Therefore, we just take the phasetracking into consideration in the procedure of designing ourADCOL. In the case of ADPLL, the fast capture bandwidthis defined as the largest frequency offset which ensures that
ADPLL can be locked in the procedure of the phase tracking.It can be expressed as
ฮ๐ค๐ = 2๐๐ค๐. (13)
To meet the frequency tracking in the presence withoutthe assistance of the MLFOE, the lower bound of ๐ค๐ is givenby
๐ค๐ โฅฮ๐ค๐
2๐. (14)
Thus, from (12) and (14), we can get acquire the range of ๐ค๐:
ฮ๐ค๐
2๐โค ๐ค๐ โค (
๐
๐)๐
4๐๐ต๐
(1 + 4๐2) 3. (15)
Until now, except for ๐พ๐ and ๐พ๐, the parameters neededfor calculating๐ถ1 and๐ถ2 have been acquired. Because the๐พ๐and๐พ๐ are associated with some practical system parameters,we will discuss about them in the following.
2.3. Parameter Calculation of All-Digital QPSK Phase-LockedLoop Based on FPGA. In the above discussions, we haveobtained the corresponding parameters for a normal ADPLL.But, as mentioned at the beginning of Section 2, QPSKADCOL is also a kind of ADPLL. Thus, the above methodsare suitable for QPSK ADCOL.
As shown in Figure 2, QPSK ADCOL is comprised ofthe PD covered by the shaded area, loop filter surroundedby dashed line, and numerically controlled oscillator (NCO).Now, based on Figure 2, we begin to discuss how to obtain๐พ๐and๐พ๐.
First of all, the analogy-digital converter (ADC) shownin Figure 2 samples the modulated signals from transmitterRXIN(๐ก) and acquires a series of discrete-time signals sam-pled RXIN(๐พ๐๐ ):
RXIN (๐๐๐ ) =๐
โ
๐=0
๐ผ (๐๐๐ ) cos (๐ค๐๐๐๐ + ๐๐)
+ ๐ (๐๐๐ ) sin (๐ค๐๐๐๐ + ๐๐) ,
(16)
where ๐ค๐ is the radian frequency of the signals sampled, ๐๐is their initial phase, and ๐ผ(๐๐๐ ) and ๐(๐๐๐ ) are the QPSKsignals evaluated as ยฑ1 in our design.
Secondly, the signals RXIN(๐พ๐๐ ) are mixed with the twooutputs of the NCO and then filtered to eliminate the doublefrequency components generated by the mixing. The twosignals filtered can be expressed as
upper branch (in-phase branch):
๐ผ๐ (๐๐๐ ) =1
2
๐
โ
๐=0
๐ผ๐ (๐๐๐ ) cos (ฮ๐ค๐๐๐ + ฮ๐)
โ ๐๐ (๐๐๐ ) sin (ฮ๐ค๐๐๐ + ฮ๐) ;
(17)
-
International Journal of Reconfigurable Computing 5
ADC
Low pass filter
Low pass filter
Reg
RegNumerically controlledoscillator
Frequency control word
0
1
Shifter
Shifter
8
8
8
8
16
16 32
32
32
32
32
32
MSB 1
MSB 1
Modulated signal
from transmitter
0
1
Quadrature branch
In-phase branch
C1
C2
ud
รโ1
รโ1
Figure 2: Structure diagram of QPSK all-digital phase-locked loop.
bottom branch (quadrature branch):
๐๐ (๐๐๐ ) =1
2
๐
โ
๐=0
๐ผ๐ (๐๐๐ ) cos (ฮ๐ค๐๐๐ + ฮ๐)
+ ๐๐ (๐๐๐ ) sin (ฮ๐ค๐๐๐ + ฮ๐) ,
(18)
where ฮ๐ค is the radian frequency difference between signalssampled and the two outputs of the NCO and ฮ๐ is theirinitial phase difference.
Finally, the function of the PD of the QPSK ADCOL isimplemented by the following:
๐ข๐ (๐๐)= sign (๐ผ๐ (๐๐๐ )) ๐๐ (๐๐๐ ) โ sign (๐๐ (๐๐๐ )) ๐ผ๐ (๐๐๐ ) .(19)
Herein, to save hardware resources of FPGA, the signdecision and the multiplication operation within (19) arereplaced by a multiplexer controlled by the most significantbit (MSB) of the outputs of the two low pass filtersand aninverter shown in Figure 2 (because the outputs of the twolow pass filters are signed numbers). Therefore, the outputcharacteristic of the PD can be obtained:
๐ข๐ (๐พ๐)
=
{{{{{{{{{{{{
{{{{{{{{{{{{
{
โ sin (ฮ๐ค๐พ๐๐ + ฮ๐) โ๐ < ฮ๐ค๐พ๐๐ + ฮ๐ < โ3
4๐
cos (ฮ๐ค๐พ๐๐ + ฮ๐) โ3
4๐ < ฮ๐ค๐พ๐๐ + ฮ๐ < โ
๐
4
sin (ฮ๐ค๐พ๐๐ + ฮ๐) โ๐
4< ฮ๐ค๐พ๐๐ + ฮ๐ <
๐
4
โ cos (ฮ๐ค๐พ๐๐ + ฮ๐)๐
4< ฮ๐ค๐พ๐๐ + ฮ๐ <
3
4๐
โ sin (ฮ๐ค๐พ๐๐ + ฮ๐)3
4๐ < ฮ๐ค๐พ๐๐ + ฮ๐ < ๐.
(20)
0
0
0.2
0.4
0.6
0.8
Phase offset (radian)
Out
put a
mpl
itude
(V)
โ๐ โ3๐/4 โ๐/4 ๐/4 3๐/4 ๐
โ0.2
โ0.4
โ0.6
โ0.8
Figure 3: Phase offset versus output voltage amplitude of PD.
Based on (20), the output characteristics curve of the PDcan be obtain and shown in Figure 3. From Figure 3 we cansee that only if the phase offset is within the linear range ofthe PD (โ๐/4 โผ ๐/4), the gain ๐พ๐ of the PD approximatesto 1, namely, the slope of the curve. So this is also one reasonwhy we use MLFE to assist QPSK ADCOL to recover carrierquickly and precisely.
Next, we start with discussing the gain ๐พ๐ of the NCO.In [15], the authors implement NCO on a Xilinx FPGA in
three types of ways, and the conclusion that themethod basedon Xilinx ROM is superior to the other two is acquired.Thus,we select themethod based on Xilinx ROM to implement ourNCO [16].
On the basis of the principle of NCO, the frequency of itsoutput signal can be expressed as
๐out =๐๐
2๐๐คฮ๐ (๐พ๐๐ ) , (21)
where ๐๐ = 1/๐๐ is sample frequency, ๐ฮ๐(๐พ๐๐ ) is frequency
control word, and ๐ is the bit width of the input signal of
-
6 International Journal of Reconfigurable Computing
0 5 10 15
0
10M
agni
tude
(dB)
โ10
โ20
ร105Natural radian frequency wn (Hz)
(a) Frequency response characteristic
0 5 10 15
0
Phas
e (de
g)
โ50
โ100
ร105Natural radian frequency wn (Hz)
(b) Phase response characteristic
Figure 4: QPSK ADCOL characteristic curve.
NCO. In our design,๐ฮ๐(๐พ๐๐ ) = ๐๐+๐๐ข๐, where๐๐ is a given
value determined by carrier frequency, and its block diagramnamed as frequency controlword can be seen in Figure 2;๐๐ข๐is the output of the loop filter that is tuned by the frequencyoffset between transmitter and receiver.
So the radian frequency of NCO is given as
๐out = 2๐๐out =2๐๐๐
2๐๐ฮ๐(๐พ๐
๐ ). (22)
On the basis of themodel of ADPLL shown in Figure 1(b),NCO is equivalent to a radian frequency integrator. So theoutput phase of NCO is given as
๐out =2๐๐๐ ๐๐
2๐๐ฮ๐(๐พ๐
๐ ), (23)
where ๐๐ is the update period of the frequency control word๐ฮ๐(๐พ๐
๐ ), namely, the sample period of the output of loop filter
๐๐ข๐, and is often set to be 8๐๐ .Therefore, the gain ๐พ๐ of our NCO is given by
๐พ๐ =2๐๐๐
2๐8๐๐ =
2๐
2๐โ3. (24)
So far, we have obtained all methods to calculate theparameters of the QPSKADCOL, whereas wemust note that,in our QPSK ADCOL based on FPGA shown in Figure 2, anextra gain will be introduced as the result of the changes ofthe bit width between the inputs and outputs of the differentmodules. Regardless of the sign bit, the bit width of the inputsof the two multipliers is 7, and the bit width of their outputsis 15. The bit width of the inputs of the two low pass filtersis 15, and the bit width of their outputs is 31. Thus the gainof the two multipliers is 215โ7 = 28, and the gain of the twolow pass filters is 231โ15 = 216. The rest of the parts showed inFigure 2 have no change in bit width between their inputs andoutputs. Therefore, the gain from the changes of bit width is28+16
= 224, and (8) should be rectified as
๐ถ1 =1
๐๐๐๐224
8๐๐ค๐๐๐
4 + 4๐๐ค๐๐๐ + (๐ค๐๐๐ )2โ2๐๐ค๐๐๐
๐๐๐๐224,
๐ถ1 =1
๐๐๐๐224
4(๐ค๐๐๐ )2
4 + 4๐๐ค๐๐๐ + (๐ค๐๐๐ )2โ(๐ค๐๐๐ )
2
๐๐๐๐224.
(25)
On the basis of the core idea of software defined radio,the parts of digital signal processing should be closed tothe front end of radio frequency (RF) as much as possible.Therefore, we make our QPSK ADCOL operate in inter-mediate frequency (IF), namely, the ADC sample frequency๐๐ = 26MHZ and carrier frequency (the output frequency ofNCO) ๐๐ = 4MHZ.
On the other hand, To ensure that our QPSKADCOL cannormally operate under the conditions of a large frequencyoffset and a low SNR, let us set the fast capture bandwidthฮ๐ค๐ to be 100KHZ the least, and the input SNR (๐/๐) to be1 dB. We have known that the gain of PD is ๐พ๐ = 1, and thedamping factor is ๐ โ 0.707. To decrease internal phase noisecaused by word length effect, we set the bit width of inputsignal of NCO to be ๐ = 32. Therefore, based on (15), (24),and (25), the range of the natural radian frequency๐ค๐ can beobtained and the one of the values is chosen as
๐ค๐ = 2๐ ร 150 ร 103= 0.942 ร 10
6(rad/s) . (26)
Next, take๐พ๐๐พ๐224, (25), and (26) into (6), we can obtain
themodel-based discrete-time transfer function of ourQPSKADCOL:
๐ป(๐ง) =0.053๐ง
โ1โ 0.051๐ง
โ2
1 โ 1.947๐งโ1 + 0.949๐งโ2. (27)
From (27), the poles of our QPSK ADCOL can beobtained. They are 0.973 ยฑ 0.036๐. Based on the theory of thestability of discrete system, the system is stable if all poles arelocated inside the unit circle. Therefore, our QPSK ADCOLis stable.
Now, the frequency response characteristic and phaseresponse characteristic of ourQPSKADCOL can be acquiredand shown in Figures 4(a) and 4(b), respectively.
From Figures 4(a) and 4(b), we can see that when samplefrequency is 26MHZ, the passband of our QPSK ADCOLranges from 0 to 200KHZ (namely, ๐ค๐๐๐ โช 1 is true)and its margin of phase is 120 degree below. Thus, this alsoindicates that our QPSK ADCOL meets the conditions ofthe stability of negative feedback control system. What ismore, Figure 4(a) also displays that QPSK ADCOL is of theproperty of low pass.
-
International Journal of Reconfigurable Computing 7
CORDICCORE
Maximum likelihood frequency estimator
Frequency discriminator
Qn(KTs)
In(KTs)
ร2
ร2
ร4
รโ1 Arctan (x) fฬโฮ
k
โn=0
cos(4ฮwnTs + 4ฮ๐)k
โn=0
(4ฮwnTs + 4ฮ๐)
k
โn=0
sin(4ฮwnTs + 4ฮ๐)
Figure 5: The block diagram of the FD and MLFE (MLFOE).
Table 1: Two kinds of typical frequency discriminators.
The algorithm used Frequency offset output Output characteristic Hardware complexitysig(โdot) ร โcross(๐ โ 1)๐๐ โ ๐๐๐
sin[2(๐๐โ1 โ ๐๐)](๐ โ 1)๐๐ โ ๐๐๐
Nonlinear Moderate
cross(๐ โ 1)๐๐ โ ๐๐๐
sin(๐๐โ1 โ ๐๐)(๐ โ 1)๐๐ โ ๐๐๐
Nonlinear Simpleโdot = ๐ผ๐(๐พ๐๐ ) ร ๐ผ๐((๐พ โ 1)๐๐ ) โ ๐๐(๐พ๐๐ ) ร ๐๐((๐พ โ 1)๐๐ ).โcross = ๐ผ๐(๐พ๐๐ ) ร ๐๐((๐พ โ 1)๐๐ ) โ ๐ผ๐((๐พ โ 1)๐๐ ) ร ๐๐(๐พ๐๐ ).
3. The Design of Phase Domain MaximumLikelihood Frequency Estimator and ItsFrequency Discriminator
3.1. The Frequency Discriminator of the Linear Characteris-tic. To use MLFE to obtain an accurate frequency offset,the performance of its FD is a key factor which must beconsidered. Two kinds of FDs used widely are summarizedin Table 1 [17]. From Table 1, we can see that they are allof nonlinear characteristic. Because in the case of sin(ฮ๐),sin(ฮ๐) โ ฮ๐ is true only if ฮ๐ varies within a small range.However, in deep space communication (or in the conditionthat a large Doppler shift is common), the approximation ishardly possible. On the other hand, to discriminate phaseoffset, the dot product and cross-product from two samplepoints separated by a sample interval must be conducted,and their results divide by the sample interval (๐ = ๐ค๐ก =2๐๐๐ก, namely, ๐ = ๐/2๐๐ก).
Therefore, we introduce a kind of FD in possession of lin-ear characteristic and the ability to acquire the correspondingsignals of ourADCOL so as to transform them into the inputsof theMLFE. Its block diagram surrounded by the dashed lineis shown in Figure 5.
FromFigure 5, we can see that after a series of transforma-tions for the two equations, (17) and (18), the two signals of thefront end of the CORDIC algorithm block can be obtained.They are
cos (4ฮ๐ค๐พ๐๐ + 4ฮ๐) = cos (4 (2๐ฮ๐๐พ๐๐ + ฮ๐)) ,
sin (4ฮ๐ค๐พ๐๐ + 4ฮ๐) = sin (4 (2๐ฮ๐๐พ๐๐ + ฮ๐)) .(28)
Feed them into the CORDIC algorithm blockwhich implements the algorithm tanโ1(sin(4ฮ๐ค๐พ๐๐ +4ฮ๐)/ cos(4ฮ๐ค๐พ๐๐ + 4ฮ๐)), and the phase offset4ฮ๐ค๐พ๐๐ + 4ฮ๐ = 4(2๐ฮ๐๐พ๐๐ + ฮ๐) can be acquired.After that, the MLFE will be used to estimate the frequencyoffset ฮ๐. It is clear that this is a procedure of resolvinglinearly frequency offset. Because the CORDIC algorithmcan easily be implemented on FPGA just using snifters andadd operations [18], we just discuss about how to implementMLFE on FPGA using as few logic resources as possible.
3.2. Phase Domain Maximum Likelihood Frequency Estima-tion Algorithm. In the case of the FD shown in Figure 5,a mapping transformation from Cartesian domain to phasedomain can be realized by CORDIC core and expressed as
๐ฅ =
{{{{{{{
{{{{{{{
{
arctan(๐๐
๐ผ๐
) ๐ผ๐ > 0
arctan(๐๐
๐ผ๐
) โ ๐ ๐๐ < 0, ๐ผ๐ โค 0
arctan(๐๐
๐ผ๐
) + ๐ ๐๐ > 0, ๐ผ๐ โค 0,
(29)
where ๐ผ๐ = cos(4ฮ๐ค๐พ๐๐ +4ฮ๐) and๐๐ = sin(4ฮ๐ค๐พ๐๐ +4ฮ๐).๐ฅ๐ is the discrete phase of ๐th sample point. The amendmentof ยฑ๐ is due to that the output range of our CORDIC core iswithin (โ๐ โผ ๐).
To useMLFE for estimating frequency offset, we first needto obtain the discrete phases of๐ continuous sample points(๐ฅ๐, 0 โค ๐ โค ๐ โ 1) and then take the first sample point ๐ฅ0
-
8 International Journal of Reconfigurable Computing
as initial reference point to obtain๐ absolute phases, whichcan be expressed as
๐ฅ๐ = ๐ฅ๐โ1 +
{{
{{
{
๐ฅ๐ โ ๐ฅ๐โ1๐ฅ๐ โ ๐ฅ๐โ1
< ๐
๐ฅ๐ โ ๐ฅ๐โ1 + 2๐ ๐ฅ๐ โ ๐ฅ๐โ1 < โ๐
๐ฅ๐ โ ๐ฅ๐โ1 โ 2๐ ๐ฅ๐ โ ๐ฅ๐โ1 > ๐
1 โค ๐ < ๐, ๐ฅ0 = ๐ฅ0,
(30)
where ๐ฅ๐ (the output of our CORDIC core) is the discretephase of ๐th sample point, and it ranges from โ๐ to ๐. ๐ฅ๐ isan absolute phase of ๐th sample point, which takes ๐ฅ0 as thepoint of reference, and has no the limitation of phase rangingfrom โ๐ to ๐. The amendment of ยฑ2๐ is due to the phasedifference between the (๐ โ 1)th sample point, ๐ฅ๐โ1, and the๐th, ๐ฅ๐, crosses over a cycle (2๐) of the outputof our CORDICcore.
After that, a recursive formula of the ๐ absolute phasescan be obtained:
๐ฅ๐ = 4 ร (2๐๐พ๐๐ ฮ๐ + ฮ๐ + ๐๐) 0 โค ๐พ โค ๐ โ 1, (31)
where ๐๐ is the phase noise caused by AWGN (for the sakeof simplicity, we neglect it in (16), (17), (18), and (28)), ๐๐ is the sample frequency, ฮ๐ is the frequency offset betweenthe output of the NCO and the modulated signal fromtransmitter, and ฮ๐ is initial phase difference of the twosignals. When SNR is as low as 10 dB, numerical results havebeen demonstrated that ๐๐ can be considered as the Gaussianapproximation accurate which has a zero mean and variance๐2 [19].Letโs set 2๐๐พ๐๐ ฮ๐ + ฮ๐ + ๐๐ to be ๐ง๐, namely,
๐ง๐ = 2๐๐พ๐๐ ฮ๐ + ฮ๐ + ๐๐ 0 โค ๐ โค ๐ โ 1. (32)
Equation (35) can be also written in vector form:
๐ = ฮ๐2๐๐๐ ๐ผ + ฮ๐๐ฝ + ๐, (33)
where
๐ =
[[[[[[
[
๐ง0๐ง1...
๐ง๐โ2๐ง๐โ1
]]]]]]
]
= ฮ๐2๐๐๐
[[[[[[
[
0
1
...๐โ 2
๐ โ 1
]]]]]]
]
+ ฮ๐
[[[[[
[
1
1
1
1
1
]]]]]
]
+
[[[[[[
[
๐0๐1...
๐๐โ2๐๐โ1
]]]]]]
]
.
(34)
Consequently, ๐ is a Gaussian random vector with probabil-ity density function:
๐๐ง (๐) =1
โ(2๐)๐๐๐
exp[โ๐ โ ฮ๐2๐๐๐ ๐ผ โ ฮ๐๐ฝ
2
2๐2] ,
(35)
where โ โ โ2 = (๐ โ ฮ๐2๐๐๐ ๐ผ โ ฮ๐๐ฝ)๐(๐ โ ฮ๐2๐๐๐ ๐ผ โ ฮ๐๐ฝ).
The maximum likelihood estimators ฮ๐ and ฮ๐ can beobtained by equating the gradientโฮ๐,ฮ๐ log๐๐ง(๐ง) to zero andsolving a two-dimensional linear system:
ฮ๐(๐ง) =12
2๐๐๐ (๐ โ 1)๐ (๐ + 1)๐น๐๐, (36)
๐ (๐ง) =6
๐ (๐ + 1)ฮ๐๐, (37)
where
๐ =
[[[[[[
[
๐ง0๐ง1...
๐ง๐โ2๐ง๐โ1
]]]]]]
]
, ๐น =
[[[[[[[[[[[[[
[
โ๐ โ 1
2
โ๐ โ 1
2+ 1
...๐โ 1
2โ 1
๐ โ 1
2
]]]]]]]]]]]]]
]
,
ฮ =
[[[[[[[[[[[[[
[
2๐ โ 1
32๐ โ 1
3โ 1
...2๐ โ 1
3โ (๐ โ 2)
2๐ โ 1
3โ (๐ โ 1)
]]]]]]]]]]]]]
]
.
(38)
The maximum likelihood estimators in (36) and (37)are minimum variance unbiased estimations achieving theCramer Rao Bound [19, 20]. On the other side, the higher theestimation accuracy is, the larger the sample points ๐ andSNR are.
Please note that (31) is 4๐๐. If we use (36) to estimatefrequency offset ฮ๐, the value of estimation must multiply by4. In the case of FPGA, the multiplication of 2๐ just needs toshift n bits towards the left.
On the other hand, in part 3, Section 2, we select updateperiod of frequency control word of the NCO to be 8๐๐ .Therefore, to enable frequency offset estimation block shownin Figure 5 and the QPSK ADCOL shown in Figure 2 tooperate as synchronously as possible, we set the number ofthe sample point of MLFE to be๐ = 8. Therefore, based on(36), (34), (32), and (31), we can obtain the frequency offsetestimated:
ฮฬ๐ = 4ฮ๐(๐ง) = 412
2๐๐๐ (8 โ 1) 8 (8 + 1)
ร [โ8 โ 1
2, โ8 โ 1
2+ 1, . . . ,
8 โ 1
2โ 1,
8 โ 1
2]
[[[[[[
[
๐ฅ0๐ฅ1...๐ฅ6๐ฅ7
]]]]]]
]
,
(39)
-
International Journal of Reconfigurable Computing 9
0
5
10
Actual frequency offset (MHz)
Estim
atio
n va
lue o
f
โ10 โ8 โ6 โ4 โ2โ10
โ5
SNR = 20dB
frequ
ency
offs
et (M
Hz)
(a) Signal-to-noise ratio is 20 dB
0 2 4 6 8 10
0
5
10
Actual frequency offset (MHz)
Estim
atio
n va
lue o
f fre
quen
cy o
ffset
โ10 โ8 โ6 โ4 โ2โ10
โ5
SNR = 5dB
(b) Signal-to-noise ratio is 5 dB
Figure 6: Actual frequency offset versus estimation frequency offset under different signal-to-noise ratios.
where๐๐ = 1/26MHZ is sample frequency and ๐ฅ๐, 0 โค ๐พ โค 7is absolute phase generated by (30).
Using ฮฬ๐ to assist the QPSK ADCOL shown in Figure 2to recover carrier quickly, ฮฬ๐ must be transformed intofrequency control world of the NCO. On the basis of (21), wecan obtain frequency control world of ฮฬ๐ that is
๐คฮ๐ =ฮฬ๐2๐
๐๐
. (40)
Taking (39) into (40), we can get
๐คฮ๐
=2๐
21๐[โ
8 โ 1
2, โ8 โ 1
2+ 1, . . . ,
8 โ 1
2โ 1,
8 โ 1
2]
[[[[[[
[
๐ฅ0๐ฅ1...๐ฅ6๐ฅ7
]]]]]]
]
,
(41)
where ๐ฅ๐, 0 โค ๐พ โค 7, are signed decimals, which areexpressed as the fixed-point number with 3 bitsโ integernumber and 29 bitsโ decimal. ๐ = 32 is bit width of inputsignal of the NCO. Because frequency control world of NCOis an integer number, the result of (41) should multiply by2โ29 so as to eliminate the affection of the decimal expressedby 29 bitsโ binary format. Therefore, actual frequency controlworld should be๐คฮ๐
= 0.1213 [โ8 โ 1
2, โ8 โ 1
2+ 1, . . . ,
8 โ 1
2โ 1,
8 โ 1
2]
[[[[[[
[
๐ฅ0๐ฅ1...๐ฅ6๐ฅ7
]]]]]]
]
.
(42)
Due to 0.1213 โ 2โ3 โ 2โ8, maximum likelihood fre-quency estimation can be implemented just using shifters andmultiply-accumulate units.
In deep-space communication, to confirm that the signalsburied by noise can be successfully detected by receiver, aparameter named link margin is used to specify minimalSNR of the received signals. In the practical design of thecommunication systems, its value usually ranges from 3 dB to6 dB [21]. In our design, we select two types of linkmargins toinvestigate the performance of our frequency offset estimator.They are the low linkmargin of 5 dB and the high linkmarginof 20 dB, respectively. Therefore, we simulate our MLFEunder the condition of sample frequency ๐๐ = 26MHZ andcarrier frequency ๐๐ = 4MHZ by MATLAB. The simulationresults are shown in Figure 6.
From Figure 6, we can see that although the estimationrang of the frequency offset decreases along with the declineof SNR, the range still approximates โ2MHZ โผ 2MHZunder SRN = 5 dB. In the case of low and mediumearth orbiting satellite where the greatest Doppler shiftsare ยฑ100KHZ and ยฑ200KHZ [22], respectively, the rangcompletely meets as well.
3.3. Entire Design of All-Digital Carrier Recovery Loop ofQPSK. Figure 7 shows the block diagram of our ADCRL.It consists of the MLFOE in shadow and QPSK ADCOLsurrounded by dashed line, respectively.
First of all, the frequency offset will be estimated roughlyand then transformed into the frequency control words ofthe NCO by MLFE to speed up QPSK ADCOL to quicklyimplement the tracking of the carrier.
Secondly, with the assistance of MLFOE, the QPSKADCOL is locked quickly and then starts with tracking thecarrier precisely.
FromFigure 7, we can see that the bit width of the outputsof the two low pass filters is 32. If we apply directly thewidth to MLFOE, the cost of hardware resource for FPGAis considerable. So in our design, a truncated bit width willbe used. To ensure that the impact of the truncation onthe performance of our system is minimal, a simulation isconducted, which uses different bit widths for the two inputsignals of MLFOE (the bit widths of the outputs of the twolow pass filters) and the widths range from 8 to 32 bits to test
-
10 International Journal of Reconfigurable Computing
ADC
Low pass filter
Low passfilter
RegReg
Numericallycontrolledoscillator
Frequency control word
01
Shifter
Shifter
8
8
8
8
16
16 32
32
32
32
32
32
MSB 1
MSB 1
Modulated signalfrom transmitter
01
CORDICCORE
Maximumlikelihoodfrequencyestimator
11
11
22
22
22
44
44
44
32
32
QPSK phase-locked loop
Maximum likelihood frequency offset estimator
Qn(KTs)
In(KTs) ร2
ร2
ร4
รโ1 Arctan (x)
Quadrature branch (Q)
In-phase branch (I)
C1
C2
รโ1
รโ1
k
โn=0
cos(4ฮwnTs + 4๐)k
โn=0
(4ฮwnTs + 4๐)
k
โn=0
sin(4ฮwnTs + 4๐)
Figure 7: Block diagram of QPSK ADCRL.
which one is the best for the frequency offset error ฮ๐ =100KHZ under the situations of SNR = 20, 10, 5 dB. Thesimulation result is shown in Figure 8. From Figure 8, it isclear that when the bit width is equal to 11, the frequencyestimation value of the MLFOE is almost the same as that ofhaving bit width equal to 32 under the three types of SNRs.Thus, we set the bit width of the two inputs of MLFOE to be11.
4. Simulation Results andComparative Analysis
To verify that the proposed architecture is valid, the FPGAsimulation tool, ModelSim SE 6.5, is used to observe theimplementation performance of our proposed architecturebased on FPGA. On the other hand, MATLAB is also usedto generate the QPSK modulated signals with a frequencyoffset under the conditions of different SNRs and process thesimulation results generated by the ModelSim so as to have abetter visual comparison, resulting from that the outputs ofthe ModelSim that are just some values of decimal or binaryformat.
The data streams of the entire simulation procedure areshown in Figure 9.
The input stream generated, quantized and stored into thetextfile, Textfile A, by MATLAB, is QPSK modulated signalswith the following specifications:
5 10 15 20 25 30 3565
70
75
80
85
90
95
100
105
Quantization size (bit)
Estim
atio
n va
lue o
f fre
quen
cy o
ffset
(kH
z)
SNR = 5dBSNR = 10dBSNR = 20dB
Figure 8:The quantization level of the two input signals of MLFOEunder the condition of the frequency offset errorฮ๐ = 100KHZ andSNR = 20, 10, 5 dB.
(i) the number of symbols randomly evaluated as ยฑ1 isequal to 1000;
(ii) the frequency of symbols ๐๐ = 80KHZ;(iii) the frequency of carrier ๐๐ = 3.9MHZ, namely,
frequency offset ฮ๐ = 100KHZ;(iv) SNRs are 20 dB and 5 dB;
-
International Journal of Reconfigurable Computing 11
ADC
Low pass filter
Low pass filter
Reg
RegNumerically controlledoscillator
Frequency control word
0
1
Shifter
Shifter
8
8
8
8
16
16 32
32
32
32
32
32
MSB 1
MSB 1
01
CORDICCORE
Maximum likelihood frequency estimator
11
11
22
22
22
44
44
44
32
32
QPSK phase-locked loop
The output
of loop
filter
The output
ofNCO
QPSK
modulated
signal
MATLAB simulation
ModelSim simulation
Maximum likelihood frequency offset estimatorTextfile A
Textfile B Textfile C
Qn(KTs)
In(KTs) ร2
ร4
ร2
รโ1
รโ1
รโ1
Arctan (x)
Quadrature branch (Q)
In-phase branch (I)
C1
C2
k
โn=0
cos(4ฮwnTs + 4ฮ๐)
k
โn=0
(4ฮwnTs + 4ฮ๐)
k
โn=0
sin(4ฮwnTs + 4ฮ๐)
MATLAB process AMATLAB process B
Figure 9: The data stream of entire simulation procedure.
(v) quantization level of the 1000 QPSK modulated sig-nals is 8 bits to imitate the input signals of 8-bit ADC;
(vi) sample frequency ๐๐ = 26MHZ.
The output streams generated and stored into anothertwo textfiles, Textfile B, and Textfile C by ModelSim are theoutputs of the NCO and the loop filter with the followingspecifications:
Textfile B:(i) the frequency of carrier ๐๐ = 4MHZ, namely output
frequency of NCO;(ii) sample frequency ๐๐ = 26MHZ;(iii) the quantization level of the output amplitude of the
NCO evaluated as ยฑ1 is 8 bits;Textfile C:
(i) sample frequency ๐๐ = 26MHZ;(ii) the quantization level of the output of the loop filter is
32 bits.
Textfile A is generated byMATLAB before startingMod-elSim simulation and then fed into QPSK ADCRL (to imitatethe output of the ADC) in the procedure of the simulation ofModelSim,whenTextfile B andTextfile C are simultaneouslygenerated by ModelSim. At the end of the simulation of theModelSim, the two files from the ModelSim, Textfile B andTextfile C, will be read into MATLAB in order to furtherprocess in the two procedures, MATLAB process A andMATLAB process B.
Because the traditional measure of the performance ofPLL is based on locked-in time, steady-state phase error, and
locked-in frequency range, our QPSK ADCRL also uses themethods.
Based on the principle of our QPSK ADCRL displayedin Figure 7, when there exists the frequency offset betweenthe input of the QPSK modulated signals (Textfile A) andthe local carrier signals (the output of NCO), the offset canbe obtained through taking the output of the loop filter(Textfile C) into (21). In our design, the carrier frequency ofthe input modulated signals is 3.9MHZ and the frequencyof the output of the NCO is 4MHZ. Therefore the frequencyoffset is 100KHZ.
If our QPSK ADCRL is locked, the frequency offsetevaluated through taking the output of loop filter into (21) willapproximate to 100KHZ. At the same time, the output phaseof the NCO (Textfile B) should be equal or approximate tothe phase of the QPSK modulated signals (Textfile A).
On the basis of above discussion, as shown in Figures 10,11, 12, and 13, (a) and (b) are the outputs of the loop filter fromModelSim simulation, and its results processed by MATLAB(MATLAB process B shown in Figure 8), respectively. (c) isthe result of the phase comparison of the two signals, QPSKmodulated signals, and the outputs of theNCO,which is fromthe simulation ofModelSim and then processed byMATLAB(MATLAB process A shown in Figure 9).
Figures 10 and 11 are the simulation results of the classicQPSK ADCOL shown in Figure 2 without the assistance ofMLFOE shown in Figure 6 under the two conditions of SNR= 20 and 5 dB.
From the two figures, Figures 10(b) and 10(c), we can seethat when SNR is equal to 20 dB, the tracking time is about0.15ms and the maximal steady-state phase error approxi-mates to 0 degree.
-
12 International Journal of Reconfigurable Computing
(a) ModelSim output of loop filter
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35
0
10
20
Time (ms)
Freq
uenc
y off
set (
Hz)
ร104
(b) MATLAB processing of output of loop filter
0 0.5 1 1.5 2 2.5 3 3.5 4
0
1N
orm
aliz
ed v
olta
ge (V
)
MATLAB outputNCO output
โ1
ร10โ6Time (๐s)
(c) MATLAB processing of ModelSim the output of NCO and input ofQPSK modulated signal
Figure 10: The joint simulation result of ModelSim and MATLAB under the condition of SNR = 20 dB for the QPSK ADCOL.
(a) ModelSim output of loop filter
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35
05
1015
Time (ms)
Freq
uenc
y off
set (
Hz)
โ5
ร104
(b) MATLAB processing of output of loop filter
0 0.5 1 1.5 2 2.5 3 3.5 4
0
1
Nor
mal
ized
vol
tage
(V)
MATLAB inputNCO output
โ1
ร10โ6Time (๐s)
(c) MATLAB processing of ModelSim the output of NCO and input ofQPSK modulated signal
Figure 11: The joint simulation result of ModelSim and MATLAB under the condition of SNR = 5 dB for the QPSK ADCOL.
As shown in the two figures, Figures 11(b) and 11(c), whenSNR is equal to 5 dB, the tracking time is about 0.3ms and themaximal steady-state phase error approximates to 2 degree.
Figures 12 and 13 are the simulation results under the twoconditions of SNR = 20 and 5 dB, where theMLFOE has beenenabled.
In contrast to Figures 10 and 11, after enabling theMLFOE,from the two figures, Figures 12(b) and 12(c), we can seethat when SNR is equal to 20 dB, the locked-in time isabout 0.05ms and the maximal steady-state phase error alsoapproximates to 0 degree. As shown in the two figures,Figures 13(b) and 13(c), when SNR is equal to 5 dB, the lock-in
-
International Journal of Reconfigurable Computing 13
(a) ModelSim output of loop filter
0 0.05 0.1 0.15 0.2 0.25
05
1015
Time (ms)
Freq
uenc
y off
set (
Hz)
โ5
ร104
(b) MATLAB processing of output of loop filter
0
0
0.5 1 1.5 2 2.5 3 3.5 4
0.51
Nor
mal
ized
vol
tage
(V)
MATLAB inputNCO output
โ1
โ0.5
ร10โ6Time (๐s)
(c) MATLAB processing of ModelSim the output of NCO and input ofQPSK modulated signal
Figure 12: The joint simulation result of ModelSim and MATLAB under the condition of SNR = 20 dB for our QPSK ADCRL.
(a) ModelSim output of loop filter
0 0.05 0.1 0.15 0.2 0.25 0.3
05
1015
Time (ms)
Freq
uenc
y off
set (
Hz)
20
โ5
ร104
(b) MATLAB processing of output of loop filter
0 0.5 1 1.5 2 2.5 3 3.5 4
0
1
Nor
mal
ized
vol
tage
(V)
MATLAB inputNCO output
โ1
ร10โ6Time (๐s)
(c) MATLAB processing of ModelSim the output of NCO and input ofQPSK modulated signal
Figure 13: The joint simulation result of ModelSim and MATLAB under the condition of SNR = 5 dB for our QPSK ADCRL.
time is about 0.1ms and themaximal steady-state phase errorapproximates to 3 degree.
On the other hand, in the case of the four figures, Figures10(b), 11(b), 12(b), and 13(b), when QPSK ADCRL is lockedall frequency offset evaluated by the output of loop filter areequal to 100KHZ.
From the above simulation results, it is clear that after theMLFOE is enabled, whether SNR is high or not; the perform-ance of our QPSK ADCRL in locked-in time is two times
faster than that of the QPSK ADCOL without the assistanceof the MLFOE, while the maximal steady-state phase error isalmost stable.
On the other hand, in the two conditions of SNR =20 dB and 5 dB, we test the maximal frequency offset whichenables our QPSK ADCRL and the QPSK ADCOL withoutthe assistance of MLFOE to be locked and the correspondinglocked-in time and steady-phase error. The results are shownin Table 2. From Table 2, we can see that after the MLFOE
-
14 International Journal of Reconfigurable Computing
Table 2: The performance advantage of our QPSK ADCRL in locked-in frequency range.
SNR Architecture Maximal locked-in Locked-in time (ms) Steady-phase error (degree)Frequency Range (KHZ)
20 db QPSK ADCOL ยฑ170 0.18 Approximating to 020 db Our QPSK ADCRL ยฑ680 0.05 Approximating to 05 db QPSK ADCOL ยฑ120 0.4 Approximating to 25 db Our QPSK ADCRL ยฑ510 0.13 Approximating to 4
Table 3: The hardware cost of the different modules for our QPSK ADCRL.
Module Number of slice registers Number of slice LUTs Number used as logicQPSK ADCOL 174 out of 28800 580 out of 28800 612 out of 28800
MLFOE FD 875 out of 28800 892 out of 28800 790 out of 28800MLFE 603 out of 28800 516 out of 28800 592 out of 28800
Total hardware cost 1652 out of 28800 1988 out of 28800 1994 out of 28800
Table 4: The power consumption of our QPSK ADCRL for different operating frequencies.
Clock frequency (MHZ) Dynamic power (W) Quiescent power (W) Total power (W) Junction temp. (C)312 0.060 0.526 0.594 50.9250 0.058 0.526 0.583 51200 0.048 0.525 0.574 51150 0.039 0.525 0.564 50.9
is enabled, except for the advantage in locked-in time, thelocked-in frequency range of our QPSKADCRL is four timeswider than that of the QPSK ADCOL. Therefore, our QPSKADCRL can alleviate the pair of contradictions between lock-in frequency range and tracking precision, which are hardlyreconciled for the QPSK ADCOL.
There is no doubt that our QPSK ADCRL has a morerobust performance than the QPSK ADCOL without theMLFOE. What is more, to obtain the same improvement inperformance as our ADCRL for the existing QPSK ADCOL[23, 24], the simple revision is to add the MLFOE shown inFigure 4 to the QPSK ADCOLs.
Finally, in order to acquire their hardware cost for thedifferent modules of our QPSK ADCRL based on FPGA, theFPGA synthesis tool, ISE Design Suite 12.2, from FPGA ven-dor Xilinx is used, and its chip of Virtex5 family, XC5VLX50,which supports dynamic reconfiguration technology seenas a core technology to implement SDR [25] on FPGA isselected. The synthesis results are given in Table 3. FromTable 3, we can see that although the MLFOE consumesmore logic resources than QPSK ADCOL (because manymultiplication operations are used, and a pipelined CORDICarchitecture [26] is adopted so as to meet the requirement ofthe latency time), this is worthy for some applications whichneed a more robust QPSK ADCRL.
On the other hand, we can also see that the hardware costof the whole QPSK ADCRL just make up a small part of logicresources for the FPGA chip selected.
Except for the hardware cost of our QPSK ADCRL, wealso investigate its power consumption for the different
operating frequencies by the power analysis tool from Xil-inx, XPower, which is also important very much in someapplications where communication systems need to workcontinuously bymeans of a portable power source.The resultsare shown in Table 4. Form Table 4, we can see that when ourQPSK ADCRL operates under the condition of maximumclock frequency, 312MHZ, which is from the logic synthesisโsresult of ISE 12.2, the total power is just 0.594 (W).
5. Conclusion and Outlook
In this paper, an efficient QPSK ADCRL is proposed, and asystematic procedure of designing the carrier recovery loopbased on FPGA is displayed. On the other hand, a FD in pos-session of linear characteristic is introduced to supply a moreprecise frequency offset to MLFE, which is implemented justusing shifters and multiply-accumulate units to estimate thefrequency offset and assist QPSK ADCOL to lock quickly.The joint simulation results of ModelSim and MATLAB hasproved that our proposed architecture can smoothly operateon FPGA and its performances in locked-in time and locked-in range are more excellent than the classic QPSK ADCOL.Synthesis result has shown that the hardware cost of FPGAfor our QPSK ADCRL is very few, and the result of the poweranalysis also has proved that our design is valid in powerconsumption.
Looking at the future, the exploration aiming at deepspace must be the tendency of the human development,and the FPGA-based soft defined radio suitable for the
-
International Journal of Reconfigurable Computing 15
environment will be also more widely applied and furtherstudied.
Conflict of Interests
The authors declare that there is no conflict of interestsregarding the publication of this paper.
References
[1] J. Yuen, Autonomous Software-Defined Radio Receivers for DeepSpace Applications, Wiley, 2006.
[2] N. Kim and I. Ha, โDesign of ADPLL for both large lock-inrange and good tracking performance,โ IEEE Transactions onCircuits and Systems II: Analog andDigital Signal Processing, vol.46, no. 9, pp. 1192โ1204, 1999.
[3] C. Cahn, โImproving frequency acquisition of a Costas loop,โIEEE Transactions on Communications, vol. 25, no. 12, pp. 1453โ1459, 1977.
[4] E. Frantzeskakis, C. Papathanasiou, D. Doumenis et al., โSin-gle chip OQPSK modem appropriate for wireless burst datacommunications,โ in Proceedings of the International Conferenceon Signal Processing Applications and Technology, Orlando, Fla,USA, November 1999.
[5] W. Le, W. Zhu-gang, and X. Wei-ming, โHigh-accurate carrieracquisition based onmaximum likelihood estimation of refinedfrequency,โ Telecommunication Engineering, vol. 53, no. 1, pp.39โ43, 2013.
[6] F. Cheng and Q. Cheng, โThe large sample performance ofa maximum likelihood method for OFDM carrier frequencyoffset estimation,โ Wireless Personal Communications, vol. 72,no. 1, pp. 227โ244, 2013.
[7] S. Tao, L. Huijie, and L. Xuwen, โA kind of all digital phaselocked loop used in the situation of tremendous frequencyoffset error and low signal to noise,โ Journal of Electronics andInformation Technology, vol. 27, no. 8, 2005.
[8] L. Baowei, C. Shijing, H. Yuanjie, and G. HongTao, โThe designof QPSK carrier recovery loop in the environment of enormousfrequency offset error and low signal to noise,โ The Journal ofRadio Engineering, vol. 39, no. 4, pp. 51โ54, 2009.
[9] M. Kumm, H. Klingbeil, and P. Zipf, โAn FPGA-based linearall-digital phase-locked loop,โ IEEETransactions onCircuits andSystems I: Regular Papers, vol. 57, no. 9, pp. 2487โ2497, 2010.
[10] E. B. Roland, Phase-Locked Loop, Simulation, and Applications,McGraw-Hill, New York, NY, USA, 5th edition, 2003.
[11] S. K. Mitra, Digital Signal Processing: A Computer-BasedApproach, McGraw-Hill, New York, NY, USA, 2001.
[12] R. Jaffe and E. Rechtin, โDesign and performance of false-lock loops capable of near-optimum performance over a widerange of input signal and noise levels,โ IRE Transactions onInformation Theory, vol. 1, no. 3, pp. 66โ72, 1965.
[13] A. J. Viterbi, Principles of Coherent Communications, chapter 2,McGraw-Hill, New York, NY, USA, 1966.
[14] Z. Juesheng, Y. Zhengju, and P. wanxin, Locked Phase Tech-nology, Xian University of Electronic Science and TechnologyPress, Xian, China, 1998.
[15] A. I. Ahmed, S. H. Rahman, and O. A. Mohamed, โFPGA im-plementation and performance evaluation of a digital carriersynchronizer using different numerically controlled oscillators,โin Proceedings of the Canadian Conference on Electrical andComputer Engineering (CCECD โ07), pp. 1243โ1246, April 2007.
[16] Xilinx LogiCORE IPDDSCompiler v4.0 Product Specification,Xilinx, April 2010.
[17] E. D. Kaplan and C. J. Hegarty, Understanding GPS: Principlesand Applications, Artech House, Norwood, Mass, USA, 2005.
[18] P. K. Meher, J. Valls, T. B. Juang, and K. Maharatna, โ50 yearsof CORDIC: algorithms, architectures, and applications,โ IEEETransactions on Circuits and Systems. I. Regular Papers, vol. 56,no. 9, pp. 1893โ1907, 2009.
[19] E. Frantzeskakis and P. Koukoulas, โPhase domain maximumlikelihood carrier recovery: framework and application inwireless TDMA systems,โ in Proceedings of the 50th Fall IEEEVTS 50th Vehicular Technology Conference โGateway to 21stCentury Communications Villageโ (VTC โ99), pp. 2571โ2575,IEEE, September 1999.
[20] M. Luise and R. Reggiannini, โCarrier frequency recoveryin all-digital modems for burst-mode transmissions,โ IEEETransactions onCommunications, vol. 43, no. 2โ4, pp. 1169โ1178,1995.
[21] L. Guojun and H. Decong, โThe calculation of link margin ofsatellite communication in SKT,โThe Journal of Space ElectronicTechonology, vol. 1, no. 12, pp. 68โ72, 2012.
[22] W. Shiqi, W. Tingyong, and Z. Ningxing, An Introduction toSatellite Communications, Electronic Industry Press, Beijing,China, 2rd edition, 2006.
[23] Y. Dangui, T. Ruijun, X. Min, and Z. Chengchang, โAn optimalmethod for costas loop design based on FPGA,โ in Proceedingsof the 4th International Conference onDigitalManufacturing andAutomation (ICDMA '13), pp. 175โ179, Qingdao, China, June2013.
[24] H. Yuan, X. Hu, and J. Huang, โDesign and implementationof costas loop based on FPGA,โ in Proceedings of the 3rd IEEEConference on Industrial Electronics and Applications (ICIEA'08), pp. 2383โ2388, Singapore, June 2008.
[25] K. He, L. Crockett, and R. Stewart, โDynamic reconfigurationtechnologies based on FPGA in software defined radio system,โJournal of Signal Processing Systems, vol. 69, no. 1, pp. 75โ85,2012.
[26] T. Adiono and R. S. Purba, โScalable pipelined CORDIC archi-tecture design and implementation in FPGA,โ in Proceedingsof the International Conference on Electrical Engineering andInformatics (ICEEI โ09), vol. 2, pp. 646โ649, August 2009.
-
International Journal of
AerospaceEngineeringHindawi Publishing Corporationhttp://www.hindawi.com Volume 2014
RoboticsJournal of
Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014
Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014
Active and Passive Electronic Components
Control Scienceand Engineering
Journal of
Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014
International Journal of
RotatingMachinery
Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014
Hindawi Publishing Corporation http://www.hindawi.com
Journal ofEngineeringVolume 2014
Submit your manuscripts athttp://www.hindawi.com
VLSI Design
Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014
Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014
Shock and Vibration
Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014
Civil EngineeringAdvances in
Acoustics and VibrationAdvances in
Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014
Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014
Electrical and Computer Engineering
Journal of
Advances inOptoElectronics
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
The Scientific World JournalHindawi Publishing Corporation http://www.hindawi.com Volume 2014
SensorsJournal of
Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014
Modelling & Simulation in EngineeringHindawi Publishing Corporation http://www.hindawi.com Volume 2014
Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014
Chemical EngineeringInternational Journal of Antennas and
Propagation
International Journal of
Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014
Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014
Navigation and Observation
International Journal of
Hindawi Publishing Corporationhttp://www.hindawi.com Volume 2014
DistributedSensor Networks
International Journal of