DSPRelated.com
Forums
Online · Live + on demand
February 9-11, 2027
Price goes up Jan 1: register now to lock in today's rate
Register Now →

Flat Fading in OFDM

Started by Shahin ●July 13, 2006
Okay, so a stationary channel just means that you need to correct for
the complex coefficient {a} .  You therefore need to estimate this
coefficient in the receiver (let's assume that you already know it) and
then you have to take the fft of both the channel and the received
signal such that you end up with

r -> fft -> R
a -> fft -> A

Note, the r above has the cyclic prefix stripped away.

you can then simply divide through by the channel freq response for
each of the corresponding bins in the FFT (note this is just a zero
forcing equaliser).

Y = R/A

and you should end up with your transmitted symbols.  What seems to be
your problem?

col


Shahin wrote:
> cb135@hotmail.com wrote: > > Shahin, I've read through the other posts, but i don't think anyone > > truly addressed your problem. > > > > As far as i understand your issue, you want to implement a flat fading > > channel. Therefore, for now, you can disregard the issues dealing with > > extending your cyclic prefix. The equation you have is correct in it's > > current form i.e. > > > > r = ax+n > > > > where you're assuming that the channel is resolved by a single fading > > coefficient. > > > > However, your problem, as i see it, is when generating the flat fading > > channel coefficients {a}. Your current implementation does not account > > for the Doppler or temporal changes of the channel due to motion. In > > other words, you need some form of bandlimiting on the spectrum of the > > fading channel - corresponding to the expected Doppler spectrum for > > your application. > > > Col, thanks for your explanation and references. To start from the > first step I decided to chose stationary (no Doppler) flat fading > channel. Since I got the correct curve for single carrier modulation > using the method I mentioned before, I thought it will work for OFDM as > well, but aparantly its not. Is there anything special I need to > consider for get the curve for OFDM ? > > Best regards > Shahin
Maybe a short example will help?

X=((randn(1,32)>0.5)*2-1)+j*((randn(1,32)>0.5)*2-1);
a=rand+j*rand;
x=ifft(X);
xx=[x(end-3:end),x]; % prefix
r = xx.*a;
rr = r(5:end); % remove prefix
A=fft(a,32);
R=fft(rr);
Y = R./A;
sum(abs(X-Y))

col




Shahin wrote:
> cb135@hotmail.com wrote: > > Shahin, I've read through the other posts, but i don't think anyone > > truly addressed your problem. > > > > As far as i understand your issue, you want to implement a flat fading > > channel. Therefore, for now, you can disregard the issues dealing with > > extending your cyclic prefix. The equation you have is correct in it's > > current form i.e. > > > > r = ax+n > > > > where you're assuming that the channel is resolved by a single fading > > coefficient. > > > > However, your problem, as i see it, is when generating the flat fading > > channel coefficients {a}. Your current implementation does not account > > for the Doppler or temporal changes of the channel due to motion. In > > other words, you need some form of bandlimiting on the spectrum of the > > fading channel - corresponding to the expected Doppler spectrum for > > your application. > > > Col, thanks for your explanation and references. To start from the > first step I decided to chose stationary (no Doppler) flat fading > channel. Since I got the correct curve for single carrier modulation > using the method I mentioned before, I thought it will work for OFDM as > well, but aparantly its not. Is there anything special I need to > consider for get the curve for OFDM ? > > Best regards > Shahin
hi,
   regarding paper

at this link

http://www.urel.feec.vutbr.cz/RADIOENG/2003.html

N. Kostov [full-text] [references]
Mobile Radio Channels Modeling in MATLAB

In this paper, a MATLAB based approach for mobile radio channels
modeling is presented. Specifically, the paper introduces the basic
concepts for modeling flat fading channels in MATLAB by means of
user-defined m-files. Typical small-scale fading channel models are
derived such as uncorrelated Rician fading channel and Rayleigh fading
channel with Doppler shift. Further, simple and useful MATLAB
constructions for approximation of cumulative distribution functions
(CDFs) and probability density functions (PDFs) are also given.
Finally, a MATLAB based Monte Carlo simulation example is presented,
which comprises performance estimation of phase shift keying (PSK)
signaling over a Rician fading channel.


he has given complete simulation, work on this aspect and do reply back
the results whether you have obtained correctly or not.

in every aspect there are 4 aspects

1. Long fading.
2. short fading (rayleigh of rician or any)
3.doppler spread
4. Multi path

of all the above, from your posts i guess you dont have Long fading

NO doppler spread

and Power profile distriution also you are taking as 1 coefficient.

then left out is short fading..

i think the matlab code paper should help you....

Small-scale fading is also cal-led Rayleigh or Rician fading because if
a large number of reflective paths is encountered the received signal
envelope is described by a Rayleigh or a Rician probability density
function (PDF)

so (2) & (4) are linked here.

PARTICLEREDDY wrote:
> hi, > regarding paper > > at this link > > http://www.urel.feec.vutbr.cz/RADIOENG/2003.html > > N. Kostov [full-text] [references] > Mobile Radio Channels Modeling in MATLAB > > In this paper, a MATLAB based approach for mobile radio channels > modeling is presented. Specifically, the paper introduces the basic > concepts for modeling flat fading channels in MATLAB by means of > user-defined m-files. Typical small-scale fading channel models are > derived such as uncorrelated Rician fading channel and Rayleigh fading > channel with Doppler shift. Further, simple and useful MATLAB > constructions for approximation of cumulative distribution functions > (CDFs) and probability density functions (PDFs) are also given. > Finally, a MATLAB based Monte Carlo simulation example is presented, > which comprises performance estimation of phase shift keying (PSK) > signaling over a Rician fading channel. > > > he has given complete simulation, work on this aspect and do reply back > the results whether you have obtained correctly or not. > > in every aspect there are 4 aspects > > 1. Long fading. > 2. short fading (rayleigh of rician or any) > 3.doppler spread > 4. Multi path > > of all the above, from your posts i guess you dont have Long fading > > NO doppler spread > > and Power profile distriution also you are taking as 1 coefficient. > > then left out is short fading.. > > i think the matlab code paper should help you....
  Hello,

      It was really helpful indeed. Also thanks from Col for his code.
I used the code mentioned in the paper for my model. Both correlated
and uncorrelated Rayleigh channels are working fine for M-PSK. I
applied the same channel to my OFDM model, unlike my previous
simulations,  a curve appears which follows the theoretical curve. But
everything goes fine only up to 25dB of SNR. After 25dB I again get a
line for SNR vs BER.  Any idea why an error floor appears in my
simulations?

Shahin


PARTICLEREDDY wrote:
> hi, > regarding paper > > at this link > > http://www.urel.feec.vutbr.cz/RADIOENG/2003.html > > N. Kostov [full-text] [references] > Mobile Radio Channels Modeling in MATLAB
Shahin,

I'm happy that it is working for you.  Regards the error floor that you
observe, it's very hard to debug through a newgroup.  Perhaps you could
try a relatively large SNR value, say 40-50dB, and see if you are
getting errors then.

Other than that, you could check to make sure that you are simulating
enough points for your target error rate, or that your interleaver (i'm
assuming that you're doing some form of diversity reception) is long
enough.  ermmm....that's all i can think of at present.

col



Shahin wrote:
> Hello, > > It was really helpful indeed. Also thanks from Col for his code. > I used the code mentioned in the paper for my model. Both correlated > and uncorrelated Rayleigh channels are working fine for M-PSK. I > applied the same channel to my OFDM model, unlike my previous > simulations, a curve appears which follows the theoretical curve. But > everything goes fine only up to 25dB of SNR. After 25dB I again get a > line for SNR vs BER. Any idea why an error floor appears in my > simulations? > > Shahin > > > PARTICLEREDDY wrote: > > hi, > > regarding paper > > > > at this link > > > > http://www.urel.feec.vutbr.cz/RADIOENG/2003.html > > > > N. Kostov [full-text] [references] > > Mobile Radio Channels Modeling in MATLAB
>Shahin, > >I'm happy that it is working for you. Regards the error floor that you >observe, it's very hard to debug through a newgroup. Perhaps you could >try a relatively large SNR value, say 40-50dB, and see if you are >getting errors then. > >Other than that, you could check to make sure that you are simulating >enough points for your target error rate, or that your interleaver (i'm >assuming that you're doing some form of diversity reception) is long >enough. ermmm....that's all i can think of at present. > >col > > > >Shahin wrote: >> Hello, >> >> It was really helpful indeed. Also thanks from Col for his code. >> I used the code mentioned in the paper for my model. Both correlated >> and uncorrelated Rayleigh channels are working fine for M-PSK. I >> applied the same channel to my OFDM model, unlike my previous >> simulations, a curve appears which follows the theoretical curve. But >> everything goes fine only up to 25dB of SNR. After 25dB I again get a >> line for SNR vs BER. Any idea why an error floor appears in my >> simulations? >> >> Shahin >> >> >> PARTICLEREDDY wrote: >> > hi, >> > regarding paper >> > >> > at this link >> > >> > http://www.urel.feec.vutbr.cz/RADIOENG/2003.html >> > >> > N. Kostov [full-text] [references] >> > Mobile Radio Channels Modeling in MATLAB > >
Hello dears all, Thanks u guys for making this useful discussion. I have gain some good ideas, referencies, and remarks about the flat fading channels. howerver, I also have some problems with my implementation of OFDM system, and specially in designing the flat fading channel and still need some ideas to solve my problem. My problem is i want to implement the stationary flat fading channel, assuming modile speed zero, and using the matlab functions for doing that. my system do have a cyclic prefix nd de-prefix. and using 3 modulation schemes, which is QPSK, 16QAM, and 64QAM. I used the matlab function raylieghchan for this purpose and assumed perfect channel knowledge. but after i used it, i got phase shift to the trx symbols, however, i get rid of it by multiplying the conj channel impuls response with the rex symbols, but still the SNR vs BER shows a very strnage curve. doesnt have any relation with the theorestical one. can any of you dears help me out in this matter, i would be grathful for that. P.S. i runned my simulator over AWGN channel and it works fine. best Regrds, Ammar