Popular Categories
Control Systems Home
Classical Control
Controller Design
Examples
System Modeling
MATLAB
Control Systems wiki

The online resource for Control Systems




High Pass Filter

From Control Systems at ControlTheoryPro.com, your resource for all things controls.

Jump to: navigation, search
High Pass Filter
MATLAB Plot
To prevent spam, users must register before they can edit/create articles.
There are 195 articles and 323 users of the wiki site.
Authors





Gabe Spradlin, founder of ControlTheoryPro.com, now offers Consulting Services for your Aerospace Systems and Controls needs.
Call me at (720) 210-4078.


Contents

Introduction to High Pass Filters

Filtering is extremely useful when creating a real world systems. Often times real systems have inconvenient modes that can be reduced with bandpass filtering. Sometimes sensors get noisy in higher frequencies and when the system doesn't require those higher frequencies it is usually best to use a low pass filter to reduce the effect of the high frequency noise.

For example, many DC gyros have noisy low frequency portions. The PSD magnitude of the noise can grow as the frequency lowers. The system will likely not need the rate information all the way down to DC. So adding a high pass filter can reduce the noise passed on to the rest of the system.

Construction of a High Pass Filter

Construction of a high pass filter using the tf command is simple. (The tf command requires the Controls toolbox.)

1st Order High Pass Filter

The transfer function of a first order high pass filter is

LaTeX: 1%20-%20%5Cfrac%7B%5Comega%7D%7Bs%2B%5Comega%7D%3D%5Cfrac%7Bs%7D%7Bs%2B%5Comega%7D


The s (or zero at 0) is how the high pass filter maintains a unity gain at &infty;. A first order high pass filter is easily created in MATLAB with the following commands

 >> w = 1;
 >> lpf_1st = tf([1 0], [1, w]);

This will create a high pass filter with a corner frequency at w = 1 rad/sec. The magnitude increase will be +20 dB/decade with a phase that starts at +90 and transitions to 0 degrees near w.

2nd Order High Pass Filter

The transfer function for a second order high pass filter is

LaTeX: 1-%5Cfrac%7B%5Comega%5E2%7D%7Bs%5E2%2B2%5Czeta%5Comega%2B%5Comega%5E2%7D%3D%5Cfrac%7Bs%5E2%2B2%5Czeta%5Comega%7D%7Bs%5E2%2B2%5Czeta%5Comega%2B%5Comega%5E2%7D


A second order high pass filter is easily created in MATLAB with the following commands

 >> w = 1;
 >> z = 1/sqrt(2);
 >> lpf_2nd = tf([1, 2*z*w, 0], [1, 2*z*w, w^2]);

This will create a second order high pass filter.

See Also


MATLAB Related Books


Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 License
© 2008 ControlTheoryPro.com, LLC
Designed by ControlTheoryPro.com
Powered by MediaWiki