knock filter and amp
#22
The circuit is meant to emulate a GM style tuned piezo knock sensor. It is meant for ECUs that can take a piezo knock sensor signal.
You take a 99/00 knock sensor, it filters and amplifies the signal. It is tuned to 13 khz IIRC, which is the peak frequency that I noticed when I did audio recordings of knock from my 00 sensor.
You take a 99/00 knock sensor, it filters and amplifies the signal. It is tuned to 13 khz IIRC, which is the peak frequency that I noticed when I did audio recordings of knock from my 00 sensor.
Would it work properly with a Bosch wideband sensor? Or OEM wideband Miata sensor only?
What is the recommended minimum power rating for the resistors? (If one is trying to stuff it in as small packaging as posible)
#24
http://www.bosch-motorsport.de/pdf/s...knock/KS-P.pdf
What would your filter/amp increase the max output voltage of the 1v Bosch knock sensor to? Or would it?
#28
"The output of a resonant sensor is about 500mv/g, while that of a non resonant sensor is about 20mv/g.
An example of a non resonant sensor is the Bosch sensor, which requires a shielded cable."
#29
Hmm, that doesn't tell me the difference between either of them vs. the miata factory sensor, which is what I need to know.
I will guess that my circuit is in the ballpark. Its output is designed to mate with the AEM which I presume is designed for the resonant sensors, and its gain is close to 20x, and the bosch sensor is 1/25th the output of the resonant sensors.
I will guess that my circuit is in the ballpark. Its output is designed to mate with the AEM which I presume is designed for the resonant sensors, and its gain is close to 20x, and the bosch sensor is 1/25th the output of the resonant sensors.
#32
Hmm
http://expresspcb.com/ExpressPCBHtm/SpecsMiniboard.htm
The can do 3 pcx 3.8" x 2.5" boards for $51 + shipping sent out the next day.
Each one would probably fit 3 of the circuits, maybe more, so you get at least 9 for $51.
All we need now is someone to lay it out in their free software.
http://expresspcb.com/ExpressPCBHtm/SpecsMiniboard.htm
The can do 3 pcx 3.8" x 2.5" boards for $51 + shipping sent out the next day.
Each one would probably fit 3 of the circuits, maybe more, so you get at least 9 for $51.
All we need now is someone to lay it out in their free software.
#33
They are certainly not the only house which turns boards cheap. :-) I did a set of ~7x4" boards maybe 11 of them for $150? At least I didn't have to do it in their software.
So this circuit just does the filtering/amplification - i.e. no analog levels out, no RPM or angular dependent filtering?
So this circuit just does the filtering/amplification - i.e. no analog levels out, no RPM or angular dependent filtering?
#34
Elite Member
iTrader: (15)
Join Date: Dec 2007
Location: San Antonio, Texas
Posts: 4,847
Total Cats: 27
Yep, just need a simple bandpass filter, perhaps adjustable with a simple pot to vary bandpass frequency a bit. Adjustable gain is probably not a big deal but it would be nice. Output signal should be low so it does not overdrive the Adaptronic's input.
#35
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
digging this back up for a couple reasons.
The latest MS3 alpha firmware has experimental knock sensor and windowing settings.
To reconfirm, this circuit provides a 0-5V amplified, bandpassed knock signal from the stock NB sensor, correct?
The latest MS3 alpha firmware has experimental knock sensor and windowing settings.
To reconfirm, this circuit provides a 0-5V amplified, bandpassed knock signal from the stock NB sensor, correct?
#36
Yes, but the output is an AC knock signal, with the same amplitude as a tuned piezo sensor.
I would like to point out that the center frequency should be moved from 13 khz to 6.5 kHz. Higher RPM knock is more centered at 6.5 than 13 khz.
To change it quadruple the sum of the values of C9~C11, and approximately halve R20 and R21.
I would like to point out that the center frequency should be moved from 13 khz to 6.5 kHz. Higher RPM knock is more centered at 6.5 than 13 khz.
To change it quadruple the sum of the values of C9~C11, and approximately halve R20 and R21.
#38
Boost Pope
iTrader: (8)
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,057
Total Cats: 6,619
Presumably as opposed to the binary 0 or 5v signal produced by the KnockSenseMS or the 0-10v signal produced by the original GM ESC module on which the MS's knock sense feature was originally based, which conveys a simple "knocking" or "not knocking" indication, rather than merely acting as a bandpass filter and amplifier as this circuit does.
In other words, the Megasquirt's knock-sensing capability is rather primitive. It is not able to read an analog signal (even one that's been filtered and amplified) and do the comparison to determine whether or not knock is present on its own. It needs to have an external device do the hard work, and then simply send a binary signal to the MS telling it whether or not knock is present. (At least, that's how it is on MS1 and MS2. I assume MS3 is the same.)
In other words, the Megasquirt's knock-sensing capability is rather primitive. It is not able to read an analog signal (even one that's been filtered and amplified) and do the comparison to determine whether or not knock is present on its own. It needs to have an external device do the hard work, and then simply send a binary signal to the MS telling it whether or not knock is present. (At least, that's how it is on MS1 and MS2. I assume MS3 is the same.)
#40
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
ok but the AC is all happening from 0-5V... which sounds like what I'm after.
Here is the new knock settings dialog:
and if windowing is desired:
note that you can output the window to external knock devices for some reason.
A TPIC9101 does not show up when I google so therefore it doesn't exist to me.
Here is the new knock settings dialog:
and if windowing is desired:
note that you can output the window to external knock devices for some reason.
Originally Posted by james@msextra
On/off vs. analogue:
The only circuits presently described provide an on/off yes/no type input. So for anything existing, this is what you need.
The analogue option allows you to feed in an analogue 0-5V signal that represents signal intensity. You can't just connect this to a raw knock sensor - you need to amplify it and utilise bandpass filters. A chip such as TPIC9101 does this but requires SPI to control it too. This analogue option is more for future development work.
The only circuits presently described provide an on/off yes/no type input. So for anything existing, this is what you need.
The analogue option allows you to feed in an analogue 0-5V signal that represents signal intensity. You can't just connect this to a raw knock sensor - you need to amplify it and utilise bandpass filters. A chip such as TPIC9101 does this but requires SPI to control it too. This analogue option is more for future development work.