**- DSP log - http://www.dsplog.com -**

Maximal Ratio Combining (MRC)

Posted By __Krishna Sankar__ On September 28, 2008 @ 11:11 am In __MIMO__ | __145 Comments__

This is the third post in the series discussing **receiver diversity** in a wireless link. **Receiver diversity** is a form of space diversity, where there are multiple antennas at the receiver. The presence of receiver diversity poses an interesting problem – how do we use ‘*effectively*‘ the information from all the antennas to demodulate the data. In the previous posts, we discussed **selection diversity ^{[1]}** and

In this post, we will discuss** Maximal Ratio Combining (MRC)**. For the discussion, we will assume that the channel is a flat fading Rayleigh multipath channel ^{[3]} and the modulation is BPSK.

We use the same constraints as defined in the Selection Diversity ^{[1]} and Equal Gain Combining (EGC) ^{[2]} post. Let me repeat the same.

1. We have N receive antennas and one transmit antenna.

2. The channel is flat fading – In simple terms, it means that the multipath channel has only one tap. So, the convolution operation reduces to a simple multiplication. For a more rigorous discussion on flat fading and frequency selective fading, may I urge you to review Chapter 15.3 Signal Time-Spreading from [DIGITAL COMMUNICATIONS: SKLAR] ^{[4]}

3. The channel experienced by each receive antenna is randomly varying in time. For the receive antenna, each transmitted symbol gets multiplied by a randomly varying complex number . As the channel under consideration is a Rayleigh channel, the real and imaginary parts of are Gaussian distributed having mean and variance .

4. The channel experience by each receive antenna is independent from the channel experienced by other receive antennas.

5. On each receive antenna, the noise has the Gaussian probability density function with

with and .

The noise on each receive antenna is independent from the noise on the other receive antennas.

6. At each receive antenna, the channel is known at the receiver.

7. In the presence of channel , the instantaneous bit energy to noise ratio at receive antenna is . For notational convenience, let us define,

On the receive antenna, the received signal is,

where

is the received symbol on the receive antenna,

is the channel on the receive antenna,

is the transmitted symbol and

is the noise on receive antenna.

Expressing it in matrix form, the received signal is,

, where

is the received symbol from all the receive antenna

is the channel on all the receive antenna

is the transmitted symbol and

is the noise on all the receive antenna.

The equalized symbol is,

.

It is intuitive to note that the term,

i.e sum of the channel powers across all the receive antennas.

Note: The equations in the post refers the note on Receive diversity ^{[5]} by Prof. RaviRaj Adve.

Earlier, we noted that in the presence of channel , the instantaneous bit energy to noise ratio at receive antenna is

.

Given that we are equalizing the channel with , with the receive antenna case, the effective bit energy to noise ratio is,

.

**E****ffective bit energy to noise ratio in a N receive antenna case is N times the bit energy to noise ratio for single antenna case**. Recall, this gain is same as the improvement which we got in Receive diversity for AWGN ^{[6]} case

Click here to download Matlab/Octave script for plotting effective SNR with Maximal Ratio Combining in Rayleigh channel ^{[7]}

**Figure: Effective SNR with Maximal Ratio Combining in Rayleigh fading channel**

From the discussion on chi-square random variable ^{[8]}, we know that, if is a Rayleigh distributed random variable, then is a chi-squared random variable with two degrees of freedom. The pdf of is

.

Since the effective bit energy to noise ratio is the sum of such random variables, the pdf of is a chi-square random variable ^{[9]} with degrees of freedom. The pdf of is,

.

If you recall, in the post on BER computation in AWGN ^{[10]}, with bit energy to noise ratio of , the bit error rate for BPSK in AWGN is derived as

.

Given that the effective bit energy to noise ratio with **maximal ratio combining** is, the total bit error rate is the integral of the conditional BER integrated over all possible values of .

.

This equation reduces to

, where

.

Refer Equation 11.12 and Equation 11.13 in Section 11.3.1 Performance with Maximal Ratio Combining in [DIG-COMM-BARRY-LEE-MESSERSCHMITT]. ^{[11]} Again, I do not know the proof

The Matlab/Octave script performs the following

(a) Generate random binary sequence of +1′s and -1′s.

(b) Multiply the symbols with the channel and then add white Gaussian noise.

(c) Chose that receive path, equalize the received symbols per maximal ratio combining

(d) Perform hard decision decoding and count the bit errors

(e) Repeat for multiple values of and plot the simulation and theoretical results.

Click here to download Matlab/Octave script for simulating BER for BPSK in Rayleigh channel with Maximal Ratio Combining ^{[12]}

**Figure: BER plot for BPSK in Rayleigh channel with Maximal Ratio Combining**

[DIG-COMM-BARRY-LEE-MESSERSCHMITT] ^{[11]}Digital Communication: Third Edition, by John R. Barry, Edward A. Lee, David G. Messerschmitt ^{[11]}

Article printed from DSP log: **http://www.dsplog.com**

URL to article: **http://www.dsplog.com/2008/09/28/maximal-ratio-combining/**

URLs in this post:

[1] selection diversity: **http://www.dsplog.com/2008/09/06/receiver-diversity-selection-diversity/**

[2] **equal gain combining** (EGC): **http://www.dsplog.com/2008/09/19/equal-gain-combining/**

[3] Rayleigh multipath channel: **http://www.dsplog.com/2008/07/14/rayleigh-multipath-channel/**

[4] [DIGITAL COMMUNICATIONS: SKLAR]: **http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FDigital-Communications-Fundamentals-Applications-Technologies%2Fdp%2F0130847887&tag=dl04-20&linkCode=ur2&camp=1789&creative=9325**

[5] Receive diversity: **http://www.comm.utoronto.ca/~rsadve/Notes/DiversityReceive.pdf**

[6] Receive diversity for AWGN: **http://www.dsplog.com/2008/08/19/receive-diversity-in-awgn/**

[7] Matlab/Octave script for plotting effective SNR with Maximal Ratio Combining in Rayleigh channel: **http://www.dsplog.com/db-install/wp-content/uploads/2008/09/script_maximal_ratio_combining_effective_snr.m**

[8] chi-square random variable: **http://www.dsplog.com/2008/07/28/chi-square-random-variable/#twodegree**

[9] chi-square random variable: **http://www.dsplog.com/2008/07/28/chi-square-random-variable/#mdegree**

[10] BER computation in AWGN: **http://www.dsplog.com/2007/08/05/bit-error-probability-for-bpsk-modulation/**

[11] [DIG-COMM-BARRY-LEE-MESSERSCHMITT].: **http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FDigital-Communication-John-R-Barry%2Fdp%2F0792375483&tag=dl04-20&linkCode=ur2&camp=1789&creative=9325**

[12] Matlab/Octave script for simulating BER for BPSK in Rayleigh channel with Maximal Ratio Combining: **http://www.dsplog.com/db-install/wp-content/uploads/2008/09/script_ber_bpsk_rayleigh_channel_maximal_ratio_combining.m**

[13] click here to SUBSCRIBE : **http://www.feedburner.com/fb/a/emailverifySubmit?feedId=1348583&loc=en_US**

Click here to print.

Copyright © 2007-2012 dspLog.com. All rights reserved. This article may not be reused in any fashion without written permission from http://www.dspLog.com.