# Simulation of Symbol Error Rate Vs SNR performance curve for 16-QAM in AWGN

## M-QAM Modulation:

In M-ASK modulation the information symbols (each k=log2(M) bit wide) are encoded into the amplitude of the sinusoidal carrier. In M-PSK modulation the information is encoded into the phase of the sinusoidal carrier. M-QAM is a generic modulation technique where the information is encoded into both the amplitude and phase of the sinusoidal carrier. It combines both M-ASK and M-PSK modulation techniques.M-QAM modulation technique is a two dimensional modulation technique and it requires two orthonormal basis functions

The M-QAM modulated signal is represented as

Here and are the amplitudes of the quadrature carriers amplitude modulated by the information symbols.

## Baseband Rectangular M-QAM modulator:

There exist other constellations that are more efficient (in terms of energy required to achieve same error probability) than the standard rectangular constellation. But due to its simplicity in modulation and demodulation rectangular constellations are preferred.

In practice, the information symbols are gray coded in-order to restrict the erroneous symbol decisions to single bit error, the adjacent symbols in the transmitter constellation should not differ more than one bit. Usually the gray coded symbols are separated into in-phase and quadrature bits and then mapped to M-QAM constellation. The rectangular configuration of QAM makes it easier to consolidate the previously mentioned steps into a simplified Look-Up-Table (LUT) approach.

Check here to know more on constructing a LUT for M-QAM modulation techniques.

## 16-QAM Modulation Scaling Factor:

In order to get a fair comparison across all other modulations, the energy transmitted signal has to be normalized. In general the constellation points for a M-QAM modulation can be generated as

The energy a single constellation point is calculated as . Where and are the I and Q components of the signaling points. For a set of n constellation points, the total energy is calculated as

.

In 16 QAM there are 16 signal points in the constellation that are equally divided into four quadrants (each with four constellation points). Since the constellation is divided equally into four quadrants, normalizing the energy in a single quadrant will simplify things.

Calculating the total energy in any one of the quadrant, say for example -the top-right quadrant,

The average energy is and the normalization factor will be .

The values in the LUT (where the reference constellation is stored) are normalized by the above mentioned normalization factor and then the 16-QAM signal is generated.

## Simulation Model:

The simulation model for M-QAM modulation is given in the next figure. The receiver uses Euclidean distance as a metric to decide on the received symbols.

## Theoretical Symbol Error Rate:

The theoretical symbol error rate for M-QAM modulation technique in AWGN when k=log2(M) is even,is given by

Or equivalently,

## Matlab Code:

Check this book for full Matlab code.

Simulation of Digital Communication Systems Using Matlab – by Mathuranathan Viswanathan

## Simulation Results:

## See Also

[1] Constructing a rectangular constellation for 16-QAM

[2] BER Vs Eb/N0 for 8-PSK modulation over AWGN

[3] BER Vs Eb/N0 for QPSK modulation over AWGN

[4]QPSK modulation and Demodulation

[5] Simulation of BER Vs Eb/N0 for BPSK modulation over AWGN in Matlab

[6] Intuitive derivation of Performance of an optimum BPSK receiver in AWGN channel

[7] Simulation of M-PSK modulation techniques in AWGN channel