S839 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

S8 · Lesson 39 · Coded modulation

Trellis-coded modulation by set partitioning, its gains without extra bandwidth, BICM and shaping

The codes of lessons 34 to 37 add redundant bits, and on a band-limited channel those bits cost bandwidth or force a denser constellation. Ungerboeck's insight in 1982 was to design the code and the constellation together: double the constellation (8-PSK instead of QPSK for 2 bits per symbol) to make room for one redundant bit, and use the code to guarantee that only points far apart can be confused. The result gains 3 to 6 dB with no extra bandwidth, and its descendants, bit-interleaved coded modulation with strong binary codes, carry almost every modern wireless and cable link.

  • The stems are the minimum squared distance within the subsets of 8-PSK (unit energy) at each level of Ungerboeck's set partitioning: 4sin2⁡(π2ℓ/8).
  • Splitting the 8 points into two QPSK subsets raises the distance from 0.586 to 2; splitting again into antipodal pairs raises it to 4.
  • The code's job is to choose the subset; the uncoded bits choose the point within it, protected by the subset's large internal distance.

Predict

A 4-state trellis code sends 2 bits per symbol on 8-PSK, against uncoded QPSK at the same symbol rate and energy. What asymptotic gain does it give?

Name it

Set partitioning

Split a 2m+1-point constellation into two subsets with larger minimum distance, then each of those into two, and so on. For 8-PSK at unit energy the squared distances are Δ02=0.586, Δ12=2, Δ22=4; for square QAM each split doubles the squared distance. A rate m~/(m~+1) convolutional code picks the subset; the remaining uncoded bits pick a point within it, giving parallel transitions whose distance is the final subset's.

Ungerboeck's rules

  • Transitions leaving or entering the same state use subsets from the same first-level split, so the distance between diverging paths starts at Δ12.
  • Parallel transitions use the most widely separated points.
  • All points are used equally often.

Gain

The asymptotic gain over an uncoded constellation of the same rate is

G=10log10⁡dfree2/Escodeddmin2/Esuncoded

For 8-PSK against QPSK: 3.0 dB with 4 states, 3.6 dB with 8, and approaching 6 dB with hundreds of states. Doubling the constellation first costs 10log10⁡(2/0.586)=5.3 dB in minimum distance, which the code must more than win back.

BICM and shaping

Bit-interleaved coded modulation separates the two again: a strong binary code (turbo or LDPC), a bit interleaver and a Gray-labeled constellation, with the receiver computing per-bit likelihoods. Over fading channels it does better than TCM, and with modern codes it sits within about a decibel of capacity. Uniformly used points leave one more gap: the ideal input is Gaussian-like, and shaping (using inner points more often, or a near-spherical constellation boundary) can recover up to 10log10⁡(πe/6)=1.53 dB.

Worked example

Check the 8-state 8-PSK code's free distance and gain.

Show the solution
  1. Shortest error event. With no parallel transitions it leaves through a level-1 split (Δ12=2), passes one step at the closest distance (Δ02=0.586), and returns through another level-1 split (2).
  2. Free distance. dfree2=2+0.586+2=4.586
  3. Gain over QPSK. Against QPSK's 2: 10log10⁡2.293=3.6dB with the same bits per symbol and the same bandwidth.

Answer dfree2 = 4.586, a gain of 3.6 dB over QPSK.

Worked example

A 16-QAM constellation with points 2d apart is partitioned for a TCM code. What squared distance does each level's subsets have?

Show the solution
  1. Level 0. All 16 points: (2d)2=4d2
  2. Each split. It doubles the squared distance: 8d2, 16d2 and 32d2 for subsets of 8, 4 and 2 points.
  3. Using it. A code carrying 3 bits on 16-QAM can then aim to beat uncoded 8-PSK or 8-QAM at the same rate by protecting the subset choice.

Answer 4d2 for all 16 points, then 8d2, 16d2 and 32d2 for subsets of 8, 4 and 2 points.

Worked example

An uncoded 64-QAM link at 10⁻⁵ is about 9 dB from capacity. A modern code recovers 7 dB and shaping 1 dB. How far from capacity is it?

Show the solution
  1. Subtract the gains. 9−7−1=1dB
  2. Shaping's cap. Shaping's ultimate 1.53 dB caps that part; the rest of the gap comes from finite code lengths and decoding complexity.
  3. In practice. The best modern standards, such as DVB-S2 with its long LDPC codes, operate about this close.

Answer about 1 dB from capacity.

Check

An 8-PSK constellation of symbol energy 1 is set-partitioned.

(a)

What is the minimum squared distance within level-1 subsets?

Check

A trellis code reaches dfree2 = 4.586 (energy-normalized); the uncoded scheme at the same rate has dmin2 = 2.

(a)

What asymptotic gain does it give?

Check

A square QAM constellation with points 2d apart, d = 1, is set-partitioned.

(a)

What is the minimum squared distance at level 1?

Check

A TCM scheme sends 3 bits per symbol with one redundant coded bit.

(a)

How many points must its constellation have?

(b)

What is the code rate on the coded-plus-uncoded bits?

Check

An uncoded scheme sits 9 dB from capacity; coding recovers 5 dB and shaping 1.5 dB.

(a)

How far from capacity is the result?

Check

A constellation is doubled from 16/2-PSK to 16-PSK at equal energy to make room for a code bit.

(a)

How much minimum distance does the doubling cost, before any coding?

Check

How does trellis-coded modulation gain several decibels without using more bandwidth?

Check

An M-PSK constellation has symbol energy E; a code has dfree2 = f against an uncoded dmin2 = u.

Step 1

What is the M-PSK minimum squared distance?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Check

Write subset_dist(M, level): the minimum squared distance between points of one level-level subset of unit-energy M-PSK (the points k≡0(mod2level)), by enumeration.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Explain why

Why did trellis-coded modulation make high-speed telephone modems possible?

Practice

Keep practicing

9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.