0
\$\begingroup\$

Is possible to simulate the Gyroscope using Accelerometer values? I would like to make that in Android Context so using MEMS smartphone accelerometer.

\$\endgroup\$
5
  • \$\begingroup\$ Put it on the end of a stick and spin it around? ... in general no. \$\endgroup\$
    – Daniel
    Commented Dec 11, 2015 at 19:52
  • \$\begingroup\$ No. An accelerometer located at the axis of rotation cannot detect rotation. \$\endgroup\$
    – user57037
    Commented Dec 11, 2015 at 19:57
  • \$\begingroup\$ Please don't cross post to so many different sites. \$\endgroup\$ Commented Dec 11, 2015 at 20:05
  • \$\begingroup\$ Please do not cross-post: programmers.stackexchange.com/q/304860 dsp.stackexchange.com/q/27667 stackoverflow.com/q/34231327 \$\endgroup\$
    – user52164
    Commented Dec 11, 2015 at 20:06
  • \$\begingroup\$ If that were possible, people wouldn't put gyroscopes in phones... \$\endgroup\$ Commented Dec 12, 2015 at 0:58

3 Answers 3

2
\$\begingroup\$

No.

An accelerometer measures linear acceleration. A gyroscope measures angular velocity. You can't assume one from the other in any general sense.

Your smart phone probably has both sensors though.

\$\endgroup\$
1
\$\begingroup\$

You can simulate a gyro with two accelerometers per axis. One accelerometer will not work.

There are six degrees of freedom in mechanical motion so you need three accelerometers and three gyros to capture them all.

\$\endgroup\$
1
  • \$\begingroup\$ I didn't have experience in recent gyros using solid state micromechanics, but I can see there is direct relation with gymbals and frames of mechanical gyroscopes. \$\endgroup\$
    – GR Tech
    Commented Dec 12, 2015 at 19:17
0
\$\begingroup\$

Actually you can, if you have 3-axis accelerometers. You will not be calculating the angular velocity, yet you can get your position in the space and with the aid of proper reference and post-processing your measurements, your device can simulate the functionality of the gyroscope.However, your "gyroscope" will have the worst bias-drift in history, since double-integrating the accelerometers' output signals to get the position in space will take a lot of time on which an error will be accumulating. I believer that's why inertial measurement units (IMUs) are typically 6-axis (3-acc + 3-gyro).

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.