Signals and Systems/Filter Transforms

From Wikibooks, open books for an open world
< Signals and Systems
Jump to: navigation, search

Normalized Lowpass Filter[edit]

When designing a filter, it is common practice to first design a normalized low-pass filter, and then use a spectral transform to transform that low-pass filter into a different type of filter (high-pass, band-pass, band-stop).

The reason for this is because the necessary values for designing lowpass filters are extensively described and tabulated. From this, filter design can be reduced to the task of looking up the appropriate values in a table, and then transforming the filter to meet the specific needs.

Lowpass to Lowpass Transformation[edit]

Converting a normalized lowpass filter to another lowpass filter allows to set the cutoff frequency of the resulting filter. This is also called frequency scaling.

Transformation[edit]

Having a normalized transfer function, with cutoff frequency of 1 Hz, one can modify it in order to move the cutoff frequency to a specified value f_c.

This is done with the help of the following replacement:

s \to f_c \cdot s

Transfer Function[edit]

As an example, the biquadratic transfer function

H(s) = \frac{Y(s)}{X(s)} = \frac{b_2 s^2 + b_1 s + b_0}{a_2 s^2 + a_1 s + a_0}

will be transformed into:

H(s) = \frac{Y(s)}{X(s)} = \frac{b_2 f_c^2 s^2 + b_1 f_c s + b_0}{a_2 f_c^2 s^2 + a_1 f_c s + a_0}

In the transfer function, all coefficients are multiplied by the corresponding power of f_c.

Analog Element Values[edit]

If the filter is given by a circuit and its R, L and C element values found in a table, the transfer function is scaled by changing the element values.

The resistance values will stay as they are (a further impedance scaling can be done).

The capacitance values are changed according to:

\frac{1}{sC} \to \frac{1}{s f_c \frac{C}{f_c}}

The inductance values are changed according to:

sL \to s f_c \frac{L}{f_c}

In the circuit, all capacitances and inductances values are divided by f_c.

Lowpass to Highpass[edit]

This operation can be performed using this MATLAB command:
lp2hp

Converting a lowpass filter to a highpass filter is one of the easiest transformations available. To transform to a highpass, we will replace all S in our equation with the following:

S = \frac{\Omega_p \hat{\Omega_p}}{\hat{S}}

Lowpass to Bandpass[edit]

This operation can be performed using this MATLAB command:
lp2bp

To Convert from a low-pass filter to a bandpass filter requires that we replace S with the following:

S =

Lowpass to Bandstop[edit]

This operation can be performed using this MATLAB command:
lp2bs

To convert a lowpass filter to a bandstop filter, we replace every reference to S with:

S =