Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pitfalls in filter design

Status
Not open for further replies.

a70duster

Electrical
Mar 14, 2005
52
So this is my first stab at designing and building a bandpass filter. TI has a filter building tool that determines component values. I am creating a 4-pole Chebyshev band-pass filter with a uni-polar power supply (5 volts) and a LM324 as the op amp.

How spot on do I have to be with component tolerances? It is easy and cost effective enough to get 1% resistors. The capacitors are a little harder. Will a 5% tolerance be fine for the filter?


Bandpassfilter.jpg
 
Replies continue below

Recommended for you

I did build the circuit back in June and it appears to work.

Here is frequency response of the output of the circuit. Engine speed varied from 2500 PRM to 6000 RPM.
MaxRPMSpectrumNotchFilter.jpg


Here is a snapshot at 2500 RPM
LowRPMSpectrumNotchFilter.jpg


Here is a snapshot at 6000 RPM
MaxRPMSpectrumNotchFilter2.jpg


So the notch filter is doing its job. There is some DC and low frequency getting through. The circuit when added to a compare op-amp and 555 timer will trigger when there is an engine knock.

The next "thing" to go after is the compare op-amp. Right now I am comparing engine knock "loudness" to a fixed value. It would be better to compare to relative engine noise. I am not sure on how to quantify the variable spectrum of the sound of the engine into a single value.
 
One simple technique you might try is to use the average value of your FFT window as your threshold. If you use 2000-30000 Hz for the average you'll get a pretty good look at your noise floor.

John D
 
H4 is this for a Subaru?

I designed the knock circuit for an after market engine management system (UTEC) for the WRX.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor