Algorithm Search⌘K

Techniqueintro

Pulse shaping

Also called transmit pulse shaping.

Send each symbol as a smooth pulse instead of a rectangle. The pulse sets the spectrum of the signal, and with a matched receive filter it can also remove intersymbol interference.

Pulse shaping is the choice of the waveform that carries each symbol of a linear modulation. The transmitter sends s(t)=∑kak g(t−kT)s(t) = \sum_k a_k\, g(t - kT), so the pulse gg alone sets the shape of the spectrum, and gg together with the receive filter sets the intersymbol interference at the sampling instants. The usual choice is a root-raised-cosine filter at both ends, which keeps the signal inside a band of (1+β)/T(1 + \beta)/T and gives samples without ISI.

In plain words

A transmitter has a list of numbers to send, one every symbol period. The simplest way is to hold each number for one period, which gives a signal with sharp steps. Sharp steps spread the signal over a very wide band, and that disturbs the users in the next channels. Pulse shaping replaces each step with a smooth bump. A smooth bump has a narrow spectrum, but it is longer than one period, so the bumps overlap in time. The trick is to choose the bump so that, after the filter at the receiver, the overlapping tails all pass through zero at the moments when the receiver reads the signal. Then each reading holds only its own number, while the signal still fits in a narrow band.

When it applies

  • Linear modulations: PAM, PSK, QAM and APSK, where the signal is a sum of shifted copies of one pulse, scaled by the symbols.
  • A channel with a fixed band, or a spectral mask that limits the power outside the assigned channel.
  • A receiver that can apply its own filter and sample once per symbol at a known time, which needs symbol timing recovery.
  • It does not apply in the same form to constant-envelope schemes such as continuous-phase modulation, where a pulse shapes the frequency, not the amplitude.

The template

The holes are the transmit pulse PULSE (its taps g[n]=g(nT/Ls)g[n] = g(nT/L_s)), the number LsL_s of samples per symbol, and the receive filter RECEIVE. The usual fill is an RRC pulse for both. The symbols a0,…,aN−1a_0, \ldots, a_{N-1} are complex numbers from the constellation.

  1. PULSE-SHAPED-LINK(a_0, ..., a_{N-1}) ▷ holes: PULSE g, L_s, RECEIVE q
  2. 1x ← N · L_s zeros
  3. 2for k = 0 to N - 1 do
  4. 3x[k · L_s] ← a_k ▷ upsample: a symbol, then L_s - 1 zeros
  5. 4s ← x convolved with g ▷ the transmit signal at L_s samples per symbol
  6. 5r ← CHANNEL(s)
  7. 6z ← r convolved with q ▷ q is usually g matched: q[n] = g[-n]*
  8. 7D ← the delay of g plus the delay of q ▷ S · L_s each for filters of 2 S L_s + 1 taps
  9. 8for k = 0 to N - 1 do
  10. 9y_k ← z[D + k · L_s] ▷ one sample per symbol, at the peak of the pair
  11. 10return y_0, ..., y_{N-1}

The spectrum. If the symbols are independent, with mean zero and variance σa2\sigma_a^2, the power spectral density of s(t)=∑kakg(t−kT)s(t) = \sum_k a_k g(t - kT) is

Ss(f)=σa2T ∣G(f)∣2.S_s(f) = \frac{\sigma_a^2}{T}\, |G(f)|^2.

The cross terms average to zero because the symbols are uncorrelated, so each pulse adds its own energy spectrum ∣G(f)∣2|G(f)|^2, and there is one pulse every TT seconds. So the power spectral density has the shape of ∣G∣2|G|^2, whatever the constellation. On a carrier, the spectrum moves to ±fc\pm f_c and the band doubles.

No ISI. The sample yky_k in line L9 is ∑iai p((k−i)T)+wk\sum_i a_i\, p((k - i)T) + w_k with p=g∗c∗qp = g * c * q the overall response. It has no ISI when pp meets the Nyquist ISI criterion. With an ideal channel and qq the matched filter of gg, pp has the spectrum ∣G(f)∣2|G(f)|^2, and the condition is ∑m∣G(f−m/T)∣2=T\sum_m |G(f - m/T)|^2 = T. The RRC pulse meets it, since ∣G∣2|G|^2 is a raised cosine. The matched filter also gives the largest SNR at the sampling instant, and the noise samples stay white.

The sample rate. The sampled signal in line L4 must hold the whole band, so Ls/T>(1+β)/TL_s/T > (1 + \beta)/T, and Ls≥2L_s \ge 2 for any β≤1\beta \le 1. Values of 44 to 88 leave room for the analog filter after the digital-to-analog converter.

Cost. A filter with 2SLs+12 S L_s + 1 taps costs that many multiplications per output sample if it is applied as written. Most inputs in line L4 are zeros; a polyphase filter skips them and needs about 2S+12S + 1 multiplications per output sample, or (2S+1)Ls(2S + 1)L_s per symbol.

Worked example. QPSK at 11 million symbols per second, β=0.25\beta = 0.25, Ls=8L_s = 8, span S=8S = 8. Each RRC filter has 129129 taps and a delay of 6464 samples; line L7 gives D=128D = 128. The signal occupies 1.251.25 MHz around the carrier. With an ideal channel and no noise, the samples yky_k equal the symbols up to a residual ISI of 5.43×10−45.43 \times 10^{-4} times the symbol amplitude, which comes from truncating the filters to 88 symbols on each side.

Classic examples

  • Root raised cosine in satellite and cellular links. DVB-S uses the root-raised-cosine filter with β=0.35\beta = 0.35, DVB-S2 adds 0.250.25 and 0.200.20, and UMTS uses 0.220.22.
  • The rectangular pulse. Holding each symbol for TT gives ∣G(f)∣2∝sinc2(fT)|G(f)|^2 \propto \mathrm{sinc}^2(fT), with sinc(x)=sin⁡(πx)/(πx)\mathrm{sinc}(x) = \sin(\pi x)/(\pi x). Only 90.3%90.3\% of the power is within ∣f∣<1/T|f| < 1/T, the first sidelobe is 13.313.3 dB below the peak, and the sidelobes fall only as 1/f21/f^2. OFDM uses a rectangular pulse on each subcarrier and fixes the spectrum in other ways.
  • The half-sine pulse. Minimum-shift keying is offset QPSK with a half-sine pulse of length 2T2T on each branch, which gives a constant envelope.
  • The Gaussian filter. GMSK, used in GSM, shapes the frequency pulse with a Gaussian filter and accepts some ISI for a compact spectrum.
  • Controlled ISI. Partial-response signaling uses a pulse such as sinc(t/T)+sinc(t/T−1)\mathrm{sinc}(t/T) + \mathrm{sinc}(t/T - 1), which reaches the minimum bandwidth 1/(2T)1/(2T) with a smooth spectrum and a known ISI.

Variations

  • Roll-off. A smaller β\beta narrows the band; a larger one shortens the pulse, widens the eye in time and lowers the peaks of the signal.
  • Windowed or optimized pulses. Truncating the RRC with a window from the window functions lowers the far sidelobes. A filter design such as the Parks-McClellan algorithm can trade a small ISI for a tighter spectrum.
  • Split between the ends. The RRC split is optimal for white noise. With a fixed receive filter, or with colored noise, the split moves; in the extreme, a raised cosine at the transmitter and a wide filter at the receiver also give no ISI, but lose SNR.
  • Faster than Nyquist. Faster-than-Nyquist signaling keeps the pulse and sends the symbols more often than 1/T1/T, with ISI by design.
  • Rate change in the same filter. In receivers the matched filter is often part of a polyphase resampler that also changes the sample rate.

Pitfalls

  • One RRC filter without its match. The RRC alone is not a Nyquist pulse: for β=0.5\beta = 0.5 its sample at t=Tt = T is −9.3%-9.3\% of the peak. The ISI only goes away after the receive filter.
  • Wrong delay. Sampling at a delay other than DD in line L9 reads the pulse away from its zeros and adds ISI. With an even number of taps, the delay is not a whole number of samples.
  • Too short a filter. A span of 22 or 33 symbols on each side raises the sidelobes and the residual ISI. Check both against the spectral mask and the error rate.
  • Energy. The taps set the energy per symbol. Scale them to unit energy so that EsE_s is the constellation energy, or the measured Es/N0E_s/N_0 will be wrong.
  • Peaks and the amplifier. A smaller β\beta raises the peak-to-average power ratio of the signal: for QPSK with RRC pulses the peak is about 1.461.46 times the rms value at β=0.5\beta = 0.5 and 1.561.56 times at β=0.35\beta = 0.35. A nonlinear amplifier clips the peaks and spreads the spectrum again.
  • A mismatched roll-off. The two ends must use the same β\beta; otherwise ∣G∣2|G|^2 is not a raised cosine and the samples have ISI.

Exercises

  1. Show that s(t)=∑kak g(t−kT)s(t) = \sum_k a_k\, g(t - kT) with independent symbols of mean zero and variance σa2\sigma_a^2 has the power spectral density (σa2/T)∣G(f)∣2(\sigma_a^2/T)|G(f)|^2. (Average over a random time shift uniform on [0,T)[0, T) to make the process stationary.)
  2. For the rectangular pulse of length TT, compute the fraction of the power in ∣f∣<1/T|f| < 1/T. (About 0.9030.903.)
  3. A link sends 22 Mbit/s with QPSK in a channel 1.21.2 MHz wide. What is the largest roll-off of an RRC pulse that fits? (The symbol rate is 11 million per second and the band is (1+β)(1 + \beta) MHz, so β≤0.2\beta \le 0.2.)
  4. With Ls=4L_s = 4 and a span of 66 symbols on each side, how many taps does the filter have, and how many multiplications per symbol does it cost in direct form and in polyphase form? (4949 taps; 196196 and about 4949.)
  5. Show that if gg is a Nyquist pulse and the receiver uses the matched filter g(−t)g(-t), the overall pulse g∗g(−⋅)g * g(-\cdot) is in general not a Nyquist pulse. What property must ∣G∣2|G|^2 have instead?

References

  1. John G. Proakis and Masoud Salehi, Digital Communications, fifth edition, McGraw-Hill, 2008, Chapter 3 (the power spectrum of linearly modulated signals) and Section 9.2-1 (the design of band-limited signals for no intersymbol interference, with the transmit and the receive filter)
  2. Robert G. Gallager, Principles of Digital Communication, Cambridge University Press, 2008, Chapter 6 (pulse amplitude modulation, the Nyquist criterion and orthonormal pulse shifts) and Chapter 7 (modulation onto a carrier)

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.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW3 standard
  • five exercises