Digital Modulation Simulator: BPSK, QPSK, QAM Constellations Explained

simulator intermediate ~10 min
Loading simulation...
Rb = 40 Mbps — 16-QAM at 10 MBaud

16-QAM at 10 MBaud with 15 dB SNR achieves 40 Mbps with a BER around 2×10⁻³, suitable for systems with forward error correction.

Formula

b = log₂(M)  bits per symbol
BER ≈ (4/b)·(1 - 1/√M)·Q(√(3b·SNR/(M-1)))
BW = Rs × (1 + α)  occupied bandwidth

Encoding Bits in Waves

Digital modulation maps sequences of bits onto analog waveform parameters — amplitude, phase, or both. The constellation diagram provides the clearest visualization: each symbol occupies a unique point in the I-Q (in-phase / quadrature) plane, and the receiver must determine which point was sent despite the corruption caused by noise, interference, and fading. The art of modulation design is maximizing the number of points (and thus data rate) while keeping them far enough apart to resist errors.

From BPSK to 1024-QAM

Binary Phase-Shift Keying (BPSK) uses just two points — maximum robustness, minimum rate. QPSK doubles to four points at the same error performance by using both I and Q axes independently. Quadrature Amplitude Modulation (QAM) fills a rectangular grid: 16-QAM carries 4 bits per symbol, 64-QAM carries 6, and Wi-Fi 6 pushes to 1024-QAM with 10 bits per symbol. Each doubling of the constellation demands roughly 3 dB more SNR.

Noise and the Error Floor

Additive white Gaussian noise (AWGN) scatters received symbols around their ideal positions. When the noise cloud of one point overlaps a neighboring point's decision boundary, a symbol error occurs. The bit error rate (BER) depends exponentially on the minimum distance between points divided by the noise standard deviation. This simulation adds realistic noise to the constellation so you can see the scatter grow as SNR decreases.

Pulse Shaping and Bandwidth

Real systems cannot transmit infinitely sharp pulses. Raised-cosine filters shape each symbol pulse to limit bandwidth while avoiding inter-symbol interference. The roll-off factor α trades excess bandwidth for time-domain concentration: α = 0 achieves Nyquist-rate bandwidth but requires infinite filter length, while α = 0.35 (common in satellite and cellular systems) adds 35% excess bandwidth for practical implementation.

FAQ

What is a modulation constellation diagram?

A constellation diagram plots each possible transmitted symbol as a point in the complex I-Q plane. The distance between points determines noise immunity — more points (higher order) pack more bits per symbol but require cleaner channels. Received symbols scatter around ideal points due to noise.

What is the difference between QPSK and 16-QAM?

QPSK uses 4 symbols (2 bits each) arranged in a square; 16-QAM uses 16 symbols (4 bits each) in a grid. 16-QAM doubles the data rate at the same symbol rate but needs about 7 dB more SNR for the same error rate.

What is the roll-off factor?

The roll-off factor α (0 to 1) controls the excess bandwidth of a raised-cosine pulse-shaping filter. α = 0 gives minimum bandwidth (but impractical sharp transitions); α = 1 doubles the bandwidth but produces easier-to-implement smoother pulses. Typical values are 0.2–0.35.

How does adaptive modulation work?

Adaptive modulation dynamically selects the modulation order based on measured channel conditions. When SNR is high, the system uses 64-QAM or 256-QAM for maximum throughput; when SNR drops, it falls back to QPSK or BPSK to maintain reliability.

Sources

Embed

<iframe src="https://homo-deus.com/lab/telecommunications/modulation-schemes/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub