Introduction to Filters
In questa pagina 4
Setting: a system with input and output that is LTI, convolutional () and BIBO stable ().
u(t) ----> [ h(t) ] ----> y(t)Definition
Definition (filter). Filters are systems that process or remove some unwanted components or features (e.g., in terms of harmonics) from a signal.
input spectrum u |H(jw)| (low-pass shape) output spectrum y
a0 a1 a2 a3 at 1 ___ b0 b1 b2 b3
0, w0, 2w0, 3w0 w0 2w0 3w0 decreasing --> (higher harmonics attenuated)(The scan draws the amplitudes of the harmonics at entering a block with a decaying , and the output amplitudes ; by Fourier Series Applied to LTI SystemsA BIBO-stable convolutional LTI system maps a T-periodic finite-energy input to a T-periodic finite-energy output whose Fourier coefficients are the input coefficients multiplied by the frequency response sampled at n omega_0, which is why such systems act as filters.Fourier Series Applied to LTI Systems →, .)
- If a filter processes signal components it is called a frequency-shaping filter, e.g. an audio equalizer.
- If a filter removes signal components it is called a frequency-selective filter, e.g. the human hearing system.
Example of a shaping filter: the differentiator
. Actually this system is not BIBO stable, but let us move on. Feeding : What is its impulse response? Start from the sifting property of , then change variable , : (integration by parts plus the chain rule; the boundary term is ). Hence
Example of a selective filter: the RC low-pass filter
Circuit: a source in series with a resistor and a capacitor ; the output is the capacitor voltage . The filter's behavior is described by a differential equation: Observation: the system is LTI, so (if it is also convolutional) for . Substituting, ( cancels: "what a fabulous strike!"). exists and is finite for all , so the system is convolutional with no doubt.
(i) Why does this filter select frequencies?
|H(jw)|
1 | ______ ideal low-pass (magenta): 1 on [-wc, wc], 0 outside
| / \
1/sqrt2 |- - /- - - - -\ - - real RC response (blue): bell shape,
| / \ equal to 1/sqrt(2) at w = +-wc
0 +---+-------+-------+----> w
-wc 0 wc
angle H(jw): 0 at w = 0, -pi/4 at w = wc, tends to -pi/2 as w grows
(odd function: +pi/4 at w = -wc, tends to +pi/2 for w -> -inf)Harmonics with higher frequencies are attenuated, while those with low frequencies are almost preserved. However, real devices must be causal, and this prevents the realization of ideal filters (that are acausal). The meaning of : cutoff frequency.
(ii) How do we prove BIBO stability from the impulse response?
Since this system exists in the real world it must be causal, hence for all . (Theoretically for could take any value, but we impose causality.) What about ? For to hold, one of the possibilities is and it is the unique possibility if the constraint for all is imposed. Check: Moreover , so and the system is BIBO stable.
Note. Physical systems are characterized by ; thus for all conveys no information about the system, because is Hermitian.
Remarks
- Inspecting differential equations tells us a lot about the system properties. For instance, the fact that determines the BIBO stability of the low-pass filter.
- To design filters we need parametric systems with at least a free parameter, such as in the low-pass filter. So higher-order derivatives in these mathematical models may be involved (see Linear Constant-Coefficient Differential EquationsContinuous-time LTI convolutional systems are described by linear constant-coefficient ODEs whose general solution is a homogeneous part, a combination of modes t^m e^{pt} built from the roots of the characteristic polynomial, plus a particular part; boundary conditions pick one solution of the family.Linear Constant-Coefficient Differential Equations →).
Popular selective filters: the fantastic four
All four are drawn with an ideal rectangular (height in the pass region, elsewhere), symmetric in :
LOW-PASS: |H| = 1 for |w| < wc (pass: -wc .. wc)
HIGH-PASS: |H| = 1 for |w| > wc (pass: |w| beyond wc)
BAND-PASS: |H| = 1 for wc- < |w| < wc+ (two bands, one at positive and one at negative w;
edges named wc^- and wc^+)
BAND-STOP: |H| = 0 for wc- < |w| < wc+ (everything else passes)- Low-pass and high-pass: the implementation requires a first-order differential equation.
- Band-pass and band-stop: the implementation requires a second-order differential equation.
In a few lectures filters will be studied in detail.
Versione ripasso
- Filter: system (LTI, convolutional, BIBO stable) that processes or removes unwanted components, e.g. harmonics. Output coefficients .
- Frequency-shaping (processes components, e.g. audio equalizer) vs frequency-selective (removes components, e.g. human hearing system).
- Differentiator : , , (unit doublet; via sifting and integration by parts, ). Not BIBO stable.
- RC low-pass , : plug , get , , ; at : , phase . = cutoff frequency.
- Impulse response (causal, unique): , , hence BIBO stable because .
- Ideal filters (rectangular ) are acausal, so real devices only approximate them. real Hermitian, so carries no extra information.
- Four selective filters: low-pass, high-pass (first-order ODE), band-pass, band-stop (second-order ODE). Design needs at least one free parameter.
- Typical mistakes: assuming a differentiator is BIBO stable; forgetting causality when inverting to get ; (unstable system).