×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

# Accelerometer Noise

## Accelerometer Noise

(OP)
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.

### RE: Accelerometer Noise

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 - http://www.flaminsystems.com

### RE: Accelerometer Noise

Keith- Dizzy? :)

-AK2DM

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

### RE: Accelerometer Noise

(OP)
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?

### RE: Accelerometer Noise

(OP)
Also, as requested, the precision testing apparatus in my shop (bike crank with accelerometer and bike on a stand)

### RE: Accelerometer Noise

I suspect the signal wires are too long. The sample rate is set by output side capacitors; it's possible that the length of wire is coupling too much capacitance for the sensor to drive. Putting the microprocessor on the pedal with much shorter connections may help.

See https://www.analog.com/media/en/technical-document...

### RE: Accelerometer Noise

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"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

### RE: Accelerometer Noise

(OP)
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.

### RE: Accelerometer Noise

(OP)
Top view of shake table, with screw and rails

### RE: Accelerometer Noise

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 - http://www.flaminsystems.com

### RE: Accelerometer Noise

(OP)
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.

### RE: Accelerometer Noise

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 - http://www.flaminsystems.com

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

#### Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a partâ€™s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

# Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!