Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 56

Polyphase FIR Filters for Efficient Multirate Systems

Recommended resources

Hello! Welcome back to our module on Advanced Digital Signal Processing.

In our last lesson, we analyzed the mechanics of decimation and interpolation, focusing on their effects in the frequency domain. We established a critical challenge: to prevent aliasing when decimating by a factor of , we must first low-pass filter the signal. However, this means the filter runs at the high input sample rate, performing computations on many samples that are immediately discarded. This is computationally wasteful, a problem early DSP engineers were keenly aware of.

Today's lesson addresses this inefficiency head-on. Our learning outcome is to derive the polyphase representation of FIR filters for computationally efficient multirate systems. We will develop a powerful mathematical tool that allows us to restructure the decimation process, achieving dramatic computational savings. This concept is a cornerstone of modern multirate systems, from communication transceivers to high-quality audio converters.

1. The "Noble Identity": A Glimpse of the Solution

The inefficiency of the standard "filter-then-decimate" structure motivated a search for a more elegant solution. The breakthrough came in the mid-1970s from the work of M. G. Bellanger and his colleagues, who formalized the polyphase filter bank. The core principle behind this efficiency is a set of relationships that P. P. Vaidyanathan later termed the "noble identities" because of their "outstanding qualities."

The following video provides an excellent introduction to the problem and the conceptual solution, including some of the historical context you appreciate.

Jim Moran - PFBs A Simple Introduction

Watch this introductory segment from 'PFBs A Simple Introduction' by Jim Moran. It sets the stage by explaining the inefficiency of classical methods and introduces the first noble identity as the key principle for interchanging filtering and downsampling.

Please watch from the beginning to 03:35. Focus on understanding the problem: why is the 'filter-then-downsample' approach wasteful? And what is the core idea of the noble identity that promises a solution?

As the video explains, the "miracle" is the ability to swap the order of filtering and downsampling. This seems to violate the Nyquist criterion, but as we are about to see, it is made possible by first decomposing the filter into a set of smaller sub-filters. This decomposition is the polyphase representation.


2. Deriving the Polyphase Representation

Let's now formally derive this representation. Our goal is to take the transfer function of a long FIR filter, , and rewrite it in terms of several shorter filters that can operate at a lower sampling rate.

Consider an FIR filter of length with transfer function:

Let's decompose this filter into components, where is our desired decimation factor. We can do this by grouping the coefficients of into subsequences. The -th subsequence, for , consists of the coefficients .

The video below provides a clear, step-by-step derivation of how this grouping in the time domain translates to a new structure in the z-domain.

How to design Polyphase Filter | Multi Rate Signal Processing | Discrete Time Signal Processing

This video, 'How to design Polyphase Filter', gives a rigorous mathematical derivation of the polyphase structure. It starts with the simple two-component (even/odd) case and then generalizes to M components.

Watch from 01:55 to 09:17 to see the derivation for the 2-component case, and then from 10:39 to 14:23 for the generalization to M components. Follow how the single sum of H(z) is broken into a double sum and then rearranged.

Let's summarize the key steps from the video.

  1. Decompose the Summation: We can rewrite the index as , where is the subsequence index () and is the index within that subsequence. The single sum for becomes a double summation:

  2. Rearrange Terms: We can separate the term from the inner sum:

  3. Define the Polyphase Components: The expression in the parentheses is a new polynomial, but in the variable . We define the -th polyphase component filter, , as:

    The impulse response of this component is . Notice that is an FIR filter whose coefficients are every -th coefficient of the original filter , starting at index . Each polyphase filter is approximately times shorter than the original filter.

  4. Final Representation: Substituting this definition back, we get the Type 1 Polyphase Representation of :

This equation is the heart of the derivation. It shows that any FIR filter can be perfectly represented by a parallel bank of shorter filters whose inputs are delayed by samples.

For a concise written summary of this derivation, refer to the following resource.

Upsampling and Downsampling • Polyphase Fil

These notes from Stanford's CCRMA, titled 'Upsampling and Downsampling • Polyphase Fil', offer a very clear and compact definition of polyphase decomposition.

Please read the sections titled 'Polyphase Filtering' and 'Polyphase Decomposition into N Channels'. This will reinforce the mathematical formula we just derived and the definition of the component filters.

Test your understanding!

Let's say you have an FIR filter with impulse response . You want to implement this filter as part of a system that decimates by a factor of .

Find the impulse responses of the three polyphase component filters.

Show answer

The polyphase components are formed by taking every -th sample of the original impulse response, with an initial offset.

  • For , the offset is : We take samples . This gives .
  • For , the offset is : We take samples . This gives .
  • For , the offset is : We take samples . This gives .

Notice that the original 6-tap filter has been decomposed into three 2-tap filters.


3. The Efficient Implementation

Now we can finally see how this decomposition achieves efficiency. Recall the inefficient structure: input goes to filter , and its output goes to a downsampler by .

If we replace with its polyphase representation, we get the structure shown in Figure 6(a) of the following document.

Original Decimation Filter Structure (left) vs. Efficient Polyphase Structure (right)

Figure 1: (Left) The direct form of the decimation filter, redrawn using the polyphase representation. (Right) The computationally efficient form after applying the noble identity. Note that E_l(z) now operates at the lower sample rate. (Adapted from Vaidyanathan, "A TUTORIAL ON MULTIRATE DIGITAL FILTER BANKS", Fig. 6)

The key insight is the First Noble Identity, which states that a downsampler of factor can be moved from the output to the input of a filter , transforming it into a filter .

Applying this identity to each of the parallel branches in the diagram allows us to move the downsampler from the final output to a position just after the initial delays . This leads to the efficient structure shown in Figure 6(b).

To see this transformation and its implications clearly, please study the following material.

A TUTORIAL ON MULTIRATE DIGITAL FILTER BANKS

This section from the seminal paper 'A TUTORIAL ON MULTIRATE DIGITAL FILTER BANKS' by P. P. Vaidyanathan shows exactly how the polyphase representation is used to create an efficient decimation filter.

Read the subsection titled 'Decimation and interpolation fflter implementation'. Pay close attention to Figure 6 and the accompanying text. This shows the transformation from the inefficient structure (Fig. 6(a)) to the efficient one (Fig. 6(b)) by applying the noble identity.

In the efficient structure:

  1. The input signal is first split into paths.
  2. Each path is downsampled by .
  3. Each downsampled stream is filtered by its corresponding short polyphase filter .
  4. The outputs are summed to produce the final signal.

The computational gain is enormous. Instead of one long filter running at the high rate, we have short filters (each of length ) running at the low rate. The total number of multiplications per output sample drops from in the naive implementation to just in the polyphase implementation—a saving of factor .


Conclusion

In this lesson, we have tackled a fundamental problem in multirate signal processing and derived its elegant solution. By starting with the goal of computational efficiency, we were led to a powerful mathematical construction.

Key Takeaways:

  • The naive "filter-then-decimate" approach is inefficient because it computes many samples that are immediately discarded.
  • An FIR filter can be decomposed into shorter sub-filters called polyphase components . The impulse response of is formed by taking every -th coefficient of starting at index .
  • The relationship is given by the polyphase representation: .
  • Using the Noble Identity, we can reconfigure the decimation architecture to perform the downsampling before the filtering.
  • This efficient polyphase structure allows the short component filters to operate at the low sampling rate, reducing the computational load by a factor of .

Preview of the Next Lesson:

We have now covered the core concepts of multirate processing: decimation, interpolation, and their efficient implementation using polyphase filters. These tools are primarily for changing a signal's sampling rate or for building efficient filter banks.

In the next lesson, we will shift our focus to a different but equally important challenge in signal analysis: how to analyze signals whose frequency content changes over time. We will explore the Short-Time Fourier Transform (STFT), a foundational technique for time-frequency analysis of such non-stationary signals.