Low-pass filter

All sensor specific discussions! Temperature, pressure, steering angle, brake and throttle, etc. Post adaptations of OEM-style sensors, and also your clever DIY hacks and custom designs here too!

Moderators: JeffC, rdoherty, stieg

Post Reply
zechdz
Posts: 44
Joined: Sun Nov 08, 2015 3:04 pm

Low-pass filter

Post by zechdz »

Is there a way to apply a low pass filter on analog data?

Check out my braking data, I would like to see it without the high freq fluctuations from the sensitive sensor.

https://podium.live/events/2016-04-23-t ... ?laps[]=21
vroom

Mash
Posts: 19
Joined: Sun Dec 27, 2015 7:23 am

Post by Mash »

There is a simple IIR low pass filter that you can change in a config file. It's not exposed in the GUI, so you have to adjust it in the file directly.

rdoherty
Posts: 215
Joined: Fri Mar 08, 2013 3:32 am

Post by rdoherty »

Yup, if you save your configuration file, then open it with a text editor there is the 'alpha' option. The smaller the value, the more filtering.

Image

Open your config, find the 'analogCfg' section, then find the channel you want to edit. Save the file, open the config in the RC app and save it to RCP. We have it on our feature list to allow this to be set via the app.
Ryan Doherty
Autosports Labs

razorlab
Posts: 2
Joined: Mon Aug 28, 2017 8:55 pm

Post by razorlab »

Is this exposed in the UI yet or do I need to do the config file change still?

dewittpayne
Posts: 67
Joined: Sun Dec 11, 2016 1:07 am

Post by dewittpayne »

That looks like an exponentially weighted moving average filter. You want to make big changes in alpha. I'd start with 0.5, alpha/2, then if that's not enough go to 0.33, 0.25....

Post Reply