Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912
This commit is contained in:
parent
1caeef7ca2
commit
8f06008239
|
@ -12,4 +12,5 @@
|
||||||
void configureFiatIAQ_P8(TriggerWaveform * s);
|
void configureFiatIAQ_P8(TriggerWaveform * s);
|
||||||
void configureDaihatsu4(TriggerWaveform * s);
|
void configureDaihatsu4(TriggerWaveform * s);
|
||||||
void configureFordST170(TriggerWaveform * s);
|
void configureFordST170(TriggerWaveform * s);
|
||||||
|
void configureTriTach(TriggerWaveform * s);
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@ void addSkippedToothTriggerEvents(trigger_wheel_e wheel, TriggerWaveform *s, int
|
||||||
|
|
||||||
float angleDown = engineCycle / totalTeethCount * (totalTeethCount - skippedCount - 1 + (1 - toothWidth));
|
float angleDown = engineCycle / totalTeethCount * (totalTeethCount - skippedCount - 1 + (1 - toothWidth));
|
||||||
s->addEventClamped(offset + angleDown, wheel, TV_RISE, filterLeft, filterRight);
|
s->addEventClamped(offset + angleDown, wheel, TV_RISE, filterLeft, filterRight);
|
||||||
|
// custom handling of last event in order to avoid rounding error
|
||||||
s->addEventClamped(offset + engineCycle, wheel, TV_FALL, filterLeft, filterRight);
|
s->addEventClamped(offset + engineCycle, wheel, TV_FALL, filterLeft, filterRight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue