The basic functionality must be decided first, like low-pass, high-pass, band-pass, all-pass, or more complex functions.

An important parameter is the required frequency response. In particular, the steepness and complexity of the response curve is a deciding factor for the filter order and feasibility.

A first order filter will only have a single frequency-dependent component. This means that the slope of the frequency response is limited to 6 dB per octave.

For many purposes, this is not sufficient. To achieve steeper slopers, higher order filters are required.

It must also be decide how the filter is going to be implemented:

- Analog filter
- Analog sampled filter
- Digital filter
- Mechanical filter

Table of contents |

2 Digital filters 3 Sample rate 4 Anti-aliasing 5 IIR 6 FIR |

Design of analog filters is for the most part covered in the electronic filter section.

- Infinite impulse response (IIR)
- Finite impulse response (FIR)

Unless the sample rate is fixed by some outside constraint, selecting a suitable sample rate is an important design decision. A high rate will require more in terms of computational resources, but less in terms of anti-aliasing filters. Interference and beating with other signals in the system may also be an issue.

For any digital filter design, it is crucial to analyze and avoid aliasing effects. Often, this is done by adding analog anti-aliasing filters at the input and output, thus avoiding any frequency component above the Nyquist frequency. The complexity (i.e., steepness) of such filters depends on the required signal to noise ratio and the ratio between the sampling rate and the highest frequency of the signal.

IIR filters are the digital equivalent of analog filters. They use feedback, and will normally require less computing resources than an FIR filter of similar performance. Due to the feedback, high order IIR filters may have problems with instability and arithmetic overflow, and require careful design to avoid such pitfalls. Additionally, they have an inherent frequency-dependent phase shift, which can be a problem in many situations.

FIR filters do not use feedback, and are inherently stable. FIR filter coefficients are normally symmetrical, and that makes them phase neutral by nature. It is also easier to avoid overflow. The main disadvantage is that they may require significantly more processing and memory resources than cleverly designed IIR variants. FIR filters are generally easier to design: The Remez exchange algorithm is one suitable method for designing quite good filters semi-automatically.