Page 1 of 1

Smoothing

Posted: Wed Jun 27, 2018 3:19 am
by wcorredor
Can you document or give us insight about the new smoothing feature and how it works and how to configure it?
Will it replace the averaging loops that we used in lĂșa scripting? It would be great to remove them as they take plenty of space.
Thanks
Wcorredor

Smoothing

Posted: Fri Jun 29, 2018 8:07 pm
by wcorredor
Any comments on this?

Posted: Mon Jul 02, 2018 9:44 pm
by tfriest
I'm curious if I can use smoothing instead of the current RPM filter I have.

My raw RPMs fluctuate wildly and the current filter I have (throws out both low and high values) only helps a little.

Posted: Mon Jul 09, 2018 9:37 pm
by brentp
The smoothing filter should eliminate the need for using averaging filters in most cases. We're working on expanding the dynamic range for the smoothing filter to about 200 ms decay between min / max, to improve handling of fuel tank slosh. That should be out in the 2.13.6 or 2.14.0 firmware, whichever comes out first.

Smoothing changes values

Posted: Wed Aug 01, 2018 2:42 am
by wcorredor
I tried the smoothing on the analog channels. It works well as far as smoothing but it changes the average values it reads. For example, the voltage from the fuel sender when empty was 0.84V, measured both with a volt meter and with the Racecapture raw. Once I put the smoothing value, 98 for example, and move the sender to simulate full, and back to empty it starts slowly to go down. However, after it smooths completely, the value in Racecapture is 1.20V. It never goes down to the real value any longer.

It is OK, as it smooth well, but I had to change the curve of the mapping to reflect higher values in the entire scale. They do stay proportional.

Is that what you intended? It is strange.

Posted: Wed Aug 01, 2018 2:47 am
by brentp
Hi,

Which firmware are you seeing this on?

We are changing the smoothing algorithm in 2.14.0 firmware to extend the dynamic range, to account for fuel level sensors needing even more smoothing. This may change the results you are seeing.

Posted: Wed Aug 01, 2018 3:21 am
by wcorredor
2.13.5

It actually works well with gas. It takes about 1 minute from full to empty. But it just changes the values.