Author Topic: tests for knock sensor  (Read 57836 times)

Offline Sprocket

  • Hero Member
  • *****
  • Posts: 867
  • BHP: 29
Re: tests for knock sensor
« Reply #15 on: March 27, 2008, 10:25:53 pm »
ok so maybe i was able to answer some of my own questions.

doesn't look like this is how megatune sets the values. i'll have to head back to the garage and try this out

From firmware page, reference 1.1.26

knock_chan=F0 disables knock. Other values select bank individually for each ignition event (practical for V8, V6, I6 and even I5 where there are more than 1 knock sensors).
    * knock_chan=00 selects knock channel 0 for all ignition entries
    * knock_chan=FF selects knock channel 1 for all ignition entries
    * knock_chan=AA selects knock channel 1 for every other ignition entries. Bit7 is for entry0 (belongs to the topmost entry in the MegaTune ignition output and reftooth tables). 0x55 is obviously the inverse, bit7=0 so the sensor belonging to the cyl fired by the topmost ignition entry must be connected to knoch channel 0 (the only knock channel normally).

a little confusing, but it looks like just what i need


If i understand this correctly, from what Rob said a while ago regarding the knock channel numbering. knock_chan=00 selects knock channel 0 for all ignition entries, only one sensor is in use and samples each knock window. If knock_chan=FF selects knock channel 1 for all ignition entries, would suggest two knock sensors are in use and both simuntainiusly sample each knock window. knock_chan=AA selects knock channel 1 for every other ignition entries, would suggest two knock sensors are in use but, one on each head of a V8, V6 or flat 4 and each knock window is sampled by each sensor alternately as per the ignition sequence in h[2] table

??

Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: tests for knock sensor
« Reply #16 on: March 28, 2008, 10:22:57 am »
Thats pretty much as I understand it.  With a straight 6 I think the pattern will be different again as some I've seen have two sensors for three cylinders.

Offline billman

  • Full Member
  • ***
  • Posts: 223
  • BHP: 2
Re: tests for knock sensor
« Reply #17 on: April 11, 2008, 11:47:04 pm »
Nice infos guys, but i dont get even the half of it. Could you please tell me if there are any settings for the for the Audi I5 that we could use in MT? My MT shows Channel 0 and channel 1. Nothing else.
« Last Edit: April 11, 2008, 11:59:51 pm by billman »

Offline multiplex

  • Full Member
  • ***
  • Posts: 151
  • BHP: 6
Re: tests for knock sensor
« Reply #18 on: April 12, 2008, 02:40:31 am »
with the current config file for megatune, you can't directly set the proper knock value. You will either need to use the terminal console, or the keyboard and LCD display.  Hopefully that will be fixed soon. wish i knew how to edit it to that extreme

So your motor has two knock sensors?

Where are they located? Or which cylinders do they cover?

if your firing order is  1-2-4-5-3

Assuming Sensor 1 covered 1,2,3  and sensor 2 covered 4,5

your config in binary would be

0 0 1 1 0 [ 0 0 0]   The last three bits don't matter as they don't represent actual cylinders

So changing this into Hex it would be 30h, or in decimal 48

Hope that helps!
 

Offline billman

  • Full Member
  • ***
  • Posts: 223
  • BHP: 2
Re: tests for knock sensor
« Reply #19 on: April 12, 2008, 09:15:47 am »
Can you plase give me exact instruction on what to write in the terminal. I dont have Keyboard and LCD either and i dont know the commands for terminal. Where should i give the the hex or decimal values?
« Last Edit: April 12, 2008, 09:35:38 am by billman »

Offline GintsK

  • Hero Member
  • *****
  • Posts: 1257
  • BHP: 50
Re: tests for knock sensor
« Reply #20 on: April 12, 2008, 10:25:19 am »
In fact I5 firing order is 5-3-1-2-4. because first spark after trigger becomes in 5th cylinder.
                                1-0-0-0-1-0-0-0 in theory must work.

Disappointing aspect is Megatunes incompatibility.





Offline billman

  • Full Member
  • ***
  • Posts: 223
  • BHP: 2
Re: tests for knock sensor
« Reply #21 on: April 12, 2008, 01:02:42 pm »
what command should i use in terminal so i can get the knock to work. I dont know nothing about terminal commands.

Sorry for my ignorance and thanks for your help.

Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: tests for knock sensor
« Reply #22 on: April 12, 2008, 02:58:39 pm »
I don't know that you have to use Terminal to configure the knock setup, MT should do it fine.

Offline billman

  • Full Member
  • ***
  • Posts: 223
  • BHP: 2
Re: tests for knock sensor
« Reply #23 on: April 12, 2008, 04:23:15 pm »
These are the settings i have now but they doesnt seem to work:



Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: tests for knock sensor
« Reply #24 on: April 12, 2008, 06:35:31 pm »
So you're getting detonation but not seeing any retardation?

Offline billman

  • Full Member
  • ***
  • Posts: 223
  • BHP: 2
Re: tests for knock sensor
« Reply #25 on: April 12, 2008, 07:41:51 pm »
No, i hit the engine and the sensor with a tool and got almost no knock diff.

Offline billman

  • Full Member
  • ***
  • Posts: 223
  • BHP: 2
Re: tests for knock sensor
« Reply #26 on: June 26, 2008, 01:10:07 pm »
Is there any new infos on how to set the knock sensors up on the Audi I5 engine? Still dont know what to give on the terminal or what values to put in the config files.

Offline Denmark

  • Hero Member
  • *****
  • Posts: 542
  • BHP: 7
Re: tests for knock sensor
« Reply #27 on: June 26, 2008, 06:16:12 pm »
This is so complex that it seems that no one can use it, so i think it´s junk, so just skip it,

as i have said early´er i have a knocklink mounted on my car, and it´s showing the big red led, anytime there is knock, this is a really simple device, the only thing that can be changed is the volume on the "noise", that it detects,

I belive for anyone to have any use of the knock settings, it need to be as simple as that,
on a Link ECU that is just the knockthreshold that needs to be definded,
Meaning that on a scale from 0-255, you deside when ever there is knock, and it will then take action, and retard....

also like this....

http://aztecperformance.co.uk/gizzmo_shift_light_dual_stage.aspx

http://www.linkecu.com/products/AncillaryDevices/KnockLink



/Skassa
working on the boxer

Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: tests for knock sensor
« Reply #28 on: June 27, 2008, 10:19:38 am »
It's complex, but there are many that use it, and its certainly not junk.
dnb has been doing a lot of work on the knock sensor and has had some good results from what I've seen.  It did require a change to the values in the vemsv3.ini file.

Rob

Offline dnb

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 837
  • BHP: 19
Re: tests for knock sensor
« Reply #29 on: June 27, 2008, 03:50:18 pm »
As Rob says, I have been getting half-sensible readings of knock on my TVR.  What you need to do is tweak the vems_v3.ini file so that it can report the "knock_signal" and "knock_noise" parameters.

The one you're interested in is the signal - the noise is just an estimate of the background, and it's mostly contamintated with other cylinders, (at least in my case!) so I ignore it. 

Once you have the signal parameter being logged, then you have the equivilent of a knock link.

The next stage hasn't happened yet - my young daughter consumes what used to be my programming time at night ;)