Professional Documents
Culture Documents
141
Fig. 4. Architecture of Scrambler.
2) FEC
Fig. 6. Reed-Solomon Top-Level Module Design.
It is the process employed to detect and correct errors
without retransmission [6]. For OFDM PHY, the FEC is b) Convolutional Encoding
accomplished by the concatenation of Reed-Solomon outer In OFDM PHY, each RS encoded data is further
code and a rate compatible Convolution inner code shown encoded by convolutional encoder with a native rate of
in Fig. 5. WiMAX supports adaptive PHY, hence different 1/2, a constraint length equal to 7. The output code bits are
modulation and coding schemes could be employed generated by generator polynomial defined in (6) and (7);
depending upon channel conditions [7], details of whose
are given in table 1. 171 (6)
133 (7)
142
3) Interleaving TABLE 3. Q1.14 FIXED POINT FORMAT OF I & Q MAGNITUDES
Let be the number of coded bits per subcarrier, MODULATIO CARRIER
MAGNITUDE HEX (16-BIT)
i.e., 1, 2, 4 or 6 for BPSK, QPSK, 16-QAM, or 64-QAM N VALUE
respectively. Let /2 . Within a block of 1 1 4000
BPSK
-1 -1 C000
bits at transmission, let be the index of the coded 1 0.707106781 2D41
bit before the first permutation; be the index of that QPSK
-1 -0.707106781 D2BF
coded bit after the first and before the second permutation 1 0.316227766 143D
and let be the index after the second permutation. The -1 -0.316227766 EBC3
16-QAM
first and second permutation is defined by (8) and (9) 3 0.948683298 3CB7
respectively; -3 -0.948683298 C349
1 0.15430335 09E0
3 0.46291005 1DA0
. (8) 5 0.77151675 3160
7 1.08012345 4520
. 64-QAM
. (9) -1 -0.15430335 F620
-3 -0.46291005 E260
-5 -0.77151675 CEA0
Where = 192, 384, 768 and 1152 called number -7 -1.08012345 BAE0
of coded bits per OFDM symbol for BPSK, QPSK, 16-
QAM and 64-QAM respectively [1].
The rate_id input selects one of the four output lines
Interleaver was designed by an array of 1152, 1-bit The top level design is shown in Fig. 9.
registers. The input data bus is 48-bit which takes
minimum of 4 and maximum of 24 clock cycles. Writing
address of array is generated inside the module which
takes decision on the value of rate_id input. There are 4-
output data buses, corresponds to provide data to BPSK,
QPSK, 16-QAM and 64-QAM modulation mappers,
having widths 1, 2, 4 and 6 bit(s) respectively. As there are
192-data carriers, so for output 192 clock cycles are
needed, hence operation of interleaver takes minimum of
196 and maximum of 216 cycles. Hardware architectural
view is presented in Fig. 8. All the modules of channel
coding are wrapped up under a top-level file. Fig. 9. Hardware Realization of Mapper
143
polynomial x11 + x9+1, which produces a sequence at development kit. Timing analysis suggests 109.26 MHz
its LSB and denotes the OFDM symbol number in the as maximum attainable speed for the implemented design.
current frame[1]. Pilots are BPSK modulated and their I
B. Hardware Resources
magnitudes are given by 1 2 and 1 2 for carrier
indices -88, -38, 63, 88 and -63, -13, 13, 38 respectively. Synthesis of the design using Altera Quartus II 9.0
DC and guard are null carriers with zero magnitudes. The Web Edition software suggests device resource summary
OFDM symbol is assembled inside a module comprises of for Altera Cyclone II EP2C35F672C6 FPGA chip shown
pilot generator module and two 256x16 RAMs, each for I in table 4.
and Q parts to accommodate on specified locations TABLE 4. SYNTHESIS RESULTS
correspond to frequency indices[12]. The input data line of LC LC Memory DSP Mult-
each RAMs selects either data, pilot, DC or guard carriers. Module
Combination Registers Bits ipliers
The system is designed in a way that pilot, DC and guard Channel
carriers are already present in the RAMs, and just after 2 coder
3007 2123 1152 0
clocks of 1st input data sample, output is available. Mapper 7 8 2048 0
OFDM 3864 4386 56577 18
2) The IFFT Module
Total 6878 6517 59777 18
The IFFT module is fed by the OFDM symbol
assembler with 256-complex samples. The IFFT module
IV. CONCLUSION
was generated using Altera Quartus-II 9.0 mega function
wizard and wrapped in a top-level file to produce sop, eop Simulations on ModelSim-Altera 6.4a (Quartus II 9.0)
and source_ena signals internally in the same way as for Starter Edition were fully compliant with the IEEE test
RS-encoder. It takes minimum of 512 clocks to complete data provided in the standard. For hardware prototyping of
the processing. The output data is fed to CP generator the design, Visual Basic application software was
which introduces the redundancy to the OFDM symbol developed which provides GUI for data sending and
thus act as a protection from inter symbol interference. receiving to FPGA Chip through UART interface. As
FPGA platform provides a flexible design approach so this
3) CP Generator
work could open up the doors for many other projects as
A copy of the last 1 samples is appended to one can deploy complete WiMAX CPE if MAC and RF
the beginning of the symbol, which is termed as CP and front end for Rx and Tx would properly designed and
increases symbol duration hence multipath is achieved integrated.
[12]. The value of is taken as 1/16 which represents a V. REFERENCES
moderate channel, thus the term 1 comes out to
[1] IEEE Standard for Local and Metropoliton Area Networks. Part 1 :
be 16 and the overall symbol length becomes 272-complex Air Interface for Fixed Broadband Wireless Access Systems. New
samples. The hardware structure is simply achieved by York, USA : s.n., October 1, 2004.
designing two 256x16 RAMs, in which first whole 256- [2] Jordan Douglas Guffey. OFDM Physical Layer Implementation for
complex carriers are written but reading is started from the Kansas University Agile Radio. University of Kansas. Kansas :
239 to 255 and then 0 to 255 RAM locations. The whole s.n., 2008. Technical Report.
process takes about 532 clocks. [3] Wimax-speed. wikimedia.org. [Online] [Cited: September 5, 2009.]
http://commons.wikimedia.org/wiki/File:Wimax-speed.jpg.
This is all about the hardware implementation of IEEE
Std 802.16d OFDM PHY on FPGA, next section would [4] Lili Zhang. A study of IEEE 802.16a OFDM-PHY Baseband.
present various results of the project. Electrical Engineering, Linköping Institute of Technology.
Linköping : s.n., 2005. Master thesis in Electronics Systems. LiTH-
III. RESULTS ISY-EX--05/3627--SE.
[5] Loutfi Nuaymi. WiMAX: Technology for Broadband Wireless
A. Data Rate Calculation Access. ENST Bretagne : John Wiley & Sons Ltd, 2007. p. 310.
Data rate = un-coded bits / OFDM symbol Duration (12)
[6] Andy Bateman. Digital Communication - Design for the Real
World. s.l. : Addison Wesley Longman Ltd., 1999.
= [ 1/ / ](1 + ) (13)
[7] Mohammad Azizul Hasan. Performance Evaluation of
WiMAX/IEEE 802.16 OFDM Physical Layer. Department of
Where OFDM symbol Duration; Electrical and Communications Engineering , Helsinki University
= 8/7 called sampling factor; of Technology . Espoo : s.n., 2007. Master Thesis.
= Channel Bandwidth; in this design it was taken as
1.75, 3.5, 7 and 14 MHz ; [8] Bernard Sklar. Digital Communications Fundamentals and
Applications. 2nd. Los Angeles : Pearson Education, Inc.
= 256 called IFFT points;
= 1/16; called ratio of CP time to useful symbol [9] MATLAB 7.8.0 (R2009a), Help. s.l. : MathWorks, Inc., 2009.
time. [10] van Nee, R. and Prasad, R. OFDM for Wireless Multimedia
Communications. s.l. : Artech House, 2000.
Using (12) and (13) for each modulation and coding
[11] Charan Langton. OFDM. Intuitive Guide to Principles of
scheme depicted in table 1, the minimum and maximum Communications. [Online] http://www.complextoreal.com/.
data rates were found to be 5.64 Mbps and 50.82 Mbps for
BPSK 1/2 and 64-QAM 3/4 respectively that require 6.55 [12] Amalia Roca Persiva . Implementation of a WiMAX simulator in
MHz clock which was easily achieved by scaling down the Simulink. Institute of Communications & Radio-Frequency
Engineering, Vienna University of Technology. Vienna : s.n., 2007.
oscillator of frequency 50 MHz on Altera DE2 FPGA Master Thesis.
144