S8 · Lesson 9 · Line codes and pulse shaping
Line codes and their spectra, intersymbol interference, the Nyquist criterion, raised-cosine and root-raised-cosine pulses, bandwidth against rolloff, and eye diagrams
Sending bits means sending pulses, and the shape of the pulse decides two things at once: how much bandwidth the signal takes, and whether neighboring pulses blur into each other. Rectangular pulses are easy to make but spread their spectrum over ten times the bit rate. Squeezing the spectrum smears each pulse into its neighbors' time slots, intersymbol interference, unless the pulse has zeros at exactly the right instants. Harry Nyquist worked out in 1928 which pulses do, and the raised-cosine family he found sets the bandwidth of nearly every modem, cellphone and cable link today.
- The eye diagram of binary data sent with raised-cosine pulses of rolloff β through a channel with the given cutoff (in units of the symbol rate), at the given Eb/N0.
- With an ideal channel and high Eb/N0 the eye is wide open at the sampling instant: the pulses' zeros fall exactly on their neighbors' samples.
- Narrow the channel or reduce β and the eye closes: intersymbol interference and timing sensitivity grow. Larger β opens the eye's sides at the cost of bandwidth .
Predict
A 1 MHz-wide baseband channel carries binary data with raised-cosine pulses, rolloff 0.25. What's the highest bit rate it supports without ISI?
A raised-cosine pulse occupies , so = 2/1.25 = 1.6 Mbaud, and binary carries one bit per symbol: 1.6 Mb/s. The ideal sinc pulse (β = 0) would reach 2 Mb/s, the Nyquist rate, but its slowly decaying tails make it impractical.
Name it
Line codes
- Unipolar NRZ: 1 → +A, 0 → 0. Has a DC component and a spectral line at DC.
- Polar NRZ: ±A. No DC line, first null at .
- RZ (return to zero): pulses half a bit wide, twice the bandwidth, with clock content.
- Manchester: a transition in every bit; no DC, easy clock recovery, first null at .
- AMI (bipolar): 1s alternate ±A; no DC, a null at DC, errors detectable as violations.
Intersymbol interference and Nyquist's criterion
Sampling the received pulse train at the symbol instants gives zero ISI if the overall pulse p(t) satisfies for every k ≠ 0, which in frequency means
The narrowest such spectrum is the rectangle of width (a sinc pulse): the Nyquist bandwidth , i.e. 2 symbols per second per hertz.
Raised cosine
With rolloff 0 ≤ β ≤ 1, the spectrum is flat to , rolls off as a half cosine, and ends at :
The pulse's tails decay as , so timing errors cause little ISI. Splitting it as a root raised cosine at the transmitter and a matched one at the receiver (lesson 13) gives zero ISI and the optimal matched filter together.
The eye diagram
Overlaying the received signal, one or two symbols wide, shows the eye opening (noise margin), its width (timing margin) and the slope at its sides (timing sensitivity).
Worked example
A 10 Mbaud link uses raised-cosine pulses with β = 0.35. What bandwidth does it need at baseband and at passband?
Show the solution
- Baseband.
- Passband. Double-sided around the carrier:
- With β = 0.22. As some cable and satellite standards use, it would be and 12.2 MHz at passband.
Answer 6.75 MHz at baseband and 13.5 MHz at passband.
Worked example
At what frequency is a β = 0.35, 1 Mbaud raised-cosine spectrum at half its peak, and what's its value at 0.6 MHz?
Show the solution
- Half its peak. Exactly at the Nyquist frequency = 0.5 MHz the spectrum is half its flat value. This symmetry about is what makes the folded spectra sum to a constant.
- At 0.6 MHz. of the peak.
- Where it ends. It reaches zero at 0.675 MHz.
Answer the spectrum is at half its peak at 0.5 MHz, and at 0.6 MHz it's 0.109 of the peak.
Worked example
A 64-QAM link runs at 30 Mbaud with root-raised-cosine pulses, β = 0.25. What bandwidth, bit rate and spectral efficiency does it have?
Show the solution
- Bandwidth. At passband:
- Bit rate. 6 bits per symbol give
- Spectral efficiency.
- A smaller rolloff. It would raise the efficiency toward 6 b/s/Hz but lengthen the pulses' tails and make timing errors costlier.
Answer 37.5 MHz of bandwidth, 180 Mb/s and 4.8 b/s/Hz.
Check
A 10 Mbaud baseband signal uses raised-cosine pulses with rolloff 0.2. What bandwidth does it occupy?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
Check
A 6 MHz baseband channel uses raised-cosine pulses with rolloff 0.2. What's the highest symbol rate without ISI?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
Check
A raised cosine with rolloff 0.35 at 1 baud: what's its spectrum, relative to its peak, at 0.55 Hz?
Check
A Manchester-coded signal runs at 10 Mb/s. Where is its first spectral null?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
Check
A passband signal uses raised-cosine pulses with rolloff 0.35. How many symbols per second does it carry per hertz of occupied bandwidth?
Check
A binary pulse's samples at the neighboring symbol instants, one before and one after, are each 0.1 of its peak. What fraction of the ideal eye opening remains in the worst case?
Check
An M = 16 QAM link runs at 5 Mbaud with rolloff 0.35.
(a)
What passband bandwidth does it occupy?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
(b)
What spectral efficiency does it reach?
Check
An M-ary passband signal runs at R symbols per second with rolloff b.
Step 1
What is its baseband-equivalent bandwidth?
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°.
Step 2
What is its passband bandwidth?
Step 3
What is its spectral efficiency?
Explain why
Why does a narrower spectrum force a pulse to spread into its neighbors' time slots?
A pulse's duration and its spectrum's width trade against each other: confining the spectrum to a narrow band forces the pulse to ring out over a long time. Squeezing the bandwidth of a train of pulses toward half the symbol rate therefore makes each pulse spread over many symbol periods, overlapping all its neighbors. That overlap is harmless only if each pulse passes through zero exactly at its neighbors' sampling instants, which is Nyquist's criterion. The sinc pulse does this with the least bandwidth, but its tails die so slowly that any timing error picks up large contributions from distant symbols. The raised cosine spends a little extra bandwidth to make its tails decay much faster, so small timing errors cause little interference.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.