D12 · Lesson 6 · Pulse shaping
Why square pulses waste bandwidth, Nyquist's condition for pulses that don't disturb their neighbors at the sampling instants, the raised-cosine family and its roll-off, the bandwidth a symbol rate needs, and the eye closing when a channel smears symbols together
A square pulse is the obvious way to send a symbol, but its sharp edges spread its spectrum far beyond the symbol rate, with sidelobes falling only as 1/f, which wastes a shared channel and splashes into the neighbors. A smoother pulse needs less bandwidth but lasts longer than one symbol, so each pulse overlaps the next. The trick, found by Nyquist in 1928, is to shape the pulse so it passes through zero at every other symbol's sampling instant: the pulses overlap everywhere except at the moments that count.
- The eye diagram of raised-cosine pulses with roll-off β, through a one-pole channel whose corner is symbol rates, with noise at .
- With a wide channel the eye is open at the center even with β = 0, the narrowest spectrum. Small β gives a narrow eye in time, so timing errors hurt more.
- Lower and each symbol smears into the next: intersymbol interference closes the eye.
Predict
Raised-cosine pulses with roll-off β = 0.5 carry 1200 symbols per second at baseband. How much bandwidth do they occupy?
= 1.5 × 1200/2 = 900 Hz. The minimum, Nyquist's R/2 = 600 Hz, needs β = 0 and an infinitely long sinc pulse; the roll-off buys pulses that die out quickly in exchange for extra bandwidth. Moved up to a carrier, the spectrum doubles to (1 + β)R = 1800 Hz.
Name it
Nyquist's condition
Symbols sent as and sampled at give exactly if
Then there's no intersymbol interference (ISI) at the sampling instants, however much the pulses overlap in between.
The raised cosine
meets Nyquist's condition for any roll-off β from 0 to 1. Its spectrum is flat up to , rolls off as half a cosine period, and ends at . At β = 0 it's the sinc pulse, whose tails fall only as 1/t; larger β makes the tails fall as , so truncating the pulse to a few symbols costs little and timing errors cause less ISI. In practice the shaping is split between a root-raised-cosine filter at each end, which together make a raised cosine and also make the receive filter a matched filter.
Bandwidth
| Signal | Bandwidth |
|---|---|
| Baseband, R symbols/s | |
| On a carrier | |
| Rectangular pulses on a carrier | main lobe 2R wide, sidelobes falling as 1/f |
ISI from the channel
A channel that isn't flat over the signal's band (a cable's roll-off, an echo) reshapes the pulses so they no longer cross zero at the other instants, and the eye closes. Equalizers (lesson 11) undo it.
Worked example
A telephone line passes 300 to 3400 Hz. With β = 0.25, what's the highest symbol rate it can carry on a carrier?
Show the solution
- Passband width.
- Fit the shaped signal. symbols per second.
- Compare with a real modem. The V.32 modem standard ran at 2400 baud in this band.
Answer at most 2480 symbols per second.
Worked example
A shaping filter keeps ±6 symbols of the pulse. How big is the pulse 6.5 symbols out for a sinc (β = 0) and a raised cosine with β = 0.35?
Show the solution
- The sinc tail. That's about 5% of the peak, so cutting it off there leaves noticeable ISI.
- The raised-cosine tail. With β = 0.35:
- Compare. That's thirty times smaller, so a 13-symbol filter is plenty.
Answer the sinc is 0.049 of its peak 6.5 symbols out, and the raised cosine only −0.0016.
Worked example
What bandwidth does 1200 baud need on a carrier with raised-cosine pulses of β = 0.5?
Show the solution
- Bandwidth. centered on the carrier.
- Place it in the band. On a carrier at 1800 Hz it spans 900 to 2700 Hz, safely inside the 300 to 3400 Hz telephone band.
Answer 1800 Hz, which on an 1800 Hz carrier spans 900 to 2700 Hz.
Check
Make raised-cosine pulses and shape a stream of symbols.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Raised-cosine pulses with roll-off 0.2 carry 2400 symbols per second at baseband. What bandwidth do they occupy?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
A channel passes 6000 Hz around a carrier. With roll-off 0.15, how many symbols per second can it carry?
Check
How big, relative to its peak, is a sinc pulse 5.5 symbols from its center?
Check
A passband is 3100 Hz wide, and pulses use raised-cosine roll-off 0.25.
(a)
What is the highest symbol rate it can carry?
(b)
What bit rate does QPSK at that rate give?
Write units the way you normally would: 1.5 bit/s and 0.0015 kbit/s are the same answer.
Check
A shaping filter is cut off 6.5 symbols from the pulse's center.
(a)
How big is a sinc pulse there?
(b)
And a raised cosine with β = 0.35?
Explain why
How can pulses that overlap in time still give no intersymbol interference?
The receiver only looks at the signal at one instant per symbol, the sampling instant. A Nyquist pulse such as the raised cosine is designed to be exactly zero at every other symbol's sampling instant, even though it's nonzero in between. So when the pulses are added, each sampling instant sees the full value of its own pulse and zero from all the others, however much they overlap at other times. The overlap only matters if the timing is off or the channel distorts the pulse shape, which is why the eye narrows with timing error and closes when the channel smears the pulses.
Practice
Keep practicing
7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.