RegisterSearchFAQMemberlistUsergroupsLog in
Reply to topic Page 1 of 1
Low pass filter on Analog sensors
Author Message
Reply with quote
Post Low pass filter on Analog sensors 
I have a brake pressure sensor that I am using and I wanted to know if there is a way to use a low pass filter on the data before it is sent over telemetry.

https://podium.live/events/2017-02-08-tsukuba-practice/device/pmt-racing-logger?laps[]=50


_________________
vroom
View user's profile Send private message Send e-mail
Reply with quote
Post  
Yes, there is a way to specify that in the configuration, but it's not exposed in the UI, yet.

Open the configuration file and search for the field "alpha". you'll see that it's set to 1.0, which means no filtering. The lower the number, the more filtering you will see. Set it to a lower number greater than 0 and you'll be able to see the effect. 0.1 is a good starting point.


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post  
Ok thank you!


_________________
vroom
View user's profile Send private message Send e-mail
Reply with quote
Post  
I assume that means you're using an exponentially weighted moving average filter. The time constant of an EWMA filter is a function of sampling rate as well as alpha. A higher sampling rate gives a smaller time constant for a given alpha.

View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum