MembersPage/FPhil/KnockDetectionTesting (2011-10-13 06:59:47)

I want to test the knock detection function on a bench before on the car...

Knock signal is from frequency generator and I can also use the ignition signal to make some noise.

PREPARING

1) Genboad is Vems V3.6, firmware 1.1.90. I get the knock sub menu under the tool menu !!! weird ?? ok I download firmware 1.1.95.

2) Genboad is Vems V3.6, firmware 1.1.95. I get 2 Knock submenus in the Base Setup Menu.

3) Wiring

As said on the sheet which came with the Vems V3.6 ECU, pin outs are

No second wire input, the second wire from the sensor has to go with the other sensor grounds.

This is a quite different setting from the previous version as shown by Phat Bob/User guide, but alright.

It is also said on the sheet that there is a pull up for Knock 2? Are we using Variable Reluctance accelerometer ? probably no, they are all piezo.

Thanks for an explanation. Anyway I would go for EC18-2.

4) Knock menus

Knock detection is done by the TPIC8101 chip and by firmware for threshold and scale factors calculation.

The TPIC8101 setup is given the "Knock Sampling" (why this name ??) submenu which options are quite clear except for the way the Genboard input is linked with the CH1 and CH2 inputs of the chip. This should be done through the knock_chan parameter.

'knock_chan'

Some values of the knock_chan are related to the SD Card function. I do not see why...

"Knock_chan = F0 disables knock

Knock_chan=00 select knock channel 0 for all ignition entry

Knock_chan=FF selects knock channel 1 for all ignition entries

Knock_chan= AA selects knock channe1 for every other ignition entries … )

knock_threshold and knock_noise_scale

They are with the Knock Action submenu. (why not to have sub menus "Knock set up" and "Knock action"

I was not able to find definition for these parameters.

4) Output

To observe the output of the knock detection function we possibly have

I probably should go first with Knock Diff and Knock gauges even if I do not understand what they are supposed to show.

TESTING with Vems V3.6

1-Input : 2 Vpp sine wave at different frequencies on EC18-2, testing any combination of the parameters and channels and playing with knock_threshold and knock_noise_scale.

-> NO OUTPUT ON ANY GAUGE

2) Input : an ignition signal

Indeed I thought that there may be no detection if the noise is the same inside and outside of the window detection.

-> NO OUTPUT ON ANY GAUGE

TESTING with Vems V3.3

Knock sensor input is EC18-1 for Knock 1 or EC18-3 for knock 2. I select channel 0, this is for Knock 1, I put Knock_chan=0.

Whatever I did as above

-> NO OUTPUT ON ANY GAUGE

Then I looked the mcd page 05

I made firts the thing running:

mlp04mll

RPM:1002 kPa:129

La:13.4 EgoC:094

Clt:-40C Air:-40

Egt:0021 Tps:max

* the EC18-1 not connected to any wire

mlp05mllAdv:+13 dwell:362

S:021C L:09C3

D:005B 00 15 d: -128

R:00D9 ka:00 00 70

Or

Adv:+13 dwell:362

S:021C L:09C2

D:0053 00 25 d: -122

R:00D9 ka:00 00 38

Bob seems to know what are D and R, I do not

Adv:+13 dwell:362

S:021C L:09C2

D:03F5 00 45 d: -?19

R:09E4 ka:00 00 05

HELP REQUIRED

I do not see what else to do.

Does someone know how to test the knock detection function on a bench?


We are just reworking the knock code.

The inputs are as [in shop]

We'll get back to it soon, thanx !

  • Hint: the firmware change page should say that the knock function is disabled for 1.1.95 (if it is the case)

An S2Forum member that tunes Motornic ECUs commented the following as t ohow Motronic works in regard to the Knock sensing:

"AFAIK there is no frequency filtering in Motronic 2.3.2... the frequency filter is built into the knock sensors.

There are three gates - one for knock window, and one on each sensor to select which sensor to listen to.

Then there is a special resistor array that it controls, and using that resistor array it selects gain. It dynamically alters gain based on noise.

The most important thing to make a good knock detection system is knock window. Without knock window, you will never reach a very good result. Motronic uses hall sensor for that, to determine engine phasing and time the knock window and knock sensor select events.

The way motronic works is, after every ignition event, after the knock window passes, it runs an algorithm (threshold mappable, some other things too) to determine whether knock has occured.

If knock has occured, next time an ignition event happens, timing is retarded for that cylinder.

Knock control is adaptive, this means that it retards the timing based on a constantly changing map. In that map it remembers how many times it had to step back from the base timing before to achieve knock free operation. Then it starts slowly advancing the timing back up.

You don't see any of that happening in VAG-COM, this is all handled by boost/knock chip.

If the knocking is persistant, then the boost/knock chip sends a request to the fuel chip to increase safety. Based on some parameters the fuel chip decides if it should step down a map (to lower octane timing map) or to enrich fuel. This is when you see a jump in timing or IPW in VAG-COM.

If knocking continues, or if the knocking was on many cyls in a row, it also starts cutting boost bit by bit...

in newer Motronics this is handled by a separate chip, which also has bandpass filter.

It is Bosch CC195, http://common.leocom.jp/datasheets/174382_22751.pdf or newer chips.

In the old Motronics it is an analogue schematic on the board and a bandpass filter is built into the knock sensors themselves.

There is a less proprietary circuit, from Texas Instruments, which should handle knock detection quite well. VEMS needs something like that...

Here is the datasheet:

http://www.ti.com/lit/ds/symlink/tpic8101.pdf

And here is an interesting paper about knock detection from TI:

http://www.ti.com.cn/cn/lit/an/spra039/spra039.pdf

I suggest reading it, worth it's value in gold"