How to Design Nyquist and Square-Root Nyquist Pulse Shaping Filters

Square-root Nyquist filters for three different excess bandwidths

The radio spectrum is a very precious resource like real estate and must be utilized judiciously. Pulse shaping filters control the spectral leakage of the transmitted signal in a wireless channel due to the strict restrictions to comply with a spectral mask. This is even more important for the upcoming 5G wireless systems which are based on a variety of wireless transmission protocols (such as mobile networks, Internet of Things (IoT) and machine to machine communications) combined in one comprehensive standard. Even for wired channels, there is always a natural bandwidth of the medium (copper wire, coaxial cable, optical fiber) that imposes upper limits on its utilization.

The design of a good pulse shaping filter starts with the smallest possible bandwidth exhibited by a rectangular spectrum. However, that abrupt transition in the frequency domain gives rise to long tails in the time domain. To avoid this problem, a smoother rolloff of the spectrum is desired for which we can extend the bandwidth in any shape as long as it has odd symmetry around half the symbol rate \pm 0.5R_M to satisfy Nyquist no-ISI (Inter-Symbol Interference) criterion. This extension can be logically conceived as a convolution between the rectangular mass of width R_M and an even symmetric taper of width \alpha R_M where 0 < \alpha \le 1. This even symmetry preserves the odd symmetry around \pm 0.5R_M in the resultant filter.

The smoothest spectral shape one can imagine is a sine or cosine. A half-cosine of width \alpha R_M — an even symmetric shape — is convolved in frequency domain with a rectangular spectrum to generate the most commonly used pulse known as a Raised Cosine (RC) filter. The parameter \alpha is the excess bandwidth or rolloff factor in the resultant desired spectrum.

Since the convolution in time domain is multiplication in frequency domain, an RC filter is divided into two parts in frequency domain: one at the Tx and one at the Rx, both of which are square-root of the original RC filter and are known as Square-Root Raised Cosine (SRRC) filters. The Tx SRRC filter implements the shaping filter that determines the spectral mask while the Rx SRRC filter implements the matched filter that maximizes the SNR at the Rx.

The Raised Cosine concept is a good starting point for pulse shape design and its closed-form mathematical expression is good for analytical purpose. Nevertheless, there are two major drawbacks in using an SRRC pulse for shaping the spectrum.

  1. Since the transition band of an RC pulse is half cycle of a cosine, the transition band of an SRRC pulse is a quarter cycle of a cosine. Its abrupt termination at the stopband results in a discontinuity causing a limit to the sidelobe (SL) suppression that an SRRC pulse can achieve.
  2. As a consequence of truncation in time domain, the pulse is no more absolutely band-limited within 0.5(1+\alpha)R_M and assumes infinite support in frequency in the form of sidelobes. This is because the truncation in time domain (i.e., multiplication by a rectangular window) causes subsequent convolution in frequency domain between the SRRC spectrum and a sinc signal. This operation moves the half amplitude values away from the odd symmetry points of F = \pm 0.5R_M violating the Nyquist no-ISI criterion and inducing increased ISI.

This leads us to other pulse shape design procedures that produce a Nyquist filter with improved stopband attenuation preferably without any degradation in peak ISI. We discuss two main design techniques for finding a superior pulse shaping filter: transformation of a lowpass filter based on Parks-McClellan algorithm to a Nyquist filter, and convolution of a frequency domain window with a rectangular spectrum.

Transformed lowpass filter

The standard method is by starting with an initial lowpass filter that is designed according to the Parks-McClellan algorithm whose passband and stopband edges are matched to the rolloff boundaries of the Nyquist spectrum. The Parks-McClellan algorithm is an iterative algorithm for finding the optimal FIR filter based on Remez exchange algorithm and Chebyshev approximation theory such that the maximum error between the desired and the actual frequency response is minimized. Filters designed this way exhibit an equiripple behavior in their frequency responses and thus are also known as equiripple filters, where equiripple implies equal ripple within the passband and the stopband that are not necessarily the same (in fact, mostly they are not).

Naturally, this lowpass filter crosses the band edge F = 0.5R_M with more attenuation than -3 dB level required for a Nyquist spectrum. Since the transition band belongs to the filter designer, the passband edge frequency can be pushed forward towards -3 dB level. This can be implemented in a software routine through a few iterations of increasing the passband edge frequency based on a gradient descent method, just like an offline adaptive filter.

For a sampling rate F_S, passband frequency F_{\textmd{pass}}, stopband frequency F_{\textmd{stop}} and a positive constant \mu that controls the rate of convergence and the approximation error, the procedure in the n-th iteration is listed below:

  • design a lowpass filter using Parks-McClellan algorithm with frequency set \big\{0~~ F_{\textmd{pass}}[n] ~~F_{\textmd{stop}}~~ F_S/2\big\},
  • find the error between -3 dB and the filter attenuation in dB at 0.5R_M as

        \begin{equation*}       e[n] = -3 - P_{\textmd{dB}}(0.5R_M),     \end{equation*}

  • update the passband frequency as

        \begin{equation*}         F_{\textmd{pass}}[n+1] = (1+\mu e[n])F_{\textmd{pass}}[n]     \end{equation*}

For most cases, a few iterations are enough for transforming it into a Nyquist filter. There is a weighting option available as well that can place more emphasis on a desired frequency band at the expense of the remaining bands. For example, more stopband attenuation can be achieved by weighting it at a cost of increased in-band ripple.

For a better visual understanding, we create a length 49 square-root Nyquist filter using a transformed lowpass filter with three different excess bandwidths, namely \alpha = [0.15,~0.2,~0.25] and a group delay equal to 6. Next, their frequency response is plotted along with the measure of sidelobe attenuation. Finally, two square-root Nyquist filters are convolved and downsampled at 1 sample/symbol to observe the respect peak ISI levels. The results are drawn in Figure below.

Square-root Nyquist filters for three different excess bandwidths. Top -- frequency domain window, bottom -- lowpass filter

In the meantime, if you found this article useful, you might want to subscribe to my email list below to receive new articles.

Window based filter

The other procedure, devised by fred harris, is based on the convolution of a smooth taper of width \alpha R_M with a rectangular spectrum of width R_M. To affect maximum smoothness, this taper should simply be a good spectral window with a narrow mainlobe width and low sidelobe levels. One such candidate is a Kaiser window which is an approximation to the prolate-spheroidal window for which the ratio of the mainlobe energy to the sidelobe energy is maximized. Given a fixed length, a parameter \beta controls the sidelobe height which decreases with \beta at a cost of increase in the mainlobe width. The coefficients for Kaiser window w(n) are given by

    \begin{equation*}         w(n) = \begin{cases}             \frac{I_0 \left(\pi \beta \sqrt{1-\left(\frac{n}{N/2}\right)^2} \right)}{I_0(\pi\beta)} & -N \le n \le +N \\             0 & ~~\textmd{otherwise}         \end{cases}     \end{equation*}

where I_0(\cdot) is the zero-order modified Bessel function of the first kind. Again, we create a length 49 square-root Nyquist filter using a frequency domain window based filter with similar excess bandwidths \alpha = [0.15,~0.2,~0.25], \beta=12 and a group delay of 6. Next, their frequency response is plotted along with the measure of sidelobe attenuation. Finally, two square-root Nyquist filters are convolved and downsampled at 1 sample/symbol to observe the respect peak ISI levels. The results are drawn in Figure above and compared with the lowpass based design.

Since Parks-McClellan algorithm minimizes the error in the pass and stop bands, it generates optimal filter coefficients and has consequently become the standard method in FIR filter design. Moreover, the iterative lowpass process is more flexible because any sidelobe level can be exchanged with the in-band ripple by utilizing the penalty weights. On the other hand, the Kaiser window technique is not as flexible. Due to the convolution of the spectra, the stopband ripple and the in-band ripple are always the same amplitude.

Figure above also demonstrated in each case that the sidelobe attenuations exhibited by the lowpass filter are significantly better than the window based filter, along with its peak ISI being either comparable or even better. In reality, however, the lowpass filter design is overall superior with respect to sidelobe levels and window based technique is superior in terms of peak ISI. There is room for choosing one over another depending on the system requirements.

Leave a Comment

Your email address will not be published. Required fields are marked *