Is possible to simulate the Gyroscope using Accelerometer values? I would like to make that in Android Context so using MEMS smartphone accelerometer.
-
\$\begingroup\$ Put it on the end of a stick and spin it around? ... in general no. \$\endgroup\$– DanielCommented Dec 11, 2015 at 19:52
-
\$\begingroup\$ No. An accelerometer located at the axis of rotation cannot detect rotation. \$\endgroup\$– user57037Commented Dec 11, 2015 at 19:57
-
\$\begingroup\$ Please don't cross post to so many different sites. \$\endgroup\$– whatsisnameCommented 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\$– user52164Commented Dec 11, 2015 at 20:06
-
\$\begingroup\$ If that were possible, people wouldn't put gyroscopes in phones... \$\endgroup\$– alex.forencichCommented Dec 12, 2015 at 0:58
3 Answers
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.
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.
-
\$\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 TechCommented Dec 12, 2015 at 19:17
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).