Physics Forums

## Determining the Cut-off Frequency of a MEMS Accelerometer

Greetings Forum,
I just bought an Invensense MPU-6050, I need to design an LPF to filter the noise. How do I analyse the signal and how do I determine the frequency beyond which the signal is altered by noise.
Thanks in advance for your help.

Cheers

PhysOrg.com  engineering news on PhysOrg.com  >> Researchers use light projector and single-pixel detectors to create 3-D images>> GPS solution provides 3-minute tsunami alerts>> Single-pixel power: Scientists make 3-D images without a camera

Mentor

Quote by rahlk 					 				 				Greetings Forum, I just bought an Invensense MPU-6050, I need to design an LPF to filter the noise. How do I analyse the signal and how do I determine the frequency beyond which the signal is altered by noise.  Thanks in advance for your help.  Cheers
Can you post a link to the datasheet? Are there any application notes at the manufacturer's website? What are you going to be connecting this accelerometer to?

I will be using it to estimate the tilt angle. I am going to interface it to a microcontroller. In fact, I need to submit a term paper on this, so I'll have to describe my filter quite clearly. The Datasheet - http://www.cdiweb.com/datasheets/inv...-MPU-6000A.pdf

Mentor

## Determining the Cut-off Frequency of a MEMS Accelerometer

Quote by rahlk 					 				 				I will be using it to estimate the tilt angle. I am going to interface it to a microcontroller. In fact, I need to submit a term paper on this, so I'll have to describe my filter quite clearly. The Datasheet - http://www.cdiweb.com/datasheets/inv...-MPU-6000A.pdf
Since this is for a school project, you will need to describe the filter quite clearly to *us*! We don't do your schoolwork projects for you here. We can offer some hints and tutorial help, but you must do the bulk of the work on your schoolwork projects.

So tell us what you see in the datasheet. Are there any app notes? What kind of noise do you expect in your data acquisition setup? What order and polynomial do you think you will want to use in your project, and *why*?

Well, accelerometer is subject to several sources of high frequency noise, including thermal, electrical and mechanical vibrations. I thought of developing a simple first order, single-pole infinite impulse response LPF, given by,  y(n) = α.y(n-1) + (1-α).x(n), where,  x(n) = current accelerometer reading, y(n) = current estimate; y(n-1) = previous estimate.  My issue is with determination of alpha. If sampling frequency is Fs then,  α = $\frac{\tau Fs}{1+\tau Fs}$. and,  $\tau$ = $\frac{1}{2\pi Fc}$.  Once I determine Fc, I can justify my choice of α. Now, If the device were analog in nature, I could have designed an RC LPF, got the state equations, taken a laplace transform and applied Bilinear Z Transform to get the digital equivalent. But this device gives acceleration in digital format, a 16 bit number.  I need to be able to somehow use Fourier analysis or some such technique to work on this digital data directly. I would be delighted to get some help on clarifying this conundrum.

Quote by rahlk 					 				 				Once I determine Fc, I can justify my choice of α. Now, If the device were analog in nature, I could have designed an RC LPF, got the state equations, taken a laplace transform and applied Bilinear Z Transform to get the digital equivalent. But this device gives acceleration in digital format, a 16 bit number.
Why would that be a problem? You've gone through the process of designing a digital LPF, starting with an analogue prototype. If you were applying your filter to an analogue signal you would have to digitise the signal then filter it. But here the signal has already been digitised for you so you just need to read the signal out of the MEMS sensor (remembering to keep up with the Nyquist sampling rate requirements) then run it through your digital LPF implementation.

I need to be able to somehow use Fourier analysis or some such technique to work on this digital data directly.
What makes you think you need the complexity of using Fourier analysis? It might be worth trying out a simpler digital LPF first and moving up to more complex designs later if you find the filtering isn't adequate.

I need to design an LPF to filter the noise. How do I analyse the signal and how do I determine the frequency beyond which the signal is altered by noise.
Try considering what maximum frequency you need for your accelerometer signal to make your application work. You can then choose a LPF to filter off noise above this frequency. If you find it hard to get good estimates for your filter requirements it could be worthwhile building a rough prototype and experimenting with it to see how your estimates work in practice.

Tags
accelerometer, cut-off frequency, low pass filter

Thread Tools

|                                                                                |                                              |         |
|--------------------------------------------------------------------------------|----------------------------------------------|---------|
| Similar Threads for: Determining the Cut-off Frequency of a MEMS Accelerometer |                                              |         |
| Thread                                                                         | Forum                                        | Replies |
|                                                                                | General Physics                              | 1       |
|                                                                                | Introductory Physics Homework                | 4       |
|                                                                                | General Physics                              | 5       |
|                                                                                | Introductory Physics Homework                | 3       |
|                                                                                | Engineering, Comp Sci, & Technology Homework | 1       |
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 3, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9144262671470642, "perplexity_flag": "middle"}