Escolar Documentos
Profissional Documentos
Cultura Documentos
ABSTRACT- A multi-carrier modulation technique is adaptive strategies can approach the ideal water pouring
Orthogonal Frequency Division Multiplexing (OFDM) which capacity of a frequency-selective channel. In practice this is
divides the available spectrum into many carriers. The spectrum achieved by using adaptive bit loading techniques, where
efficiently uses in OFDM compared to FDMA by spacing the different sized signal constellations are transmitted on the
channels much closer together. All carriers in OFDM orthogonal
subcarriers. OFDM is a block modulation scheme where a
to one another to prevent interference between the closely spaced
carriers. The objective of this work is to study and design a basic block of N information symbols is transmitted in parallel on
OFDM modulator and demodulator which contain FFT (Fast sub- carriers. The time duration of an OFDM symbol is N
Fourier Transform) and IFFT (Inverse Fast Fourier Transform), times larger than that of a single-carrier system. An OFDM
mapping block (QAM), De- mapping block, serial to parallel and modulator can be implemented as an inverse discrete Fourier
parallel to serial converter using hardware programming language trans- form (IDFT) on a block of information symbols
(VHDL). In OFDM system IFFT/FFT processor is designed followed by an analog-to-digital converter (ADC) and at the
based on pipelined architecture. The pipeline architecture hold so demodulator part FFT block may be used. So IFFT/FFT block
good so as to reduce the huge structure of FFT/IFFT processor. In is an important part of the OFDM system. Here IFFT/FFT
this work radix-22 algorithm and radix-22 architecture is used to
block in OFDM system will be implemented by a new
design FFT processor.
approach. Basically the approach is to design an FFT/IFFT
The design has been written in VHDL language and then processor by pipeline architecture which is a real time system
simulated in the Xilinx ISE simulator 14.2 software and finally that means it generate the result in a specified time. Moreover
implement the designed in FPGA board (SPARTAN 3E starter FPGA could be the idle platform considering re-
kit).
configurability. In this work an OFDM modulator and
Keywords— OFDM,FFT, radix-22 algorithm demodulator are designed and implemented in FPGA.
II. METHODOLOGY.
I. INTRODUCTION
OFDM is multi-carrier modulation system, unlike
conventional single – carrier modulation system (AM/FM).
For demanding high bandwidth and high data rate, OFDM has
been adopted in several wireless standards, such as Digital
audio broadcasting (DAB), Digital video broadcasting (DVB-
T), IEEE 802.11a local area network (WLAN), and IEEE
802.16a metropolitan area network. OFDM is also being
pursued for dedicated short range communication (DSRC) for
road side to vehicle communication. OFDM converts a Fig. 1 Basic transmitter and receiver system
broadband frequency-selective channel into a parallel
This is the basic block diagram of OFDM transmitter and
collection of narrowband flat sub channels. The sub-carriers
receiver system. In the transmitter system forward error
have the minimum frequency separation required to maintain
control/ correction coder is used to obtain the protection against
orthogonality among them, though the signal spectra burst errors. Serial to parallel conversion block require for
corresponding to the different subcarriers overlap in converting serial data to the parallel data. The number of bits in
frequency. Hence, the available bandwidth is used very parallel data should be dependent on the modulation technique.
efficiently. If knowledge of the channel is available at the At the receiver side we need the parallel to serial converter
transmitter, then the OFDM transmitter can adapt its signaling which convert parallel data to serial data which are to be
strategy to match the channel. Due to the fact that OFDM uses received. Interleaver [5] is done to protect the transmitting
a large collection of narrowly spaced sub channels, these data from the burst error during the transmitting time
X X D0 D1 D2 D3 4th clock
Fig. 2 IFFT block
X D0 D1 D2 D3 D4 5th clock
D. FFT block:
D0 D1 D2 D3 D4 D5 th
6 clock The FFT module is most vital block in the OFDM system. 16-
point FFT is design using R2SDF architecture. It has seen, this
296
architecture can be designed using two butterfly circuits. Two
butterfly circuits are identical to each other. Each butterfly
circuit contains adder- Subtractor block, and switching
block. The butterfly circuit has four 16 bit input lines and four ………… (3)
16 bit output lines. Two input ports are directly connected The butterfly structure has form of
with real and imaginary data with of the previous stage and
other two are connected with the output of the FIFO block
which feeds back previous sample of real and imaginary data
for pipelined processing. Two output ports feed real and
imaginary sample to the FIFO input and other two output ports
pass real and imaginary data to the next stage. The control If the expression within the braces of the equation (3) is
signal is generated by the simple binary counter. further decomposing we will get normal radix-2 FFT [1]
results. The key idea of the new algorithm to process the
Radix-22 DIF FFT algorithms: [1] second step decomposition to remaining DFT coefficients,
In this work radix-22 algorithm and radix-22 architecture is
used to design FFT processor. The reason to select this including the “twiddle factor” , [1]to exploit
algorithm is radix-2 is a good algorithm. It has low
quantization noise and it is also easily parameterizable to the the exceptional values in multiplication before the next
different FFT lengths. Due to high quantization noise and butterfly is contacted. The twiddle factor decomposition is[1]
difficult to parameterizable for different FFT length radix-r
does not seem too good a chose as the radix -2 one. The noise
is very bad for the OFDM communication.
Since minimizing the number of multiplier is an important ……(4)
matter for design, form this side split radix algorithm is good Substituting eqn. (4) in eqn. (3) and derive the summation
choice because it lower number of multiplier compare to other with index n2 the DFT will be in four time shorter DFT length.
algorithm. But this algorithm is very complex to design and it
is not easily parameterizable for different FFT length. The
control of this type of processor is more complex. …..(5)
The radix -22 algorithm is most attractive algorithm because it Where H (k1, k2, n3)[1] express as the equation
is very simple to design, low number of multiplier and simple
control structure
The radix-22 algorithm can be thought of as a radix-4
algorithm by the radix-2 building block. That is the notion of
radix-22 DIF algorithm is used to clearly reflect the structural ..(6)
relation with radix-2 algorithm and identical computational
requirement with radix-4 algorithm. The equation (5) represents two stage of butterfly’s structure
The DFT of size N defined by with only trivial multiplication. AS BF I and BF II .after two
stages, full multipliers are required to compute the product of
X (K) = 0≤K<N ………… (1)
the decomposed twiddle factor [1] in the
equation (5).The butterfly-I is the one represented by the
Where WN detonates the nth primitive root of unite, with
formula in the brackets into the last part of equation (6) and
exponent calculated modulo N. to make the derivation of new
butterfly –II is same equation with a multiply by the (-j)(k1+2k2)
algorithm clearer, consider first two steps of decomposition in
.the complete radix-22 algorithm is derive by applying this
the -2 DIF FFT together. Appling 3 - dimensional linear index
procedure recursively.[1]
map[1]
R22SDF FFT processor architecture are shown in the fig
K = <k1+2k2+4k3>N
297
Butterfly structure for R22SDF FFT multiplied in still next N/2 cycle When the first half of the
next frame of the time sequence is loaded in.
1Butterfly –I architecture:
The diagram shown below is of the butterfly-I architecture[1]. Butterfly-II architecture:
The main component is add-subtractor block and switch-I
block. Second butterfly circuit is same as the first butterfly circuit,
but has only difference in trivial multiplication, included to
implement twiddle factor multiplication by (-j) (k1+ k2) [1]. The
trivial multiplication is real and imaginary value swapping.
This happens when the input sequence just N/4 .The basic
diagram of Butterfly- II is shown below
The adder block is designed by 16 bit parallel adder circuit. Fig 5: Butterfly –II architecture[1]
And by using the adder block one can also subtract operation
Switching- II Block
using XOR gate. The parallel adder circuit is designed by full
adder circuit and XOR gate. The main function of this block is
Switching –II block is connected to the input of the butterfly
to add and subtract depending on the mode of input line. If the
circuit. This provides the trivial multiplication by changing
mode input is zero, it operates as the adder circuit and mode is
real number to imaginary number. The trivial multiplication
one, it operates as the subtraction. The output of the Adder-
happens at the (N/4) sequence of the input frame. The control
Subtractor circuits is in 2’s compliment format so it needs to
signal (en) is provided by the binary counter. This switch has
be converted in the normal bit format; that is MSB should be
two 16 bit input line which are directly connected to the two
sine bit and next 9 bits represent integer and 6 bits represent
output lines (16 bit) when the control signal (en) is low and
fractional part [1,M,N]..
two input lines are connected to the output line by inter
changing position when the control signal is “1”. The
Switching-I block
switching diagram is shown here.
If one takes a close look on the butterfly-I structure [1], one
Table 3: Input and output of
can see two paths in the output side. In One path incoming
switching Block
input data is directly connected to the output. In the second
path output of the addition and subtraction is connected to the
output. This selection of two paths is done by the bank of 16, A B EN D E
Fig. 6 Switching Block
2-to-1 multiplexer. The bank of mux selects the output either 0 0 0 0 0
coming directly from the input from output of the add-sub 0 0 1 0 0
block. The control input of the multiplexer is general which is
0 1 0 0 1
provided by the output of the binary counter.
0 1 1 1 0
On first N/2 cycles, the 2-to-1 multiplexors in butterfly-I 1 0 0 1 0
module switch to the “0” and the butterfly is idle; the input 1 0 1 0 1
data from left is directed to the shift register (FIFO) until they 1 1 0 1 1
are filled. On the next N/2 cycles, the multiplexor turns to the
position “1”, the butterfly compute a 2 point DFT with 1 1 1 1 1
incoming data and data stored in the shift register (FIFO) [1].
The table shows, the input values interchange only when the
Z1 (n) = x (n) + x (n + N/2) “en” signals is one. Only when N/4 sequence data is inputted,
Z1 (n + N/2) = x (n) + x (n + N/2) the “en” signal becomes “1”. This is done according to the
fig.6.
The butterfly output Z1 (n) is to be applied to the twiddle En = (not T) and S
factor, and Z1 (n + N/2) is sent back to the shift registers to be S and T are output bit of the binary counter
298
E. Design of the twiddle- factor generator: least significant bits after multiplier operation. In this project
The twiddle factor generator contains ROM block to store the format, MSB represents the sign bit and next 9 bits represent
value of the twiddle factor. The value is represented by fixed the integer and next 6 bits represent fraction part. For the
point representation, in the format [1:1:14], that means that twiddle factor value MSB represents the sign bit and next bit
MSB one bit represents sign of the value and next one bit is integer bit and last 14 bits represent fractional part. The
represent integer value and last 14 bit represent fractional output of the multiplier MSB represents the sign bit and next 9
value. Here only one bit is required to represent integer value bits represent the integer and next 6 bits represent fraction part
because twiddle factor value always stay between [-1, +1] and and last 16 bits are simply truncated. Due to truncation, it
thus the large number of bits represent fraction field to provide provides little bit truncation error which is over come by dding
very accurate precision. The twiddle factor values are fed to error correction technique at the output of the multiplier.
the complex multiplier along with the output of the butterfly- F. Control block:
II. After multiplication, bit format will not change
Control signal in radix -22 algorithm of the FFT may be
generated simply using only binary counter. The length of the
In the FFT architecture after two stage, full multipliers are
binary counter must be log2N. So for 16 point FTT design, the
required to compute the product of decomposed twiddle factor
control signal generated by the binary counter is of 4 bit
WNn3(k1+ k2) [1] as shown in the equation (5.12).
length.
The twiddle factor is generated according to the serial number
of the table, one by one. This sequence is maintained with the G. QAM De Mapper block:
help of the binary counter output De Mapper block operation is opposite operation of QAM
Complex multiplier: mapper block. De Mapper block gives symbol output
Complex multiplier is an important component for the OFDM according to the input of the real and imaginary value which is
System. Complex number multiplication needs four real the output of the FFT block.
number multiplication and two additions. In real number
processing, carry bit is needed to be propagated from least H. Parallel to serial block:
significant bit (LSB) to the most significant bit (MSB), when The output of the de QAM circuit is applied to the parallel to
binary partial products are added. Therefore, the addition and serial block which convert 6 bit parallel data to serial data that
subtraction after binary multiplications, limit the overall is same as original serial data. It is made by simple parallel to
speed, although many techniques have proposed to overcome serial shift register
this problem.
In this work a parallel array multiplier is used for the real IV. SIMULATION RESULT
multiplication. The complex number multiplication system can Simulation result of the serial to parallel converter.
be divided into two main components known as real part(R)
and imaginary part (I).
R + jI = (A + jB) (C + jD) ………… (7)
Based on the equation (6.1), the real part is the output for (AC
- BD) and the imaginary part is the output for (BC + AD). To
generate those two main components require sub-components
called partial product generator and adder/subtractor Fig. 8 simulation result of the serial to parallel converter
299
table. The output of the IFFT block is applied to the reduces the complexity of FFT. In this design, the output of
demodulator block the OFDM demodulator using FFT has insignificant error,
because of truncation of bits, at the output of parallel
multiplier. This error is removed by the round-off of the
output of FFT.
.
This OFDM modulator demodulator implementation on
FPGA proves the validity and success of the design procedure.
300