Catto / Topic Map · Telecommunications II Year 7
Telecommunications II · 120 h · Topic 2 of 6

Digital modulation

Turning voice into bits is half the problem; the other half is fitting those bits onto a radio carrier without using more spectrum than necessary. Digital modulations solve exactly that trade-off between speed, bandwidth and robustness.

PCM Quantization QAM Constellation

Where we start from

Sampling and its conditions are covered in sampling theorem, and analog modulations and their comparison in modulation systems. Here the chain is completed: quantize, encode and modulate.

01PCM: from sample to number

2 bits per sampleLevels4Signal-to-noise ratio12.0 dBFour levels: the reconstructed signal does not resemble the original.3 bits per sampleLevels8Signal-to-noise ratio19.8 dBEight levels. The shape is recognizable, but the error is still huge.4 bits per sampleLevels16Signal-to-noise ratio25.8 dBSixteen levels: the error is now small compared with the signal amplitude.6 bits per sampleLevels64Signal-to-noise ratio37.9 dBSixty-four levels. Each added bit contributes about 6 dB of signal-to-noise ratio.The difference between the curve and the step is the quantization error: noise that is added in the conversionand can no longer be removed. SNR = 6.02 n + 1.76 dB.
Figure 1. Quantization, animated. Each sample is approximated to the nearest step, and that difference —the quantization error— is noise that gets added and can no longer be removed.
SNR≈6.02·n+1.76dBq=V2n n is the number of bits of the converter, V the input range and q the quantization step. Each added bit improves the signal-to-noise ratio by about 6 dB.
Worked example · The quality you can promise

A telephone channel digitizes at 8 bits and an audio CD at 16 bits.

  • Telephony: SNR = 6.02 × 8 + 1.76 = 49.9 dB. More than enough for voice.
  • Audio: SNR = 6.02 × 16 + 1.76 = 98.1 dB. This is what separates a CD from a tape.
  • With an input range of 2 V and 8 bits, the step is 2/256 = 7.8 mV: any difference smaller than that is lost forever.

And the detail that matters in practice: that SNR is the value at full scale. A signal that uses only a tenth of the range loses 20 dB, because the quantization noise is the same and the signal is smaller. That is why adjusting the input level is not a cosmetic detail.

Companding: more resolution where it is needed

Voice spends most of its time at low levels, so a quantizer with equal steps wastes resolution on the peaks and skimps on it where it is most noticeable. Companding uses small steps near zero and large ones at the extremes: with 8 bits it achieves a quality equivalent to about 12 linear bits.

There are two laws in use: A in Europe and in Argentina, and μ in North America and Japan. They are incompatible, which is why international links carry a conversion between the two.

02Digital modulations

IQBPSKStates2Bits per symbol1Relative distance between points22 dBTwo opposite phase states: themost noise-resistant of all.QPSKStates4Bits per symbol2Relative distance between points16 dBFour phases, two bits persymbol. The workhorse of digital radio.16-QAMStates16Bits per symbol4Relative distance between points9 dBAmplitude and phase combined. A goodcompromise, with a moderate SNR requirement.64-QAMStates64Bits per symbol6Relative distance between points3 dBSix bits per symbol. The pointsend up so close that a very clean link is needed.Each point is a symbol. Noise displaces the received point: if it lands nearer another, the receiver errs.That is why more bits per symbol always demands a higher signal-to-noise ratio.
Figure 2. Constellations, animated. Each point is a symbol, a combination of amplitude and phase. The more points, the more bits per symbol, but the closer together they are and the less noise it takes to confuse them.
ModulationWhat variesBits per symbolBehavior
ASKThe amplitude of the carrier.1The simplest and the most sensitive to noise. Hardly ever used alone in radio.
FSKThe frequency, between two or more values.1 or moreVery robust and easy to generate. Telemetry, radio modems, remote control.
BPSKThe phase, between two opposite states.1The most noise-resistant of all. Low-level satellite links.
QPSKThe phase, between four states.2Doubles the speed with very little penalty. It is the workhorse.
16-QAMAmplitude and phase: 16 points.4A good compromise. Requires a decent signal-to-noise ratio.
64-QAM64 points.6Digital TV and links with a good signal.
256-QAM256 points.8Maximum speed, only on very clean and stable links.
Rb=Rs·log2(M)η=RbB Rb is the bit rate, Rs the symbol rate in baud, M the number of states and η the spectral efficiency in bit/s per hertz.
Worked example · Choosing the modulation

A link has 7 MHz of bandwidth available and works at 6 Mbaud. What data rate is obtained with each modulation?

ModulationBits/symbolData rateRequired SNR
QPSK212 Mbit/s≈ 14 dB
16-QAM424 Mbit/s≈ 21 dB
64-QAM636 Mbit/s≈ 27 dB
256-QAM848 Mbit/s≈ 33 dB

The data rate is multiplied by four between QPSK and 256-QAM, but the required signal-to-noise ratio rises by 19 dB: it takes almost a hundred times more power, or a much larger antenna. That is the central trade-off of all digital radio.

Adaptive modulation

Modern links do not pick one modulation and stick with it: they change it on the fly according to the instantaneous quality. In good weather they work in 256-QAM at maximum speed; when it rains and the signal-to-noise ratio drops, they step down to 64-QAM, then to 16-QAM and finally to QPSK. The link becomes slower, but it does not drop, which is what matters.

03Measuring the quality of a digital link

IndicatorWhat it tells you
BER, bit error rateHow many bits arrive wrong out of the total. A data link requires better than 10⁻⁶; with error correction 10⁻¹² is reached.
Eb/N₀Energy per bit over noise density. It is the correct way to compare modulations, because it does not depend on the data rate.
MERHow much the received points are scattered relative to their ideal position in the constellation. It is the digital equivalent of the signal-to-noise ratio.
Eye diagramSuperposition of many symbol periods. An open “eye” means decision margin; closed, imminent errors.
Measured constellationVisual diagnosis: round clouds indicate noise, rotation indicates phase error, deformation indicates amplifier nonlinearity.
Forward error correction

Redundant bits are added, calculated so that the receiver can reconstruct the damaged bits without requesting retransmission. It costs capacity —a rate-3/4 code uses a quarter of the throughput on redundancy— and in return gives several decibels of coding gain: the link behaves as if it had more power.

On a satellite link, where every decibel is very expensive, that gain is the difference between a possible link and an impossible one.

04In the lab

Lab 1 · Quantizing and listening

Digitize a voice recording with 12, 8, 6 and 4 bits and compare the result by ear and in the spectrum. Measure the signal-to-noise ratio in each case and compare it with the formula. Repeat with the signal well below full scale and check the loss.

Lab 2 · Generating FSK

With a microcontroller, transmit data by FSK between two audio tones and receive it with another. Measure the error rate as a function of the added noise. It is a complete radio modem, built with two boards and a speaker.

Lab 3 · Seeing the constellation

With a software-defined radio, capture a real digital signal —digital TV or a data link— and observe its constellation and its MER. Compare the cloud with the antenna well and poorly aimed.

Lab 4 · Eye diagram

On a baseband digital signal, trigger the oscilloscope from the symbol clock and observe the eye diagram. Add noise and limit the channel bandwidth, and see how the eye closes for each cause.

05Common mistakes

MistakeConsequence
Confusing baud with bits per secondThey are equal only with one bit per symbol. In 64-QAM they differ by a factor of six.
Choosing the fastest modulation availableIf the signal-to-noise ratio is not enough, the link drops with any degradation.
Working well below full scaleDecibels of SNR are lost: the quantization noise is fixed and the signal got smaller.
Mixing A-law with μ-lawVoice sounds distorted even though the link is perfect.
Power amplifier working saturatedIt deforms the constellation of modulations with amplitude variation, such as QAM.
Ignoring error correctionSeveral decibels of free gain are wasted.
Measuring only received powerThe power can be good and the quality terrible. You have to look at MER, BER or the eye diagram.

06Self-assessment

How much does the signal-to-noise ratio improve for each bit added?

About 6 dB. The full expression is SNR ≈ 6.02·n + 1.76 dB.

Calculate the SNR of a 12-bit converter.

6.02 × 12 + 1.76 = 74 dB.

What is quantization error?

The difference between the actual value of the sample and the step it is approximated to. It behaves like noise added in the conversion that can no longer be removed.

What is companding for?

To use small steps at low levels —where voice spends most of its time— and large ones at the peaks. With 8 bits a quality equivalent to about 12 linear bits is achieved.

How many bits per symbol does 16-QAM carry?

log₂(16) = 4 bits per symbol.

At 4 Mbaud with 64-QAM, what is the data rate?

4 Mbaud × 6 bits = 24 Mbit/s.

Why is QPSK more robust than 256-QAM?

Because its four points are much farther apart in the constellation: it takes far more noise to confuse one with another. In exchange it carries 2 bits per symbol instead of 8.

What is adaptive modulation and what problem does it solve?

Changing the modulation on the fly according to the instantaneous quality of the link. In bad weather the link slows down but does not drop.

What information does an eye diagram give?

The receiver's decision margin. An open eye indicates there is margin; a closed one, that errors are imminent due to noise or bandwidth limitation.

What is gained with forward error correction?

Several decibels of coding gain: the receiver reconstructs damaged bits without requesting retransmission. It is paid for with part of the throughput used for redundancy.

Development of the topic “Digital pulse-code modulation” of Telecommunications II (Year 7), based on the “Curriculum Proposal – Second Cycle of the Technical-Vocational Track, Secondary Education – Electronics,” Ministry of Education of the Province of Córdoba, DGETyFP. Back to the Topic Map · catto.ar