Lecture 04

IIT Kanpur July 201
20 followers
Jul 19, 2024
Welcome to the fourth lecture of our series on 5G wireless standard design. This lecture will cover how cellular networks serve thousands of users simultaneously. We will discuss Orthogonal Frequency-Division Multiplexing (OFDM), the waveform used in 5G systems, and the corresponding transmitter and receiver architectures. Additionally, we will explain how Orthogonal Frequency-Division Multiple Access (OFDMA) technology is used in 5G to serve multiple users at once.
[Music]
we're going to learn another key
technology which is used in 5G standard
and you can see this is ofdm acronym
it's orthogonal frequency Division
multiplexing and we'll see why it is a
key technology we'll understand this and
understand it in context of 5G okay how
it is so very popular in 5G it was
popular in 4G and we spoke about it in
the first class where in we made
transition from single carrier
technology to this ofdm I'm going to
tell you why it is so important why did
we make that transition okay so this is
a motivation motivation is how an
operator is able to serve 10 thousands
of users okay
right because airel will give Sim to
hundreds and thousands of users if you
approach airel it will give you sim
without you bothering about like how
many users can be can AEL serve okay it
freely distributes okay we'll discuss
this ofdm in context of 5G NR and it'll
help us in partly answering this
question okay right and motivate ofdm
from other perspective also okay so
that's the key idea of this class
okay now what is this we came up with
this spectral efficiency bits per second
per Hertz
bandwidth okay so in 100 MH of bandwidth
if it is 3 bits per second per Hertz
right you can 3 into 10^ 8 right 300
MVPs you can give okay so data rate
scales with
bandwidth simple idea okay right and we
understand that so if if you remember 3G
systems we using 2 to 5 MH of bandwidth
and we moved from 5 to 20 and then from
4G to 5 we moved from 20 MH of bandwidth
to 100 MH of bandwidth because of this
reason if you increase the bandwidth
that comes with its own
challenges what are these challenges
okay so this is comes from here for a
given spectral efficiency okay I can
simply increase the data rate by
increasing the system
bandwidth right we just did a small
examp
example now what happens okay so again
I've given you two figures but let's
look at one figure at a time this is
let's say 5G with 100 MHz of bandwidth
okay so what happens is if it is a
single if you transmit the data over the
entire bandwidth okay what happens is
your data rate is actually 1 by F that
is a rate at which you can transmit just
an crude example okay you can trans
transed more than that also but if your
bandwidth is like F 100 MHz okay so you
can transmitt at 1 by 100 that's the at
the rate of that okay so what is
happening you are transmitting if you 1
by F okay what be the you're
transmitting symbols at that duration
okay your symbol duration has become
very small because if it is 100 MH of
bandwidth okay what happens symbol
duration will be 1 by 100 which is how
how much it is like 100 MHz is 10^ 8
right okay it is becoming close to 10
nond right how do you use this 100 MH of
B you transmit data at a higher rate
right that's okay so that will give you
higher bit rate okay so you're
transmitting one at one n bit rate is
becoming higher okay that's how you
transmit in a single carrier system
simple example okay now what happens if
this is 100 MHz 100 MHz is a huge
bandwidth
okay remember 3G was 2 MHz this is 100
MHz now what happens is so I'm not I'm
introducing this notion of channel for
the first time in this class okay so if
you transmit a signal let's say base
station transmit signal you are sitting
here in this room so the signal being
transmitted by the base station will
bounce off from multiple
scatters okay scatters what are those
scatters let's say these walls
buildings okay a cycle anything standing
anywhere okay it reflects from all this
scatters and comes to you okay and this
the all these signals get added okay and
there since there are these multiple
signals are coming from multiple
scatters it becomes a multipath channel
okay so all these signals get added and
then only you receive at the receiver
right this is called multipath
Channel fine okay so this is like one
minute uh introduction to a multipath
channel okay so what happens in the
frequency domain the channel starts
looking like this for 100
MHz okay you see this over this 100 MHz
channel is varying
widely okay now for each symbol
estimating this complete channel is very
difficult over 100
MHz okay CU look at this the variations
in the channel okay estimating I have to
give you this one complete Channel over
100 MHz okay if I'm transmitting if I'm
using the single wideband carrier okay
estimation is a problem is a non-trivial
problem and that was a big roadblock for
3G systems to increase the bandwidth why
could you not do that for 3G system
because they were using some form single
carrier systems okay 2G was using 3G was
evolving okay so if you have to move
from 2 MH to 20 MHz or 100 MHz this is
not scalable so what the basic
engineering solution problem is complex
you break down into smaller problems and
then try to solve it okay it's called
peace wise approach what does ofdm do
okay so what it does divides this
carrier
into subcarriers okay you look at this
so this is like what have we done okay
we have taken a 100 MHz Channel okay we
have divided let's say into just for an
example 3,000 different sub carriers
right so what is happening now I'm
divided this and what will I do okay
once I do that I've divided this data in
this spectrum into 100 100 MHz into
3,000 subcarriers Okay small chunk I
will transmit data on each one of them
okay how is it done I'll tell you okay
I'm transmitting data one symbol on this
sub carrier another symbol on this sub
carrier another symbol on this sub
carrier okay now look at this I've
divided this entire chunk into 3,000
different chunks and now look at the
problem okay look at the channel over
what is the problem I'm talking about
the channel okay look at this part of
the channel it's actually you can treat
that as a constant it doesn't change
much okay right over each
subcarrier okay the channel can be
treated as a constant not like this
highly varying channel in the frequency
domain okay so what have I done what
what does ofdm do ofdm is breaking down
that complex problem and into small
problem look at this okay this is the
small at each sub carrier the channel is
constant now look at this channel is bad
here if you have that information if the
transmitter has that information it can
ignore it can avoid sending data at
those sub carriers another advantage of
doing it of using ofdm right what are we
saying here first problem is that ofdm
actually eases your channel estimation
problem okay so that's what we are going
to see now okay so for increased
bandwidth Channel estimation and
Equalization is extremely complicated
ofdm helps ass simplifies the channel
estimation and then Equalization problem
okay so if what are we saying here that
over each sub
carrier right so channel has become
constant okay what how will your system
model now be see if you represent if you
remember what did we write Y is equal to
x + n
right for this kind of system the ofdm
system what will happen instead of this
you will have a channel H sitting over
here because you look at this right you
transmitted a symbol X now it is getting
attenuated or Amplified also depending
on how the channel is so a constant is
getting multiplied with this okay so
this is the channel model or the system
model which we have okay now if this is
a single carrier system you cannot
represent it like this because you look
at this is not constant correct okay
when you have divided this problem it is
become y HX plus n so at each sub
carrier what what will happen you can
write it as y i h
i right and you'll transmit different
data on E sub carrier and I can show you
that noise is also independent across
these sub carriers I can show you that
okay let's start in basic probability
course okay that this is the system
model
so as it is a constant okay I can easily
estimate it right if I know the channel
how am I going to equalize Equalization
is basically removing the effect of the
channel what will I do instead of y i
what will I do I will have y i till
where I divide y by hi what will it
become right from here I removed the
effect of the channel a simple like this
is called Simple
Equalization okay we'll give it names
later actually called 04 sign okay so
you see this how am I able to estimate
the channel and then equalize also okay
and all this ofdm gives
us now this is one First
Advantage we saw that okay second
Advantage is it can easily help us in
implementing the Adaptive modulation and
coding
okay how does that
happen adaptive modulation and coding
you have to basically calculate the
SNR right so what will user
do if it has to it knows okay that the
the spectrum is divided into these small
sub carriers okay what will it do okay
it will calculate as I
said at each sub carrier what is SNR now
for this
model isn't this the
SNR correct all of us understand this is
power in the numerator is this power in
the denominator is n or you can call it
Sigma Square also okay right so this n
is our earlier Sigma Square okay this is
SNR correct Okay so so user can
calculate this SNR over each sub
carrier fine now there are 3,000 sub
carriers okay it cannot feedback this
3,000 different
numbers right so what would there are
ways to handle this this is called a
simple thing okay instead of reporting
this SNR over 3,000 subcarriers what is
you does the averaging of this SNR and
then sends it across it gives you an
transmitter will know how good or bad
the channel is on an average over this
set of subcarriers right and why is this
how is this ofdm is enabling it because
you are able to calculate this SNR over
each sub carrier okay and this I said
you will do this average how is this
averaging done in practice okay right so
people have come up with different ways
of averaging this SNR one way is called
this is effective exponen
SNR okay right this is the formula it's
very simple formula okay instead of
Simply averaging these numbers okay
people have figured out if you do it
like
this this gives you a better averaging
and what is happening you see this the
name itself tells what is happening here
okay right so this is a paper if
somebody is interested one can read this
in detail okay but what is happening
here let's try to understand it okay
what is this what are we doing here if
you forget this s gamma for some time
here what are we doing let's look at
this
carefully this is my SNR over one sub
carrier I'm taking the
exponent okay right I'm adding these
exponents over how many subcarriers all
NC subcarriers NC is number of
subcarriers look at this this is the
exponential
averaging right you took the exponent
instead of Simply averaging the SNR you
taking the exponent of the SNR and then
averaging it and because you took the
exponent you want to bring it back to
the
linear range you're taking
the log of it natural logarithm there
will effect in canceling the effect of
this exponent you took La an exponent
cancel right okay so this is called
effective exponential SNR this gives a
better averaging okay without going into
the details of how does it give better
averaging than the normal averaging okay
that this paper shows this is what is
happening okay and then you bring in
this this Lambda again this is called a
calibration parameter okay that helps
and you can basically what happens is
this
averaging depending on the modulation
scheme okay this averaging has to change
a little bit this Lambda is that
calibration factor which helps in
calibrating that fundamental idea is
this okay instead of doing the normal
averaging you do the exponential
averaging and then remove the effect by
taking the Law why are we saying it
because
ofdm allows us to do that look at this
here then how much difficult it will be
if there a single carrier how will you
calculate this okay right you are able
to do this because you are looking at
the SNR at each sub
carrier correct here you have to look at
each complete symbol each symbol is
occupying this how will you calculate
the SR another right people can come up
with way of doing it but there's an
easier way of doing
it correct I'm not saying it cannot be
done here I'm saying that it is easier
to do it here correct okay what will UI
do and that's what UI does in 5G okay
doesn't send SN this MCS calculated over
each sub carrier it calculates the MCS
over a certain number of subcarriers and
then reports it back to the transmitter
okay so what will happen here it'll
calculate the SNR or MCS over this it'll
calculate the MCS over this it'll
calculate the MCS over this base station
knows that here the MCS is very poor
because it is observing a bad
channel right so Bas station will avoid
scheduling this user over these sub
Carri will schedule these users over
this sub
carrier look at how like easy it is to
do this scheduling and that's what I'm
going to so this is what how it is this
you serve users okay I've given you two
advant
okay right one was that estimation and
Equalization then it helps in like
implementing AMC okay and we just saw
this that okay that this particular user
is observing a bad Channel there is some
other user which is observing a good
Channel over here because it's located
outside Channel condition are different
so it transmitter can serve another user
over here instead of serving this user
and that's what is called
ofdma called of DM exis multiple axis
okay so ofdm is not only used because of
this reason another reason is that it
allows multiple access in a very
seamless way okay right and what is this
if the users base station is serving the
users in down link as I said okay that
it users serve user one here serve user
two here serve user three here and how
will base station decide that base
station is going to decide based on the
MCS information which is fed by each of
this
user correct okay user one says okay
these are my best MCS right user two
says okay this is my best MCS user three
says this is my best MCS this is for
down link same thing is for Uplink also
right so what will happen Okay taking
this example but just the opposite
direction user one is being served in
these sub carriers user two is being
served on this user three is being
served on this sub carrier right how
easily ofdm is allowing us to do that
okay so this is these are the primary
reasons why ofdm is used okay and even
if you go to 6G people are not planning
to replace ofdm with anything else okay
as of now because of these reasons and
I'll show you how easy it is to
implement that this ofdm okay 20 years
ago it was not feasible to do this
because these like Smart Technologies
were not there and that's what we are
going to see okay so what happens here
is these are the advantages till now
okay so we'll switch gears and I'm going
to tell you that how to implement this
how is ofdm implemented in practice okay
it'll immediately become clear why it is
so popular this is popular but we should
be able to implement that also right in
real time how is it done okay so ofdm
system all of us understand there are NC
sub carriers okay and
ofdm it is you form a symbol also okay
and this ofdm symbol duration is let's
say tu I'll give you the relationship
between this and this also okay so how
is it done let's try to understand this
okay don't look at it completely so you
have let's say you want to transmit NC
sub carriers okay right you want to
transmit data over these NC sub carriers
okay correct so what is this so there
are like I'm looking at one particular
ofdm symbol okay M ofdm symbol okay so
you see this what this superscript is
telling this is like you transmit
continuously okay there m to fdm symbol
and how many such symbols are
there NC okay so the superscript says
this is basically the ofdm
symbol okay and these are our quam
symbols right over each subcarrier what
are we doing don't get confused over
each subcarrier we have to transmit one
quam symbol and how many such quam
symbols can you transmit NC but there
are NC
subcarriers please understand this okay
so this is what I'm writing here the
subscript is the ofdm the number of
symbols you can transmit which is equal
to the number of subcarriers this
superscript is
basically you can say that is one ofdm
symbol okay making it generic I'm
calling it as M to fdm symbol okay so so
what happens here is you take these
symbols this is s2p is basically serial
to parallel converter okay now what is
happening look at this you take this
first symbol load it over first sub
carrier what are this exponent 2 pi f
t correct this is sub carrier zero this
is sub carrier one and this is sub
carrier FC what happens see this is if
you do this processing I'm doing it in
the time domain okay what is happening
you take this a z multiply it with an
exponential F what will happen in the
frequency domain it'll sit at a
frequency F it'll shift the symbol by F
not correct okay what happens here it
sit there at frequency fub1 it will sit
there at frequency FC a simple for
transform right of if x of T has
transform X of f what is the transform
of X of T into e j 2 pi f t is X of f
minus
F right so that's what is happening this
will sit at F this will sit at fub1 this
will sit at okay now these subar
carriers right so then you basically so
this is I call this as X not t I'm
calling this as x1t this is NC I add all
of them become my transmit data
transmission symbol X of T that's what
I've done okay so added all of them and
I transmit okay and this I said figure
is valid for symbol duration look at
this this figure is basically applicable
for ofdm symbol duration of Tu read this
okay where is T varying from T is
varying from small m capital T to m+ one
Capital it should be Tu it is it should
be Tu this is a typo
okay okay so this operation the whole of
this operation is happening in one ofdm
symbol of
duration
Tu right
okay because I said that ofdm is a
symbol that should also have a duration
okay so that duration is Tu and what is
the relationship between the sub carrier
and the the symbol duration Okay so we
have to keep one thing in mind that all
these
subcarriers are basically orthogonal to
each other okay that's why it's called
orthogonal frequency division
multiplexing what is this this
orthogonality
these subcarriers should not interfere
with each other otherwise what will
happen this data will interfere with
each other this data will interfere with
each
other correct okay orthogonality simple
terms what does it mean right that the
data
Whenever two subcarriers are orthogonal
whenever anything is orthogonal two
pulses are orthogonal they should not
interfere with each other correct okay
simple uh understanding okay so what am
I saying here is that in order to
maintain this orthogonality across
subcarriers there are NC subcarriers
what should be the relationship between
subcarrier and the symbol duration sub
Delta f is basically the subcarrier
spacing okay what is the subcarrier
spacing fub1 minus
F right so so similarly subar spacing is
basically difference in the frequency of
two subcarriers okay and this remains
same for all of them so what am I saying
here fub1 minus f is same as FS2 minus
fub1 okay and that's the what we are
saying here this is Delta
F okay now
for these subcarriers to be orthogonal
what am I saying this Delta F should be
equal to the inverse of this ofdm symbol
okay what are we saying here okay just
to give you a simple example okay let's
say this
is my
Tu okay take a s wave of like
this okay correct if you want to have a
sign W which is orthogonal to
this right how many cycle it should have
in this in this
symbol what is if f is the frequency of
this right what is the frequency of the
second one
2f right so you have a 3F 4f 5f these
subcarriers will be orthogonal to each
other okay so what are we saying here
that the this what I said matched to
this that this subcarrier spacing should
be such that there are these integer
number of Cycles in each symbol duration
okay so that's what it is that's what it
boils down to okay so and what will this
so the point we made here was that the
subcarrier spacing should be basically
should be such that it these sub
carriers are orthogonal to each
other okay now how will this sub and how
how do you mathematically Define it okay
so that's I gave you an intuitive
feeling of it how do you mathematically
Define it so if there are two sub
carriers fk1 and fk2 what does the
orthogonality implies okay what is the
sub carrier fk1 it is located at at what
frequency it will be located at okay if
Delta f is the difference between two
subcarriers okay if K1 is
z it'll be sub first sub Carri will be
located at 0 Herz
if then if K2 is 1 if K1 is 1 what will
happen where will it be located Delta F
correct if it K2 K1 is two it will be
located at 2 Delta because the sub
carrier spacing is Delta F correct
that's right that's what we are saying
okay right so now you take two different
sub carriers located at K K1 and K2 I'm
making them generic okay what does that
orthogonality imply this orthogonality
implies
that product of these two these
exponents because these are we calling
them as sub carriers okay this is
another sub carrier okay I'm taking one
sub carrier I'm taking another sub
carrier right product of them and
integrate it over what is this duration
ofdm symbol
duration right you integrate them over
this ofdm symbol duration that should
lead to
zero right that's a basic notion of
orthogonality okay correct this is true
for any wave form correct you if you
are if you have a waveform like this and
one waveform another waveform is this
both of them are over 02 let's say
tu correct this is wave form one this
let's say sub carrier one you can design
sub carrier any way okay this is sub
carrier one this is sub carrier
2 right so what are you doing how will
you show that they are orthogonal you
multiply them
over 0 to TU and integrate it right this
is T that's correct okay so this is a
ority means what you basically
multiplied these f forms over this whole
duration Tu and then
it should go to zero right these are
orthogonal way same thing I'm showing
here this is one waveform this is second
waveform you multiply them over assemble
duration of Tu that should integrated to
Zer okay for any two different sub
carriers okay right how does it help
because we want to add the receiver we
want to basically separate this these
data what are we doing here look at this
I'm transmitting a XT which contains all
of them right okay at the receiver I
should be able to decode all of them
right I should be able to decode or
detect all of them because I'm
transmitting all of them together look
at this go back here I'm transmitting
all of
them right okay they should be
orthogonal that's what we are defining
they are orthogonal in frequency domain
okay all these sub carriers are
orthogonal and frequency domain Okay so
right okay that's now let's see how does
it help okay so the receive signal is
xt+ NT
right this is the receive
signal okay right now what happens what
is RT this is the signal ofdm signal you
transmitted correct what will you do you
will take this RT multiply it with e to
power minus j f t Okay integrate it over
the fdm symbol duration what will happen
here what is going to remain over
here how did we Define
orthogonality on it will be the data on
this particular sub carrier F
not right why because you go back see if
it is if K1 is equal to K2 what will
happen here this will cancel and give
you one you'll only
get this desired
symbol right right multiplied by Tu
that's okay that's a constant okay right
but what happens to other sub carriers
contribution from other sub carriers you
do this operation okay
right and integrated you get your only
your data on first sub carriers that's
why the orthogonality is important
that's why it took some time to make us
understand what happens the second sub
you do the same operation but with f1t
you do the same operation with NC okay
you get all your data back
simple operation okay right and you're
able to do it this is ofdm okay you're
able to do it over all NC Subarus but
look at this multiplying this with
exponent taking the integration all this
is happening in let's say analog domain
okay you have to build these circuits
okay
till this was known it was very
difficult to do what are we doing here
the same operation of what we did in the
last two slides
can simply be implemented using
something called idft and fft okay this
is idft is basically inverse discrete
for transform the f is discrete for
transform all those operations as a
transmitter okay can be implemented
using IF okay what is this you take
these NC symbols convert them to serial
to parallel these are parallel data okay
you want to transmit over NC okay right
I'll tell you what this why these zeros
are put okay so you take this fft right
this is exactly the same as what we did
okay then again convert them to parall
to serial all this is done
digitally whatever we were doing in the
analog domain earlier X of t look at
that we were all these were continuous
time okay what am I doing here taking
doing all this in discrete domain
parallel to serial and what am I doing
digital to analog conversion after that
okay all that what we did in analog
domain is simply done using
this okay all the complexity of doing it
in time domain that to an analog domain
is brought to the digital
domain right very easy to implement okay
and let's say so you are saying NC sub
carriers and so I'll talk about this
also okay so at the receiver what do you
do you get this basically this
continuous signal sample it do serial to
parallel conversion take the f inverse
of that you get your data back parall to
seror this NC okay right so all that is
implemented very in a very simple manner
now what is this what are these unused
sub carriers okay let's spend a minute
on this okay so what happens is these
ffts are
basically can be implemented with very
low complexity the size of the fft is a
power of two right the basic DSP okay it
like so if it is like 512 1,24 496 Point
fft can implemented very easily okay now
here you want to transmit only on let's
say your bandwidth is such that you can
transmit only on you can 300 3,000 sub
carriers rest of the sub carriers you
transmit
zero okay they are called unused sub
carriers okay so you're are taking a
higher point idft at the transmitter and
a higher Point DFT at the receiver okay
okay just to reduce the complexity of
the implementation of DFT and fft okay
right so rest of them are Z you don't
care right so till we could implement
this on these FF on these our dsps or
fpga till the time we could not do that
4G was not possible the moment this was
possible to do it in real time 4G 5G use
this of fdm okay and we know the
advantages this is how it is implemented
okay any ofdm any 4G or 5G system has
this okay and why we are doing it we
first covered in the first part of the
chap of this lecture advantages ofdm
second part I spent in making you
understand how it is actually
implemented in practice okay what is its
equivalent analog form and what is it
equivalent digital form thank you
[Music]
[Music]
[Music]
