You are on page 1of 6

Journal of Engineering (JOE) 5

Vol. 1, No. 1, 2012


Copyright World Science Publisher, United States
www.worldsciencepublisher.org

Performance Analysis of Carrier Frequency Offset (CFO) in


OFDM using MATLAB

W.Aziz, 1E.Ahmed, G.Abbas, S.Saleem, Q.Islam


Department of Electrical Engineering
Institute of Space Technology, Islamabad Pakistan

Email: 1ebtisamahmed90@gmail.com

Abstract Wireless communication is the key area of research with increasing demand of high data rate applications at a
low cost. Orthogonal Frequency Division Multiplexing (OFDM) is a promising solution for this problem. It is a multi
carrier modulation and as well as a multiplexing technique proposed for 3G, 4G, LTE-A systems to support high data rate
applications in a fading environment. Many problems linked with the multi carrier transmission like phase variations and
Carrier Frequency Offset (CFO) are prominent. In this paper we analyze CFO and its effect in detail for OFDM symbol and
then describe techniques to estimate CFO. The estimation techniques cover both domains; time and frequency for OFDM
system. The simulations results are analyzed and presented in this paper are performed in MATLAB.

Keywords Wireless Communication; OFDM; LTE-A; CFO; MATLAB

1. Introduction being digitized and hence digital modulation schemes are


used in recent days. Digital modulation schemes assure
A huge amount of development had been made in the robustness, solves the problem of data encryption and
wireless communication systems from the many past years security and the main thing the recovery of data at the
and is still the vital area of research nowadays. The wireless receiver end, which is not supported by the analog
medium first used for the transmission of voice when modulation.
Marconi invented the radio and after that a rapid growth
had been made in this field. The reason behind we choose There are many problems associated with the carrier signal
wireless medium for our propagation is the mobility of the like there might be some phase distortions due to
users, which cant handled by the wired networks so inaccuracies of carrier signal generation at the transmitter
effectively. One main advantage we have the effective and receiver ends. We can model this phase noise by a
transmission of data and multimedia applications like Zero-Mean Wiener Random Process (ZMWRP). Another
images, video, audio files etc. on the wireless propagation common problem inherited in the carrier signal is the
medium [1]. carrier frequency offset (CFO) which is due to the Doppler
frequency shift with the changing velocity when passing
Long distance wireless communication requires the use of through the medium. This CFO also occurs due to
high frequencies as low frequencies cant propagate to such differences between the oscillators at the transmitter and
long distances and also require much large antennas. receiver side caused by the system noise temperature at
Modulation is a scheme which finds the solution to this both respectively [3].
problem as by modulating the low frequency baseband
signal to some high carrier frequency and facilitate the We can develop a relationship for the frequency offset

,
transfer of information. In this technique different by , where shows the frequency
parameters of high frequency carrier signal is varied like offset and are the carrier frequencies at the
amplitude, frequency and phase etc. which gives birth to transmitter and receiver end respectively. Changing
velocity is associated with the Doppler shift. Thus the
Amplitude Modulation (AM), Frequency Modulation (FM), relative velocity between transmitter and receiver dictates
Phase Modulation (PM) respectively [2]. These are analog the frequency shift in the carrier frequency which
modulation schemes and in todays world everything is
W. Aziz, et al., JOE, Vol. 1, No. 1, pp. 5-10, 2012 6

increases with the carrier frequency as per the following



.
relation. This change in frequency causes another
issue of Carrier Frequency Offset (CFO) denoted by ;
which must be countered. Apart from the frequency offset it
also depends on frequency step size . Normalized CFO is
and here

given by: is offset in
frequency which is caused by Doppler Effect and also
caused by oscillator limitations [4].

It is necessary that the oscillator one uses for receiver


should be exactly the same but in spite of all the care taken,
the oscillator has some phase and frequency change Figure 1. Effect of IFO on OFDM Symbols
contributing to both STO and CFO.OFDM has a high data
Fractional Frequency Offset
rate by virtue of its orthogonal subcarriers which are spread
in some finite band. It is clear from above equations that The scenario in which shift in the subcarriers is a fractional
CFO depends on the operating frequency. Thus for a part instead of an integer then it is called fractional carrier
particular band, the smaller frequencies are affected less frequency offset. Orthogonality can be lost among the
and the higher frequencies more. More emphasis will be put subcarriers which will cause ICI in return [5]. Received
on their effects in the material to follow. signal can be expressed as:

"#$
1
2. Effects of CFO
9 ! < 5 .! .! ( )*+%2,=>3/" = 8 !
;
%&'
Normalized CFO ( ) can be broken down into Fractional
CFO ( ) which also known as FFO and into Integer CFO After taking the FFT of equation 2 we have received signal
which is affected by FFO and can be written as:
"#$

( ) which usually known as IFO [3]. Mathematically it can
9 .! <9 !( #)*+,%/"
be written as:
%&
2.1 Integer Frequency Offset (IFO) After putting the value of received signal we get the

Lets suppose we have "#$ ! transmitted symbols at


expression as given below:
%&'
the transmitter end which we intend to transmit. When
"#$ "#$
1
9 .! < < 5 @! @!( )*+2A#,=> 3%/"
passing through the channel, IFO affects OFDM symbol by
#)*+%,
the amount of ( -"
;
%& A&'
after the IFFT block. The
"#$

. ! for the ./0 subcarrierat the < 8 !( #)*+,%/"


transmitted symbol is shifted by an integer due to IFO
and results in
receiver side after N-point FFT is taken, as shown in figure %&

1. The received signal will be of the form of:


After rearranging we have left with the expression:
12 3 ( ) 52|. |" 3 7 2|. |" 3 8 2 3 "#$ "#$
1
9 .! < 5 @! @! < ( )*+2A#,=> 3%/"
8 .!
8 2 3 describes the thermal Gaussian noise and 7 2|. ;
A& %&
|" 3 represents the phase rotated version of the transmitted
symbols caused by the IFO. Then expanding the above equation and simplifying the
final expression is shown below:
We have to cater for the IFO affect, as the integer shift in
%2+> 3
subcarriers can degrade the performance of the system by 9 .! +> B ( )+> 2"#$/"3
B 5 .! B .!
" %2 - 3
"
C .! + 8 .!
increasing Bit Error Rate (BER). The IFO effect on the
OFDM symbol doesnt interrupt the orthogonality between
the subcarriers and hence ensures the absence of Inter
Carrier Interference (ICI). This is shown in figure 1.
W. Aziz, et al., JOE, Vol. 1, No. 1, pp. 5-10, 2012 7

%2+> 3 the ./0 subcarrier. This ICI factor can be described


+>
- 3
The term shows the effect of FFO to the
" %2 "
./0 subcarrier which results in amplitude and phase
mathematically as below:

C .!
"#$
distortion. As described earlier that ICI occurs due to FFO
DE 2F2@ . 33
subcarriers, the interference is being represented by C .! in ( )+> 2"#$3/"
< 5 @!
which can eliminate the orthogonality between the
; B DE 2F2@ . 3/;33
A&'
AG,
B @! B (
above equation and includes ICI from other subcarrier to
)+2A#,32"#$3/"3

CFO=0
1

0.5

-0.5

-1
-0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8
CFO=0.01
1

0.5

-0.5

-1
-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1
CFO=0.05
1

0.5

-0.5

-1
-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1
CFO=0.3
1

0.5

-0.5

-1
-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1

Figure 2. Received Signals Subject to CFO

2F -
3. CFO Estimation Techniques causes the phase distortion in the OFDM symbol which can

It is necessary to estimate the CFO, which explains


be denoted as ; where describes the CFO effect. If
we consider that channel effect is minimal and can be
distortion in the transmitted symbols and hence at the
neglected then the phase difference of the CP and the
receiver it can be compensated using some estimation
2F ;-
OFDM symbol which is the victim of CFO can be found

; 2F . Now we can find the amount of CFO


techniques [3]. There are two domains in which we can
perform the estimation of CFO effectively, usually known by
as the time and the frequency domain techniques. Now both by the multiplication of OFDM symbol (CFO affected)
will be discussed separately. with the CP and after that taking their phase angle
measurements [6]. This can be represented by the
3.1 Time Domain Estimation mathematical expression below which shows the average
value over the CP samples.
Time domain estimation proves a fruitful technique in the
#$
1
case of CFO. The use of training symbols and the cyclic
IJK L < M ! M ;!P
2F
prefix (CP) are the ways through which we can perform
time domain estimation for CFO efficiently. %&#"O

3.1.1 Cyclic Prefix


equation. As IJKfunction can be performed by the use of
The range of the CFO () can be estimated from the above

/I #$ function which has the range of F, F! in a 2F


The cyclic prefix (CP) of the OFDM symbol can be used to
estimate the CFO in time domain. We know that the CFO
W. Aziz, et al., JOE, Vol. 1, No. 1, pp. 5-10, 2012 8

of 0.5, 0.5! accordingly.


interval. This corresponds to the value of CFO in the range CFO. After necessary synchronization these known
symbols are extracted at the receiver end after taking FFT
[8].After this frequency domain estimation the received

the range | | S 0.5 , hence this technique is useful for the


We can conclude that the CP results the CFO estimation in signal is further compensated by using time domain
estimation techniques as described earlier.
Fractional CFO (FFO) which deals with the fractional
offsets in the OFDM symbol. There is a drawback of using This works well by the implementation of two different
CP as improves non-effective in the case of Integer CFO estimation modes commonly known as the tracking and
(IFO), because it does not estimate integer offset. acquisition modes. Acquisition mode estimates the Integer
CFO by enhancing the range of CFO, while tracking mode
3.1.2 Training Symbol only supports fine CFO [9]. We can estimate the acquisition
mode by the expression below:
To overcome the issues of CP, Training Symbol (TS)
_#$
1
W @IZ [\< 9 ] ^ E!, !9 ^ E!, !
technique can be employed which covers the wide range to

U V
2F. T XY
estimate the value of CFO (). TS has repetitive nature with
periods of short duration, which ensures the correlation by &'

] ^ E! ^ E!!\`
bringing together two sampled OFDM blocks. This will
prove helpful in increasing the range of the CFO.

Lets suppose we denote the ratio of OFDM symbol to the Whereadenote the number of pilot tones,^ E! denotes the
location of the E/0 pilot tone, and ^ E! shows the pilot
repetitive length of the pattern by an integer T. Then we can
tone located at^ E! in the frequency domain at the b/0
estimate the CFO by using this integer T by the following
equation:
symbol period. In the same way we can develop a
"/ #$
T
mathematical expression for Fine CFO as:
IJK L < M ! M ;/T!P
2F 1
_#$
%&' W IJK [\< 9
2F. T XY . T
&$
This gives an estimation range of| | S T/2, which depends
] ^ E!, UW V ! 9 ^ E!, UW V !
upon the controllable factor of T. As the value of T
decrease the estimation range of CFO decreases and vice ] ^ E! ^ E!!\`
versa [7].

One main disadvantage in the case of TS is that the value of In the tracking mode we estimate the W first and then
Mean Square Error (MSE) increase as we widen our CFO compensate the CFO accordingly.
range. This is due to reduction in the correlation samples by
a factor of 1/T. The solution to this problem is to calculate 4. Results and Analysis
average of all the estimates over repetitive short periods
which will reduce the amount of MSE without affecting the The first and foremost technique we use for
estimation range. synchronization is done by exploiting the OFDM symbol;

estimate a limited CFO within the range of | | S 0.5. So,


in particular CP. But here lies the problem that it can only
3.2 Frequency Domain Estimation
training symbols are used and corresponding phase
The problems faced in the time domain estimation of CFO difference in actual symbol and training symbol is
can be tackled well by the use frequency domain estimation measured and hence CFO.

Now Moose model has much more range given by | | S


techniques. The well known technique for CFO estimation

1- , but it can also be increased by D times, where D is the


is by pilot insertion or pilot tones.

3.2.1 Pilot Tones 2


number of repetitive patterns. There is the corresponding
In the pilot tone technique we insert some known symbols increase in the performance which can be seen in figure 3
(pilots) information in the frequency domain and then as BER is decreased. Now in Classen, BER is further
OFDM symbols transmitted for the purpose of estimating decreased but there is a tradeoff as with the increase in
performance complexity also increases. With CP we have
W. Aziz, et al., JOE, Vol. 1, No. 1, pp. 5-10, 2012 9

the least complexity as no overhead is required then the complexity is increased in Moose and Classen.

CFO Estimation
-2
10
CP-based technique
Moose (Preamble-based)
Classen (Pilot-based)

-3
10

-4
10
MSE

-5
10

-6
10

-7
10
0 5 10 15 20 25 30
SNR[dB]

Figure 3. BER performance of different CFO Estimation Techniques

5. Conclusion [3] Yong Soo Cho, Jaekwon Kim, Won Young Yang, Chung-Gu Kang,
MIMO-OFDM Wireless Communication with MATLAB, John Wiley &
Sons (Asia), Singapore, 2010.
OFDM is best for its higher data rates and low BER but its
[4] Jun Wu, Qun Zhou and K.K.M.Cheng, A Joint Estimation Algorithm
implementation requires special attention. CFO and STO
of Symbol Timing and Carrier Offset in OFDM Systems, Vehicular
estimation is the key to successful communication. Its Technology Conference, 2001. Vol 1, pp 712-716.
valid in every Communication system but OFDM is
[5] S. Younis, A. Al-Dweik, C. C. Tsimenidis, B. S. Sharif and A. Hazmi,
particularly more vulnerable. Different CFO estimation The Effect of Timing Errors on Frequency Offset Estimation in OFDM
techniques are discussed in the paper along with their Systems, International Symposium on Signal Processing and Information
Technology (ISSPIT), 2011, pp. 202-206.
merits and demerits. Moreover, this entirely depends on the
requirements and correspondingly resources are employed [6] Sankassa B. Senevirathna, Chandimal Jayawardena, Sumudu S. Perera,
Chandima L. Perera, Dhanushka Ranasignhe, Sureni R. Wijerathna ,
to get the required performance threshold. Classen Thisara N. Bandara, Carrier Frequency Offset Estimation for OFDM
Estimation technique is much more efficient and shown in System using Extended Kalman Filter, 4th International Conference on
the paper to work better. Information and Automation for Sustainability, 2008, pp. 351-354.

[7] Yuefen Chen, Frequency offset estimation based on virtual carrier in


References OFDM system, International Conference on Image Analysis and Signal
Processing, 2009, pp. 369-371
[1] W.Aziz, G.Abbas, E.Ahmed, S.Saleem, Q.Islam, Design Analysis of
Analog Data Reception using GNU Radio Companion (GRC), World [8] S. Saleem, Q. Islam, Performance and Complexity Comparison of
Applied Science Journal, 17(1), 2012, pp. 29-35. Channel Estimation Algorithms for OFDM System, International Journal
of Electrical & Computer Sciences IJECS-IJENS, Vol: 11 No. 02, 2011,
pp. 6-12.
[2] E.Ahmed, W.Aziz, S.Saleem, Q.Islam, Performance Analysis of
OFDM System for Different Channel Lengths and Multipath Channel [9] S. Saleem, Q. Islam, W. Aziz, A. Basit, Performance Evaluation of
Taps, Linear Channel Estimation Algorithms for MIMO-OFDM in LTE-
Advanced, International Journal of Electrical & Computer Sciences
IJECS-IJENS, Vol: 11 No. 03, 2011, pp. 64-69.
W. Aziz, et al., JOE, Vol. 1, No. 1, pp. 5-10, 2012 10

Vitae Pakistan. He has published more that 19 International Journal and 5


International Conference papers. His areas of interest are Channel
Estimation and Detection, Wireless Communication, DSP algorithms,
Ebtisam Ahmed, Waqar Aziz, Ghulam Abbas, are students of B.E Spectrum Sensing etc.
Electrical Engineering at Institute of Space Technology, Islamabad,
Pakistan. Currently they are working on their Final Year Project Design Dr.Qamar-ul-Islam is with Department of Communication System
and Implementation of MIMO-OFDM System using USRP. They have Engineering at Institute of Space Technology, Islamabad, Pakistan. He is
already published 3 International Journal Papers from their work related to
currently Head of Department. His areas of interest are Estimation and
Final Year Project.
Detection Theory, Wireless Communication and Satellite Communication.
Saqib Saleem is currently working as a Lecturer in Department of
Electrical Engineering at Institute of Space Technology, Islamabad,

You might also like