About Us Knowledge Base Community Forum Electronics Toolbox FAQ Shipping & Delivery

Community Forum

Share your projects and post your questions

Search
Register or Sign In
Forum

Noisy output

118 Views - Created 37 days ago

37 days ago

Posted by:
Manbehindthemadness

Users Avatar

So I'm using the built-in exemplary Kalman filters from the get hub repository. The output is still fairly noisy, is there a way to adjust the number of samples that are being evaluated to get a smoother measurement? My application requires the measurement fluctuation within +-2.5 degrees.

36 days ago

Posted by:
andrew

Users Avatar

Location:
United Kingdom

Users Twitter  Users Website  

Could you post a link to the Kalman filter you are using so i can see how it works?

If you are getting excessive noise it may be better to try and eliminate the noise before it enters the ADC instead of trying to filter it afterwards.

Check the power supplies you are using for the Raspberry Pi and the sensor to see if they are noisy.  You could try adding capacitors or LC filters to the power supply to smooth the output and reduce high frequency noise.

You could try adding an RC low pass filter between your sensor and the ADC to reduce noise levels.  Analog has a good article on filter design for ADCs on their website that may help you with your problem.

AB Electronics UK Tech Support

36 days ago

Posted by:
Manbehindthemadness

Users Avatar

I will have a look at that article, I am using a Kalyan filter based on the one you supplied in the OEM code repo out on github. The power supply is a regulated 2s1p 7.4v 11ah lipo pack with discharge protection down stepped to 5v 3a via UBEC.

36 days ago

Posted by:
Manbehindthemadness

Users Avatar

As I typed that I realized the problem, noise from a cooling fan, I'm an idiot.

Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view, download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.