Here's some reading material for those interested :
http://naca.central.cranfield.ac.uk/rep ... rt-855.pdf
http://www.streetrodstuff.com/Articles/ ... /index.php
http://megasquirt.sourceforge.net/extra/knock.html
http://www.autospeed.com/cms/A_0348/article.html
http://www.wipo.int/pctdb/en/wo.jsp?WO= ... SPLAY=DESC
http://www.patentstorm.us/patents/7051711-claims.html
http://www.freepatentsonline.com/5333489.html
http://www.freepatentsonline.com/EP0271294.html
and off topic (det can style sensing) :
http://www.maplin.co.uk/Module.aspx?Mod ... r&doy=5m11
http://autospeed.com/cms/A_0353/article.html
Enjoy,
Admin.
Knock detection filter circuitry
Knock detection filter circuitry
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Re: Knock detection filter circuitry
Linky no worky. LS7power.com domain has expired
Re: Knock detection filter circuitry
You are right. I remember something funny about that link when I posted it. I'll have a bit of a research around and see what else I can find that's interesting reading. Now that this thread is here it may as well be put to good use!
Thanks,
Admin.
Thanks,
Admin.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Re: Knock detection filter circuitry
None of these systems are particularly effective because of the exterior noise.
What I would like to do is figure out an analog filter circuit that not only removes a lot of the garbage noise, but is synced with the engine phase for windowing.
I propose that this could be done by having an analog pre-filter that removes the majority of the noise, and an and/nand gate with some timing circuits controlling it.
Such a circuit could be driven by the ORed sum of the falling edge of the ignition circuit dwell combined with a frequency dependent delay to start and duration. In this way you could control the output of the analog circuit to the cpu with and/nand gate such that signals that made it past analog filtering were only accepted during the period 5deg after spark to 10deg ATDC or some such thing. This should make any received signals somewhat more reliable.
Thoughts?
Admin.
What I would like to do is figure out an analog filter circuit that not only removes a lot of the garbage noise, but is synced with the engine phase for windowing.
I propose that this could be done by having an analog pre-filter that removes the majority of the noise, and an and/nand gate with some timing circuits controlling it.
Such a circuit could be driven by the ORed sum of the falling edge of the ignition circuit dwell combined with a frequency dependent delay to start and duration. In this way you could control the output of the analog circuit to the cpu with and/nand gate such that signals that made it past analog filtering were only accepted during the period 5deg after spark to 10deg ATDC or some such thing. This should make any received signals somewhat more reliable.
Thoughts?
Admin.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Re: Knock detection filter circuitry
Just IMO, but i think that we should save this "knock detection" energy for a more sure-shot solution like ion sensing and PPP estimation. For now let's just rely on safe tuning and making sure we use good gas.
but thats just me
Alex
but thats just me
Alex
Legal disclaimer for all my posts: I'm not responsible for anything, you are responsible for everything. This is an open and free world with no strings attached.
Re: Knock detection filter circuitry
Safe tuning is definitely the way to go, however having an LED light up, and a datalog show that it occurred and at what exact load point etc is invaluable for tuning from logs and from lifting to prevent the deep hole in your wallet getting deeper. Ion sensing is very CPU intensive and wont make it onto this chip. an interface with a second chip that did just that and forwarded the data over CAN,SPI,SCI,IIC etc would work fine.
FYI, windowed knock detection is very useful and not nearly as prone to false alarms as non windowed knock detection. For data logging and tuning, a non windowed system would be useful enough, IE, do a run with good fuel, or 10deg timing pulled and log it, add timing and do another run etc, you can see the noise levels at different rpm when you KNOW its not knocking and then again when it might be and use the differences in signal frequency to determine if that noise meant anything or not.
None of this knock stuff matters on NA engines pretty much at all, knocking NA would have to be pretty extreme and persistent to do significant harm. However, under boosted conditions, a single good knock can blow your piston backwards past the rod and bend the rod and push the head gasket out sideways and crack the bore and the head all at the same time :-) obviously we want to avoid that at any reasonable cost. For my engine in the ute for example, there is a choice of two OEM knock filter boxs to use for an interface. such a system worked for the OEM (Mazda) and used appropriately will work for me too. Setting that up is cheap and easy. The question has to be asked, why not do it? There is no reason not to.
Admin.
FYI, windowed knock detection is very useful and not nearly as prone to false alarms as non windowed knock detection. For data logging and tuning, a non windowed system would be useful enough, IE, do a run with good fuel, or 10deg timing pulled and log it, add timing and do another run etc, you can see the noise levels at different rpm when you KNOW its not knocking and then again when it might be and use the differences in signal frequency to determine if that noise meant anything or not.
None of this knock stuff matters on NA engines pretty much at all, knocking NA would have to be pretty extreme and persistent to do significant harm. However, under boosted conditions, a single good knock can blow your piston backwards past the rod and bend the rod and push the head gasket out sideways and crack the bore and the head all at the same time :-) obviously we want to avoid that at any reasonable cost. For my engine in the ute for example, there is a choice of two OEM knock filter boxs to use for an interface. such a system worked for the OEM (Mazda) and used appropriately will work for me too. Setting that up is cheap and easy. The question has to be asked, why not do it? There is no reason not to.
Admin.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
-
- LQFP112 - Up with the play
- Posts: 120
- Joined: Sun Feb 03, 2008 9:30 pm
- Location: Chicago, USA
Re: Knock detection filter circuitry
I think what you are saying is windowing the event. Since we know when it will happen. This is computationally challenging, but it has been done on lesser hardware AFAIK.Admin wrote:None of these systems are particularly effective because of the exterior noise.
What I would like to do is figure out an analog filter circuit that not only removes a lot of the garbage noise, but is synced with the engine phase for windowing.
I propose that this could be done by having an analog pre-filter that removes the majority of the noise, and an and/nand gate with some timing circuits controlling it.
Such a circuit could be driven by the ORed sum of the falling edge of the ignition circuit dwell combined with a frequency dependent delay to start and duration. In this way you could control the output of the analog circuit to the cpu with and/nand gate such that signals that made it past analog filtering were only accepted during the period 5deg after spark to 10deg ATDC or some such thing. This should make any received signals somewhat more reliable.
Thoughts?
Admin.
http://www.fs.isy.liu.se/~Elarer/Projects/main.html
This link is down now, FWIW. I think I have a copy somewhere. He defines when knock will happen.
gearhead
Re: Knock detection filter circuitry
Thanks for the link!
It's going to happen roughly in the time between firing the coil and TDC or a little afterwards or before that depending on how extreme things are getting inside the engine.
My idea was to filter that in hardware pre the CPU getting an interrupt from it. I can think of a scheme to handle it in code without too much of a headache right now, but it would be nice if it was done in hardware first. If hardware turns out too complex or unreliable, the software side of it is worth pursuing for sure! (or vice versa I guess)
Admin.
It's going to happen roughly in the time between firing the coil and TDC or a little afterwards or before that depending on how extreme things are getting inside the engine.
My idea was to filter that in hardware pre the CPU getting an interrupt from it. I can think of a scheme to handle it in code without too much of a headache right now, but it would be nice if it was done in hardware first. If hardware turns out too complex or unreliable, the software side of it is worth pursuing for sure! (or vice versa I guess)
Admin.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Re: Knock detection filter circuitry
Just a couple of IC knock filter chips :
http://focus.ti.com/docs/prod/folders/p ... c8101.html
http://focus.ti.com/lit/ds/symlink/tpic8101.pdf
http://www.intersil.com/data/fn/FN4367.pdf
http://www.intersil.com/data/an/an9770.pdf
Admin.
http://focus.ti.com/docs/prod/folders/p ... c8101.html
http://focus.ti.com/lit/ds/symlink/tpic8101.pdf
http://www.intersil.com/data/fn/FN4367.pdf
http://www.intersil.com/data/an/an9770.pdf
Admin.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Re: Knock detection filter circuitry
Perhaps there's something to be said for calibrating the noise floor, too. Certainly a free rev with the microphone on should let you know when to not listen as hard, or what the 'floor' is. My motor is notoriously noisey, so a floor that varies with RPM is a necesity, but perhaps just turning off between 30-60* ATDC would work, to choose numbers at random.
I like the idea!
I like the idea!