Polyphase decomposition fundamentals
Polyphase decomposition is a technique for breaking a filter or signal into a set of smaller sub-components, each operating at a reduced sampling rate. This restructuring is what makes efficient decimation, interpolation, and filter bank implementations possible: instead of filtering at the high rate and then downsampling (wasting computation on samples you'll throw away), you rearrange the operations so filtering happens at the low rate.
This topic ties together the core ideas of Unit 5. If you understand polyphase structure well, decimation filters, interpolation filters, and perfect reconstruction filter banks all become much more straightforward to analyze and implement.
Definition of polyphase decomposition
Polyphase decomposition represents a discrete-time signal or transfer function as a sum of sub-components, each operating at the original sampling rate. The idea is to split the sequence into interleaved subsequences based on the sample index modulo .
For a filter with transfer function , you group the coefficients by their index modulo :
Each is a polyphase component containing every -th coefficient starting from index :
Key properties of polyphase components
- Each polyphase component operates at the original rate, which is where the computational savings come from.
- The components are obtained by downsampling the impulse response: .
- Recombining all components with appropriate delays reconstructs the original filter exactly. No information is lost.
- The overall frequency response of is fully preserved by the decomposition.
Mathematical notation for polyphase representation
For a signal decomposed into polyphase components:
- The -th component is , where .
- Reconstruction uses upsampling (inserting zeros between each sample) and delaying:
This z-domain form is the one you'll use most often in derivations. The key insight: replacing with inside each component corresponds to upsampling, and the factor provides the correct delay to interleave the subsequences back together.
Applications of polyphase decomposition
Role in multirate signal processing
Polyphase decomposition is the structural backbone of multirate DSP. Its primary value is enabling you to move filtering operations to the lower-rate side of a decimator or interpolator. Without polyphase restructuring, a decimation-by- system filters at the high input rate and then discards out of every output samples. With polyphase restructuring, you compute only the samples you actually keep.
Efficient implementation of filter banks
In an -channel filter bank, each channel has its own bandpass filter. A direct implementation requires separate filters all running at the input rate. Polyphase decomposition lets you express the entire analysis bank as a single polyphase matrix followed by a DFT (for uniform DFT filter banks), cutting the total multiply count roughly by a factor of .
Polyphase decomposition in wavelet transforms
The two-channel filter bank at the heart of the discrete wavelet transform (DWT) maps directly to a polyphase matrix. Iterating this structure across scales gives you the standard dyadic wavelet decomposition. The lifting scheme, widely used in modern wavelet implementations (e.g., JPEG 2000), is itself a factorization of this polyphase matrix into elementary lifting steps.
Polyphase decomposition of FIR filters
Type 1 vs Type 2 polyphase decompositions
The two types differ in how coefficients are assigned to components:
- Type 1 (causal polyphase): , where . The delay appears after each component.
- Type 2 (anticausal polyphase): , where . The indexing is reversed.
Type 1 pairs naturally with decimation structures (filtering then downsampling), while Type 2 pairs with interpolation structures (upsampling then filtering). Using the matching type lets you apply the Noble identities directly.
Noble identities for polyphase structures
The Noble identities are the rules that let you swap the order of filtering and rate changing in the z-domain. They are what make polyphase restructuring valid.
- Decimation identity: A filter followed by is equivalent to followed by . The key requirement is that the filter's transfer function is a function of (not just ).
- Interpolation identity: followed by a filter is equivalent to followed by .
These identities only hold when the filter argument is (or ). That's exactly the form you get from polyphase decomposition, which is why the two ideas work hand-in-hand.
Polyphase implementation of decimation filters
Here's the step-by-step process for decimation by with an FIR lowpass filter :
- Decompose into Type 1 polyphase components: .
- Apply the Noble identity to move each past the downsampler, converting it to operating at the low rate.
- The resulting structure takes input samples in parallel (via a serial-to-parallel commutator), filters each through its respective , and sums the results to produce one output sample.
The computational saving: if has coefficients, the direct approach computes multiplies per input sample but keeps only every -th output. The polyphase approach computes multiplies per output sample. That's a factor-of- reduction.
Polyphase implementation of interpolation filters
For interpolation by with filter :
- Decompose into Type 2 polyphase components: .
- Apply the Noble identity to move each before the upsampler, converting it to at the low input rate.
- Each polyphase filter processes the input at the low rate. A parallel-to-serial commutator then interleaves the outputs to produce the high-rate interpolated signal.
Again, all filtering happens at the low rate, giving the same factor-of- savings.
Polyphase decomposition of IIR filters
Challenges with IIR polyphase decomposition
IIR filters have feedback paths, which means their transfer functions include poles. When you try to decompose into polyphase components, the denominator polynomial creates coupling between the components. You can't simply split the coefficients the way you do with FIR filters, because the recursive structure means each output sample depends on previous outputs across all phases.
Direct polyphase decomposition of a general IIR filter can lead to instability or structures that don't preserve perfect reconstruction.
Approximation methods for IIR polyphase decomposition
Two common workarounds:
- FIR approximation: Truncate or window the IIR impulse response to create a high-order FIR filter, then apply standard polyphase decomposition. This sacrifices the compactness of the IIR design but gives you a straightforward polyphase structure.
- Allpass-based decomposition: Decompose the IIR filter into a sum or cascade of allpass sections. Allpass filters have a special structure that is more amenable to polyphase manipulation while preserving stability.
Allpass decomposition for IIR filters
Allpass filters satisfy for all : they pass all frequencies with unit magnitude and only modify the phase. A useful result in filter bank theory is that certain IIR filters (particularly half-band filters) can be expressed as a sum of two allpass filters:
This is already in polyphase form. Each allpass branch can be implemented efficiently using lattice structures, and stability is guaranteed as long as the allpass coefficients have magnitude less than 1. This approach is the basis for IIR QMF filter banks with perfect reconstruction.
Polyphase filter banks
Uniform vs non-uniform filter banks
- Uniform filter banks split the spectrum into subbands of equal bandwidth , each decimated by (critically sampled). The DFT filter bank is the canonical example.
- Non-uniform filter banks have subbands with different bandwidths and decimation factors. These are useful when the signal's spectral content is unevenly distributed (e.g., audio coding with psychoacoustic models).
Polyphase decomposition applies to both types, though the analysis is simpler for uniform banks because the polyphase matrix has a regular structure.
Perfect reconstruction conditions
A filter bank achieves perfect reconstruction (PR) if the output equals a delayed, possibly scaled version of the input: .
In polyphase terms, stack the analysis filters' polyphase components into an matrix and the synthesis filters' components into . Perfect reconstruction requires:
This means . The synthesis polyphase matrix must be the (delayed) inverse of the analysis polyphase matrix. For this inverse to exist, must be a pure delay (a monomial in ).
Cosine modulated filter banks
Cosine modulated filter banks (CMFBs) generate all analysis and synthesis filters by cosine-modulating a single prototype lowpass filter :
The advantage is that you only need to design one prototype filter. The modulation structure means the polyphase implementation can use a DCT-IV (or modified DCT) to combine the subband outputs, making the entire bank very efficient. CMFBs are used extensively in audio coding (e.g., the MPEG audio standard).
Paraunitary filter banks
A filter bank is paraunitary if its polyphase matrix satisfies:
where (conjugate transpose with ). This is the matrix generalization of a lossless transfer function.
Properties of paraunitary filter banks:
- Perfect reconstruction is automatic (the synthesis matrix is just the paraconjugate of the analysis matrix).
- The subbands are orthogonal, and total signal energy is preserved across subbands.
- They can be factored into a product of elementary rotation matrices (Givens rotations) and delays, which gives a lattice implementation with structurally guaranteed PR.
Computational efficiency of polyphase structures
Reduced complexity compared to direct form
The core saving is straightforward: in a decimation-by- system with an -tap filter, direct implementation requires multiplies per input sample, but only every -th output is retained. Polyphase implementation requires multiplies per output sample. For interpolation, the same factor-of- (or ) reduction applies.
Beyond the multiply count, polyphase structures also reduce memory bandwidth requirements because each sub-filter accesses a smaller delay line.
Exploiting parallelism in polyphase implementations
The polyphase branches are independent of each other (for FIR filters), which maps naturally to parallel hardware or multi-threaded software. Each branch processes its own subsequence with its own sub-filter, and the results are combined only at the final summation (decimation) or commutation (interpolation) step.
This makes polyphase structures particularly well-suited for SIMD architectures, GPU-based processing, and multi-core DSP chips.
Polyphase decomposition in hardware implementations
On FPGAs and ASICs, polyphase structures offer several advantages:
- Regular, modular architecture: All branches have the same structure (same-length sub-filters), simplifying layout and routing.
- Reduced clock rate: Each sub-filter runs at the input rate, relaxing timing constraints.
- Resource sharing: If throughput requirements allow, a single multiply-accumulate unit can be time-shared across branches, trading parallelism for area.
- Pipelining: The natural decomposition into stages makes it easy to insert pipeline registers for higher clock frequencies.
These properties make polyphase the standard implementation strategy for high-speed channelizers, digital down-converters, and wideband spectrum analyzers.
Advanced topics in polyphase decomposition
Multidimensional polyphase decomposition
Polyphase decomposition extends to 2-D and higher-dimensional signals by replacing the scalar decimation factor with a decimation matrix . The number of polyphase components equals , and each component corresponds to a coset of the lattice defined by .
The z-domain notation generalizes using vector exponents: for multi-index delays. The Noble identities and perfect reconstruction conditions carry over, though the algebra becomes more involved. Applications include separable and non-separable subband coding for images and video.
Generalized polyphase representation
The standard polyphase framework assumes integer decimation factors. The generalized polyphase representation extends this to systems where different channels may have different (possibly non-integer) rate changes. It provides a unified matrix framework for analyzing arbitrary multirate interconnections.
This representation is useful for designing non-uniform filter banks and for analyzing systems where the decimation factors across channels don't share a common integer structure.
Polyphase decomposition in rational sampling rate systems
A rational sampling rate change by combines interpolation by and decimation by . The polyphase approach handles this by:
- Forming the interpolation filter's polyphase decomposition with branches.
- Applying the decimation operation to the polyphase outputs.
- Combining the two operations into a single polyphase structure with sub-filters, each of length approximately , where only every -th phase is computed at each output instant.
The result is that filtering runs at the output rate (not the higher intermediate rate ), and the total computation per output sample is proportional to . This is the standard approach in practical sample rate converters (e.g., the Farrow structure combined with polyphase filtering for arbitrary rate conversion).