Accelerometer Range & Sensitivity
Calculate accelerometer output voltage, ADC resolution in mg per LSB, and full-scale range. Design MEMS vibration and motion sensor interfaces.
Linear sensitivity S·a · ADC LSB = V_s/2ᴺAPI slug accelerometer-sensitivity
Sensor and circuit
Convert
−100 g to 100 g
- Sensor Output
- 1.95V
- Amplifier Output
- 1.95V
- ADC Code
- 2 420
- 0x974
- Full-Scale Output Swing
- 1.8V
- Voltage per LSB
- 805.7µV
- Acceleration per LSB
- 2.686mg
- Resolution
- 0.002686g/LSB
Transfer curves
Resolution 0.002686 g/LSB across the rangeLookup table
Every 0.25 g from −3 g to 3 g| Acceleration | Sensor Output | Amplifier Output | ADC Code |
|---|---|---|---|
| −3g | 750mV | 750mV | 930 |
| −2.75g | 825mV | 825mV | 1 024 |
| −2.5g | 900mV | 900mV | 1 117 |
| −2.25g | 975mV | 975mV | 1 210 |
| −2g | 1.05V | 1.05V | 1 303 |
| −1.75g | 1.125V | 1.125V | 1 396 |
| −1.5g | 1.2V | 1.2V | 1 489 |
| −1.25g | 1.275V | 1.275V | 1 582 |
| −1g | 1.35V | 1.35V | 1 675 |
| −750mg | 1.425V | 1.425V | 1 768 |
| −500mg | 1.5V | 1.5V | 1 861 |
| −250mg | 1.575V | 1.575V | 1 954 |
| 0g | 1.65V | 1.65V | 2 048 |
| 250mg | 1.725V | 1.725V | 2 141 |
| 500mg | 1.8V | 1.8V | 2 234 |
| 750mg | 1.875V | 1.875V | 2 327 |
| 1g | 1.95V | 1.95V | 2 420 |
| 1.25g | 2.025V | 2.025V | 2 513 |
| 1.5g | 2.1V | 2.1V | 2 606 |
| 1.75g | 2.175V | 2.175V | 2 699 |
| 2g | 2.25V | 2.25V | 2 792 |
| 2.25g | 2.325V | 2.325V | 2 885 |
| 2.5g | 2.4V | 2.4V | 2 978 |
| 2.75g | 2.475V | 2.475V | 3 071 |
| 3g | 2.55V | 2.55V | 3 165 |
Formula
| Symbol | Quantity | Your value |
|---|---|---|
| S | Sensitivity (mV/g) | 300 mV/g |
| a | Acceleration (g) | 1 g |
Assumptions
6 items
- 01The output is ratiometric about half the supply, V_out = V_cc/2 + S × a, with zero g at V_cc/2 and S held at the value entered rather than rescaled with the supply; zero-g offset, cross-axis sensitivity and noise are not modelled.
- 02The amplifier is an ideal gain G about the zero-g level, V_amp = V_cc/2 + G × S × a, with no offset or bandwidth limit.
- 03The ADC is referenced to the supply and is an ideal N-bit converter with no INL, DNL or noise: code = floor(V_amp/V_cc × 2^N), held between 0 and 2^N − 1, so an acceleration that drives the output past either rail clips.
- 04A code typed in is read at the middle of its step, (code + 0.5)/2^N × V_cc.
- 05The full-scale range only sets the full-scale swing, 2 × S × FS; it does not limit the acceleration.
- 06Voltage and acceleration per LSB (in mV and mg) assume a direct connection, gain 1; the resolution output includes the gain, V_cc × 1000/(2^N × G × S) in g per step.
Worked example
ADXL335-class accelerometer tilted 30°
An ADXL335-class accelerometer at 330 mV/g runs from 3.3 V and drives a 12-bit ADC referenced to the same supply directly, gain 1. Its axis is tilted 30° from horizontal, so gravity puts 0.5 g along it.
| Step | Expression | Result |
|---|---|---|
| Acceleration along the axis | 1 g × sin 30° | 0.5 g |
| Sensor output | 3.3 V / 2 + 330 mV/g × 0.5 g | 1.815 V |
| ADC code | floor(1.815 / 3.3 × 2^12) | 2 252 |
| Resolution | 3.3 V × 1000 / (2^12 × 1 × 330 mV/g) | 0.002441 g/LSB |
| Tilt per step at 30° | 0.002441 / cos 30° × 180/π | 0.1615° |
How it works
This calculator converts accelerometer sensitivity specifications to resolution and output voltage, essential for vibration analysis engineers, inertial navigation designers, and IoT motion sensing developers. MEMS accelerometers output voltage or digital counts proportional to acceleration: Vout = Vref/2 + S * a, where S is sensitivity in mV/g and a is acceleration. Analog MEMS (ADXL335, MMA7361) provide 200-800 mV/g sensitivity with +/-1.5 to +/-16 g full-scale range per Analog Devices and NXP datasheets. Sensitivity scales inversely with range: wider ranges have lower mV/g (the proof mass deflects less per g). Resolution in mg/LSB depends on ADC bits and supply: resolution = (Vcc/2^N)/S * 1000 mg. For ADXL335 (300 mV/g) with 12-bit ADC at 3.3V, resolution = (3.3/4096)/0.300 * 1000 = 2.7 mg/LSB. Digital accelerometers (LIS3DH, MPU6050) specify sensitivity in LSB/g: 4000-16000 LSB/g at +/-2g to +/-16g range per STMicroelectronics. IEEE 1293 defines accelerometer accuracy specifications including bias stability (0.1-10 mg), scale factor (0.1-1%), and noise density (25-300 ug/rtHz).
Practical tips
- Mount the accelerometer rigidly to the structure; any PCB resonance appears as acceleration at the resonant frequency; use stiffening ribs or potting compound to push PCB resonance above measurement band per IEEE 1293
- For tilt sensing, use 1-10 Hz bandwidth (large filter caps); for vibration monitoring, use 100 Hz-1 kHz; for shock detection, use maximum bandwidth with no filter per ISO 16063-1 vibration calibration standard
- Calibrate at +/-1g by rotating the sensor axis through gravity; actual sensitivity and zero-g offset vary +/-10-15% from nominal; two-point calibration achieves +/-1% accuracy per manufacturer calibration procedures
Common mistakes
- Using sensitivity spec from wrong supply voltage: ADXL335 sensitivity is 270 mV/g at 2V, 300 mV/g at 3V, 330 mV/g at 3.6V; using wrong value causes 10-20% measurement error per Analog Devices datasheet
- Confusing +/-g full-scale with peak-to-peak: +/-3g means saturation at +3g and -3g (6g total span); full-scale voltage swing is 2 * S * FS_range = 2 * 300 * 3 = 1800 mV for ADXL335
- Ignoring output filter bandwidth: unfiltered ADXL335 has 1.6 kHz bandwidth and 300 ug/rtHz noise; add 0.1 uF caps for 50 Hz bandwidth and 5x lower noise per datasheet filter recommendations
Frequently asked questions
3 questions
What is the difference between analog and digital MEMS accelerometers?
Analog accelerometers (ADXL335, MMA7361) output continuous voltage and require external ADC; simpler for basic designs but susceptible to analog noise. Digital accelerometers (ADXL345, LIS3DH, MPU6050) contain internal sigma-delta ADC and provide I2C/SPI output with 10-16 bit resolution; they include configurable full-scale, FIFO buffers (32-1024 samples), and interrupt outputs for motion detection. Digital types cost USD 1-5, analog USD 2-4. For new designs, digital accelerometers simplify firmware and improve noise immunity per STMicroelectronics application note AN3182.
Why does MEMS accelerometer sensitivity decrease at higher g ranges?
MEMS proof mass displacement for a given acceleration must stay within the mechanical structure limits (typically 1-10 um). For wider g range, the electrostatic restoring force is increased (reducing um/g displacement), which lowers voltage output per g. A +/-2g sensor has 8x higher sensitivity than +/-16g from the same die. This is fundamental to MEMS design per Analog Devices MEMS technology overview. Select the narrowest range that avoids saturation for best resolution.
How do I eliminate DC offset from an accelerometer signal?
Apply a high-pass filter with cutoff below signals of interest (0.1-2 Hz for vibration). In firmware, subtract the moving average (IIR: y[n] = 0.99*y[n-1] + 0.01*x[n]) or use a DC-blocking IIR filter (first-order HPF at 0.5 Hz). For tilt sensing, you need DC response; in that case, calibrate and subtract the known zero-g offset (typically +/-60 mg for MEMS per Analog Devices AN-1057). Temperature calibration may be required as offset drifts +/-0.5 mg/C.