CHAPTER 1
INTRODUCTION
1.2 Objective
The second chapter explains the basic theory of OFDM and some
basic channel parameters.
The fourth chapter explains the OFDM simulation in MATLAB and the
description of various blocks used. Effect of Power clipping, AWGN,
Delay spread and Impulse noise on OFDM performance is noted.Also
OFDM performance in Urban and Rural environment has been
studied.
3
CHAPTER 2
BASIC THEORY OF OFDM
2.1 The Principles of OFDM
The concept of OFDM in term of parallel transmission was first developed in the 50s
and introduced in some papers in the mid 60s. A US patent was issued in January,
1970. The first aim was to use available bandwidth more efficiently by spacing
carriers as close as possible. This aim can be achieved by making all carriers
orthogonal to each other, preventing Inter Carrier Interference (ICI) between them.
OFDM first was implemented in military communications. In the telecommunication
field the terms of discrete multi tone (DMT), multichannels modulation, and
multicarrier modulation (MCM), are widely used and sometime they are
5
interchangeable with OFDM. The difference between them is in OFDM, each carrier
is orthogonal to the other carriers while in MCM each carrier does not have to be so.
In the 1980s, OFDM had been studied for high speed modems, digital mobile
communications, and high density recording. Hirosaki explore the OFDM techniques
for multiplexed QAM using DFT.He also designed an 19.2 kbps voice band data
modem using multiplexed QAM. In this system a pilot tone was used for stabilizing
carrier and clock frequency control and trellis coding was implemented to reduce the
required carrier to noise ratio (CNR). Various speed modems were developed for
telephone networks.
In the 1990s, OFDM has been exploited for wideband data communications over
mobile radio FM channels, high bit rate digital subscribers lines (HDSL), asymmetric
digital subscriber lines (ADSL), very high speed digital subscriber lines (VHDSL),
digital audio broadcasting (DAB), digital television and HDTV terrestrial
broadcasting.
Two periodic signals are orthogonal when the integral of their product, over one
period, is equal to zero. This is true of certain sinusoids as illustrated in equation 1
and 2.
FDM frequency
Saving of bandwidth
50% bandwidth
saving
OFDM frequency
When the DFT (Discrete Fourier Transform) of a time signal is taken, the frequency
domain results are a function of the time sampling period and the number of samples
as shown in Figure 2.3.3. The fundamental frequency of the DFT is equal to 1/NT
(1/total sample time). Each frequency represented in the DFT is an integer multiple of
the fundamental frequency. The maximum frequency that can be represented by a
time signal sampled at rate 1/T is
fmax = 1/2T
as given by the Nyquist sampling theorem. This frequency is located in the center of
the DFT points. All frequencies beyond that point are images of the representative
frequencies. The maximum frequency bin of the DFT is equal to the sampling
frequency (1/T) minus one fundamental (1/NT).
The IDFT (Inverse Discrete Fourier Transform) performs the opposite operation to
the DFT. It takes a signal defined by frequency components and converts them to a
time signal. The parameter mapping is the same as for the DFT. The time duration of
the IDFT time signal is equal to the number of DFT bins (N) times the sampling
period (T).
In practice the Fast Fourier Transform (FFT) and IFFT are used in
place of the DFT and IDFT so all further references will be to FFT and
IFFT.
All wireless communication systems use a modulation scheme to map the information
signal to a form that can be effectively transmitted over the communications channel.
A wide range of modulation schemes has been developed, with the most suitable one,
depending on whether the information signal is an analogue waveform or a digital
signal. Some of the common analogue modulation schemes include Frequency
Modulation (FM), Amplitude Modulation (AM), Phase Modulation (PM), Single Side
Band (SSB), Vestigial Side Band (VSB), Double Side Band Suppressed Carrier
(DSBSC). Common single carrier modulation schemes for digital communications
include Amplitude Shift Keying (ASK), Frequency Shift Keying (FSK), Phase Shift
Keying (PSK) and Quadrature Amplitude Modulation (QAM).
Each of the carriers in a FDM transmission can use an analogue or digital modulation
scheme. There is no synchronization between the transmission and so one station
could transmit using FM and another in digital using FSK. In a single OFDM
transmission all the subcarriers are synchronized to each other, restricting the
transmission to digital modulation schemes. OFDM is symbol based, and can be
thought of as a large number of low bit rate carriers transmitting in parallel. All these
carriers transmit in unison using synchronized time and frequency, forming a single
block of spectrum. This is to ensure that the orthogonal nature of the structure is
maintained. Since these multiple carriers form a single OFDM transmission, they are
commonly referred to as ‘subcarriers’, with the term of ‘carrier’ reserved for
describing the RF carrier mixing the signal from base band. There are several ways of
looking at what make the subcarriers in an OFDM signal orthogonal and why this
prevents interference between them.
In an ideal radio channel, the received signal would consist of only a single direct path
signal, which would be a perfect reconstruction of the transmitted signal. However in
a real channel, the signal is modified during transmission in the channel. The received
signal consists of a combination of attenuated, reflected, refracted, and diffracted
replicas of the transmitted signal. On top of all this, the channel adds noise to the
signal and can cause a shift in the carrier frequency if the transmitter or receiver is
moving (Doppler Effect). Understanding of these effects on the signal is important
because the performance of a radio system is dependent on the radio channel
characteristics.
2.4.1 Attenuation
Attenuation is the drop in the signal power when transmitting from one point to
another. It can be caused by the transmission path length, obstructions in the signal
path, and multipath effects. Figure 2.4.1 shows some of the radio propagation effects
that cause attenuation. Any objects which obstruct the line of sight signal from the
transmitter to the receiver can cause attenuation.
Shadowing of the signal can occur whenever there is an obstruction between the
transmitter and receiver. It is generally caused by buildings and hills, and is the most
important environmental attenuation factor. Shadowing is most severe in heavily built
up areas, due to the shadowing from buildings. However, hills can cause a large
problem due to the large shadow they produce. Radio signals diffract off the
boundaries of obstructions, thus preventing total shadowing of the signals behind hills
and buildings. However, the amount of diffraction is dependent on the radio
frequency used, with low frequencies diffracting more then high frequency signals.
To over come the problem of shadowing, transmitters are usually elevated as high as
possible to minimize the number of obstructions.
In a radio link, the RF signal from the transmitter may be reflected from objects such
as hills, buildings, or vehicles. This gives rise to multiple transmission paths at the
10
receiver. The relative phase of multiple reflected signals can cause constructive or
destructive interference at the receiver. This is experienced over very short distances
(typically at half wavelength distances), thus is given the term fast fading. These
variations can vary from 10-30dB over a short distance. Figure 2.4.2.1 shows the level
of attenuation that can occur due to the fading.
In any radio transmission, the channel spectral response is not flat. It has dips or fades
in the response due to reflections causing cancellation of certain frequencies at the
receiver. Reflections off near-by objects (e.g. ground, buildings, trees, etc) can lead to
multipath signals of similar signal power as the direct signal. This can result in deep
nulls in the received signal power due to destructive interference. For narrow
bandwidth transmissions if the null in the frequency response occurs at the
transmission frequency then the entire signal can be lost. This can be partly overcome
in two ways.
The received radio signal from a transmitter consists of typically a direct signal, plus
reflections of object such as buildings, mountings, and other structures. The reflected
signals arrive at a later time than the direct signal because of the extra path length,
giving rise to a slightly different arrival time of the transmitted pulse, thus spreading
the received energy. Delay spread is the time spread between the arrival of the first
and last multipath signal seen by the receiver.
In a digital system, the delay spread can lead to inter-symbol interference. This is due
to the delayed multipath signal overlapping with the following symbols. This can
cause significant errors in high bit rate systems, especially when using time division
11
multiplexing (TDM). Figure 2.4.2.3 shows the effect of inter-symbol interference due
to delay spread on the received signal. As the transmitted bit rate is increased the
amount of inter-symbol interference also increases. The effect starts to become very
significant when the delay spread is greater then ~50% of the bit time.
When a wave source and a receiver are moving relative to one another the frequency
of the received signal will not be the same as the source. When they are moving
toward each other the frequency of the received signal is higher then the source, and
when they are approaching each other the frequency decreases. This is called the
Doppler Effect. An example of this is the change of pitch in a car’s horn as it
approaches then passes by. This effect becomes important when developing mobile
radio systems.
The amount the frequency changes due to the Doppler Effect depends on the relative
motion between the source and receiver and on the speed of propagation of the wave.
The Doppler shift in frequency can be written:
v
∆f ≈ ± f 0
c
Where Δf is the change in frequency of the source seen at the receiver, fo is the
frequency of the source, v is the speed difference between the source and transmitter,
and c is the speed of light.
For example: Let fo = 1GHz, and v = 60km/hr (16.7m/s) then the Doppler shift will
be:
16 .67
∆f = 10 9 = 55 .5 Hz
3 ×10 8
This shift of 55Hz in the carrier will generally not effect the transmission.
However, Doppler shift can cause significant problems if the transmission technique
is sensitive to carrier frequency offsets (for example COFDM) or the relative speed is
higher (for example in low earth orbiting satellites).
Definition
12
The spreading and smearing of symbols such that the energy from one symbol effects
the next ones in such a way that the received signal has a higher probability of being
interpreted incorrectly is called Inter Symbol Interference or ISI.
• How It Occurs
• Back Ground:
Figure
2.4.2.5d: (a) what was send and (b) what was received
During these early attempts at transmission, it was noticed that the received signals
tended to get elongated and smeared into each other. A short pulse to represent a dot
was received as a much-smeared version of the same thing. The problem appeared to
be related to the properties of the medium used and the distance of signal travel. To
14
counter this undesired effect, intermediate repeating stations were established and
ways had to be devised to reduce this smearing.
Figure 2.4.2.5e sequence 101101 to be sent, the dash line is the shape that is
actually sent due to filter response
Figure 2.4.2.5f shows each symbol as it is received. We can see what the transmission
medium creates a tail of energy that lasts much longer than intended. The energy from
symbols 1 and 2 goes all the way into symbol 3. Each symbol interferes with one or
more of the subsequent symbols. The circled areas show areas of large interference.
.
Figure 2.4.2.5f each symbol is spread by the medium
Figure 2.4.2.5g shows the actual signal seen by the receiver. It is the sum of all these
distorted symbols. Compared to the dashed line that was the transmitted signal, the
received signal looks quite indistinct. The receiver does not actually see this signal, it
sees only the little dots, the value of the amplitude at the timing instant. Notice that
for symbol 3, this value is approximately half of the transmitted value, which makes
this particular symbol is more susceptible to noise and incorrect interpretation and this
phenomena is the result of this symbol delay and smearing.
15
• Mathematically
To avoid ISI:
= delay spread
Definition
• How it occurs?
Example
You are driving in rain, and the car in front splashes a bunch of water on you. What
do you do? You move further back, you put a little distance between you and the front
car, far enough so that the splash won’t reach you. If we equate the reach of splash to
delay spread of a splashed signal then we have a better picture of the phenomena and
how to avoid it.
Figure 2.5a: Delay spread is like a undesired splash you might get from a car
ahead. In fading, front symbol similarly throws a splash backward which we
wish to avoid
Increase distance from car in front to avoid splash. The reach of splash is same as the
delay spread of a signal. Figure 2.5bshows the symbol and its splash. In composite,
these splashes become noise and affect the beginning of the next symbol.
17
OFDM demodulation must be synchronized with the start and end of the transmitted
symbol period. If it is not, then ISI will occur (since information will be decoded and
combined for 2 adjacent symbol periods). ICI will also occur because orthogonality
will be lost (integrals of the carrier products will no longer be zero over the
integration period).
To mitigate this noise at the front of the symbol or to prevent ISI, we will move our
symbol further away from the region of delay spread as shown below. A little bit of
blank space has been added between symbols to catch the delay spread. This blank
space is called guard period. The guard time is chosen larger than the expected delay
spread, such that multipath components from one symbol cannot interfere with the
next symbol.
Figure
2.5.1 move signal backward so arriving delayed signal fall in gray region. No
interference to next symbol
1) This is won’t work for the hardware which likes to crank out signals continuously.
2) Blank spaces does not prevent ICI.
18
In order to avoid ISI and ICI, the guard period must be formed by a
cyclic extension of the symbol period. This is done by taking symbol
period samples from the end of the period and appending them to
the front of the period. The concept of being able to do this, and
what it means, comes from the nature of the IFFT/FFT process.
When the IFFT is taken for a symbol period (during OFDM
modulation), the resulting time sample sequence is technically
periodic. This is because the IFFT/FFT is an extension of the Fourier
Transform which is an extension of the Fourier Series for periodic
waveforms. All of these transforms operate on signals with either
real or manufactured periodicity. For the IFFT/FFT, the period is the
number of samples used.
Note that some bandwidth efficiency is lost with the addition of the
guard period (symbol period is increased and symbol rate is
decreased).
19
Region with dark color show ICI, here subcarrier#2 has half cycle and subcarrier#1
also has half cycle so ICI occurs, the remaining portion of subcarrier#2 is integral
multiple of subcarrier#1
When an OFDM receiver tries to demodulate the first subcarrier, it will encounter
some interference from the second subcarrier, because within the FFT interval, there
is no integer number of cycle’s difference between subcarrier 1 and 2. At the same
time, there will be crosstalk from the first to the second subcarrier for the same
reason. So it’s clear that we need to have something there to fill the blank spaces.
Why don’t we just let the symbol run longer as a first choice?
We extend the symbol into the empty space, so the actual symbol is more than one
cycle. But now the start of the symbol is still in the danger zone, and this start is the
most important thing about our symbol since the slicer needs it in order to make a
20
decision about the bit. We do not want the start of the symbol to fall in this region, so
lets just slide the symbol backwards, so that the start of the original symbol lands at
the outside of this zone. And then fill this area with something.
Figure 2.5.2d if we move the signal back and just put in convenient filter in
this area, then not only we have continuous signal but one that can get
corrupted and we don’t care since we will just cut it out any way before
demodulating
Slide the symbol to start at the edge of the delay spread time and then fill the guard
space with a copy of what turns out to be tail end of the symbol.
• We want the start of the symbol to be out of the delay spread zone so it
is not corrupted and
• We start the signal at the new boundary such that the actual symbol
edge falls out side this zone.
We will be extending the symbol so it is 1.25 times as long, to do this, copy the back
of the symbol and glue it in the front. In reality, the symbol source is continuous, so
all we are doing is adjusting the starting phase and making the symbol period longer.
But nearly all books talk about it as a copy of the tail end. And the reason is that in
digital signal processing, we do it this way.
Figure 2.5.2e cyclic prefix is this superfluous bit of signal we add to the front
of previous cargo, the symbol
This procedure is called adding a cyclic prefix. In OFDM we have a lot of subcarriers
so we will add to every carrier.
21
Note that cyclic prefix has prevented ICI as shown in fig because if anyone carrier
shifts still there will be integral number of cycles when at receiver guardband
removes.
Since OFDM, has a lot of carriers, we would do this to reach and every carrier. But
that’s only in theory. In reality since the OFDM signal is a linear combination, we can
add cyclic prefix just one to the composite OFDM signal. The prefix is any where
from 10% to 25% of the symbol time.
Here is an OFDM signal with period equal to 32 samples. We want to add a 25%
cyclic shift to this signal.
Figure 2.5.2g the whole process can be done only once to OFDM signal instead of
doing it to each and every subcarrier.
We add the prefix after doing the IFFT just once to the composite signal. After the
signal has arrived at the receiver, first remove this prefix, to get back the perfectly
periodic signal so it can be FFT’d to get back the symbols on each carrier.
22
However, the addition of cyclic prefix which mitigates the effects of link fading and
inter symbol interference, increases the bandwidth.
One of the most important properties of OFDM transmissions is its high level of
robustness against multipath delay spread. This is a result of the long symbol period
used, which minimizes the inter-symbol interference. The level of multipath
robustness can be further increased by the addition of a guard period between
transmitted symbols. The guard period allows time for multipath signals from the
pervious symbol to die away before the information from the current symbol is
gathered. The most effective guard period to use is a cyclic extension of the symbol.
If a mirror in time, of the end of the symbol waveform is put at the start of the symbol
as the guard period, this effectively extends the length of the symbol, while
maintaining the orthogonality of the waveform. Using this cyclic extended symbol the
samples required for performing the FFT (to decode the symbol), can be taken
anywhere over the length of the symbol. This provides multipath immunity as well as
symbol time synchronization tolerance.
As long as the multipath delay echoes stay within the guard period duration, there is
strictly no limitation regarding the signal level of the echoes: they may even exceed
the signal level of the shorter path! The signal energy from all paths just add at the
input to the receiver, and since the FFT is energy conservative, the whole available
power feeds the decoder. If the delay spread is longer then the guard interval then they
begin to cause inter-symbol interference. However, provided the echoes are
sufficiently small they do not cause significant problems. This is true most of the time
as multipath echoes delayed longer than the guard period will have been reflected of
very distant objects.
2.7.1 Symbol
23
A symbol is quite apart from a bit in concept although both can be represented by
sinusoidal or wave functions. Where bit is the unit of information, the symbol is a unit
of transmission energy. It is the representation of the bit that the medium transmits to
convey the information.
Example
Imagine bits as widgets, and symbol as boxes in which the widgets travel on a truck.
We can have one widget per box or we can have more. Packing of widgets (bits) per
box (symbols) is what modulation is all about.
A symbol is just a symbol. It can stand for any number of bits, not just one bit. The
bits that it stands for are not being transmitted, what is transmitted is the symbol or
actually the little signal packet shown above. The frequency of this packet is usually
quite high. The 1 Hz signal shown above is just an abstraction.
We can write real signals as a vector sum of two signals in quadrature called I and Q.
You can think of I and Q as the x,y axis projection of a signal.
S = (I, Q)
Below you see two views of a signal space. One shows a signal in I-Q space and the
other in its polar form.
(a) (b)
In Figure 2.8(a) the x and y-axis are I and Q projections of the signal. Quantity S11 is I
channel projection and S12 is the Q projection of the signal. Figure 2.8(b) shows the
same signal in polar form, with its length equal to its amplitude and the angle is equal
to its phase.
The coefficient S11 represent the amplitude of I signal and S12 the amplitude of the Q
signal. These amplitudes when plotted on the x and y axis respectively, give the signal
vector. The angle the signal vector makes with the x-axis is the phase of this signal.
Magnitude of signal S= I 2 +Q 2
−1 I
Phase of the signal = tan Q
Shows magnitude
of I and Q
fig:constellation
diagram
25
From above equation we can compute the energy of each signal shown below by
adding the squared I and Q coefficients. The points that lie further from the origin
have higher energy than those that lies close in. In a hybrid modulation with the
following constellation pattern, the outlying signal sig2, has higher energy (i.e. higher
amplitude, higher Es) than inner signal, sig1. Another way to think is to realize that
we are really plotting the amplitude. So a longer vector has a larger amplitude and
hence higher energy.
The distance between two signals (distance between the tip of the vectors) can be
written as the dot product between the two signals.
The distance between the tips is the difference in the energy of two signals. The angle
between the two vectors is the correlation of the two signals. So if two signals are 900
to each other than, then cos θ is 0 and the two signals are un-correlated or are said to
be orthogonal. In this example, the angle is not 900, so a correlation exists between
these two signals and this makes it harder to resolve the differences between the
signals when received.
26
All carrier signals other than BPSK and QPSK have some level of correlation
between their signals. This is the reason why BPSK and QPSK from the limit of the
lowest bit error rate possible.
In OFDM is to break high data rate stream to several low data rate streams then you
assign a carrier to each sub streams in a way that each carrier is integer multiple of
first carrier or harmonic of basic carrier frequency. e.g if you have 1 Hz carrier freq of
first stream then second will have 2 Hz and third will have 3 Hz and so on since these
are all harmonics so they are all orthogonal to each other that the way we achieve
orthogonality in orthogonal FDM (OFDM).... now you transmit each sub stream let
say 4 substreams parallel so in one symbol of OFDM we have 4 bits.
parallel to
series
Converter
Figure 2.9 showing bits modulated on carrier (before parallel to series converter) and a
symbol containing 4 bits (after parallel to series converter)
The OFDM subcarriers can be modulated by using BPSK, QPSK, 16-QAM, or 64-
QAM modulation techniques, depending on the rate requested. The encoded and
interleaved binary serial input data is divided into groups of (1,2,4, or 6) bits and
converted into complex numbers representing BPSK, QPSK, 16-QAM, or 64-QAM
constellation points. The conversion can be performed according to the gray code
constellation mappings, with the input bit bo being the earliest in the stream. The
output values d are formed by multiplying the resulting value (I+jQ) by a
normalization factor KMOD as described below:
d = ( I + jQ ) × K MOD
So,
I=amplitude x cos(phase) x 1/KMOD
Q=amplitude x sin(phase) x 1/KMOD
The normalization factor KMOD depends on the base modulation mode, as prescribed in
the table below.
Modulation KMOD
27
BPSK 1
QPSK 1/√2
16-QAM 1/√10
64-QAM 1/√42
Table 2.10.1 Modulation-dependent normalization factor KMOD
Note that the modulation type can be different on the start to the end of the
transmission, as the signal changes from Signal to Data. The purpose of the
normalization factor is to achieve the same average power for all mappings. In
practical implementations an approximate value of the normalization factor can be
used, as long as the device conforms to the modulation accuracy requirements
described.
For BPSK bo determines the I value, as illustrated in the table 2.10.2. For QPSK bo
determines the I value and b1 determines the Q value, as illustrated in table 2.10.3.
For 16-QAM bob1 determines the I value and b2b3 determines the Q value, as
illustrated in table 2.10.4. For 64-QAM bob1b2 determines the I value and b3b4b5
determines the Q value, as illustrated in table 2.10.5
OFDM in the time domain is equivalent to a sum of modulated sinusoidal carriers that
are each windowed in time with a rectangular window function, also known as a
boxcar window function. This window defines the boundary of each OFDM symbol,
and determines the frequency response of the generated OFDM signal. Figure 2.11a
shows an example time waveform for a single carrier OFDM transmission using
Phase Shift Keying (PSK). The amplitude of the subcarrier is fixed and the phase is
varied from symbol to symbol to transmit the data information. The subcarrier phase
is constant for the entire symbol, resulting in a step in phase between symbols. These
sharp transitions between symbols result in spreading in the frequency domain and
also cause noise. Figure 2.11b shows the spectrum of a 52 subcarrier OFDM signal
(same as HiperLAN2, or IEEE802.11a) with no band-pass limiting. The out of band
components only fall off slowly due to the sinc roll off of each subcarrier. Figure
2.11c shows the spectrum of a 1536 subcarrier OFDM signal. The side-lobes roll off
faster than the 52-subcarrier case, as a fraction of the system bandwidth. However the
side-lobes are still significant (>-40 dB) even far away from the edge of the OFDM
main signal block. These side-lobes increase the effective bandwidth of the OFDM
30
signal, degrading the spectral efficiency. There common technique for reducing the
level of the side-lobes to acceptable limits is band pass filtering the signal.
Figure 2.11a Time waveform of a single carrier OFDM signal, showing three
symbols.
Whenever signals are converted from the digital domain to an analog waveform for
transmission, filtering is used to prevent aliasing occurring. This effectively band pass
filters the signal, removing some of the OFDM side-lobes. The amount of side-lobe
removal depends on the sharpness of the filters used. In general digital filtering
provides a much greater flexibility, accuracy and cut off rate than analog filters,
making them especially useful for band limiting of an OFDM signal.
Figure 2.11a shows the frequency response of the OFDM signal with no filtering.
Figure 2.11b shows examples of a band pass filtered OFDM signal. These signals
have been filtered with a Finite Impulse Response (FIR) filter developed using the
windowing method. A low number of subcarriers were used in these plots so that the
roll off of the FIR filtering could be seen. The filtering removes virtually all of the
side lobes, but does so at the cost of the computational expense of implementing the
FIR filtering, and it reduces the effective SNR of the OFDM channel. The act of
filtering the OFDM signal, chops off significant energy from the outer subcarriers,
distorting their shape and causing ICI.
No publications to date could be found studying the effects of band pass filtering of
OFDM signals, looking at the reduction in the effective SNR caused by the filtering.
Very sharp cut off filters allow separate blocks of OFDM signals to be packed very
closely in the frequency domain, improving the spectral efficiency. But this tight
filtering can result in a degraded effective SNR, and so its effects must be taken into
consideration when designing a system
CHAPTER 3
OFDM GENERATION, TRANSMISSION AND RECEPTION
Transmitter
Channel
Receiver
In similar fashion the basic block diagram of the OFDM system is shown in figure
3.1a;
OFDM Channe
OFDM
Transmitter l Receiver
Whereas the basic stand alone transmitter and receiver are having the following
major parts:
• Transmitter
Modulator
Inverse Fast Fourier Transform (IFFT)
Digital-to-Analog converter (DAC)
• Receiver
OFDM signals are typically generated digitally due to the difficulty in creating large
banks of phase lock oscillators and receivers in the analog domain. Figure below
shows the block diagram of a typical OFDM transceiver. The transmitter section
converts digital data to be transmitted, into a mapping of subcarrier amplitude and
phase. It then transforms this spectral representation of the data into the time
domain using an Inverse Discrete Fourier Transform (IDFT). The Inverse Fast
Fourier Transform (IFFT) performs the same operations as an IDFT, except that it is
much more computationally efficiency, and so is used in all practical systems. In
order to transmit the OFDM signal the calculated time domain signal is then mixed
up to the required frequency.
The receiver performs the reverse operation of the transmitter, mixing the RF signal
to base band for processing, then using a Fast Fourier Transform (FFT) to analyze
the signal in the frequency domain. The amplitude and phase of the subcarriers is
then picked out and converted back to digital data.
35
• At Transmitter (S-P)
Data to be transmitted is typically in the form of a serial data stream. In OFDM, each
symbol typically transmits 40 - 4000 bits, and so a serial to parallel conversion stage
is needed to convert the input serial bit stream to the data to be transmitted in each
OFDM symbol. The data allocated to each symbol depends on the modulation scheme
used and the number of subcarriers. For example, for a subcarrier modulation of 16-
QAM each subcarrier carries 4 bits of data, and so for a transmission using 100
subcarriers the number of bits per symbol would be 400.
The modulation schemes used on each subcarrier can vary and so the number of bits
per subcarrier also varies. As a result the serial to parallel conversion stage involves
filling the data payload for each subcarrier.
• At Receiver (P-S)
At the receiver the reverse process takes place, with the data from the subcarriers
being converted back to the original serial data stream.
• At Transmitter (Modulation)
Once each subcarrier has been allocated bits for transmission, they are mapped using
a modulation scheme to a subcarrier amplitude and phase, which is represented by a
complex In-phase and Quadrature-phase (IQ) vector. Figure below shows an example
of subcarrier modulation mapping. This example shows 16-QAM, which maps 4 bits
for each symbol. Each combination of the 4 bits of data corresponds to a unique IQ
vector, shown as a dot on the figure. A large number of modulation schemes are
available allowing the number of bits transmitted per carrier per symbol to be varied.
36
• At Receiver (Demodulation)
In the receiver, mapping the received IQ vector back to the data word performs
subcarrier demodulation. During transmission, noise and distortion becomes added to
the signal due to thermal noise, signal power reduction and imperfect channel
equalization.
Figure below shows an example of a received 16-QAM signal with a SNR of 18 dB.
Each of the IQ points is blurred in location due to the channel noise. For each
received IQ vector the receiver has to estimate the most likely original transmission
vector. This is achieved by finding the transmission vector that is closest to the
received vector. Errors occur when the noise exceeds half the spacing between the
transmission IQ points, making it cross over a decision boundary.
• At Transmitter
After the subcarrier modulation stage each of the data subcarriers is set to an
amplitude and phase based on the data being sent and the modulation scheme; all
unused subcarriers are set to zero. This sets up the OFDM signal in the frequency
domain. An IFFT is then used to convert this signal to the time domain, allowing it to
be transmitted. Figure below shows the IFFT section of the OFDM transmitter. In the
frequency domain, before applying the IFFT, each of the discrete samples of the IFFT
corresponds to an individual subcarrier. Most of the subcarriers are modulated with
data. The outer subcarriers are unmodulated and set to zero amplitude. These zero
subcarriers provide a frequency guard band.
37
• At Receiver
• At Transmitter
After this cyclic prefix is added to avoid or minimize ICI and ISI.
• At Receiver
• At Transmitter (Modulation)
The output of the OFDM modulator generates a base band signal, which must be
mixed up to the required transmission frequency. This can be implemented using
analog techniques as shown in Figure 3.2.5a or using a Digital Up Converter as shown
in Figure 3.2.5b Both techniques perform the same operation, however the
performance of the digital modulation will tend to be more accurate due to improved
matching between the processing of the I and Q channels, and the phase accuracy of
the digital IQ modulator.
38
Figure 3.2.5a
RF modulation of complex base band OFDM signal, using analog techniques.
DAC is used because Before the RF stage the complex IQ signals are not strictly
analog. The IQ signal are generated mathematically inside a Digital Signal Processor
(DSP), so although the stream is not digital data bits but its also not a pure analog
signal that can be transmitted out to the atmosphere. In order to do that we have to a
DAC and then do the analog RF modulation. In other word we can say that output of
IFFT is discrete so we use DAC.
• At Receiver (Demodulation)
At the receiver the RF signal is removed from the base band signal.
One significant problem with OFDM is its sensitivity to frequency offsets affecting
the performance. The demodulation of an OFDM signal with an offset in the
frequency can lead to a high bit error rate. This is caused by the loss of orthogonality
39
When the time offset is 0 this corresponds to the receiver taking the FFT of the IFFT
section of the transmitted signal. When the time offset is negative this corresponds to
the receiver taking the FFT over the IFFT section and part of the symbol guard
period.OFDM is relatively tolerant against timing errors, due to the inclusion of the
guard period between symbols. For a channel with no multipath delay spread, the time
offset error can be as much as the length of the guard period with no loss of
orthogonality results, only a phase rotation in the subcarriers. The phase rotation is
corrected as part of the channel characterization, hence resulting in no degradation in
Performance. Time offset errors greater than the guard period result in a rapid loss in
performance, as the section of the symbol that the FFT is applied to, will contain
some of the neighbouring symbol, leading to Inter-Symbol Interference.
CHAPTER 4
SIMULATION
Provides data that is to be modulated. This block is itself composed of the following
blocks ;
• Description
The Random Integer Generator block generates uniformly distributed random integers
in the range [0, M-1], where M is the M-ary number defined in the dialog box.
The M-ary number can be either a scalar or a vector. If it is a scalar, then all output
random variables are independent and identically distributed (i.i.d.). If the M-ary
number is a vector, then its length must equal the length of the Initial seed; in this case
each output has its own output range.
If the Initial seed parameter is a constant, then the resulting noise is repeatable.
The output signal can be a frame-based matrix, a sample-based row or column vector,
or a sample-based one-dimensional array. These attributes are controlled by the
Frame-based outputs, Samples per frame, and Interpret vector parameters as 1-D
parameters.
The number of elements in the Initial seed parameter becomes the number of columns
in a frame-based output or the number of elements in a sample-based vector output.
Also, the shape (row or column) of the Initial seed parameter becomes the shape of a
sample-based two-dimensional output signal.
42
M-ary number:
The positive integer or vector of positive integers, that indicates the range of output
values.
We use 16-ray number.
Initial seed:
The initial seed value for the random number generator. The vector length of the seed
determines the length of the output vector.
Sample time:
The period of each sample-based vector or each row of a frame-based matrix.
We use 1/192 sampling time.
Frame-based outputs:
Determines whether the output is frame-based or sample-based. This box is active
only if Interpret vector parameters as 1-D is unchecked.
The number of samples in each column of a frame-based output signal. This field is
active only if Frame-based outputs is checked.
We use 192 samples per frame.
4.2.2 Integer to Bit Converter (Data Payload)
• Description
The Integer to Bit Converter block maps each integer or fixed-point value in the input
vector to a group of bits in the output vector.
4.2.3 Outport
• Description
Outport blocks are the links from a system to a destination outside the system.
Port number:
Specify the port number of the Outport block.
Icon Display:
Specify the information to be displayed on the icon of this Outport block.
45
Initial output:
For conditionally executed subsystems, specify the block output before the subsystem
executes and while it is disabled. You can specify [] if your model does not depend on
the initial output of the conditionally executed subsystem.
The Signal Attributes pane of the Output block dialog appears as follows:
Minimum:
Specify the minimum value that the block should output. The default value, [], is
equivalent to -Inf. Simulink software uses this value to perform:
Simulation range checking (see Checking Signal Ranges)
Automatic scaling of fixed-point data types
Maximum:
Specify the maximum value that the block should output. The default value, [], is
equivalent to Inf. Simulink software uses this value to perform:
Simulation range checking (see Checking Signal Ranges)
Automatic scaling of fixed-point data types
Data type:
Specify the output data type. You can set it to:
A rule that inherits a data type, for example, Inherit: auto
The name of a built-in data type, for example, single
The name of a data type object, for example, a Simulink.NumericType
object
An expression that evaluates to a data type, for example, float('single')
Click the Show data type assistant button to display the Data Type
Assistant, which helps you set the Data type parameter.
Signal type:
Specifies the numeric type of the signal output by this block. The options are:
Sampling mode:
Specify the sampling mode (Sample based or Frame based) that the input signal must
match. To accept any sampling mode, set this parameter to auto.
47
4.3 IQ MAPPER
4.3.1 Inport
• Description
Inport blocks are the links from outside a system into the system.
48
Port number:
Specify the port number of the Inport block.
Icon display:
Specifies the information to be displayed on the icon of this input port. The options
are:
Port number
Displays port number of this port.
NOTE: Inport signal attributes are the same as outport signal attribute as
described in the preceding block.
• Description
The Bit to Integer Converter block maps groups of bits in the input vector to
integers in the output vector.
• Parameters and Dialog Box
4.3.3 QAM
Modulate using quadrature amplitude modulation.
• Description
The General QAM Modulator Baseband block modulates using quadrature amplitude
modulation. The output is a baseband representation of the modulated signal.
The Signal constellation parameter defines the constellation by listing its points in a
length-M vector of complex numbers. The input signal values must be integers
between 0 and M-1. The block maps an input integer m to the (m+1)st value in the
Signal constellation vector.
Signal constellation:
A real or complex vector that lists the constellation points.
• Description
The Main pane of the Math Function block dialog appears as follows:
52
The Signal Attributes pane of the Math Function block dialog appears as follows:
Output minimum:
Specify the minimum value that the block should output. The default value, [], is
equivalent to -Inf. Simulink software uses this value to perform:
Simulation range checking (see Checking Signal Ranges)
Automatic scaling of fixed-point data types
Output maximum:
Specify the maximum value that the block should output. The default value, [], is
equivalent to Inf. Simulink software uses this value to perform:
Simulation range checking (see Checking Signal Ranges)
Automatic scaling of fixed-point data types
4.3.5 Outport
• Inport
53
• Multiport Selector
• Constant(To add Zero Padding and Pilot Carriers)
• Gain
• IFFT
• Selector(Add Cyclic Prefix)
• Outport
Figure 4.4 OFDM modulation block diagram
4.4.1 Inport
• Description
The Multiport Selector block extracts multiple subsets of rows or columns from
M-by-N input matrix u, and propagates each new submatrix to a distinct output port.
A length-M 1-D vector input is treated as an M-by-1 matrix.
Select:
The dimension of the input to select, Rows or Columns.
Indices to output:
A cell array specifying the row- or column-subsets to propagate to each of the output
ports. The number of cells in the array determines the number of output ports on the
block.
{1:12, 13:36, 37:60, 61:84, 85:96, 97:108, 109:132, 133:156, 157:180, 181:192}
Invalid index:
Response to an invalid index value.
• Description
The Constant block generates a real or complex constant value. The block generates
scalar (one-element array), vector (1-D array), or matrix (2-D array) output,
depending on the dimensionality of the Constant value parameter and the setting of
the Interpret vector parameters as 1-D parameter. Also, the block can generate either a
sample-based or frame-based signal, depending on the setting of the Sampling mode
parameter.
The output of the block has the same dimensions and elements as the Constant value
parameter. If you specify a vector for this parameter, and you want the block to
interpret it as a vector (i.e., a 1-D array), select the Interpret vector parameters as 1-D
parameter; otherwise, the block treats the Constant value parameter as a matrix (i.e., a
2-D array).
We have used this block for two purposes
1) Zero Padding:
Constant value:
Specify the constant value output by the block. You can enter any MATLAB®
expression in this field, including the Boolean keywords, true or false, that evaluates
to a matrix value. The Constant value parameter is converted from its data type to the
specified output data type offline using round-to-nearest and saturation.
Sampling mode:
Specify whether the output signal is Sample based or Frame based.
Sample time:
Specify the interval between times that the Constant block's output can change during
simulation (e.g., as a result of tuning its Constant value parameter). The default
sample time is inf, i.e., the block's output can never change. This setting speeds
simulation and generated code by avoiding the need to recompute the block's output.
57
The Signal Attributes pane of the Constant block dialog appears as follows:
Output minimum:
Specify the minimum value that the block should output. The default value, [], is
equivalent to -Inf. Simulink software uses this value to perform:
Parameter range checking
Simulation range checking
Automatic scaling of fixed-point data types
Output maximum:
Specify the maximum value that the block should output. The default value, [], is
equivalent to Inf. Simulink software uses this value to perform:
Parameter range checking
Simulation range checking
Automatic scaling of fixed-point data types
• Zero Paddings
4.4.4 IFFT
Compute inverse fast Fourier transform (IFFT) of input.
58
• Description
The IFFT block computes the inverse fast Fourier transform (IFFT) of each channel.
Rounding mode:
Select the rounding mode for fixed-point operations. The sine table values do not
obey this parameter; they always round to Nearest.
Overflow mode:
Select the overflow mode for fixed-point operations. The sine table values do not
obey this parameter; they are always saturated.
Sine table:
Choose how you specify the word length of the values of the sine table. The fraction
length of the sine table values is always equal to the word length minus one:
When you select Same word length as input, the word length of the
sine table values match that of the input to the block.
The sine table values do not obey the Rounding mode and Overflow mode
parameters; they are always saturated and rounded to Nearest.
Product output:
Use this parameter to specify how you would like to designate the product output
word and fraction lengths.
We have selected "Inherit via internal rule" so the product output word length and
fraction length are calculated automatically.
60
Accumulator:
Use this parameter to specify how you would like to designate the accumulator word
and fraction lengths.
We have selected "Inherit via internal rule" so the accumulator word length and
fraction length are calculated automatically.
Output:
Chooses how to specify the output word length and fraction length.
In Inherit via internal rule, the output word length and fraction length are calculated
automatically.
• Description
Index mode:
Specifies the indexing mode: One-based or Zero-based. If One-based is selected, an
index of 1 specifies the first element of the input vector, 2, the second element, and so
on. If Zero-based is selected, an index of 0 specifies the first element of the input
vector, 1, the second element, and so on.
Index Option:
Define, by dimension, how the elements of the signal are to be indexed.
Incase of Index vector (port) as here no further configuration is required.
Index:
If the Index Option is Index vector (dialog), enter the index of each element you are
interested in.
Output Size:
Enter the width (number of elements from the starting point) of the block output
signal.
62
• Cyclic Prefix
We have added in cyclic prefix the last 25% samples i-e from 193 to 256.
4.4.6 Outport
• Description
The AWGN Channel block adds white Gaussian noise to a real or complex input
signal. When the input signal is real, this block adds real Gaussian noise and produces
a real output signal. When the input signal is complex, this block adds complex
Gaussian noise and produces a complex output signal. This block inherits its sample
time from the input signal.
Initial seed:
The seed for the Gaussian noise generator.
The Initial seed parameter in this block initializes the noise generator. Initial seed can
be either a scalar or a vector whose length matches the number of channels in the
input signal.
Mode:
The mode by which you specify the noise variance.
SNR (dB):
It is the ratio of signal power to noise power in dB.
• Inport
• Selector (Remove Cyclic Prefix, Remove Zero Padding )
• FFT
• Frame Status Conversion
• Multiport Selector
• Terminator
• Outport
4.6.1 Inport
We are removing the prefix those were introduced by the OFDM block.
• Dialog Box
65
4.6.3 FFT
• Description
The FFT block computes the fast Fourier transform (FFT) of each channel
Rounding mode:
Select the rounding mode for fixed-point operations. The sine table values do not
obey this parameter; they always round to Nearest.
Overflow mode:
Select the overflow mode for fixed-point operations. The sine table values do not
obey this parameter; they are always saturated.
Sine table:
Choose how you specify the word length of the values of the sine table. The fraction
length of the sine table values is always equal to the word length minus one:
When you select Same word length as input, the word length of the sine table
values match that of the input to the block.
The sine table values do not obey the Rounding mode and Overflow mode
parameters; they are always saturated and rounded to Nearest.
Product output:
68
Use this parameter to specify how you would like to designate the product output
word and fraction lengths.
In Inherit via internal rule, the product output word length and fraction lengths are
calculated automatically.
Accumulator:
Use this parameter to specify how you would like to designate the accumulator word
and fraction lengths.
In Inherit via internal rule, the accumulator word length and fraction length are
calculated automatically.
Output:
Chooses how you specify the output word length and fraction length:
In Inherit via internal rule, the output word length and fraction length are calculated
automatically. The internal rule first calculates an ideal output word length and
fraction length. Using these ideal results, the internal rule then selects word lengths
and fraction lengths that are appropriate for your hardware.
Description:
The Frame Status Conversion block passes the input through to the output, and sets
the output frame status to the Output signal parameter, which can be either Frame-
based or Sample The Frame Status Conversion block passes the input through to the
output, and sets the output frame status to the Output signal parameter, which can be
either Frame-based or Sample-based. The output frame status can also be inherited
from the signal at the Ref (reference) input port, which is made visible by selecting
the Inherit output frame status from Ref input port check box.
When the Output signal parameter setting or the inherited signal's frame status differs
from the input frame status, the block changes the input frame status accordingly, but
does not otherwise alter the signal. In particular, the block does not rebuffer or resize
2-D inputs. Because 1-D vectors cannot be frame based, when the input is a length-M
1-D vector, and the Output signal parameter is set to Frame-based, the output is a
frame-based M-by-1 matrix (that is, a single channel).
When the Output signal parameter or the inherited signal's frame status matches the
input frame status, the block passes the input through to the output unaltered-based.
Output signal:
The output frame status here is Frame-based.
Figure 4.6.5 selector (remove zero padding and reorder) block diagram
• Dialog Box
Figure
4.6.5a
selectors
(remove
zero padding
and reorder)
block
parameters
• Dialog Box
Figure 4.6.6a multiport selector (to remove pilot carriers block parameters
4.6.7 Terminator
• Description
The Terminator block can be used to cap blocks whose output ports are not connected
to other blocks. If you run a simulation with blocks having unconnected output ports,
Simulink® software issues warning messages. Using Terminator blocks to cap those
blocks avoids warning messages.
• Dialog Box
4.6.8 Outport
4.7 IQ DEMAPPER
• Inport
• Math
• General QAM(Base band Demodulator)
• Integer to bit converter
• Outport
4.7.1 Inport
4.7.2 Math
• Description
The General QAM Demodulator Baseband block demodulates a signal that was
modulated using quadrature amplitude modulation. The input is a baseband
representation of the modulated signal.
The input must be a discrete-time complex signal. The Signal constellation parameter
defines the constellation by listing its points in a vector of complex numbers. The
block maps the mth point in the Signal constellation vector to the integer m-1.
The input can be either a scalar or a frame-based column vector and must be of data
types single or double.
73
Signal constellation:
A real or complex vector that lists the constellation points.
4.7.5 Outport
4.8.1 Inport
4.8.3 Terminate
4.9.1 GOTO
• Description
The 'Goto' block passes its input to its corresponding 'From' blocks. The input can be
a real- or complex-valued signal or vector of any data type. From and Goto blocks
allow you to pass a signal from one block to another without actually connecting
them.
A Goto block can pass its input signal to more than one From block, although a From
block can receive a signal from only one Goto block. The input to that Goto block is
passed to the From blocks associated with it as though the blocks were physically
connected. Goto blocks
and From blocks are
matched by the use of
Goto tags, defined in
the Tag parameter.
• Paramet
ers and
Dialog
Box
76
Goto Tag:
The Goto block identifier. This parameter identifies the Goto block whose scope is
defined in this block.
Tag Visibility:
The scope of the Goto block tag: local, scoped, or global. The default is local.
Icon Display:
Specifies the text to display on the block's icon. The options are the block's tag, the
name of the signal that the block represents, or both the tag and the signal name.
4.9.2 From
• Description
The From block accepts a signal from a corresponding Goto block, then passes it as
output. The data type of the output is the same as that of the input from the Goto
block. From and Goto blocks allow you to pass a signal from one block to another
77
without actually connecting them. To associate a Goto block with a From block, enter
the Goto block's tag in the Goto Tag parameter.
A From block can receive its signal from only one Goto block, although a Goto block
can pass its signal to more than one From block.
Goto Tag:
The tag of the Goto block that forwards its signal to this From block. To change the
tag, select a new tag from this control's drop-down list. The drop-down list displays
the Goto tags that the From block can currently see. An item labeled <More Tags...>
appears at the end of the list the first time you display the list in a Simulink session.
Selecting this item causes the block to update the tags list to include the tags of Goto
blocks residing in library subsystems referenced by the model containing this From
block. Simulink software displays a progress bar while building the list of library tags.
Simulink software saves the updated tags list for the duration of the Simulink session
or until the next time you select the adjacent Update Tags button. You need to update
the tags list again in the current session only if the libraries referenced by the model
have changed since the last time you updated the list.
Goto Source:
Path of the Goto block connected to this From block. Clicking the path displays and
highlights the Goto block.
Icon Display:
Specifies the text to display on the From block's icon. The options are the block's tag,
the name of the signal that the block represents, or both the tag and the signal name
• Inport
• Error rate calculations
• Discrete time scatter scope plot
• Buffer
• Spectrum scopes
• Outport
4.9.3.1 Inport
• Description
79
The Error Rate Calculation block compares input data from a transmitter with input
data from a receiver. It calculates the error rate as a running statistic, by dividing the
total number of unequal pairs of data elements by the total number of input data
elements from one source.
You can use this block to compute either symbol or bit error rate, because it does not
consider the magnitude of the difference between input data elements. If the inputs are
bits, then the block computes the bit error rate. If the inputs are symbols, then it
computes the symbol error rate.
• Dialog Box
Receive delay:
Number of samples by which the received data lags behind the transmitted data. (If
Tx or Rx is a vector, then each entry represents a sample.)
Computation delay:
Number of samples that the block should ignore at the beginning of the comparison.
Computation mode:
Entire frame i-e the block should consider all of the input frames.
Output data:
Either Workspace or Port, depending on where you want to send the output data.
Stop simulation:
If you check this box, then the simulation runs only until this block detects a specified
number of errors or performs a specified number of comparisons, whichever comes
first.
Target number of errors:
80
The simulation stops after detecting this number of errors. This field is active only if
Stop simulation is checked.
• Description
The Discrete-Time Scatter Plot Scope block displays scatter plots of a modulated
signal, to reveal the modulation characteristics, such as pulse shaping or channel
distortions of the signal.The Discrete-Time Scatter Plot Scope block has one input
port. The input signal must be complex.
• Dialog Box
Figure 4.9.3.3b discrete time scatter plot scope block parameter(plotting properties)
Samples per symbol:
81
Offset (samples):
Nonnegative integer less than the number of samples per symbol, specifying the
number of samples to skip before plotting points.
Points displayed:
Total number of points plotted.
Figure 4.9.3.3c discrete time scatter plot scope block parameter (rendering properties)
Markers:
Line markers used in the scatter plot. Tunable.
Line color:
The line color used in the scatter plot. Tunable.
Color fading:
When selected, the points in the scatter plot fade as the interval of time after they are
first plotted increases. Tunable.
Show grid:
Toggles the scope grid on and off. Tunable.
Figure 4.9.3.3d discrete time scatter plot scope block parameter (axes properties)
X-axis minimum:
Minimum value the scope displays on the x-axis. Tunable.
X-axis maximum:
Maximum value the scope displays on the x-axis. Tunable.
Y-axis minimum:
Minimum signal value the scope displays on the y-axis. Tunable.
Y-axis maximum:
Maximum signal value the scope displays on the y-axis. Tunable.
Figure 4.9.3.3e discrete time scatter plot scope block parameter (figure properties)
:Scope position
A four-element vector of the form [left bottom width height] specifying the position
of the scope window. (0, 0) is the lower left corner of the display. Tunable.
Title:
Title of scatter plot. Tunable
4.9.3.4 Buffer
• Description
84
The Buffer block redistributes the input samples to a new frame size. Buffering to a
larger frame size yields an output with a slower frame rate than the input.
• Dialog Box
The buffer Figure Axes properties pane of the dialog appears as follows
Buffer overlap:
Specify the number of samples, L, by which consecutive output frames overlap.
Initial conditions:
Specify the value of the block's initial output for cases of nonzero latency; a scalar,
vector, or matrix.
85
• Description
The Spectrum Scope block computes and displays the periodogram of the input. The
input can be a sample-based or frame-based vector or a frame-based matrix.
• Dialog Box
Buffer input:
Select this check box to rebuffer the input data. This check box must be selected for
sample-based inputs, but is optional for frame-based inputs.
Buffer size:
Specify the number of input samples that the block buffers before computing and
displaying the magnitude FFT. When the Specify FFT length parameter is not
selected, this value must be a power of two.
This parameter is only visible when the Buffer input check box is selected.
86
Buffer overlap:
Specify the number of samples from the previous buffer to include in the current
buffer. The number of new input samples the block acquires before computing and
displaying the magnitude FFT is the difference between the buffer size and the buffer
overlap.
Window type:
Enter the type of window to apply.Tunable.
Window sampling:
Choose Symmetric or Periodic. Tunable.
.
Specify FFT length:
Select this check box to specify the FFT length yourself in the FFT length parameter.
FFT length:
Enter the number of samples on which you want the block to perform the FFT. This
value must be a power of two.
4.10 Display
Show value of input
Format:
Specify the format of the data displayed, as discussed in Description. The default is
short.
Decimation:
Specify how often to display data. The default value, 1, displays every input point.
88
• Output in bits
• Output in bits
4.11.4 Conclusion
So the more we reduce SNR, the more is the effect of noise. So the more it is difficult
to detect the signal and the more is the change in phase.
Figure 4.12.1 BER verses SNR for OFDM in AWGN channel using
BPSK, QPSK and16PSK modulation
It can be observed from Figure that to achieve the BER of 10-3, the
OFDM system using BPSK modulation needs at least SNR of about 7
dB, the OFDM system using QPSK modulation needs at least SNR of
about 12 dB and the OFDM system using 16PSK modulation needs
at least SNR of about 23dB.
Figure 4.12.2 BER verses Power Clipping for OFDM System Using
BPSK, QPSK and 16PSK modulation
97
It can be concluded from the analysis result that the OFDM signal is
resistant enough to clipping distortion caused by nonlinearity in
power amplifier used in transmitting the signal.
Figure 4.12.3 BER verses SNR for OFDM in noisy channel using
BPSK, QPSK and
16PSK
It can be observed from Figure that BER will start to increase when
the length of delay spread reaches the length of effective guard
period and will increase rapidly when the length of delay spread is
longer than the length of guard period.
It can be observed from Figure that to have the BER of 10-3 or below,
the OFDM signal using BPSK modulation can tolerate impulse noise
that has length up to about 0.7 of length of OFDM symbol, the OFDM
signal using QPSK modulation can tolerate impulse noise that has
length up to about 0.3 of length of OFDM symbol and the OFDM
signal using 16PSK modulation can tolerate impulse noise that only
has length up to about 0.01 of length of OFDM symbol.
It can be observed from Figure that to achieve the BER of 10-3, the
OFDM system using BPSK modulation needs at least SNR of about
19 dB, the OFDM system using QPSK modulation needs at least SNR
of about 24 dB and the OFDM system using 16PSK modulation
needs too high SNR to achieve BER 10-3, so that OFDM using 16PSK
modulation is not conducive in urban channel.
101
The performance of OFDM system in urban channel slow and urban fast
for three modulation techniques including BPSK, QPSK and 16PSK is shown in
Figure above. Urban fast channel was simulated for mobile velocity of 60 km/hour
while urban slow channel was simulated for mobile velocity of 2 km/hour.
It can be observed from Figure 4.5 that to achieve the BER of 10-3, the
OFDM system using BPSK modulation needs at least SNR of about 15 dB for urban
slow and about18 dB for urban fast, the OFDM system using QPSK modulation
needs at least SNR of about 22 dB for urban slow and about 25 dB for urban fast.
From Figure it can be also observed that an OFDM system using 16PSK
modulation needs too high SNR to achieve BER 10-3, so that the OFDM system
using 16PSK modulation is not conducive in urban channel.
102
BIBLIOGRAPHY
2. MATLAB 7.0