Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Accelerometer Noise

Status
Not open for further replies.

ElronMcK

Structural
Oct 2, 2020
20
0
0
US
Hello my EE friends,
First, I'm sorry for the amateur question. Second, I'm hoping this is the correct forum, since double posting is a grievous sin.
I set up what I thought was plain vanilla instrumentation to measure and record structural vibrations.
Teensy 4.1 (with simple Arduino code) and an 3-axis ADXL 335 accelerometer (+/- 3.0g with 3.3V input) on an Adafruit board.

I am getting a lot of apparent noise with my application.
So I attached my accelerometer to my bike crank and collected some plain vanilla data (i.e. about 2 Hz). Still getting way too much noise. That is, I see lots of jitters - many reversals in the acceleration that are unrealistic. I am also getting a couple of high spikes in acceleration that are unrealistic. See figure below (better resolution in attached Excel graph).
Could this be my code, or the accelerometer? I've got nothing fancy at all. Thanks in advance for any suggestions.

X-axis_bikcrank_vwui4w.jpg


[URL unfurl="true"]https://res.cloudinary.com/engineering-com/image/upload/v1615993342/tips/X_ACCDATA_BikeCrank_01-20210316b_tvaymu.pdf[/url]
 
Replies continue below

Recommended for you

Those devices are kinda noisy so you will get some of that. That said, ugh, this thing puts out analog that you lug over to the processor... Lots and lots of opportunity to intercept more noise.

Got a picture of your on-bike setup?

If you set the accelerometer on a piece of foam rubber and hold your breath what do you get?

Keith Cress
kcress -
 
I ran a desktop study. Excel plot attached.
Little noise when sitting still.
Much noise with even very small movement.

1. do I have the wrong accelerometer? It costs about $20 thru Adafruit. I can spend $7 or $100 on an accelerometer. Not sure how to differentiate based on data sheets. All appear to have capacitors on board and very little noise.

2. Is this level of noise - especially the slow movement in the 6 to 8s range - typical? Unfortunately, this doesn't work for me, as I'm trying to measure structural vibrations and the different between 0.05g and 0.08g is non-trivial.

3. Calibration drift. I manually calibrate the accelerometer "by hand" flipping the accelerometer 180 deg for each axis and viewing the output pins (if there's an easier way, I'd like to know). I did notice drift in a short time. A lot of drift even after 3 minutes. The accelerometer was getting warm after 10 minutes, so I disconnected. Is that normal?

What's the best path forward if I'm trying to measure +/- 2.0 g with 2% accuracy, and sampling systems with less than 10 Hz?

[URL unfurl="true"]https://res.cloudinary.com/engineering-com/image/upload/v1616080672/tips/ACCDATA_desktop20210318_n6enea.pdf[/url]

AccelData_desktop20210318_ds2bu0.png
 
Just a thought for a quick test- try removing the chain from the pedal sprocket and repeat the slow pedal movement.
Wonder if you are picking up extraneous noise from the sprockets/chain system?

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"It's the questions that drive us"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 
IR - I appreciate your sentiment to keep this forum serious and professional.
This is actually serious and professional.
The bike crank in my garage was my attempt at trouble-shooting. To be clear, this is not about bike cranks but instead structural instrumentation on a shake table.
Attached is the shake table accel data, which is the source of my troubles. The bike crank test just provided a confirmation that noise was not just a function of the table.
Shake table input: f = 2.0Hz, A = 5mm. Nema 34 Servo (Teknic) has been auto-tuned already.
[URL unfurl="true"]https://res.cloudinary.com/engineering-com/image/upload/v1616097386/tips/ACCDATA_2.0Hz5mm_post-AutoTune20210315_wwuhap.pdf[/url]
ShakeData2Hz5mm20210315_t6nah6.png
 
I'm looking at the hand-job graph (snicker) but it's in Gs. What's the voltage that is relating to in your setup? We're trying to estimate what the electrical noise verses the signal magnitude is.

If you take a small loop of wire and hook it to a sensitive scope or meter just waving it around cuts DC magnetic field lines caused by things around you including the earth's own field. The more of the earth's field you encompass the more noise you 'create' with movement.

Typically you'd go to great pains to the shield your setup to prevent this. Then you'd do things like amplify the signal to 0-10V and send that down the long wires to the 'input'. Then any uV or mV noise is washed out.

Ideally you get your seismic system setup such that you send power out to the sensor it does all the G sensing right at that spot then pumps out data RS485 type data (numbers) that can't be bugged by wire runs at all. One normally wouldn't take the raw analog data very far and by far I mean more than 6 inches. If you want a noiseless system don't take it more than 2 inches and do that carefully.

Keith Cress
kcress -
 
3DDave and itsmoked: Thanks for the comments, even with the snickering.
I've mounted my accelerometer right next to my board with jumper wires about 4". Noise is significantly reduced to the equivalent of about 0.02g (which is good enough for my application of -1.0 to 1.0g range).
Rookie mistake. Next time I'll come to the forum with better questions.
 
No problem. My first lesson was setting up a very sensitive differential sensor at my then boss's house across from a mountain with an ICBM Air Force Over The Horizon Early Warning RADAR. Every 4 seconds my circuit went bonkers, settled down, went bonkers. Twenty feet of tinfoil helped and proved the problem but didn't fix it.

Keith Cress
kcress -
 
Status
Not open for further replies.
Back
Top