What is M-ary Quadrature Amplitude Modulation?
M-ary QAM is a sophisticated digital modulation scheme that conveys data by changing (modulating) the amplitude of two carrier waves. These two waves (usually sinusoids) are out of phase with each other by 90° and are called the In-phase (I) and Quadrature (Q) components.
By combining both phase and amplitude shifts, QAM can represent more bits per symbol compared to simple ASK or PSK, making it highly spectrally efficient.
Mathematical Model & Symbol Mapping
In M-ary QAM, data is mapped into a complex plane. The simulator generates the time-domain signal $s(t)$ using the standard quadrature carrier equation:
Where In and Qn represent the coordinates of the n-th symbol.
Example: 4-QAM (QPSK)
For $M=4$, we have $\sqrt{M}=2$. The possible levels for $I$ and $Q$ are {-1, 1}.
- Bit [00] → (I: -1, Q: 1)
- Bit [01] → (I: 1, Q: 1)
- Bit [11] → (I: 1, Q: -1)
- Bit [10] → (I: -1, Q: -1)
Example: 16-QAM
For $M=16$, the levels are spaced as {-3, -1, 1, 3} to maintain a distance of $d=2$.
Q-Levels: -3, -1, 1, 3
Resulting in 16 unique points from (-3,3) to (3,-3).
Signal Power Normalization
As implemented in the code, the constellation is normalized by the average symbol power. Because 16-QAM symbols have different amplitudes (e.g., $(\pm1, \pm1)$ vs $(\pm3, \pm3)$), we calculate the Mean Square Power and scale the signal to ensure the transmitter operates at a consistent Amplitude factor.
Comparison of QAM Orders
| Modulation | Bits Per Symbol | Noise Immunity | Typical Application |
|---|---|---|---|
| 4-QAM (QPSK) | 2 | Excellent | Satellite, Deep Space |
| 16-QAM | 4 | Moderate | Digital TV, DSL |
| 64-QAM | 6 | Low | Wi-Fi 5, 4G LTE |
| 256-QAM | 8 | Very Low | Wi-Fi 6, 5G, Cable Interet |
Applications of M-ary QAM
Because of its ability to carry high data rates, QAM is the backbone of modern wireless and wired communications:
5G & 4G Cellular
Uses adaptive QAM (from 16-QAM to 256-QAM) depending on signal strength to maximize download speeds.
Wi-Fi 6/7
The latest Wi-Fi standards use up to 4096-QAM to provide gigabit speeds in home and office environments.
Frequently Asked Questions
Why must M be a power of 2?
In digital systems, data is binary. $M=2^n$ allows each symbol to represent an integer number of bits ($n$).
What does a constellation diagram show?
It represents the possible symbols that can be transmitted. The distance from the center relates to amplitude, and the angle relates to phase.