Synchronization For QDPSK - Costas Loop and Gardner Algorithm Using Fpgas
Synchronization For QDPSK - Costas Loop and Gardner Algorithm Using Fpgas
Synchronization For QDPSK - Costas Loop and Gardner Algorithm Using Fpgas
Abstract—This paper discusses the mathematical model and front-end. The entire design is completed by Verilog code
implements the physical verification when Carrier with IP core as few as possible to improve its portability.
synchronization (carrier loop) and Timing synchronization Corresponding design and optimization are made to achieve
(Gardner algorithm) working simultaneously. Firstly, a brief speed optimism. This paper is organized as follow. Section 2
analysis of the above mentioned systems is completed, and the provides an overview of carrier synchronization and timing
functional simulation is accomplished by Verilog HDL code on synchronization. Systematic analysis of the interaction
ModelSim platform. In addition, a systematic analysis is done for between carrier synchronization and timing synchronization
the workflow and interrelation of Carrier synchronization and when working simultaneously is shown in Section 3. In
Timing synchronization when both of them are active. Finally,
Section 4, veneer verification and practical demonstration of
we implement the hardware verification on the Stratix series
system-level are described. Finally, in Section 5 we draw the
field programmable gate array (FPGA) device
EP3SL150F1152C2N of Altera Company, and give the conclusions.
engineering results through the RF part and space transmission.
II. THE FUNCTIONAL VERIFICATION OF COSTAS
Keywords—Carrier synchronization, Timing synchronization, LOOP AND GARDNER ALGORITHM
FPGA For a digital communication system without pilot signal,
such as the QDPSK system, many ways can be used to
I. INTRODUCTION complete carrier and timing synchronization. All of them
In digital communication, in order to recover the utilize non-linear operations to extract synchronization
information from the received signal correctly, carrier and information based on the basic PLL model.
symbol timing recovery should be completed first of all.
A. Costas model and its functional verification
Analog, mixed or digital mode can be utilized in receiver.
But no matter analog mode or mixed mode, the imbalance In order to separate the corresponding carrier information
between in-phase branch and quadrature branch and the from the QDPSK received signal, the measure of non-linear
disadvantage of direct current zero excursions are existed [1]. processing and filtering is necessary. The common means
These problems can be avoided by using all-digital mode [2]. includes quadratic loop, in-phase and quadrature loop and
Due to the excellent performance, low power consumption decision feedback loop [5]. In-phase and quadrature loop can
and configurability, FPGAs have been widely used in many also be called Costas loop, which owns the advantage that it
sophisticated signal processing tasks [3]. can be easily implemented and the static phase error of the
recovered carrier wave is smaller. Its structure is shown in
The traditional model of Costas loop is analysed and Fig.1.
realized in [3] and [4] based on the situation that the decision
value is optimal. For Gardner algorithm, related analysis and Multi-stage Matched
Dataout _ I
8
verifications are proposed in [5] and [6] with no carrier wave Decimation filter filter
frequency offset or a stable phase offset. A corresponding Datain
solution is given in [7] to eliminate the impact of fixed carrier NCO Loop filter Phase detector
Parameters of the signal model are listed in table 1 shown Fig. 3. Structure of Gardner algorithm
below.
Fig.4 shows the simulation result on the platform of
TABLE I. SIGNAL MODEL Modelsim. The impact of the loop bandwidth’s changing to
Gardner algorithm is identical to Costas loop. Due to the
carrier frequency 50MHz clock skew can’t be simulated in Modelsim, the relevant
content is introduced in the subsequent sections.
frequency offset 5 KHz
symbol rate 2Mbps
roll-off factor 0.25
sampling rate 200MHz
Similarly, the detailed mathematical analysis for Gardner Different with the general structure of QDPSK system, the
algorithm is given in [6]-[8]. An improved interpolator based output signals of timing synchronization instead of that of
on Farrow structure is proposed in [10] to improve the matched filters are used as the input signals of phase detector.
performance of cubic interpolator. In our simulation which is The error signal of the recovered carrier wave can be reduced
completed on the platform of Modelsim, the output signal of effectively, also the influence of the residual frequency offset
the matched filter is used as the input signal of our system. to Gardner algorithm.
The influence of frequency offset doesn’t exist in this moment. The equivalent representation of the signal prior to Costas
The symbol rate is 2Mbps, the roll-off factor of the shaping loop can be written as
1 T k k 1
r t I k g r t kT cos ct
eG ideal
I k h T k 1 I k h
k 4 k k 2 2
(2)
T
Qk g r t kT sin ct Qk h T k 1 Qk h k k 1
k k k 2 2
(7)
T k k 1
I k h k I k h
where I k and Qk are the sequences of transmitted symbols, k k 2 2
and c is the frequency of the carrier wave. A square-root T
raised-cosine pulse with the roll-off factor is employed Qk h k Qk h k k 1
k k 2 2
for the baseband pulse g r t . T and denote the symbol
period and the un-known time delay through the channel. In formula 8 we can find that each part of the error signal
is multiplied by a factor, and two additional units are
The FCW of both Costas loop and Gardner algorithm are
included.
updated for every T .The frequency associated with the k th
symbol is c k . The signals after down-conversion and
matched filter are given by
1
yI t I k h t kT cos k t
2 k
(3)
1
Qk h t kT sin k t
2 k
The structure of veneer verification is shown in Fig.7. The Here, we also use the same parameters to those in table 1.
output digital signal of modulation is converted to an analog In order to estimate the quality of received signal, its
one through D/A, and then through A/D to be the input digital time-domain waveform and constellation diagram are
signal of demodulation. measured by specialized instruments as shown in Fig.10 and
Fig.11.
The parameters used in this section are same with those
used in Section 3. Fig.8 shows the simulation result of veneer
implementation.
In this system, only phase offset is existed between the
baseband clock of modulation and demodulation which means
that the time delay is constant. A frequency offset of 5 KHz
is added to initial carrier wave artificially. With only the
influence of quantization noise, the bit error rate (BER) is low
to 0. At the same time, the frequency jitter of the recovered
signal of carrier wave and baseband clock is 0.0023% and
0.0007% respectively. Fig. 10. Time-domain waveform
B. System-level implementation
In order to build a similar model with the actual
communication system, X-band RF front-end circuits are
introduced in our system-level implementation. The structure
is shown in Fig.9.