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

BER with Matched Filtering

Posted By Krishna Sankar On May 8, 2009 @ 5:40 am In Channel | 38 Comments

In the post on transmit pulse shaping filter [1], we had discussed pulse shaping using rectangular and sinc. In this post we will discuss about optimal receiver structure when pulse shaping is used at the transmitter. The receiver structure is also called as matched filter. For the discussion, we will assume rectangular pulse shaping, the channel is AWGN only and the modulation is BPSK.


The simplified transmitter structure is as shown below:

Transmit pulse shaping filter

Transmit pulse shaping filter

Figure: Transmit block diagram

The sequence of operation are as follows:

a). The random binary data comes as input to the the BPSK modulator circuit.

b). The BPSK modulator maps bits to symbols i.e bit0 to -1 and bit1 to +1

The sequence of transmit symbols maybe visualized as follows.

transmission of sequence of baseband symbols [2]

Figure: Transmit symbols for baseband PAM transmission

c). The upsampling block (the block with upward arrow) insert zeros between the samples based on the oversampling factor. For example, if the oversampling factor is 4, the block inserts 3 zeros between samples.

d). The last block in the chain is the filter, where the upsampled sequence is convolved with the filter. In this example, we have assumued rectangular filtering (also known as zero order hold), i.e. to repeat the current symbol till the next symbol arrives and so on. Mathematically, the filter can be represented as,


The filtered waveform can be as shown below.


Figure: Baseband PAM transmisison with rectangular filtering

The transmit spectrum assume that the symbol duration is shown below.

Transmit spectrum for a rectangular matched filter

Figure: Transmit spectrum for rectangular matched filter

Matched filter Receiver

The filter having an impulse response is called a matched filter of .

Matched filter response for rectangular pulse

Matched filter response for rectangular pulse

Figure: Matched filter response for a rectangular pulse shaping filter

In this example, as is a rectangular function, the mtched filter is also rectangular.

We pass the received signal through the matched filter . The output of the convolution peaks at time and we sample the at that time instant to perform the demodulation.

Further, if the filtered transmit signal is corrupted by noise, the filter with impulse response matched to maximizes the output Signal to Noise Ratio. The proof for this claim is detailed in Chapter 5.1.2 Matched Filter Demodulator in Digital Communications by John Proakis. [4]

Simulation Model

The Matlab/Octave script performs the following

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

(b) Upsample by inserting zeros and the convolve with rectangular filter

(c) Add white Gaussian noise.

(d) Convolve the received samples with matched filter, and extract output at time T

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

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

Click here to download Matlab/Octave script for computing the BER for BPSK modulation in AWGN only with using rectangular pulse shaping at the transmitter and corresponding matched filter [5]

BER plot for BPSK in AWGN with rectangular pulse shaping and matched filtering

Figure: BER plot for BPSK with rectangular pulse shaping and matched filtering


Can see that the simulated results are in good agreement with the theoretical BER results for BPSK in AWGN in AWGN [6].


Digital Communications by John Proakis. [4]

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

URL to article: http://www.dsplog.com/2009/05/08/ber-with-matched-filtering/

URLs in this post:

[1] transmit pulse shaping filter: http://www.dsplog.com/2008/04/14/transmit-pulse-shape-nyquist-sinc-rectangular/

[2] Image: http://www.dsplog.com/db-install/wp-content/uploads/2008/04/tx_symbols.png

[3] Image: http://www.dsplog.com/db-install/wp-content/uploads/2008/04/tx_symbol_rectangular_filter.png

[4] Digital Communications by John Proakis.: http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FDigital-Communications-John-Proakis%2Fdp%2F0072321113&tag=dl04-20&linkCode=ur2&camp=1789&creative=9325

[5] Matlab/Octave script for computing the BER for BPSK modulation in AWGN only with using rectangular pulse shaping at the transmitter and corresponding matched filter: http://www.dsplog.com/db-install/wp-content/uploads/2009/05/script_ber_bpsk_awgn_with_matched_filter.m

[6] theoretical BER results for BPSK in AWGN in AWGN: http://www.dsplog.com/2007/08/05/bit-error-probability-for-bpsk-modulation/

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

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.