RegisterSearchFAQMemberlistUsergroupsLog in
Reply to topic Page 1 of 1
User configurable filter
Author Message
Reply with quote
Post User configurable filter 
Because the creator, Brent, doesn't know how each of us will utilize the input channels, and there is disagreement to filter or not to filter,
http://www.autosportlabs.org/viewtopic.php?t=3822
http://www.autosportlabs.org/viewtopic.php?t=3843
http://www.autosportlabs.org/viewtopic.php?t=3836

I hereby request a user configurable filter on each and every input channel (except GPS), analog, pulse, and accelerometer. I envision a library function something like (crudely) shown below. SensFlt=f(SensRaw,swtVal,FC1,FC2). That way each user would have the freedom to configure the filter settings for their particular vehicle characteristics and mounting configuration as well as their preference for data smoothing. In this manner the recorded digital data will more closely approximate the users interpretation of how the physical system behaves.

So for those people who don't want to filter they can select say swtVal=0 for straight pass through.
swtVal==1 selects Filter1 with filter constant FC1.
swtVal==2 selects Filter2 with filter constant FC2.

Maybe Filter 1 could be a PT1 filter and FC1 would be the time constant. Filter 2 could be a rolling average and FC2 would be the number of samples for the rolling average.

Implementation as a library function has advantages of consistent implementation on all signals, one single function for updates and expansion (in case a third type of filter is implemented), and a common configuration interface.

Personal reasons for wanting filtering, see the accelerometer graph. AccelY is the raw signal from the RCP unit. It's too noisy to be of much use, really 1.8g to .5g..... The green and yellow are two different types of post-processed filters. Average lateral acceleration of approximately 1g is much more realistic for a car on sticky street tires.....

View user's profile Send private message
Reply with quote
Post  
GTIspirit,

This is great. Thank you for the writeup. I'm looking at different algorithms and the CPU cost to see if we can do this in real-time in the firmware, and make the settings configurable. They would also be available in the mobile app / RaceAnalyzer as a post-process function as well.

This is an important feature, so watch for some activity around this area.

-Brent


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
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