In this blog I want to elaborate on the various types of filters that are being used in Control Systems. These filters are often used in combination with a PI, PD or PID controller to obtain a robust controller. The filters which we will discuss are:
- Low-Pass filter
- High-Pass filter
- Lead-Lag filter
- Notch filter
Using these four filters we can create other filter types, such as a Band-Stop or Band-Pass filter. The behavior of each filter can be captured by a transfer function in the continuous-time using the Laplace domain of either first and/or second order. We use the transfer functions to describes the filter and as such the relation between the input and the output . Throughout this blog we will write the equations in the form of their angular frequency in [rad/s], also known as radian frequency. However, we will specify filters using their frequency in [Hz]. Using the radial frequency notation results in a more visual compact formula. Additionally, it is also possible to specify the filters in form of their time constant in [s]. The following relation holds between the angular frequency, frequency and time constant.
Many forms are used within literature, one book will use angular frequencies, the other will use time-constants. Finally, for second order filters, the only filter with possibly complex poles or zeros, can be written in various ways. We will specify second order filters in terms of the damping of the corresponding frequency. It is also possible to describe these formulas using the Quality factor . Whereas describes how oscillations decay in a system after a disturbance, describes how underdamped the system is. The following relation holds between and
A low-pass filter is used to pass signals with a frequency lower than a certain cut-off frequency . Below the formulas for both the first- and second-order low-pass filter is given.
Herein, denotes the gain, denotes the low-pass cut-off frequency and denotes the damping. Whereas the first-order supresses with 20 [dB/dec], the second-order supresses with 40 [dB/dec]. Low frequent the filter gain is .
The complement of a low-pass filter is a high-pass filter. This filter is used to pass signals with a frequency higher than a certain cut-off frequency . Below the formulas for both the first- and second-order high-pass filter is given.
Herein, denotes the gain, denotes the high-pass cut-off frequency and denotes the damping. Likewise as the low-pass filter the first-order supresses frequencies with 20 [dB/dec] and the second-order with 40 [dB/dec].
A lead-lag filter, also known as a lead-lag compensator, is often mainly used for phase compensation rather then magnitude. Below the formula for a lead or lag filter is shown.
Herein, and denote the frequency of the pole and zero, respectively. The filter functions as a lead filter if and otherwise as a lag filter. The filter has its maximum or minimum phase at . Finally, at the filter has a gain of or in case of a lead or lag filter, respectively. Naturally, the filter can be cascaded with itself by which a the filter can be a lead and lag filter simultaneously.
A notch filter is often used to filter undesired resonance peaks. Below the formula for a notch filter is shown.
Herein, and denote the frequency of the pole and zero, respectively. Likewise, and denote the damping of the pole and zero and is as usual the gain. When the notch will target one specific frequency. The gain at that frequency is given by . When the notch filter is also referred as a skewed notch and the difference between gain at low and high frequencies is given by .