Programmable digital knock filter?

Ecu Hardware Modifications
User avatar
festy
Posts: 1039
Joined: Sat Apr 30, 2011 6:27 pm
cars: Alfa Romeos
Location: Narellan, NSW

Re: Programmable digital knock filter?

Post by festy »

You're getting some great results there :thumbup:
Logging the knock filter as an analogue voltage is never going to be a great solution (as you've found out) - but I guess it can't be too bad because it's doing a decent enough job.
VX L67 Getrag
Posts: 2877
Joined: Sun Aug 02, 2009 9:16 pm
Location: Bayside, Melbourne, Victoria
Contact:

Re: Programmable digital knock filter?

Post by VX L67 Getrag »

I can log it as a digital input if that's going to make it better?
User avatar
festy
Posts: 1039
Joined: Sat Apr 30, 2011 6:27 pm
cars: Alfa Romeos
Location: Narellan, NSW

Re: Programmable digital knock filter?

Post by festy »

I don't think that will make it any better.
Using either an analogue or digital input, each time the ALDL message is sent the ECU reads the current state of the input and sends the result (on/off for digital or a voltage for analogue).
But as you found, the ALDL messages are being sent at a minimum space of 70ms.
There could be 50 knock events between two messages, but if the input was off at the instant that the ECU read it then it shows up as no knock.
By setting the "knock sustain" to around the time between tow ALDL messages (70-120ms), it pretty much makes sure the knock event is logged.
That much knock sustain isn't much good if you're using the filter module for ignition control, but in your situation it's a good solution.

I understand the 808's knock input pin is a counter, so rather than the state of the pin being read and sent in the ALDL message, the ECU increments a counter every time the pin's state changes and that number is what's sent - so having a long knock sustain duration wouldn't be a good idea there.

The old Bosch Motronic ECUs I've been playing with have no knock control, but they do have high/low octane map selection from an external pin (like 12P's map A/B selection).
With these ECUs, this knock filter could be connected to the octane pin and everytime knock was detected it would switch back to the low octane maps for the duration.
By setting the knock sustain to a suitably long period, the timing would be backed off when knock started, and would switch back after the knock sustain time was up.
it's not a perfect solution, but gives basic KR without having to modify the ECU or maps at all.
User avatar
antus
Site Admin
Posts: 8238
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Programmable digital knock filter?

Post by antus »

what is the problem your trying to solve? does 12Ps knock count logging not help?
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
User avatar
festy
Posts: 1039
Joined: Sat Apr 30, 2011 6:27 pm
cars: Alfa Romeos
Location: Narellan, NSW

Re: Programmable digital knock filter?

Post by festy »

No, 12P is fantastic - the problem is logging it on other ECUs that don't have a counter input that can be used.
VX overcame it by changing a setting on the module to keep the knock signal active long enough for it to be picked up.
He had a LED indicator connected and was seeing the knock there, but it was too quick to be logged to start with.
User avatar
delcowizzid
Posts: 5493
Joined: Sat Feb 28, 2009 8:38 pm
Location: Wellington NZ
Contact:

Re: Programmable digital knock filter?

Post by delcowizzid »

most people would have knock ears on when tuning anyway and would hear knock before it triggers the knock sensor
If Its Got Gas Or Ass Count Me In.if it cant be fixed with a hammer you have an electrical problem
User avatar
VL400
Posts: 4991
Joined: Sun Mar 01, 2009 2:54 pm
cars: VL Calais and Toyota Landcruiser. Plus some toys :)
Location: Perth, WA
Contact:

Re: Programmable digital knock filter?

Post by VL400 »

The digital inputs of the logger are counter inputs, they measure freq or duty cycle. Might be able to have the option so it accumulates and gets reset after the aldl packet has been sent.
User avatar
festy
Posts: 1039
Joined: Sat Apr 30, 2011 6:27 pm
cars: Alfa Romeos
Location: Narellan, NSW

Re: Programmable digital knock filter?

Post by festy »

If anyone is interested in one of these knock modules, I've got a small number for sale.
kojab
Posts: 440
Joined: Sun Mar 22, 2009 11:52 am
cars: VT V6 supercharged in a corolla
Location: Sydney
Contact:

Re: Programmable digital knock filter?

Post by kojab »

Please put me down for one.
User avatar
delcowizzid
Posts: 5493
Joined: Sat Feb 28, 2009 8:38 pm
Location: Wellington NZ
Contact:

Re: Programmable digital knock filter?

Post by delcowizzid »

im keen mate
If Its Got Gas Or Ass Count Me In.if it cant be fixed with a hammer you have an electrical problem
Post Reply