Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

MEMS accelerometer unit

  1. Apr 29, 2014 #1
    I am bit confused on the units when you convert acceleration to displacement.

    The accelerometer data is in bits. I can convert this to gs or milli gs.
    When integrating, this will get multiplied by millisecs.

    What will the displacement unit be in?
     
  2. jcsd
  3. Apr 29, 2014 #2

    D H

    User Avatar
    Insights Author

    Staff: Mentor

    Different accelerometers have different outputs. What does the spec sheet for your particular accelerometer say?
     
  4. Apr 29, 2014 #3
    Let's assume the accelerometer has digital output and a value of 256 decimal is equal to 1g.
     
  5. Apr 29, 2014 #4

    Baluncore

    User Avatar
    Science Advisor

    If you keep a continuous running total of the acceleration you will have velocity.
    But there will be a zero velocity error and accumulating offset errors.

    If you keep a continuous running total of the velocity total, you will have displacement.
    But there will be a zero displacement error and accumulating errors.
    Running totals are the equivalent of integration with unknown constants and so have square law errors.

    If you want displacement you should measure it with a displacement transducer. You can then compute velocity and acceleration accurately from displacement. That involves differences and so will eliminate long term error accumulation. Differences are numerically stable.
     
  6. Apr 29, 2014 #5

    D H

    User Avatar
    Insights Author

    Staff: Mentor

    Divide by 256 to get acceleration in gs, or divide my 256*9.80665 to get acceleration in SI units.

    This simple division implicitly assumes three things, none of which is true. Dividing by 256 assumes that
    • A reported value of zero means zero acceleration.
      All (almost all) sensors have a bias. Accelerometers are no different in this regard.
    • The accelerometer output is linear.
      Linear sensors would be nice. Accelerometers oftentimes have a non-linearity to them.
    • That an output of 256 truly does mean 1g or (9.80665 m/s2).
      It would be so very nice if the spec sheet matched reality. It doesn't.
    In a simple application you can ignore all these nuances. In more complex applications, the Kalman filter oftentimes incorporate bias, non-linearity, and scale factor error as a part of the state to be estimated by the filter.
     
  7. Apr 29, 2014 #6
    phew! I had completely missed multiplication by 9.8.

    What about the unit of displacement?
    While integrating, if the accn is multiplied by millisecs, velocity will be in m/millisec and displacement will be in mm. correct?
     
  8. Apr 29, 2014 #7

    D H

    User Avatar
    Insights Author

    Staff: Mentor

    Convert those counts to SI units rather than gs and your unit-based headaches will go away.

    Your dead reckoning headaches won't.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: MEMS accelerometer unit
  1. Diamond in MEMS (Replies: 2)

  2. MEMS Gyroscopes (Replies: 1)

Loading...