I am using the edge delay function to qualify lambda data. The goal is to ignore any data during rapid throttle movement, and for 1.5 secs after the throttle has stabilized.
I am using 2 calculations.
1. Throttle Pos ROC = abs(derivative('Throttle Pos' [%]))
2. Edge Delay Test = edge_delay('Throttle Pos ROC'<12,1.5,rise)
This works fine if the driver comes on the throttle, or lifts off the throttle cleanly, but if there is a lot of on/off throttle movement in a short period of time the output of formula 2 is unpredictable.
I have attached a log with local math channels. Could someone give this a look and tell me what might be happening?