Accelerometer sensitivity

Modelworks

Lifer
Feb 22, 2007
16,240
7
76
I am planning a project in the future that needs to sense movement in 3 dimensions. There are a lot of ways to do it but the easiest I would hope is using an accelerometer sensor. The issue I am having is how sensitive are they ? I need something that can detect movement moving from full stop to next position , with the distance only being a millimeter. I have zero experience with them and this will be my first hobby project using one.
 

CycloWizard

Lifer
Sep 10, 2001
12,348
1
81
As always, the answer is: it depends. How much money do you have to spend? How big can it be? How fast are your accelerations? I'm not terribly familiar with a lot of accelerometers, but I think these three constraints (price, range, size) are usually limiting for most applications. Size matters not only to see whether it will fit on your moving piece, but if the mass of the accelerometer becomes significant compared to the thing you're moving as this will change its inertial characteristics.
 

C1

Platinum Member
Feb 21, 2008
2,336
87
91
Yep. You'll have to evaluate the spec sheets as acceleration is a time dependent thing too (eg, 1mm per nanosec, per sec, per minute, per day, per year, .......)
 

bobsmith1492

Diamond Member
Feb 21, 2004
3,875
3
81
You might be better served with a gyroscope if it is position you are sensing.

I'm working extensively with a small (~2x3mm), cheap 3-axis accelerometer. It's good for +/-8Gs with 8-bit resolution, though I think it does 10-bit if you want. It samples at 125 or 250Hz

The biggest concern is the operating environment. If there is vibration or the accelerometer may be moved (upside-down, sideways, operating in different orientations), then the small movements will be tough to filter out.

The speed at which your device moves is the other concern. If it moves slowly, there won't be much acceleration to pick up and a gyroscope might be a better solution. If it steps quickly, however, you should easily be able to detect the steps in a noise-free environment.
 
May 11, 2008
20,041
1,289
126
I recently bought the 3-axis ADXL325 (5G in 3 dimensions)to play with and build an understanding of these type of sensors. But it seems that for certain applications, even this sensor is not sensitive enough. The ADXL327 might be more usefull for me. It is a 2G sensor in 3 dimensions.
But it is an accelerometer.


Analog devices has a lot of nice gyroscope sensors. Although many manufacturers provide similar options now.
ST has a nice gyroscope sensor too with all logic and analog on board: L3G4200D. I think it is similar in price as the gyroscopes from analog devices.
All have a digital output and are programmable.


Features
Dynamically selectable full scale: ±250/±500/±2000 dps
SPI, I²C digital interfaces
16-bit data output
Fully configurable low-pass and high-pass embedded digital filters
Programmable interrupt generator
Embedded self test
High shock survivability
Ultra-small 4 x 4 x 1 mm³ LGA package


Benefits
Single sensing structure for motion measurement along the three orthogonal axes eliminates cross-axis interference, with benefits in terms of accuracy and reliability
Embedded digital features fully programmable by the user (integrated low-pass and high-pass filters, selectable full scales and output data rates)
Ultra-small package to address space-constraint applications

http://www.st.com/stonline/products/literature/ds/17116.pdf

http://www.st.com/stonline/products/families/sensors/l3g4200d.htm

The forum, is not working well at the moment. Most of the editting buttons do not seem to operate.
 
Last edited:

DanDaManJC

Senior member
Oct 31, 2004
776
0
76
Yeah for ease it'd probably be best to go with one of the sensors that actually outputs digitally versus analog, just to cut out the A->D conversion in the microcontroller. I think it's been a pretty recent development for most of the cheaper sensors to actually have built in digital output too, so you're in luck
 

ModestGamer

Banned
Jun 30, 2010
1,140
0
0
I am planning a project in the future that needs to sense movement in 3 dimensions. There are a lot of ways to do it but the easiest I would hope is using an accelerometer sensor. The issue I am having is how sensitive are they ? I need something that can detect movement moving from full stop to next position , with the distance only being a millimeter. I have zero experience with them and this will be my first hobby project using one.


Well you could always use linear encoders. but that makes the device more mechanically complex. How far does siad object move in total ?
 
May 11, 2008
20,041
1,289
126
Last edited:

DanDaManJC

Senior member
Oct 31, 2004
776
0
76
Thinking of a use of these kind of sensors. It reminded of something i would like to build in the future : a 4 rotor UAV helicopter.

A German company has these as an self assembly (meaning you have to assemble it yourself) packet.

Here is a video :

http://www.youtube.com/watch?v=Y4jtguSF0n4&feature=related

And websites :

http://www.microdrones.com/en_home.php

http://www.orbitgis.com/index.php?c=products/microdrone/md_features.htm

a friend of mine actually did that for a controls capstone. the aerospace dept has ongoing research on how to automate that type of flight... so his project was to build the uav and implement their researched automation algorithm. the first part wasnt too hard, but implementing the algorithm was a bit tougher since it had a lot of complex mathematical theory. didnt end up getting the automatic flight work, but he did learn quite a bit.
 
May 11, 2008
20,041
1,289
126
a friend of mine actually did that for a controls capstone. the aerospace dept has ongoing research on how to automate that type of flight... so his project was to build the uav and implement their researched automation algorithm. the first part wasnt too hard, but implementing the algorithm was a bit tougher since it had a lot of complex mathematical theory. didnt end up getting the automatic flight work, but he did learn quite a bit.

That is interesting.
It is my hobby interest to think up idea's to automate whatever and wherever i can.
At the moment i am planning to build something with parallel kinematics.

I had the idea of using the successive approximation principle as a control feedback system instead of using heavy PID calculations. I am still preparing to start building something to see if it works. It is faster to calculate and faster for adapting to new situations. It would be something i think similar as a fuzzy pid control, but faster and simplified. And multiple SAR algorithms can be run highly parallel.


 
Last edited:

Modelworks

Lifer
Feb 22, 2007
16,240
7
76
A little more detail on the project.
It is going to be a controller for people that do not have much movement ability either because of injury or illness. So someone may be able to move their hand or another body part from left to right over a span of 6 inches and cover that distance in about 3 seconds. Or it may be an arm or hand or head. I have looked at other tracking methods like IR but they really don't work well for this specific situation and commercial devices that do exist are made out of one off components that make them really expensive. Really trying to find a way to do something like this on a much lower budget and was thinking if I could attach something like an accelerometer to a foot to track its motion that might work.
 
May 11, 2008
20,041
1,289
126
A little more detail on the project.
It is going to be a controller for people that do not have much movement ability either because of injury or illness. So someone may be able to move their hand or another body part from left to right over a span of 6 inches and cover that distance in about 3 seconds. Or it may be an arm or hand or head. I have looked at other tracking methods like IR but they really don't work well for this specific situation and commercial devices that do exist are made out of one off components that make them really expensive. Really trying to find a way to do something like this on a much lower budget and was thinking if I could attach something like an accelerometer to a foot to track its motion that might work.

I think the gyroscope ic's would definitely work.

But maybe an better and cheaper alternative :
I toyed with an WII mote once, but i was not really happy with the control. I wanted to use a wiimote as replacement for a home theater kind of set up.
But the wiimote gave me instant RSI to get the mouse pointer where i want it.
However, maybe the software on the pc was not all that great. Maybe you can get better precision out of it. The sensor in the wiimote is an : ADXL330

http://www.analog.com/en/sensors/inertial-sensors/adxl330/products/product.html.

Maybe the ADXL327 will work for you. It is more sensitive then the ADXL330.
And it is in a far lower price range(x/10) when compared to the gyroscope ic's.

datasheet ADXL327 :
http://www.analog.com/en/sensors/inertial-sensors/adxl327/products/product.html
 
Last edited:

Modelworks

Lifer
Feb 22, 2007
16,240
7
76
I think the gyroscope ic's would definitely work.

But maybe an better and cheaper alternative :
I toyed with an WII mote once, but i was not really happy with the control. I wanted to use a wiimote as replacement for a home theater kind of set up.
But the wiimote gave me instant RSI to get the mouse pointer where i want it.
However, maybe the software on the pc was not all that great. Maybe you can get better precision out of it. The sensor in the wiimote is an : ADXL330

http://www.analog.com/en/sensors/inertial-sensors/adxl330/products/product.html.

Maybe the ADXL327 will work for you. It is more sensitive then the ADXL330.
And it is in a far lower price range(x/10) when compared to the gyroscope ic's.

datasheet ADXL327 :
http://www.analog.com/en/sensors/inertial-sensors/adxl327/products/product.html

I was thinking about the wii remote but it didn't seem sensitive enough for such tiny movements. The company sparkfun has a lot of demo boards with gyroscopes and accelerometers so that got me wondering.

The gyroscope they have are listed as 150 degree /sec, 75 degree /sec and not really sure how that relates to movements like I need to measure.

http://www.sparkfun.com/commerce/product_info.php?products_id=8370
This is a simple breakout board for the Melexis gyroscope featuring both analog and digital (SPI) interfaces. Designed for dead reckoning navigation applications, the MLX90609-N2 is a 75 degree/s max rate gyro with low drift and programmable bandwidth, this gyro is perfect for digital stabilization and control.
The best accelerometer they have appears to be
http://www.sparkfun.com/commerce/product_info.php?products_id=843
Dual Axis Accelerometer Breakout Board - ADXL213AE +/-1.2g

sku: SEN-00843
Description: Breakout board for the Analog Devices accelerometers in the E8 package. The ADXL is a solid state MEMS accelerometer with digital PWM or Analog output. The ADXL can measure both static and dynamic acceleration. This means the ADXL is suited well for sensing tilt (used in many Glove / Air Mouse applications) and for sensing brute acceleration (rocketry and general motion sensing applications).
Would the gyroscope or accelerometer be better of these two ?
 
May 11, 2008
20,041
1,289
126
I have as much experience as you at the moment. I will be needing the sensor to stabilize a platform. As such i may be better of with an gyroscope, but you may very well be better off with an accelerometer.

And these :

These seem cheaper, more sensitive and have an digital interface.

BMA180 from bosch.
http://www.sparkfun.com/commerce/product_info.php?products_id=9723

ADXL345.
http://www.sparkfun.com/commerce/product_info.php?products_id=9156

Her is an tutorial :
http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=167

http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=167&sipp=1&page=2



After reading, i think i can use an accelerometer as well. Because it is not an flying device that i want to build, the gravity is always pulling from the same position.

I looked into the datasheet ofthe BMA180. Seems quite promising.
http://www.sparkfun.com/datasheets/Sensors/Accelerometer/BST-BMA180-DS000-03.pdf
 
Last edited:

ModestGamer

Banned
Jun 30, 2010
1,140
0
0
A little more detail on the project.
It is going to be a controller for people that do not have much movement ability either because of injury or illness. So someone may be able to move their hand or another body part from left to right over a span of 6 inches and cover that distance in about 3 seconds. Or it may be an arm or hand or head. I have looked at other tracking methods like IR but they really don't work well for this specific situation and commercial devices that do exist are made out of one off components that make them really expensive. Really trying to find a way to do something like this on a much lower budget and was thinking if I could attach something like an accelerometer to a foot to track its motion that might work.


I think in this application you'd want linear and rotary encoders as well as pressure sensors. Your trying to deduce intent and that is something easily trained from repetitive movement. also these people may have difficulty in generating specific movements with enough speed to proper operate accelrometers reliably.

I used to do wheel chiar setup and repair years ago and the early breath systems were tough becuase the difference in input was so small. you could also try IR detection using multiple points.

IE certain jaw movements make certain words. Train the detection loop to learn each word and you have created a viable input system the human brain can understand. Much like if you blow and move your mouth it means forward.

Drawing shapes in the air may not be easy enough.

You might also consider having multiple movement implemenatations and void functions. alot of severaly handicapped people have issues with invoulentary reflex action.
 

Mark R

Diamond Member
Oct 9, 1999
8,513
14
81
Accelerometers might work for this task - the problem is that a displacement of 1 mm is likely only to generate very small accelerations, for a very short time - this is something that most accelerometers aren't very good at.

E.g. 1mm displacement may result from 20 mg for 100 ms. For a typical MEMS accelerometer, that works out at about 5 units (I call 1 'unit' the amount of acceleration between distinct digital codes) of signal - with a noise of roughly 1 unit rms. Worse, if you are using a 3 axis sensor and adding the signals - you are also adding the noise, so in reality you get about 2 units of noise. Assuming Gaussian noise - that's one false positive every 10 seconds (assuming high low pass filtering to 10 Hz - I'm guessing that this would be as close as possible to the signal band - but you'd probably need to determine this empirically).

Then you've got to consider environmental and physiologic noise. A person's pulse can move a limb by more than 1mm, etc.

I don't see any use for an ARS (MEMS "gyroscopes" aren't actually gyroscopes. Gyroscopes are angular position sensors, whereas a MEMS "gyroscope" is an angular rate sensor). An ARS is not required, and won't help, unless your project requires detection of rotation during acceleration. If you can assume no rotation during acceleration, then an ARS is not required and won't help. Similarly, if you simply want to detect inclination, then an ARS is useless, as all you measure is the derivative, and not the absolute value.

The accelerometer, by contast, will give you the absolute value - and because you can average, you can achieve high precision measurement of inclination - to better than 0.5 degrees with typical MEMS accelerometers. This, in fact, may be a more practical option than trying to detect the acceleration associated with displacement.

Hmm. Just seen your post stating 6" and 3 seconds. Now that is well within a practical detection range, and should work fine.
 

ModestGamer

Banned
Jun 30, 2010
1,140
0
0
work with the wheel chair bound ??? invoulntary movement is a big problem with a single input source.

Accelerometers might work for this task - the problem is that a displacement of 1 mm is likely only to generate very small accelerations, for a very short time - this is something that most accelerometers aren't very good at.

E.g. 1mm displacement may result from 20 mg for 100 ms. For a typical MEMS accelerometer, that works out at about 5 units (I call 1 'unit' the amount of acceleration between distinct digital codes) of signal - with a noise of roughly 1 unit rms. Worse, if you are using a 3 axis sensor and adding the signals - you are also adding the noise, so in reality you get about 2 units of noise. Assuming Gaussian noise - that's one false positive every 10 seconds (assuming high low pass filtering to 10 Hz - I'm guessing that this would be as close as possible to the signal band - but you'd probably need to determine this empirically).

Then you've got to consider environmental and physiologic noise. A person's pulse can move a limb by more than 1mm, etc.

I don't see any use for an ARS (MEMS "gyroscopes" aren't actually gyroscopes. Gyroscopes are angular position sensors, whereas a MEMS "gyroscope" is an angular rate sensor). An ARS is not required, and won't help, unless your project requires detection of rotation during acceleration. If you can assume no rotation during acceleration, then an ARS is not required and won't help. Similarly, if you simply want to detect inclination, then an ARS is useless, as all you measure is the derivative, and not the absolute value.

The accelerometer, by contast, will give you the absolute value - and because you can average, you can achieve high precision measurement of inclination - to better than 0.5 degrees with typical MEMS accelerometers. This, in fact, may be a more practical option than trying to detect the acceleration associated with displacement.

Hmm. Just seen your post stating 6" and 3 seconds. Now that is well within a practical detection range, and should work fine.
 
May 11, 2008
20,041
1,289
126
Digging to my modest amount of pdf's. (Really is not enough for my taste but anyway...)

http://www.analog.com/static/imported-files/application_notes/AN-1057.pdf

This pdf will give some explanation : Using an Accelerometer for Inclination Sensing.


Excerpt :

One common method for determining the tilt or inclination of a system is to integrate the output of a gyroscope. Although this method is straightforward, error associated with null bias stability can quickly compound as the integration period is increased, causing an apparent rotation even when the device is stationary.
In some applications, where the net acceleration or force on a system over time is gravity, an accelerometer can be used to measure the static angle of tilt or inclination. Such applications include gaming, horizon detection in digital cameras, and detecting the heading of a device in industrial and medical applications.
The underlying assumption in inclination sensing with an accelerometer is that the only acceleration stimulus is that associated with gravity. In practice, signal processing can be performed on the signal output to remove high frequency content from the output signal, so some ac acceleration can be tolerated.
 
May 11, 2008
20,041
1,289
126
I was thinking, since these sensors(ADXL325 or 327) are not really that fast, a triple adc is not necessary, since acquisition and conversion times of modern adc's are incredibly fast, the difference in output while sequentially sampling for the same event is negligible. As such, a programmable amplifier with multiple inputs might simplify circuit design. I was thinking of using an MCP23008 for the following programmable features :

# To switch the 2 bandwidth capacitors (per channel)in parallel on or off.
That would give 4 different(2 bit) capacitor values for each channel.
Each channel has 2 mosfet's switching 2 capacitors in parallel.
That would give me 4 bandwidth ranges. 3 channels * (2 *mosfet + 2 *capacitor). Two pins used for capacitor selection it is. Creating a bandwidth range of 1Hz to 500 Hz in 4 steps. Forgot to mention, when both switchable capacitors are off or disconnected, a 10nF capacitor is always present at the output of the ADXL327.

# An MCP6G03 comes to mind. a single amplifier with an enable input and a gain select input where gain is 1,10 or 50. Three of these where the outputs are connected together as wired OR (by putting in series 3 160 Ohm resistors for each output).
Then 1 pin is needed to select the amount of amplification between 1, 10 or 50.

# And 3 pins are needed to select one of three opamps.

# 1 pin to activate the selftest of the ADXL sensor.

That is 7 pins to control a bandwidth range, selftest, gain , and input select all through an I2C interface.

This all at a fraction of the price but with an increase afcourse of PCB real estate.
But in SMD with size 0603 components really not that big. Even size 0805 are still small.

MCP6G03 :
http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en028127
datasheet :
http://ww1.microchip.com/downloads/en/DeviceDoc/22004b.pdf


MCP23008 :
http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en021393
datasheet :
http://ww1.microchip.com/downloads/en/DeviceDoc/21919e.pdf


EDIT:
I noticed that the MCP6G03 is hard to come by.
As such, 3 MCP6G01's together with 3 free adc inputs on the microcontroller might be a better solution. Or 3 74HC1G66 analog gates combined with three MCP6G01's. Each in series with the output of an MCP6G01. Then a similar function is created as with the MCP6G03.
A bit enthusiastic i am : An MCP6G04 with an ADG658 would be easily routed.


When i have drawn a schematic, i can post it if you desire but i do not know where to post pdf, although i could make a low compression jpg....
 
Last edited:
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |