speeduino icon indicating copy to clipboard operation
speeduino copied to clipboard

Changes to the Dual wheel decoder

Open TBAMax opened this issue 3 years ago • 0 comments

Changes to the Dual Wheel decoder mainly to improve high frequency noise rejection, and stability under noisy conditions. New filtering scheme designed to effectively filter out high frequency pulses (that usually come from ignition system).

Improvement is done by filtering out all small pulses before and after active trigger edge. Prior art was to filter only for some time after the active trigger edge. Testing was showing big improvement in stability with system that previously was struggling with noise issues.

New filter level descriptions: Off level is off as usual. Lite level is fixed small level dependent of the trigger tooth count. Medium level is fixed shortest possible time that there can be between crank teeth (ie at max RPM). Agressive level is variable 50% of the last gap.

Per tooth ignition mode is dropped in this implementation! Mainly because the trigger edge is timestamped with exact time, but is not latched(or confirmed) until after determined filtering time to avoid triggering on false small noise impulses. Because of this the per tooth ignition is also slightly delayed and needs to be reimplemented.

TBAMax avatar Sep 02 '21 23:09 TBAMax