Signals and Systems/Filter Design
The Laplace transform allows analyzing the frequency response of circuits based on the differential equations of their capacitive and inductive components. Filter design starts with finding the proper transfer function in order to ampify selected parts of a signal and to damp other ones as a function of their frequency.
Choosing the proper filter structure and deriving the coefficient values is a further topic prensented in the wikibook Signal Processing which deals with the application of signal and systems.
Separating signal from noise or different signals in the same transmission channel basing on their frequency content is best done with a brick-wall filter which shows full transmission in the passband and complete attenuation in the nearby stopbands, with abrupt transitions.
This can be done with the help of the Fourier transform which provides complete information of the frequency content of a given signal. Having calculated a Fourier transform, one can zero out unwanted frequency contents and calculate the inverse Fourier Transform, in order to provide the signal filtered with a brick-wall gauge.
The Fourier transform being given by:
one finds out that the Fourier transform integral, with its infinite bounds, would have to be calculated from the day of the creation of our universe and all the way up to the day of its decay before the integral could have been fully calculated. And only then can the ideal brick-wall filtered signal be delivered.
In more technical terms, the ideal brick-wall filter suffers from an infinite latency.
The analysis of analog circuits shows that their outputs are related to their input by a set of differential equations. The Laplace transform rewrites these differential equations as a set of linear equations of the complex variable . With this, a polynomial function multiplying the Laplace transform of the input signal can be equated to another polynomial function multiplying the Laplace transform of the ouput signal:
Thus, the transfer function of a realizable analog filter can be written as the ratio of two polynomial functions of :
Hence, the problem of analog filter design is to find a pair of polynomial functions which, put together, best approximate the ideal but not realizable brick-wall transfer function.
In the early days of electric signal processing, scientists have come up with filter functions which are still largely used today. The functions they have devised are all of lowpass type. Frequency transformation techniques allow to find polynomials for other filter types such as highpass and bandpass.
The Complex PlaneEdit
The transfer function of an analog filter is the ratio of two polynomial functions of :
The variable is a complex number which can be written as . The complex plane is a plane with the imaginary axis vertical and the horizontal axis as the real part.
The roots of the transfer function numerator polynom are called the transfer function zeroes. The roots of the transfer function denominator polynom are called the transfer function poles.
The transfer function can be written as a function of its zeroes , its poles and an additional gain factor in the form:
The poles and the zeroes of a transfer function can be drawn in the complex plane. Their position provide information about the frequency response of the system. Indeed, the frequency response is equal to the transfer function taken for , which is along the imaginary axis.
Effect of PolesEdit
A stable LTI system has all its poles on the left side half plane of .
If a pole would be located on the imaginary axis, at , then the factor of the transfer function would be infinite at the point and so would the global frequency response . A special case of this is the integrator: it has a pole at , and indeed has a long-term infinite output for a constant, non-zero, input.
For poles close to the imaginary axis, the frequency response takes a large amplitude for frequencies close to them. In other words, poles close to the imaginary axis indicate the passband.
Effect of ZerosEdit
If a zero is located on the imaginary axis, at , then the factor of the transfer function is zero at the point and so is the global frequency response .
Zeroes on, or close to the imaginary axis indicate the stopband.
Devising the proper transfer function for a given filter function goes through the following steps:
- selecting a normalized filter function
- transforming and scaling the function for the particular needs
The coefficients of the numerator and denominator coefficients are finally used to calculate the element values of a selected filter circuit.