Compensate for frequency offset for PAM, PSK, or QAM
The CoarseFrequencyCompensator
System object™ compensates for the frequency offset of received signals.
To compensate for the frequency offset of a PAM, PSK, or QAM signal:
Define and set up your coarse frequency compensator object. See Construction.
Call step
to compensate for the frequency offset of a PAM,
PSK, or QAM signal according to the properties of comm.CoarseFrequencyCompensator
. The behavior of step
is specific to each object in the toolbox.
Note
Starting in R2016b, instead of using the step
method to
perform the operation defined by the System object, you can call the object with arguments, as if it were a function. For example,
y = step(obj,x)
and y = obj(x)
perform equivalent
operations.
CFC = comm.CoarseFrequencyCompensator
creates a coarse frequency offset
compensator object, CFC
. This object uses an open-loop technique to estimate
and compensate for the carrier frequency offset in a received signal.
CFC = comm.CoarseFrequencyCompensator(Name,Value)
creates a coarse
frequency offset compensator object, CFC
, with the specified property
Name
set to the specified Value
. You can specify
additional name-value pair arguments in any order as
Name1,Value1,...,NameN,ValueN
.
|
Modulation type Specify the signal modulation type as | |||||||||
|
Algorithm used to estimate frequency offset Specify the estimation algorithm as one of The table shows the allowable combinations of the modulation type and the estimation algorithm.
Use the correlation-based algorithm for HDL implementations and for other situations in which you want to avoid using an FFT. This property appears when | |||||||||
|
Frequency resolution (Hz) Specify the frequency resolution for the offset frequency estimation as a positive, real
scalar of data type | |||||||||
|
Maximum measurable frequency offset (Hz) Specify the maximum measurable frequency offset as a positive, real scalar of data type
The value of this property must be less than fsamp /
M, where fsamp is the sample rate
and M is the modulation order. As a best practice, set
| |||||||||
|
Sample rate (Hz) Specify the sample rate in samples per second as a positive, real scalar of data type
| |||||||||
|
Samples per symbol Specify the number of samples per symbol, s, as a real positive finite
integer scalar, such that s ≥ 2. The default value is This property appears when |
info | Characteristic information about coarse frequency compensator |
reset | Reset states of the CoarseFrequencyCompensator object |
step | Compensate for frequency offset |
Common to All System Objects | |
---|---|
release | Allow System object property value changes |
The correlation-based estimation algorithm, which can be used to estimate the frequency
offset for PSK and PAM signals, is described in [1]. To determine the
frequency offset, Δf, the algorithm performs a maximum likelihood (ML)
estimation of the complex-valued oscillation exp
(j2πΔft).
The observed signal, rk, is represented as
where Ts is the sampling interval, θ is an unknown random phase, and N is the number of samples. The maximum likelihood estimation of the frequency offset is equivalent to seeking the maximum of the likelihood function, Λ(Δf),
After simplifying, the problem is expressed as a discrete Fourier transform, weighted by a parabolic windowing function. It is expressed as
where R(k) denotes the estimated autocorrelation of the sequence rk and is represented as
The term k(N–k) is the parabolic windowing function. In [1], it is shown that R(k) is a poor estimate of the autocorrelation of rk when k = 0 or when k is close to N. Consequently, the windowing function can be expressed as a rectangular sequence of 1s for k = 1, 2, ..., L, where L ≤ N – 1. The results is a modified ML estimation strategy in which
This results in an estimate of in which
The sampling frequency, fsamp, is the reciprocal of Ts. The number of elements used to compute the autocorrelation sequence, L, are determined as
where fmax is the maximum expected frequency
offset and round
is the nearest integer function. The frequency offset
estimate improves when L ≥ 7 and leads to the recommendation that fmax ≤
fsamp / (4M).
FFT-based algorithms can be used to estimate the frequency offset for all modulation types. Two variations are used in comm.CoarseFrequencyCompensator.
For BPSK
, QPSK
, 8PSK
,
PAM
, or QAM
modulations the FFT-based algorithm used
is described in [2]. The algorithm estimates by using a periodogram of the
mth power of the received signal and is given
as
where m is the modulation order, r(k) is the received sequence, Rsym is the symbol rate, and N is the number of samples. The algorithm searches for a frequency that maximizes the time average of the mth power of the received signal multiplied by various frequencies in the range of [–Rsym/2, Rsym/2]. As the form of the algorithm is the definition of the discrete Fourier transform of rm(t), searching for a frequency that maximizes the time average is equivalent to searching for a peak line in the spectrum of rm(t). The number of points required by the FFT is
where fr is the desired frequency resolution.
For OQPSK
modulation the FFT-based algorithm used is described in
[4]. The algorithm searches for
spectral peaks at +/- 200 kHz around the symbol rate. This technique locates desired peaks in
the presence of interference from spectral content around baseband frequencies due to
filtering.
[1] Luise, M. and R. Regiannini. “Carrier recovery in all-digital modems for burst-mode transmissions.” IEEE® Transactions on Communications. Vol. 43, No. 2, 3, 4, Feb/Mar/April, 1995, pp. 1169–1178.
[2] Wang, Y., K. Shi, and E. Serpedi. “Non-Data-Aided Feedforward Carrier Frequency Offset Estimators for QAM Constellations: A Nonlinear Least-Squares Approach.” EURASIP Journal on Applied Signal Processing. 2004:13, pp. 1993–2001.
[3] Nakagawa, T., M. Matsui, T. Kobayashi, K. Ishihara, R. Kudo, M. Mizoguchi, and Y. Miyamoto. “Non-Data-Aided Wide-Range Frequency Offset Estimator for QAM Optical Coherent Receivers.” Optical Fiber Communication Conference and Exposition (OFC/NFOEC), 2011 and the National Fiber Optic Engineers Conference. March 2011, pp. 1–3.
[4] Olds, Jonathan. "Designing an OQPSK demodulator".
comm.CarrierSynchronizer
| comm.PhaseFrequencyOffset
| dsp.FFT