Techniquecore
Trellis-coded modulation
Also called TCM, Ungerboeck codes.
Joins a convolutional code with a constellation by set partitioning, which gains several dB without more bandwidth.
Trellis-coded modulation (TCM) joins a convolutional code and a constellation into one code over the constellation points. The code works on a constellation with twice as many points as the uncoded system needs, so the rate in bits per symbol and the bandwidth do not change. The points are split into subsets with growing distance inside each subset (set partitioning), the coded bits choose the subset, and the uncoded bits choose the point inside it. The receiver runs the Viterbi algorithm on the trellis with squared Euclidean distances as branch metrics. A 4-state code on 8-PSK gains dB over uncoded QPSK at high SNR, with no extra bandwidth. Ungerboeck published the method in 1982. It made the voiceband modems of the late 1980s and the 1990s possible.
In plain words
Adding redundancy usually costs bandwidth: the coded bits need more symbols. TCM pays instead with a bigger constellation: 8 points to send 2 bits per symbol. Points that are close together are made hard to confuse by the code, because the code never lets two paths differ in only one close pair. The trick is to sort the points into groups whose members are far apart, and to let the code pick the group, while the free bits pick a member. The receiver then compares whole sequences, not single symbols. The far-apart members protect the free bits, and the code protects the choice of group.
When it applies
- The channel is band-limited and close to AWGN, so the only way to gain is in Euclidean distance at a fixed rate in bits per symbol.
- The receiver can run a Viterbi decoder with soft distance metrics.
- The rate is bits per symbol with , and a constellation of points is acceptable.
- The channel does not fade fast. On a fading channel the diversity order of TCM is small (see the pitfalls), and bit-interleaved coded modulation is usually better.
The template
- Partition the constellation. Split the points into two subsets, each subset again into two, and so on, so that the minimum distance inside the subsets of level grows: . For unit-energy 8-PSK, for the whole set, for the two QPSK subsets , and for the four antipodal pairs .
- Split the input bits. Of the input bits per symbol, go into a rate- convolutional encoder. Its output bits select one of the subsets of level . The other bits are not coded; they select the point inside the subset. When , each trellis branch holds parallel transitions.
- Assign the subsets to the trellis (Ungerboeck's rules). Parallel transitions get points of the same smallest subset, so their distance is the largest . The branches that leave one state, and those that enter one state, get subsets of the same first-level subset ( or ), so a diverging or merging pair of paths gains at least . All points are used equally often.
- Compute the free distance. is the smaller of the parallel distance and the smallest sum of squared distances along two paths that leave a state and merge again. The asymptotic coding gain over an uncoded constellation with minimum distance and the same average energy is dB.
- Decode. Run the Viterbi algorithm on the trellis with branch metric : first find the best point in each subset, then decide the sequence of subsets, then read off the uncoded bits from the best points.
Classic examples
4-state 8-PSK code, 2 bits per symbol. One bit goes through a rate- 4-state code whose two output bits select one of ; the second bit picks one of the two antipodal points of that pair. Parallel transitions are at . Two paths that diverge use two subsets of the same (distance ), they merge in the same way (), and in between they differ by at least , for in all. So , against for uncoded unit-energy QPSK: a gain of dB.
8-state 8-PSK code. With two coded bits, no parallel transitions are left, and the shortest error path has . The gain is dB. More states give more gain, with diminishing returns, at the cost of a Viterbi decoder that doubles in size with each extra memory bit.
Voiceband modems. The ITU V.32 modem at bit/s uses an 8-state TCM code with a 32-point cross constellation, designed by Wei to be invariant under rotations by multiples of , so that the receiver does not need to know the absolute phase. V.34 uses a 4-dimensional trellis code.
One-dimensional TCM. On -PAM, the partition takes every second point, then every fourth, with the raw distances . The same rules give codes for PAM and, on each axis, for QAM.
Variations
- Multidimensional TCM. Partition a constellation in 4 or 8 dimensions, built from 2-dimensional points. It gives finer trade-offs between gain and complexity, and better rotational invariance.
- Rotationally invariant codes. Wei's nonlinear codes with differential encoding tolerate a phase ambiguity of the carrier loop. A linear code on 8-PSK is invariant under fewer rotations.
- Pragmatic TCM. Use one standard rate- 64-state code for all constellations, with the uncoded bits on the parallel transitions. It loses a little against the best code for each case but simplifies hardware.
- TCM for fading channels. Design for the effective length (the number of differing symbols on the shortest error path) and the product distance instead of , with a symbol interleaver.
- Turbo TCM. Two TCM encoders in parallel with an interleaver, decoded iteratively with the BCJR algorithm on each trellis.
- Multilevel coding. Protect each partition level with its own code: multilevel coding, the general form of the same idea.
Pitfalls
- The gain is asymptotic. is the gain at high SNR. At moderate error rates the number of nearest paths also matters, and the real gain is smaller.
- Fading. With parallel transitions, two sequences can differ in one symbol only, so the diversity order on a fast Rayleigh channel is . Even without them, the effective length is short for small codes. Bit-interleaved coded modulation gives more diversity.
- Phase ambiguity. A carrier loop for 8-PSK locks to one of 8 phases. Unless the code is invariant under the rotations, or the receiver resolves the phase, the decoder fails after a phase slip.
- Gray labels are wrong here. TCM needs set-partitioning labels: the coded bits select subsets with large distance. Gray labeling, which is right for BICM, does not give the subset structure.
- The constellation doubles. Doubling the points at a fixed energy reduces the minimum distance, by about dB for large QAM and by dB for 8-PSK against QPSK ( falls from to ). The code must win this back before it gains anything.
Exercises
- Compute for unit-energy 8-PSK and check the values above.
- Draw the trellis of the 4-state 8-PSK code with the subsets on the branches, and find the error path with distance .
- For 16-QAM with set partitioning, show that the squared distances inside the levels double at each step: .
- Explain why a code with parallel transitions can never have larger than , and why the 4-state 8-PSK code reaches this limit.
- Explain why the Viterbi decoder of a TCM code first picks the best point in each subset.
References
- Gottfried Ungerboeck, Channel coding with multilevel/phase signals, IEEE Transactions on Information Theory 28(1), 55-67, 1982, set partitioning, the mapping rules, the 4-state and 8-state codes for 8-PSK, and the tables of codes found by computer search
- John G. Proakis and Masoud Salehi, Digital Communications, fifth edition, McGraw-Hill, 2008, Chapter 8 (trellis-coded modulation)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag NP37EZ Edit this page History Report an error Markdown