Lec7: Practical Filters Flashcards
Design criteria of a filter?
Filter design flow criteria?
The design process normally follows a flow:
- Identify key characteristics (lowpass, highpass, etc)
- Identify cut-off frequency and sampling frequency
- Make an educated guess at filter type and size (FIR, N = 5)
- Design filter (either by hand or using CAD)
- Evaluate filter performance (ripple, phase, etc)
- Potentially re-design with different filter type or size
The most basic method for designing an FIR filter?
Windowing method
How to find the time domain representation?
Consider a low pass filter.
We need to calculate the inverse discrete-time Fourier transform
How are the coefficients found?
Issues with the impulse response,
what is done to make the response casual?
The designed filter?
The basis of analogue filters?
IIR filters can be based on analogue counterparts, and then the design process can use the traditional techniques (Butterworth, Chebyshev, etc).
What must happen after a filter has been designed?
After a filter has been designed, it must be realised by developing a signal flow diagram that describes the filter in terms of operations on the samples.
Important factors to consider when designing a filter?
A given transfer function may be realised in many ways, for example:
ax + bx + c = x(a+b) + c
- Here we have computed the same function, but in one of the realisations we have used only one multiplication.
- This can be important in embedded systems, where multiplication is typically slower and more power intensive than simple addition.
- Specifically, some realisations are better for fixed-point arithmetic and other may be better for floating-point arithmetic.
FIR Direct Form I
A straightforward approach for FIR filter realisation is Direct Form 1, where the difference equation is evaluated directly.
This form is practical for small filters, but may be inefficient and impractical for complex designs.
Note that z-1 represents the unit delay
IIR Direct Form I
The same approach can also be used to realise an IIR (or FIR) filter using Direct Form I.
In general, this form requires 2” delay elements (for both the feedforward and the feedback terms) for a filter of order “
IIR Direct Form II
The alternate Direct Form II only needs N delay units, where N is the order of the filter. This is potentially half as many as Direct Form I.
The disadvantage is that Direct Form II increases the possibility of arithmetic overflow for filters with high Q. This is to do with the order of operations and the way in which floating-point numbers accumulate errors.