M2 and M3 Materials
M2 and M3 Materials
The phase delay (𝜏𝑝 ) of the filter is the amount of time delay each
frequency component of the signal suffers in going through the filter
The group delay (𝜏𝑔 ) is the average time delay the composite signal
suffers at each frequency
𝜃(𝜔) 𝑑𝜃(𝜔)
Mathematically, 𝜏𝑝 = − and 𝜏𝑔 = − , where 𝜃(𝜔) is the phase angle
𝜔 𝑑𝜔
Linear Phase refers to the condition where the phase response of the filter is a linear
(straight-line) function of frequency (excluding phase wraps at +/- 180 degrees)
This results in the delay through the filter being the same at all frequencies
Therefore, the filter does not cause “phase distortion” or “delay distortion” or such filters
preserve the shape of signal and introduce no distortions
The lack of phase/delay distortion can be a critical advantage of FIR filters over IIR and
analog filters in certain systems, for example, in digital data modems
One disadvantage of linear phase FIR filters is that the system delay, also called the group
delay, is fixed to half the filter order, which might be unacceptably long when the filter
order is large. Use minimum phase filters in situations where minimizing delay is critical
unless the system requires a linear phase filter or the linear phase filter order is relatively
small
What is the condition for linear phase?
Impulse
Filter Length Symmetric / Anti Type
Response
Odd symmetric h(n) = h(M-n) 1
Even symmetric h(n) = h(M-n) 2
Odd anti-symmetric h(n) = -h(M-n) 3
Even anti-symmetric h(n) = -h(M-n) 4
Finite Word length Effects
DSP Systems have finite length registers. Typical word lengths are 16 bits,24 bits, 32 bits
etc.
Only Finite numbers of bits are used to perform arithmetic operations
The filter co-efficients are quantized/truncated to make them finite
This finite word length introduces errors like Input quantization error, Co-efficient
quantization error and Overflow & round off error (Product Quantization error)
More on Errors
Input quantization error: The conversion of continuous-time input signal into digital value
produces an error which is known as input quantization error. This error arises due to the
representation of the input signal by a fixed number of digits in A/D conversion process
Co-efficient quantization error: The filter coefficients are compared to infinite precision. If
they are quantized the frequency response of the resulting filter may differ from the
desired frequency response i.e., poles of the desired filter may change leading to
instability
Product Quantization error: It arises at the output of the multiplier - When a ‘b’ bit data is
multiplied with another ‘b’ bit coefficient the product (‘2b’ bits) should be stored in ‘b’
bits register. The multiplier Output must be rounded or truncated to ‘b’ bits. This known as
overflow and round off error
Limit Cycles
For stable IIR systems the output will decay to zero when the input becomes zero
Many a times, signal levels can become very low, at least for shorter periods of time, for
example, during pauses in speech and music signals
Thus quantization errors are highly correlated and produce an oscillatory periodic output
These oscillations are called limit cycles or parasitic oscillations
The amplitude ranges of the oscillations are called dead bands
Some filter realizations can be made limit cycle free, e.g. coupled realization, orthogonal
filters
Limit cycle oscillations can only appear if the filter has feedback. Hence FIR filters cannot
have limit cycle oscillations
Assignment Problems
1. Every causal stable filter H(z) with no zeros on the unit circle can be factored into a
minimum-phase filter in cascade with a causal stable allpass filter. Prove it.
2. What is the group delay for each of the types of FIR linear phase filters?
3. Which type of FIR linear phase filters cannot be used to design high pass filters?
7 7
4. Find the sign magnitude, 1’s complement, 2’s complement for --0.875, -8 and +8.