- Open Access
- Total Downloads : 1164
- Authors : Ch.Suresh, K.Ramarao, N.Vijay Shanker
- Paper ID : IJERTV2IS2177
- Volume & Issue : Volume 02, Issue 02 (February 2013)
- Published (First Online): 28-02-2013
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License: This work is licensed under a Creative Commons Attribution 4.0 International License
A Pipelined Implementation of OFDM Transmitter and Receiver on Reconfigurable Platforms
1.Ch.Suresh, 2.K.Ramarao, 3.N.Vijay Shanker 1.Department of ECE, SRTIST, Ramananda Nagar, Nalgonda(dt),A.P,India. 2.Department of ECE, SRTIST, Ramananda Nagar, Nalgonda(dt),A.P,India. 3.Department of EIE, SRTIST, Ramananda Nagar, Nalgonda(dt),A.P,India.
Abstract
The new mobile technologies trying to give broadband over wireless channel allowing the user to have bandwidth connectivity even inside moving vehicle. The metropolitan broadband wireless networks require a non-line-of-sight (NLOS) capability, and the scheme Orthogonal Frequency Division Multiplex (OFDM) becomes essential to overcome the effects of multipath fading. Orthogonal Frequency Division Multiplexing (OFDM) has become very popular, allowing high speed wireless communications. OFDM could be considered either a modulation or multiplexing technique, and its hierarchy corresponds to the physical and medium access layer.
. The VHDL implementation allows the design to be extended for either FPGA or ASIC implementation, which suits more for the Software Defined Radio (SDR) design methodology.In this project the OFDM modulator and demodulator will be implemented with full digital techniques. VHDL will be used for RTL description and FPGA synthesis tools will be used for performance analysis of the proposed core.
Modelsim Xilinx Edition will be used for functional simulation and verification of results. Xilinx ISE will be used for synthesis. The Xilinxs chipscope tool will be used for verifying the results on Spartan 3E FPGA.
-
Introduction
Currently Global System for Mobile telecommunications (GSM) technology is being applied to fixed wireless phone systems in rural areas or Australia. However, GSM uses Time Division Multiple Access (TDMA), which has a high symbol rate leading to problems with multipath causing inter- symbol interference. Several techniques are under consideration for the next generation of digital phone systems, with the aim of improving cell capacity,
multipath immunity, and flexibility. These include Code Division Multiple Access (CDMA) and Coded Orthogonal Frequency Division Multiplexing (COFDM). Both these techniques could be applied to providing a fixed wireless system for rural areas.
However, each technique has different properties, making it more suited for specific applications.
providing a high spectral efficiency.Orthogonal Frequency Division Multiplexing (OFDM) is a multicarrier transmission technique, which divides the available spectrum into many carriers, each one being modulated by a low rate data stream. OFDM is similar to FDMA in that the multiple user access is achieved by subdividing the available bandwidth into multiple channels, which are then allocated to users. However, OFDM uses the spectrum much more efficiently by spacing the channels much closer together. This is achieved by making all the carriers orthogonal to one another, preventing interference between the closely spaced carriers.With the rapid growth of digital communication in recent years, the need for high-speed data transmission has been increased. The mobile telecommunications industry faces the problem of providing the technology that be able to support a variety of services ranging from voice communication with a bit rate of a few kbps to wireless multimedia in which bit rate up to 2 Mbps.
Since OFDM is carried out in the digital domain, there are several methods to implement the system. One of the methods to implement the system is using Field-Programmable Gate Array (FPGA).This hardware is programmable and the designer has full control over the actual design implementation without the need (and delay) for any physical IC fabrication facility. An FPGA combines the speed, power, and density attributes of an ASIC with the programmability of a general purpose processor will give advantages to
the OFDM system. An FPGA could be reprogrammed for new functions by a base station to meet future needs particularly when new design is going to fabricate into chip. This will be the best choice for OFDM implementation since it gives flexibility to the program design besides the low cost hardware component compared to others.
-
Principles of OFDM
OFDM is a special case of multi-carrier transmission, where a single data stream is transmitted over a number of lower rates sub-carriers. On classical frequency division multiplexing the total band is divided into N non overlapping frequency channels, while on OFDM the band is divided into a number of overlapping frequency channels but with orthogonal frequencies, the consequence is a better use of the available spectrum. Those orthogonal frequencies could be achieved by the IFFT.A basic OFDM system consists of a PSK or QAM modulator/demodulator, a serial to parallel / parallel to serial converter, and an IFFT/FFT module. The iterative nature of the FFT and its computational order makes OFDM ideal for a dedicated architecture outside or parallel to the main processor. Orthogonal Frequency Division Multiplexing (OFDM) is a multicarrier transmission technique, which divides the available spectrum into many carriers, each one being modulated by a low rate data stream. OFDM is similar to FDMA in that the multiple user access is achieved by subdividing the available bandwidth into multiple channels, which are then allocated to users. However, OFDM uses the spectrum much more efficiently by spacing the channels much closer together. This is achieved by making all the carriers orthogonal to one another, preventing interference between the closely spaced carriers.
Coded Orthogonal Frequency Division Multiplexing (COFDM) is the same as OFDM except that forward error correction is applied to the signal before transmission. This is to overcome errors in the transmission due to lost carriers from frequency selective fading, channel noise and other propagation effects. For this discussion the terms OFDM and COFDM are used interchangeably, as the main focus of this thesis is on OFDM, but it is assumed that any practical system will use forward error correction, thus would be COFDM. In FDMA each user is typically allocated a single channel, which is used to transmit all
the user information. The bandwidth of each channel is typically 10 kHz-30 kHz for voice communications. However, the minimum required bandwidth for speech is only 3 kHz. The allocated bandwidth is made wider then the minimum amount required to prevent channels from interfering with one another. This extra bandwidth is to allow for signals from neighbouring channels to be filtered out, and to allow for any drift in the centre frequency of the transmitter or receiver. In a typical system up to 50% of the total spectrum is wasted due to the extra spacing between channels. This problem becomes worse as the channel bandwidth becomes narrower, and the frequency band increases.
Most digital phone systems use vocoders to compress the digitised speech. This allows for an increased system capacity due to a reduction in the bandwidth required for each user. Current vocoders require a data rate somewhere between 4-13kbps [13], with depending on the quality of the sound and the type used. Thus each user only requires a minimum bandwidth of somewhere between 2-7 kHz, using QPSK modulation. However, simple FDMA does not handle such narrow bandwidths very efficiently. TDMA partly overcomes this problem by using wider bandwidth channels, which are used by several users. Multiple users access the same channel by transmitting in their data in time slots. Thus, many ow data rate users can be combined together to transmit in a single channel that has a bandwidth sufficient so that the spectrum can be used efficiently.
There are however, two main problems with TDMA. There is an overhead associated with the change over between users due to time slotting on the channel. A change over time must be allocated to allow for any tolerance in the start time of each user, due to propagation delay variations and synchronization errors. This limits the number of users that can be sent efficiently in each channel. In addition, the symbol rate of each channel is high (as the channel handles the information from multiple users) resulting in problems with multipath delay spread.OFDM overcomes most of the problems with both FDMA and TDMA. OFDM splits the available bandwidth into many narrow band channels (typically 100-8000).
The carriers for each channel are made orthogonal to one another, allowing them to be spaced very close together, with no overhead as in the FDMA example. Because of this there is no great need for users to be time multiplex as in TDMA, thus there is no overhead associated with switching between users.The orthogonality of the carriers means that each carrier has
an integer number of cycles over a symbol period. Due to this, the spectrum of each carrier has a null at the centre frequency of each of the other carriers in the system. This results in no interference between the carriers, allowing then to be spaced as close as theoretically possible. This overcomes the problem of overhead carrier spacing required in FDMA.
Each carrier in an OFDM signal has a very narrow bandwidth (i.e. 1 kHz), thus the resulting symbol rate is low. This results in the signal having a high tolerance to multipath delay spread, as the delay spread must be very long to cause significant inter-symbol interference (e.g. > 100 sec).
-
Implementation of OFDM Transceiver
Fig 1. OFDM transmitter and receiver
-
OFDM transmitter consists of following units
-
Input Sampler
Generally input sampler will group the two bits coming from the input section. This section forming two bits called as the one symbol. The output of the input sampler is no. of symbols. This block samples the serial input and generates 2 bit IQ output.The output of the input sampler is group of symbols. Each symbol contains group of two bits.
-
Symbol Mapper
Input to the symbol mapper is group of symbols coming from the outputs of input sampler and these symbols are divided into two group of symbols called I and Q symbols(imaginary and qadrature).This block maps the input I, Q to the corresponding to the real part and imaginary part of the constellation symbols. Generally QPSK is used in the OFDM system it is acts as a modulator at the OFDM transmitter system.In QPSK four phases are possible. Each symbol
having phase difference of 90 degrees for each phase and it is represented with group of two bits.
-
Serial Input Parallel Output (SIPO)
This block converts the serial input to the parallel output. This block is used in OFDM Transmitter to convert serial input to parallel output. This block's output is given to the input of IFFT. The SIPO is used in OFDM system to convert 2 bit symbols in to 16 bit data. In this SIPO output contains 8 bits of real data and 8 bits of imaginary data. The 16 bit data is applied to the input of IFFT.
-
Inverse Fast Fourier Transform (IFFT)
It is the one of the important module in the OFDM system. To compute IFFT first exchange real and imaginary parts then perform FFT. After performing FFT then exchange real and imaginary terms then it is the IFFT and finally divide the by N. where N is the number of points, here we are using 8- point FFT so divide the results by 8.The output of the IFFT is applied to the Digital to analog converter is used to convert the digital data into OFDM signals and these symbols are transmitted through the transmitting system.
-
OFDM receiver consists of following units
-
Fast Fourier Transform (FFT)
It is the main module in the receiver section. In the receiver section OFDM symbols are applied to the Analog to Digital Converer.which will convert serial data into parallel data and it is applied to the FFT section. In this module 8-point Decimation in frequency approach is used.
-
Parallel Input and Serial Output (PISO)
The registers are commonly attached to the output of microprocessors when more output pins are required than are available. This allows several binary devices to be controlled using only two or three pins – the devices in question are attached to the parallel outputs of the shift register, then the desired state of all those devices can be sent out of the microprocessor using a single serial connection. Similarly, PISO configurations are commonly used to add more binary inputs to a microprocessor than are available – each binary input (i.e. a switch or button, or more complicated circuitry designed to output high when active) is attached to a parallel input of the shift register, then the data is sent
back via serial to the microprocessor using several fewer lines than originally required.
-
Symbol Demapper
This block maps, the Real and imaginary parts of the serial out from PISO, to the IQ corresponding to the real part and imaginary part of the constellation symbols. It extracts the IQ values from the serial out of PISO.To achieve maximum hardware efficiency, this constellation demapper is fully time division multiplexed. Backpressure is applied to the upstream module so that data is only provided at a maximum rate of one complex sample for every six clock cycles. If data is acquired every six clock cycles, the output bus fully conveys the soft decisions when operating in 64QAM modulation mode. In the 16QAM and QPSK modes, the output bus is not fully used.The constellation demapper multiplexes the IQ data onto a single bus, and passes the serial data stream on to the soft decision calculator where the appropriate metrics for the modulation scheme are calculated. These metrics determine the confidence in the polarity of each constellation bit. These metrics are time multiplexed onto a single bus, before they are passed on to a quantization module that reduces the bitwidth of the signal according to a quantization interval.
-
Out Bit Generator
-
This block takes 2 bit IQ s from Symbol_de_mapper and generates output bits.The following techniques are followed to implement this block 2 bit input(IQ Data) data is assigned to the one internal Shift Register (sig_IQ)..Finally sig_IQ's msb is assigned to the output bit.
-
-
-
-
WIRELESS LAN IEEE 802.11A STANDARD
IEEE802.11A standard document specifies both the Medium Access Layer(MAC), sd well as the PHYsical layer(PHY). The scope of this work is limited only to the PHY part, where in the next subsections the main blocks forming the baseband transmitter part will be discussed sepaeretely. The 802.11a standard is based on the OFDM technique of modulation, where several SCs, 52 in this standard, are used to spread the serial data stream on parallel slow rate streams.Table 1 show that the 802.11astandard can achieve Variable data rates, starting with 6 Mbps and ending with 54Mbps.this variation is achieved through the combination of different configurations(coding rate and
modulation scheme) are used to produce the desired data rate.
-
Standard Implementation Details
The used methodologies are based on the divide-and conquer approach. Each block in the architecture was designed and tested separately, and later those blocks were assembled and extra modules were added to compose the complete system.
The design makes use of pipelining, and this was mainly achieved through duplicating of memory elements (registers and RAMs); that will buffer the incoming stream of bits while the previous stream is being processed. the design environment based on Xilinx integrated Software environment (ISE), and targeting the Xilinx Spartan-3E FPGAs.
Parameter
Value
Sampling frequency
20mhz
Number of Sub-carriers
52(48 data and 4 pilots)
OFDM symbol period
4 micro sec(80 samples)
Cyclic Prefix period
0.8 micro sec(16 samples)
Coding
1/2,2/3, and 3/4
Modulation scheme
BPSK, QPSK,16 & 64-QAM
Data rate
6,9,12,18,24,36,48 and
54Mbps
FFT processor
64 point
Table 1. OFDM parameters of IEEE802.11a standard
Next comes coding, which is divided into two sub stages. The final purpose of coding stage is to provide the receiver with the capability to detect and correct errors through redundancy. As a first step, the data stream is encoded using a convolutional encoder, which uses a no. of delay elements and a modulo-2 adder. The convolutional encoder composed from a number of D-type flip-flops that represent the delay elements, while the modulo-2 adder is constructed using an XOR gate. To improve the data ra, the second
coding sub-stage, puncturing, is used to reduce the no of redundant bits.The puncture implementation is based on masking the bit stream with even 4/6 or 3/4 masks, for a 3/4 or 2/3 coding rate, respectively. Specifically, the ¾ mask reads each four bits together and masks the MSB, while the 4/6 mask reads a chunk of 6 bits and masks the bits numbered 3 and 4.
One of the widely used block interleaver designs is based on a RAM where the data is written in row order, and then read in column order. However, during the implementation it was found that this technique will consume a lot of multiplexers, as well as the need to have RAMs with different sizes according to the interleaver size. The proposed design in this work is based on utilizing look-up tables; those were implemented as small read only memories (ROM).To perform IIFT, the interleaved bits are translated or mapped into two components the In-phase and the Quadrature (I and Q) components. Depending on the PHY mode and the data rate selected, the OFDM sub- carriers are modulated using BPSK, QPSK, 16-QAM OR 64-QAM. The interleaved bits are grouped into chunks of Nbpsc(1,2,4 or 6 bits), respectively. The grouped bits are used to address the specific ROM and to be mapped into the corresponding I/Q values as per the selected modulation scheme. The mapper is implemented with 4 ROMs, one for each modulation scheme. The ROMs contain the corresponding value of I and Q values, where the grouped bits are used to index the ROMs and obtain the corresponding I/Q pair. Moreover, the values stored in the ROMs are normalized with the normalization factor k, as per each modulation scheme. This will reduce introducing 4 multipliers to normalize the resulting I/Q pair [2]. The representation of these I and Q value is based on a fixed point representation with 16 bits width and a 12 bits are fractional part. Figure 2 illustrates the mapper internal architecture.
The mapper produces only 48 data sub- carriers, whereas the IFFT stage requires 64 pairs of I and Q. The pilot sub-carriers (4 pilots) are added at specific locations, to assist the receiver in performing channel estimation and frame detection. Those pilots are put in sub-carriers -21, -7,7 and 21, and are based on BPSK modulation. This was implemented as a block used to store the generated I/Q pairs by the mapper, and also to add both the zero and pilot sub-carriers. To achieve that, two single-port distributed RAMs. To achieve that, two single port distributed RAMs with a size of (64*16 bit) were used to store the I/Q pairs in their corresponding locations, and to provide pipelining capability at this stage as well.
Next in the chain comes the IFFT block. This block was the only main block not designed in VHDL by the author, the Intellectual property (IP) core available in the XILINX development environment (ISE) was utilized [7]. The generated IP was implemented to run in a pipelining streaming I/O mode for continuous processing of the arriving data instead on working on the whole symbol samples all at once. This capability came from the pipelining provided by the previous and next stages, where each generated I/Q pair in the I/Q bank is fed to the IFFT processor. Next, after the required number of cycles by the IFFT block, the generated real and imaginary pairs are forwarded to the CP block.The last 16 samples of the generated OFDM symbol are copied into the beginning to form the cyclic prefix. In the 802.11 a standard, the last 16 samples of the IFFT output are are replicated at the beginning to form an 80 sample complete OFDM symbol. These 16 samples correspond to to a 0.8us period, which is considered as the maximum delay in the multipath environment. This stage was implemented by using 2 single port distributed RAMs. The first is of a size 16*16 bits, which is used to store the cyclic prefix samples. The other RAMs is of a size 64*16 bits, and it is used to hold the OFDM symbol samples. Again, another copy of each RAM (CP and symbol RAMs) is added to provide pipelining.
-
Implementation Results
The work presented in this paper aimed to demonstrate the capability of a straight forward translation of a wireless communication standard into a pure VHDL implementation, and therefore to be implemented on a reconfigurable platform. The approach of divide and conquer was used to design and test each entity alone and later combine the complete system. The work has accomplished the task of designing the digital baseband part of an OFDM transmitter that conforms to the IEEE802.11a standard. The puncturing has caused difficulties in timing of the following stages, which limited the design not to work perfectly at the other data rates.As it was stated in the implementation details section, the design is based on two main processes. The first is bit manipulation in coding and interleaving stage, while the second process is mapping through utilizing both look-up tables and memory. Therefore, the most resources consumed by the design will be the pure LUTs available on the FPGA and the memory elements as well. However, the most complex part that requires digital signal processing function, the IFFT block, was designed using the available IP core.
The design was targeted to be mapped on XILINX FPGA, and two FPGAs were selected XILIX Virtex-II pro (XC2VP30-7ff896) and Xilinx Spartan- 3E (XC3S500E) . The selection was based on the availability of the IFFT and DCM cores in both FPGAs, and also demonstrate the possibility and to compare the mapping on both chips. Table 2 presents resources required by the IEEE802.11a standard transmitter after mapping it on the XC2VP30 chip. The table lists the number of resources utilized and the percentage of the used/available resources on the selected FPGA.
-
Conclusion
The capability of designing and implementing an OFDM system was presented in this work. The design considered using a pure VHDL with the aid of available IPs to implement the IFFT and clock synthesis functions. From the mapping results the design can easily fit into Xilinx FPGA Spartan-3E with an occupation percentage around 25%.However mapping results showed that smaller FPGAs.
In addition, the results were compared to previous work and showed improved results in certain resources. The presented design has been able to conform only to the mandatory data rates (6, 12 and 24 Mbps). As a future work, the problem encountered by the puncturing, which introduced timing offset, is targeted to be solved to meet the rest of proposed data rates.
RESOURCES
UTILIZED
AVAILABE
%
Slices
3839
4656
82%
Slices flip- flops
241
9312
2%
Number of LUTs
7026
9312
75%
MULT 18*18
16
20
80%
Bonded IOBs
3
232
1%
GCLKs
2
24
8%
Table 2.Complete system Resource Utilization.
-
References
-
S. J. Vaughan-Nichols, OFDM: Back to the Wireless FutureIEEE Computer, pp. 1921, Dec. 2002.
-
J. Garcia & R. Cumplido, On the design of an FPGA-based OFDM modulator for IEEE 802.11a, Electrical and Electronics Engineering, 2005 2nd International Conference on, pp.114-117,7-9 Sept. 2005 2005.
-
J. Mitola, Software radios-survey, critical evaluation and future directions, Telesystems Conference, pp. 1315, May. 1992.
-
M. Serra, J. Ordiex, P. Marti and J. Carrabina, OFDM Demonstrator: Transmitter in Proc 7th International OFDMWorkshop 2002, Sep 2002
-
Ma. J. Canet, F. Vicedo, J. Valls and V. Almenar, Design of a Digital Front-End Transmitter For OFDM-WLAN Systems Using FPGA, Control, Communications and Signal Processing, 2004. First International Symposium on, pp. 503506, 2004.
-
C. Dick and F. Harris , FPGA Implementation of an OFDM PHY Signals, Systems and Computers, 2003. Conference Record of the Thirty-Seventh Asilomar Conference, vol. 1 , pp. 905909,Nov. 2003.
-
L. de Souza, P. Ryan, J. Crawford, K. Wong, G. Zyner and T.McDermott, Rapid Prototyping of 802.11 wireless modems,Solid-State Circuits Conference, 2001. Digest of Technical Papers.
ISSCC. 2001 IEEE International, pp. 339-339 495, Feb
2001.
International Journal of Engineering Research & Technology (IJERT)
ISSN: 2278-0181
Vol. 2 Issue 2, February- 2013