5.0

5.0 | 1 rating Rate this file 26 Downloads (last 30 days) File Size: 3.51 KB File ID: #20569

16QAM BER with Gray Mapping

by Krishna Sankar M

 

03 Jul 2008 (Updated 07 Jul 2008)

Derive the theoretical 16QAM bit error rate (BER) with Gray coded constellation mapping in AWGN

| Watch this File

File Information
Description

The Matlab/Octave script performs the following:
(a) Generation of random binary sequence
(b) Assigning group of 4 bits to each 16-QAM constellation symbol per the Gray mapping
(c) Addition of white Gaussian Noise
(d) Demodulation of 16-QAM symbols and
(e) De-mapping per decimal to Gray conversion
(f) Counting the number of bit errors
(g) Running this for each value of Eb/No in steps of 1dB.
For the discussion on the theoretical BER for 16QAM, please refer to the post
http://www.dsplog.com/2008/06/05/16qam-bit-error-gray-mapping/

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
21 Aug 2008 Paul A.M. Buné

Excellent tutorial. However, please be aware that the theoretical 16QAM BER as used in this program
BER=(3/8)*erfc(sqrt(0.4*Eb_N0))
is just an (albeit good) approximation, as you already indicated in your www.dsplog.com post.

The *exact* Gray-mapped 16QAM BER with AWGN is
BER=(3/8)*erfc(sqrt(0.4*Eb_N0))+(1/4)*erfc(3*sqrt(0.4*Eb_N0))-(1/8)*erfc(5*sqrt(0.4*Eb_N0))
as generated by entry nr. 19717 in the Mathworks File Exchange. The difference between the approximate theoretical BER and the exact BER gets significant for Eb/N0 below 0dB, being 27% at Eb/N0=-10dB and growing to 33% for Eb/N0=0 (or minus infinity in dB). The simulated 16QAM BER can be shown to deviate clearly from the approximate theoretical BER for Eb/N0<0dB, while it closely follows the exact theoretical BER for all values of Eb/N0.

Entry 19717 also produces exact BER values for Gray-mapped QPSK, 256QAM etc. and, further to over-all BER values, it also generates the different BER values for the different bit positions in 16QAM, 256QAM etc.

On the condition that the origin is clearly indicated, please feel free to use my entry nr. 19717 and its results on your site http://www.dsplog.com/.

Paul A.M. Buné

23 Aug 2008 Krishna Pillai

@Paul: Thanks for the comment. Sure, I can add link to your code (with credits) in www.dsplog.com.

However, I would like to understand the equation prior. For a general M-QAM (M-even), the symbol error rate has an erfc() term and erfc^2() term.
uri: http://www.dsplog.com/2008/05/24/article-in-dspdesignlinecom-m-qam-symbol-error/
And for ber, I just took the first term. Given the above understanding, I was unable to understand the equation which you have suggested. How have you converted the erfc^2() term to two erfc() terms? Kindly point me to a reference, if possible.

Thanks in advance.

Warm regards,
Krishna

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
ber Krishna Sankar M 22 Oct 2008 10:08:25
16qam Krishna Sankar M 22 Oct 2008 10:08:25
qam Krishna Sankar M 22 Oct 2008 10:08:25
gray Krishna Sankar M 22 Oct 2008 10:08:25
16qam waleed alhanafy 19 Jun 2009 04:32:36
16qam Diego 26 Jul 2009 14:11:23
16qam gannon indu 16 Nov 2009 15:51:11
16qam sun jin 03 Dec 2009 16:34:26
16qam Stanislav Egorov 21 May 2010 15:42:11
16qam VMOF Fialho 31 Oct 2010 14:06:38
16qam Arun Singh 13 Jan 2011 12:12:12
16qam byun 05 Jun 2011 09:53:34

Contact us at files@mathworks.com