I'd really like to use knock logic in my project, but I have Frankenso. I understand it's currently only on some boards (Proteus and hellen?). Is there a reason we can't activate the logic on other boards? I have no issue repinning the harness to put knock on ADC03.
Thanks Andrey. I wish I were more help on software, but looking at the code I feel like a six year old attempting to figure out how an Airbus A320 works.
Re: Software knock processing
Posted: Sat Mar 23, 2024 12:14 pm
by AndreyB
vag0dr04er is teasing me so let me tease everyone else
WhatsApp Image 2024-03-23 at 06.08.18_348ef01d.jpg (347.64 KiB) Viewed 2466 times
Re: Software knock processing
Posted: Fri Apr 19, 2024 1:07 am
by AndreyB
Re: Software knock processing
Posted: Thu Apr 25, 2024 7:36 pm
by tmbryhn
Great demo video
I've been playing around with knock in RusEFi for some time, and come across a limitation in flexibility that sets it apart from eg. MS3 that uses the dedicated TI knock DSP chip.
Particularly on setups that utilises one knock sensor, there's sometimes a non-trivial delta in peak noise level generated by the individual cylinders. On systems using a global knock threshold (like RusEFi and MS3), this can be problematic to fine tune unless a sound gain can be defined on a per-cylinder basis. MS3 has this feature as a part of the DSP stage which allows for a more or less equal amplitude between the different cylinders.
As I understand it, RusEFi operates with a fixed gain analog filter input feeding directly into the dedicated knock DSP ADC. To implement a variable gain feature; could instead the digital value generated by the ADC be scaled by a variable factor associated with each cylinder as a type of "software gain" feature?