Page 1 of 2

Knock Detection systems

Posted: Mon Jan 12, 2009 6:42 am
by UNISA JECS
Anyone here using this? I looks to be pretty bad ass:

http://www.phormula.co.uk/Default.aspx

and a video of it working:

http://www.phormula.co.uk/Player.aspx?c ... yser%20Pro

Posted: Mon Jan 12, 2009 3:11 pm
by PL
I saw these things the other day and I gotta say it looks like good stuff. Unfortunately the exchange rate (AUD <> GBP) is so crap at present that buying anything from the UK is pretty much out of the question.

The bottom line will be whether their products can distinguish between engine noise and knock. This is always the problem with any system.

I'm now quite happy with the audio based system I've strung together so I'll be sticking with that. It's pretty much what their knock analyser box is (a basic audio amp) - except I use big chunky headphones that block out as much noise as possible and a mic that's actually insulated from the engine block rather than bolted to it.

PL

Posted: Tue Jan 13, 2009 4:38 pm
by J30_VG33ET
What about the J&S Knockguard? Anyone use this unit? It promises much more performance, like actually retarding the timing per cylinder, etc...

Posted: Tue Jan 13, 2009 9:51 pm
by chris2712au
where are you putting your mic ? it would be good if you could get a set of noise cancelling headphones that you could reject the engine noise and just boost the 6khz - 7khz range so the ping was as clear as without having to deafen yourself with the backgound noise..

ther was a write up on a guy that wired his knock sensor to a amplifier system..

Posted: Wed Jan 14, 2009 10:02 am
by PL
Hey Chris,

I've got the mic mounted in an ally tube (about 25mm dia tube x 150mm long) and then the tube is wrapped in sound absorbent material and then heat shrunk. The mic is mounted about 50mm back from the open end of the ally tube. This makes it quite directional. I then place the mic under the inlet manifold facing the block.

So the open end would be about 100 to 150mm from the block. I try to keep it near the top of the block (similar position to factory knock sensor). If you get up any higher you get a lot of valvetrain noise.

I've tried many different mounting methods but this is by far the best. It's very easy to hear knock because you're effectively isolating the mic from much of the mechanical noise. I tried using mics clipped onto the engine itself for ages but fund that it's very difficult to distinguish between all the mechanical noise and actual knock.

I was going to try and add a filter to get just the band of frequencies you mentioned but haven't got around to it. Be nice to use a graphic equaliser on it. Rememeber how they used to be the rage in car sound systems? I reckon a 7 or 9 band graphic should allow you to get exactly the frequencies you wanted. Not exactly portable though.

I might just make up a simple fixed frequency filter instead. All the amp circuitry is currently mounted in the headphones themselves so it'd be nice to be able to keep it that way. Should be able to make a simple filter from just a few caps and resistors.

PL

PL

Posted: Thu Jan 15, 2009 12:41 am
by Legionnaire
I read about phormula on efi university (efi101.com), guys there say that they were very pleased with phormula product, but for me the price look a bit steep for their full kit.

So, I've made up one myself a couple of mounths ago. Used
- Bosch WB knock sensor - 5$;
- plug for it off Audi - can of beer to my friend;
- sony cassette player - free;
- couple of resistors and diodes - 4$ total;
- 2 x 3m of 3.5 jack extention cord - 6$ total;
- headphones - had them;
- car phone charger - free;
- player external power supply plug - free.
Couple of hours of soldering later I had one made.

It does not look beautiful, but it works and helps me. I also thought about det cans, even bought stuff for it, but I will construct those later (just to see the difference). I also thought about frequency filtering, but, to be honest, when it comes to sound, I'd rather trust my own ears and brain cells for processing than electronics. I thought about taking sound processing module from audi ecu, but decided to try it later. So far, although the engine is noisy, knock sound can be very clearly distinguished. Also, i found that engine block is rather silent, compared to the valvetrain "machine gun" noise.
If you are interested, I'll post pics of mine.

PL, What device did you end up using as a microphone for your KDS? traditional and common bosch wideband sensor - round with a hole in it?

P.S. Oh, and I do want to buy phormula knock monitor - because it will look soooo cool with my black zeitronix monitor on the dash :D

zeitronix
Image
phormula
Image

Posted: Thu Jan 15, 2009 9:33 am
by PL
Excellent! :)

I love to see people cobble together working systems from found objects. You're a man after my own heart!

I haven't been using a knock sensor at all - I use an electret mic insert which isn't touching the block. I tune a lot of different cars so i need something that I can quickly and easily fit to any vehicle. This works very well.

Although I do mostly SR's so I'm also going to make up an adaptor cable that taps into the factory SR knock sensor. Then I'll compare the two signals.

I did try using a knock sensor bolted to the engine at one stage but found that mechanical noise was excessive. May placement was possibly less than ideal though!

PL

Posted: Thu Jan 15, 2009 10:34 am
by MichaS14a
Legionnaire wrote: If you are interested, I'll post pics of mine.
Yes, please post pics of your solution and eventually from the fitting position of the sensor too. :-)
I am very interested in a cheap electronic solution.

Posted: Fri Jan 16, 2009 8:49 am
by Legionnaire
I'm glad to see some interest in my humble det detection exercises. :)

For those who want to make a mechanism like this electric knock detection kit, I tried to arrange this post as a step by step guide - with explainations and illustrated by photoes. Those who already made one up, I hope, will also find this post interesting. Feel free to comment, make suggestions and advices. For native english-speakers - excuse my grammar and my spelling. I'm still learning. :oops:

OK, here goes

1)A little theory

There are two wide-spreaded and commonly used types of knock sensors in automotive industry - resonant and non-resonant, the latter is also known as wideband. Resonant sensor is constructed and adjusted such that when it picks up a vibration of a specific (narrow) range of frequencies, it begins to oscillate in its natural resonant frequency, generating output signal. I'm no expert at this, but you can read more on this if you ask google about "resonance force sensor", "resonance strain sensor" etc. What is sufficient for us to know here is that the signal it generates has about 30000+ Hz frequency (depending on application and internal structure) so it can not be heard by ear even if it has enough amplitude.
The oher type is non-resonant, "wideband", what means that it translates any noise it can "hear" and at the frequency similar to its input vibration, so theoretically we can connect our headphones directly to it. The main concern here is the amplitude of a signal - it may be insufficient (it may also be too big), so we want to have the ability to amplify it (and to separate the freq band we are interested in hearing from other mechanical noise - e.g. valvetrain and normal combustion sounds). To make this kind of sensor practical in automotive use, Bosch actually offers us not only this piezoelectic sensor, but also a programmable electronic filter to build into ECU's architecture, to pick a det among other noises, and to transform a sound stream into a signals recognisable by CPU [0,1].

2)From theory to practice

What we need (and what this whole system is centered around) is the standard round bosch-style knock sensor. Actually it is a piesoelectric sensor, that generates electric pulses when it is subjected to a force. The same exact principle is used in microphones, so we can say that bosch knock sensor is a microphone.

Well, so much for the words, let us see some pics.
Here is the sensor:

Image

Here is the plug side. There are two types of this exact sensor available - with two wires - like this - and with three wires and a little extention cable, shielded - used on porsche, some VW's etc. If you are not going to make shielding work, stick to this type. It is much easier to access tight underbonnet areas without any "tail".

Image

Here is side and bottom view. This bottom flat surface is actually sensor input and should contact similarly flat solid surface of an engine.

Image

For testing purposes I borrowed a stock bosch-like JECS sensor off a VQ, or so I've been told. It's been tried, but sounded crappy, a lot of extraneous noise, so if you decide to go second-hand one, i strongly advise against it. The new knock sensor is not that expensive. I ended up buying a new bosch one, P/N of an item without a "tail" is 0 261 231 006.

Here is a plug for it, audi made:

Image

Yep, 100% OEM VW-audi group one :)

Image

Stock nissan plug for it is crap and has very inconvenient lock to use if you plan to connect and disconnect your sensor often, which is obviously the case with the system like this. Note that the plug is standard type, it does not have to be off a knock sensor. This particular one is off an injector harness.

Ok, so we've got a sensor and a plug. Now we need an amplifier. You can use your old radio, player - whatever you like. I've found an old cassette player.

Image

The coolest thing is that it is also a dictaphone, so it has a microphone input, also a 3.5mm jack socket

Image

Now it is time to connect out sensor to the amplifier. I used 3m of 3.5mm jack extention cord:

Image

I bought two of these, because I was not sure if 3m should be enough. But if it should, i didn't want to sit wrapped in wires, so two 3m cables for me. One has sensor plug soldered to it:

Image

Now it is time to have the sensor connected to an amplifier. We do not want to write some noise to a tape and to listen to it later. Well, maybe we do, but to be honest, I can not remember, when it was the last time I saw an audio tape. :) Anyway, we need to be able to hear some engine noise instantly, the same moment it comes from an engine. So the idea is to connect the microphone input directly to the head output of the player. This operation may require the head to be dismantled, but it was not necessary in my case - the head was connected to a board with wire. This wire will be connected directly to the mic input.

Grey wire here goes from the head to a board. Two other, green and red, from mic socket to the head. If you look carefully at this pic, you'll see "mic" stamped on a board. This is the place where 3.5mm socket is mounted.

Image

Better seen here:

Image

At this stage I have been advised to include one more adjustment component in the schematics. To be able to adjust signal volume, we will put a trimming resistor inline. It will work as a voltage divider.
If principle here seems inclear to you, this link may help you remember Ohm's law.
I've been told that 100 kOhm one would do the job. Here is the theory (scheme):

Image

And here is the realization:

Image
Image

Adjustments can be made by rotating the adjusting screw with a screwdriver.

This is actually it if you can not wait to listen to some knock (not necessarily of your engine). But I myself just wanted to be a little more autonomous, so to speak. So I've spent some time being busy with

3)Optimizing the package

By optimization I mean that we already have a working knock detection solution, it just can be tweaked a little. That is, I just don't like batteries. So I looked at the player once more and found a socket for power supply:

Image.

Later that day I found an AC charger for a really old motorola cell phone. Its plug fitted to a power socket perfectly:

Image

I also had a car charger for my current SonyEricsson, which i decided to sacrifice for a noble cause of powering my knock detector. But player needed ~3 volts, when SE charger delivered full 4.7 volts. So two inline diodes were used, the voltage drop on each is ~0.8 volts. After the soldering it looked like this:

Image

Hidden under a black shrink-wrap are two slim diodes.

4)Lab testing

Here is how complete kit looks like in my case:

Image

Now it needs a little adjustment.
Insert a couple of batteries in the player. Connect the sensor and headphones. Press "play". Rest sensor against some solid surface (not necessarily flat). Try a tap in your bathroom. Turn on water. Listen to the hissing noise, place stock player adjusting knob in middle position. Turn adjusting screw on the trimming resistor until the volume level is comfortable, but preferably on a low side, because your tap is quieter than your engine.

5)Conclusion

Now the system is ready to use. All you need to do is to find a hole on the block, preferably near the combustion chamber, with some flat surface around the hole - sensor will pick more useful sounds from this surface. Factory knock sensor location works the best, but you might need to make an adapter with internal M8 thread for the sensor. Bolt your sensor in there, trying to mount it solidly, otherwise it will fail to pick up all the noise, but not overtighten the bolt. Put an extention cord in any convinient way to a vehicle cabin, plug it into the player, plug phones and power source, put phones on. You're now ready to listen to the car. Start your laptop, plug consult wire into the consult port and into laptop, load nistune, start the car, and open primary ignition map. Now you just need to push the "play" button and start to TUNE. :D

6)Additional notes

Since this was made 4 mounths ago, I may have forgotten some minor details. Those that I remember are:
- When I first switched it on, I tried to listen to everything. :D water plumbing, gas plumbing, TV, my desktop, walls, floor. It works perfectly on solid surfaces, but it is not by any means a stethoscope - I did not hear anything from human body :)
- So far I listened only to CA's and RB's. On these det sounds like a "tick" - something between a spilled rice and a nail that is being hammered to a block. Hard to describe, but it can be clearly heard and recognized
- RB25 is equipped with resonance-type sensors from factory. Their output frequency is ~44kHz, or so I've been told. As far as I know, CA18DET is not equipped with a knock detection in its factory form
- I'm not sure on this one, but I think that detonation sound depends on the block material - I mean, vibroacoustic qualities of aluminum and cast iron are not the same and this may affect the way ping sounds like. I guess SR's and VQ's sound differs from RB's and CA's
- Phormula web site states otherwise - they have a frequency calculator that asks only for your cylinder bore diameter. Prior to building my KDK, I tried to learn as much as internet could provide me with on detonation phenomenon. Besides a couple of really informative web pages, that can be found using right words in google, I highly recommend reading SAE papers on this - 900488 in particular, and a some others. Nissan also holds three or four patents on knock detection and recognition. All these sources mention factors that affect det sound frequency - chamber temperature and bore diameter are the most important.
- I thought about sound filtering but, as I said before, I just rely on my brain in doing all the filtering more than i should on electronics. Nevertheless, if you decide that filtering is the way to go then the basic idea is to read bosch whitepaper on their sound processing unit first. Then you can try to find out what car has a cylinder bore diameter similar to yours (and is equipped with bosch-style knock sensor). You then buy a ECU off of that car wreck and desolder sound processing module. Now you can even roll your own digital knock monitor
- I'm pretty certain that I can NOT detect preignition with this kit. Also I'm certain that none of existing electronically filtered vibration-sensor-based
systems can. Cylinder pressure and temperature monitors are best at this. I've been told and I read that preignition is a very silent event that can very hardly distingushed among all other combustion noises. It is, nevertheless, an engine killer just like det. :)

Sorry for such a long post :D

Posted: Fri Jan 16, 2009 8:51 am
by Legionnaire
Damn, those pics are huge :shock: Is there any kind of resizing mechanism built in the forum engine :?:

Added: Never mind, I'll resize them to 1024x768. If you want to see full res pics (2048 x 1536), add "_orig" to the URL address of a pic, e.g. standard size
http://petros.bluesteel.ru/articles/aut ... or_top.jpg :arrow:
http://petros.bluesteel.ru/articles/aut ... or_top.jpg - big size

Posted: Fri Jan 16, 2009 12:06 pm
by MichaS14a
Thank you very much for your tutorial!!!! :-)

Now I must search where I can get the knock sensor itself and then I try to make a solution that runs with a CarPC instead of a cassette player. I hope if the noise from the knock sensor will be amplified by a car amplifier via a CarPC this runs as fine as your solution.
If it runs I will post the solution also.

Posted: Fri Jan 16, 2009 12:15 pm
by PL
Another solution for the amplifier part is this little project from Jaycar. They are an Australian company but I'm sure there would be even better stuff available overseas.

They do a little amp module based on the LM386 audio amp IC. The whole module is tiny (I built this into my headphones) and costs $AU6!

http://www.jaycar.com.au/productView.as ... &SUBCATID=

PL

Posted: Fri Jan 16, 2009 12:21 pm
by MichaS14a
Do you think it is better to use Headphones instead of playing the noise from the knock sensor through the car loudspeakers?
If this is the case it is useless to build up a solution that runs with a CarPC.

Do you have pictures from your solution?

Posted: Fri Jan 16, 2009 12:45 pm
by Legionnaire
PL, nice little module, but what are you using as a power source for it?

MichaS14a, thanks for your thanks :)
And you definitely DO NOT want to use your car sound system as a det monitor. People around you will immediately fall on the ground, covering their heads from machine gun fire and ask authorities of imposing martial law :lol:

Posted: Fri Jan 16, 2009 12:59 pm
by PL
I'll go the headphones every time. Any system will have its effectiveness compromised if you can't keep vehicle noise out.

I tune mainly on a dyno so ambient noise is bad. By using a decent set of headphones you can keep a lot of unwanted noise out. Particularly with race cars/buggies. Road cars that still have full interiors are much better - I put all the windows up and then headphones as well. Makes it very easy to pick knock then.

If it was just for your own car (and it is nice and quiet inside) then putting it through the stereo may well work OK. I've found that I can hear knock very easily at low to mid rpm when doing road tuning even without any form of det cans as long as the car is quiet inside. At high RPM you're much better off with det cans though.

I'm about to change my shoddy prototype setup (I cobbled it together very roughly with bare wires and gaffa tape...) to something a little nicer, so I'll take some photos as I go and put it all up on my website.

I recently did a set for a local tuner friend and he's very happy with them. They used to either get somebody to stick their head under the bonnet when doing dyno runs - or use Chassis Ears.

Chassis Ears are just rubbish IMHO but the old head under the bonnet trick works very well. You just need to clamp a good set of earmuffs tightly to your head - once again to get rid of general engine noise. I can hear knock clear as a bell doing it this way - but it can only be done on a dyno, it's dangerous and it takes two people.

PL