OFDM Modulation and Demodulation (AWGN) – II

We have previously looked at a simple OFDM modulation and demodulation scheme. We saw that the BER performance of OFDM in AWGN was the same as the BER performance of the underlying modulation scheme (QPSK in this case). We will now continuously improve upon our basic simulation to get a more realistic picture. In this regard we introduce the cyclic prefix which is used in OFDM to overcome Intersymbol Interference. The duration of the cyclic prefix is 0.8usec (16 samples at 20MHz) resulting in a symbol duration of 4usec (IEEE 802.11a). Given below is the code for OFDM modulation and demodulation […]

Read more

OFDM Modulation and Demodulation (AWGN)

OFDM modulation works on the principle of converting a serial symbol stream to a parallel symbol stream with each symbol from the parallel set modulating a seperate carrier. The spacing between the carriers is 1/T where T is the duration of the OFDM symbols (without cyclic prefix). This guarantees orthogonality of the carriers i.e. there is no interference between carriers. The addition of orthogonal carriers modulated by parallel symbol streams is equivalent to taking the IFFT of the parallel symbol set. At the receiver the inverse operation of FFT is performed and the parallel symbol streams are converted to serial symbol streams. The main advantage of this scheme is that one […]

Read more

Alamouti Scheme

So we have seen that multiple transmit antennas provide the same gain as multiple receive antennas if the channel state information can be fed back to the transmitter. But what if the channel state information cannot be fed back to the transmitter (or it can be done but not quickly enough). The solution to this problem is the so called “Alamouti Scheme”. In this scheme two symbols are simultaneously transmitted from two transmit antennas and in the next time slot phase shifted versions of these two symbols are transmitted over the two transmit antennas. The channel is assumed to be […]

Read more

Transmit Diversity using Channel State Information

We saw that equal gain combining and maximal ratio combining result in tremendous improvement in bit error rate performance in a Rayleigh fading channel. These are receive diversity schemes i.e. schemes that work with multiple receive antennas. Now let us turn our attention to schemes that work with multiple transmit antennas. We know that the main aim of a combining scheme is to coherently add the signals. If the same signal is transmitted from multiple transmit antennas the resulting signals would not add up coherently when they arrive at the receiver (remember that each path introduces a random phase shift). […]

Read more

Maximal Ratio Combining in Rayleigh Fading

We just saw the advantage an equal gain combiner (a combining scheme that just adds the signals after co-phasing them) provides in a Rayleigh fading channel. Lets now look at a variant of this scheme called maximal ratio combining (MRC). In MRC the signals arriving at the receivers are weighted by the channel gains i.e. a stronger signal is weighted more than a weaker signal before combining. It must be noted that in an actual system the received signals are both scaled and phase shifted thus an MRC receiver multiplies the received signals by the complex conjugate of the channel […]

Read more

Equal Gain Combining in Rayleigh Fading

When wireless signals travel from a single transmit antenna to multiple receive antennas they experience different fading conditions. While signal from one path may experience a deep fade the signal from another path may be stronger. Therefore selecting the stronger of the two signals (selection combining, threshold combining) or adding the signals (equal gain combining, maximal ratio combining) would always yield much better results (lower bit error rate). However, there must be sufficient spacing between the different receive antennas for the received signals to be dissimilar (uncorrelated). In the simulation below we consider a 1-Tx, 2-Rx scenario. The signals arriving […]

Read more

Bit Error Rate of QPSK in Rayleigh Fading

So far we have considered the bit error rate (BER) of BPSK and QPSK in an AWGN channel. Now we turn our attention to a Rayleigh fading channel which is a more realistic representation of a wireless communication channel. We consider a single tap Rayleigh fading channel which is good approximation of a flat fading channel i.e. a channel that has flat frequency response (but varying with time). The complex channel coefficient is given as (a+j*b) where a and b are Gaussian random variables with mean 0 and variance 0.5. We use the envelope of this channel coefficient in our […]

Read more

Bit Error Rate of QPSK

Simulating a QPSK system is equivalent to simulating two BPSK systems in parallel. So there is no difference in bit error rate(BER). Since the simulation is at baseband we multiply the in-phase and quadrature streams by 1 and j respectively (instead of cos and sin carriers). At the receiver we just use the real and imag functions to separate the two symbol streams. The BER is the average BER of the two parallel streams. As in the case of BPSK we can show that the baseband representation (using 1 and j)  is equivalent to using the passband representation (using cosine […]

Read more

Bit Error Rate of BPSK

Modulation is the process by which a binary stream (zeros and ones) is converted to a format that is suitable for transmission over a wired or wireless channel that is prone to noise and interference as well as distortion. The most basic modulation scheme is BPSK or Binary Phase Shift Keying. It transmits the information in the phase of the signal which could be one of two values (0 degrees or 180 degrees). BPSK signal can be represented as (called the passband representation) s(t)=a(t)*cos(2*pi*f*t) where a(t) is a time varying parameter which can have one of two values (+1 or […]

Read more