Skip to content

RocketEDA/knock-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

knock-controller

Open source knock controller

How it works

At the front, signals are converted to MCU compatible (0-5V) levels. C1 decouples the signal such that rpm noise is removed ("windowing"). The total resulting gain is 0.1 image The upper section is a peak detector. This allows the small pulse to be held long enough such that the ecu's logger has a chance to log it. log_sync requires a pulse every log cycle to reset the peak detector. For speeduino this can be done here by adding digitalWrite(high) and subsequent digitalWrite(low) at line 40, in case 14. image During runtime, the retarder signal is what saves the engine. Taking the output directly from the INA, should the signal be greater than the adjustable "retard trigger level" it will instantly fire a signal at retarder_out. RV2 allows adjusting the duration the retarder will be held on, at 500k it should be around 70s. Once C10 discharges past 1V (pin 4 of U6), the signal will turn off. image

V1 design work has been completed, waiting on parts for debugging

goal setting

Phase I: Primitive knock system.

  • use decoupling capacitor to remove the DC component from the piezo sensor, ambient noise from the engine running
  • sample and hold knock long enough for speeduino to datalog
  • comparator setup to:
    • output a retarder signal for ignition retard, like nitrous retard on speeduino, to protect engine instantly when knock

About

Open source knock controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages