Fast Fourier Transform
Fast Fourier Transform
Real-Time and
Offline
Implementation
of
OFDM system
Outline
• Project overview
• Introduction
OFDM basics
How OFDM works ?
• OFDM Adv & disadv
• OFDM block diagram
• Implementation
Project overview
Offline part
•Using MATLAB
Real-time part
•Using modelsim
Project overview
Offline part
Project overview
Real-Time part
OFDM basics
IFFT
OFDM Transmitted Signal
The channel is modeled as a simple AWGN channel. Since the
channel is considered to be an AWGN channel, there is no need
for the frequency domain equalizer in the OFDM receiver
(Frequency domain equalizer will be helpful only if the channel
introduces multipath fading). Since our channel is an AWGN
channel, the frequency domain equalizer block in the above
diagram can be removed.
OFDM Receiver
The receiver part contains channel
estimation to remove noise effect, serial
to parallel and vice versa, 16-QAM de-
mapping, FFT.
Results
Rx Image at SNR=0dB •
Rx Image at SNR=10 •
Rx Image at SNR= 20dB •
OFDM
𝑁
FFT needs log 2 𝑁 for multiplications
2
And N log 2 𝑁 for addition
HDL
We said emplementation this mean hardware
hardware design so we need hardware language !!
What meant by HDL
Benefits of HDL.
The major benefit of the language is fast design and
better verification.
Another major advantage is related to complex designs,
which can be managed and verified easily.
HDL types
Verilog Vs VHDL
HDL
module and1(c,a,b);
output c;
input a,b;
assign c=a&b;
endmodule
VHDL
The VHDL for a two input AND gate is shown
below:
For simulation we have two programs.
1-Modelsim
2-Xilinx
QAM
• Introduction :
I. Quadrature amplitude modulation (QAM) is a form of
modulation which is widely used because it offers high-rate,
high bandwidth efficiency systems.
II. QAM is a signal in which two carriers shifted in phase by 90
degree are modulated and the resultant output consist of both
amplitude and phase variations, so QAM is a combination of
both amplitude and phase modulation.
- The I and Q signals can be represented by the equations
below:
I = A cos(Ψ) and Q = A sin(Ψ)
It can be seen that the I and Q components are
represented as cosine and sine. This is
because the two signals are 90° out of
phase with one another.
Block Digram
Modulation
techniqes
QAM
constellation diagram
It shows the different position of the states, •
when the order of QAM increases, the
number of points on the QAM constellation
diagram increase
2-QAM
4-QAM 16-QAM
QAM
why we used QAM not only PSK?
Block digram:
clk
d7 ….. d0
reg
s/p latch
reset
en
mapping
Implementation of QAM
if(latch[7:6]==2'b00)begin
QAM1[0][3]=1;
QAM1[1][3]=1;
10 00
end else if(latch[7:6]==2'b01)begin
QAM1[0][3]=1;
QAM1[1][3]=-1;
end else if(latch[7:6]==2'b11)begin
QAM1[0][3]=-1;
QAM1[1][3]=-1;
end else if(latch[7:6]==2'b10)begin
QAM1[0][3]=-1; 01
QAM1[1][3]=1; 11
end
Results of QAM in modelsim
with verilog
Fast fourier transform
DFT Function :
N 1
X(k) = x
n 0
( n )e j 2 nk / N
WNnk
N 1
X(k)=
x
n 0
( n )W nk
N