Professional Documents
Culture Documents
Implementation of OFDM Transmitter and Receiver Using FPGA: Nasreen Mev, Brig. R.M. Khaire
Implementation of OFDM Transmitter and Receiver Using FPGA: Nasreen Mev, Brig. R.M. Khaire
I. INTRODUCTION
The OFDM is the modulation scheme having multi carrier
transmission techniques here the available spectrum is
divided into many carriers each one being modulated at a
low rate data stream. The spacing between the carriers is
closer and the carriers are orthogonal to one another
preventing interferences between the closely spaced carriers
hence OFDM can be thought of as a combination of
modulation and multiplexing techniques, each carrier in a
OFDM signal has very narrow bandwidth so the resulting
symbol rate is low which means that the signal has high
tolerance to multi path delay spread reducing the possibility
of inter symbol interference (ISI)which is the requirement
for todays communication systems.
OFDM is similar to FDM but much more spectrally efficient
by spacing the sub-channels much closer together (until they
are actually overlapping). This is done by finding
frequencies that are orthogonal, which means that they are
perpendicular in a mathematical sense, allowing the
spectrum of each sub-channel to overlap another without
interfering with it. In Figure 1.1 the effect of this is seen, as
the required bandwidth is greatly reduced by removing
guard bands (which are present in FDM) and allowing
signals to overlap.
A. Orthogonality
The key to OFDM is maintaining orthogonality of the
carriers. If the integral of the product of two signals is zero
over a time period, then these two signals are said to be
orthogonal to each other. Two sinusoids with frequencies
that are integer multiples of a common frequency can satisfy
this criterion. Therefore, orthogonality is defined by:
2
2
0
(
)
where n and m are two unequal integers; f is the
fundamental frequency; T is the period over which the
integration is taken. For OFDM, T is one symbol period
for optimal effectiveness.
and f set to
B. Field Programmable Gate Array
By modern standards, a logic circuit with 20000 gates is
common. In order to implement large circuits, it is
convenient to use a type of chip that has a large logic
capacity. A field programmable gate arrays (FPGA) is a
programmable logic device that support implementation of
relatively large logic circuits [6]. FPGA is different from
other logic technologies like CPLD and SPLD because
FPGA does not contain AND or OR planes.
Instead, FPGA consists of logic blocks for implementing
required functions.
An FPGA contains 3 main types of resources: logic blocks,
I/O blocks for connecting to the pins of the package and
interconnection wires and switches. The logic blocks are
arranged in a two-dimensional array, and the
interconnection wires are organized as horizontal and
vertical routing channels between rows and columns of logic
blocks [7].
The routing channels contain wires and programmable
switches that allow the logic blocks to be interconnected in
many ways. FPGA can be used to implement logic circuits
of more than a few hundred thousand equivalent gates in
size [7]. Equivalent gates is a way to quantify a circuits size
by assuming that the circuit is to be built using only simple
logic gate and then estimating how many of these gates are
needed. Figure 1.2 a clear picture of the FPGA design flow.
199
D. Interleaver/De-Interleaver
Interleaving is done to protect the data from burst errors
during transmission. Conceptually, the in-coming bit stream
is re-arranged so that adjacent bits are no more adjacent to
each other. The data is broken into blocks and the bits
within a block are rearranged. Talking in terms of OFDM,
the bits within an OFDM symbol are rearranged in such a
fashion so that adjacent bits are placed on non-adjacent subcarriers.
As far as De-Interleaving is concerned, it again rearranges
the bits into original form during reception.
E. Constellation Mapper/De-Mapper
The Constellation Mapper basically maps the incoming
(interleaved) bits onto different sub-carriers. Different
modulation techniques can be employed (such as QPSK,
BPSK, QAM etc.) for different sub-carriers. The De-Mapper
simply extracts bits from the modulated symbols at the
receiver.
Fig1.3 Complete OFDM System
A. Scramble/Descramble
Data bits are given to the transmitter as inputs. These bits
pass through a scrambler that randomizes the bit sequence.
This is done in order to make the input sequence more
disperse so that the dependence of input signals power
spectrum on the actual transmitted data can be eliminated.
At the receiver end descrambling is the last step.
Descrambler simply recovers original data bits from the
scrambled bits.
B. Reed-Solomon Encoder/Decoder
The scrambled bits are then fed to the Reed Solomon
Encoder which is a part of Forward Error Correction (FEC).
Reed Solomon coding is an error-correction coding
technique. Input data is over-sampled and parity symbols
are calculated which are then appended with original data
[3]. In this way redundant bits are added to the actual
message which provides immunity against severe channel
conditions. A Reed Solomon code is represented in the form
RS (n, k), where
n= 2m 1
(1)
k = 2m 1 2t
(2)
Here m is the number of bits per symbol, k is the number of
input data symbols (to be encoded), n is the total number of
symbols (data + parity) in the RS codeword and t is the
maximum number of data symbols that can be corrected. At
the receiver Reed Solomon coded symbols are decoded by
removing parity symbols.
C. Convolutional Encoder/Decoder
Reed Solomon error-coded bits are further coded by
Convolutional encoder. This coder adds redundant bits as
well. In this type of coding technique each m bit symbol is
transformed into an n bit symbol; m/n is known as the code
rate. This transformation of m bit symbol into n bit symbol
200
F. IFFT
The IFFT was tested by giving the following 64 complex
data points,
h00b504000000,h030000000000,
h00b504000000,,
h00b504000000
201
[7]
[8]
[9]
[10]
[11]
[12]
[13]
[14]
[3]
[4]
[5]
[6]
202