Gyroscope

On this page 7

A gyroscope in a smartphone is a MEMS sensor that measures angular velocity, meaning how fast the device rotates around its three axes, usually reported in degrees or radians per second. In mobile hardware, it is the component that lets a phone track turning and tilting smoothly and precisely, which supports image stabilization, augmented reality, motion-controlled games and accurate orientation.

Unlike the large spinning gyroscopes used historically in navigation, a mobile gyroscope has no rotating wheel. It is a microscopic vibrating structure etched into silicon, typically packaged together with an accelerometer in a single inertial measurement unit (IMU) a few millimeters across.

How a MEMS gyroscope measures rotation

A MEMS gyroscope works on the Coriolis effect. Inside the chip, a tiny proof mass is driven to vibrate at a constant frequency, often in the range of tens of kilohertz. When the device rotates, the Coriolis force pushes the vibrating mass sideways, perpendicular to both the vibration and the rotation axis, by an amount proportional to the rotation rate.

Comb-shaped capacitive electrodes detect that sideways movement as a change in capacitance. The chip’s signal processing converts this into a digital rate for each axis, usually labeled pitch, roll and yaw or simply x, y and z. Three sensing structures, or one structure with three sensing modes, provide full three-axis measurement.

Because the gyroscope measures rate, the operating system must integrate the signal over time to estimate an angle. Any small error in the rate accumulates in the integrated angle, which is why gyroscopes are almost always combined with other sensors.

Key specifications of mobile gyroscopes

Datasheets for smartphone gyroscopes list a handful of key parameters that determine how useful the sensor is for a given task. The table shows typical ranges for consumer MEMS parts; exact values vary by model and manufacturer.

ParameterTypical rangeWhat it affects
Full-scale rangeplus or minus 125 to 2,000 degrees per secondFastest rotation measured without clipping
Output data rateAbout 25 Hz to several kHzHow often new readings are available
Noise densityA few thousandths of a degree per second per root hertzJitter in each reading
Bias offsetUp to a few degrees per second before calibrationFalse rotation reported at rest
Bias stabilityChanges with temperature and timeDrift of the integrated angle
Power consumptionRoughly 0.5 to 1 mA when activeBattery cost of continuous use
Typical parameters of a smartphone gyroscope

On Android, apps read the sensor through the TYPE_GYROSCOPE sensor in radians per second. Since Android 12, apps that want sampling above 200 Hz must declare a dedicated high-sampling-rate permission. On iOS, the Core Motion framework provides raw rotation rates and fused attitude data.

Gyroscope compared with other motion sensors

The gyroscope is one of several motion and position sensors in a phone, and each has a distinct strength. Sensor fusion algorithms combine them so that the weaknesses of one are corrected by the others.

SensorMeasuresStrengthWeakness
GyroscopeRotation rateFast, smooth, precise short-termDrifts when integrated
AccelerometerLinear acceleration and gravityAbsolute tilt referenceNoisy during movement
MagnetometerEarth’s magnetic fieldAbsolute headingDisturbed by metal and magnets
BarometerAir pressureRelative altitude changesAffected by weather
Motion sensors in a smartphone

The fused results are exposed as virtual sensors. The game rotation vector on Android combines gyroscope and accelerometer and ignores the magnetometer, which avoids sudden heading jumps near metal. The full rotation vector adds the magnetometer for a heading tied to magnetic north.

Where phones use the gyroscope

The gyroscope is essential wherever fast, accurate rotation tracking matters. The applications below rely on it either directly or through fused orientation data.

UseRole of the gyroscopeTypical requirement
Optical image stabilizationDetects hand shake to move the lens or sensorVery high rate, low latency
Electronic video stabilizationMeasures rotation to shift each framePrecise timestamps per frame
Augmented realityTracks head and device rotation between camera framesLow drift and low latency
Motion-controlled gamesTurns tilting into steering or aimingSmooth, responsive readings
Panoramas and 360-degree videoTracks viewing directionStable heading over time
Main uses of the gyroscope in mobile devices

Simple screen orientation switching between portrait and landscape does not strictly need a gyroscope; the accelerometer alone can detect it. Budget phones without a gyroscope can still rotate the screen, but they cannot support most AR experiences or smooth motion controls.

Limitations, calibration and privacy

The main technical limitation of MEMS gyroscopes is bias drift. A small constant offset of even a fraction of a degree per second becomes many degrees of error within minutes when integrated. Operating systems therefore recalibrate the bias continuously, for example when the phone rests on a table, and correct the angle with accelerometer and magnetometer data.

Gyroscopes are also sensitive to temperature changes and mechanical stress, and loud vibrations at frequencies near the internal resonance can corrupt readings. Researchers have further shown that high-rate gyroscope data can leak information, such as faint vibrations from speech or typing patterns, which is one reason why platforms limit sampling rates and why mobile browsers require user permission before exposing motion data to websites.

Manufacturers perform factory calibration of scale factor and axis alignment, but the sensor’s mounting on the circuit board can still introduce small misalignments. Camera stabilization systems therefore often use a dedicated gyroscope placed close to the camera module, with its own fast connection to the stabilization controller, rather than relying only on the general-purpose IMU.

In everyday language

The gyroscope is a tiny part inside your phone that feels when the phone turns. It does not know where north is or how high you are. It only senses how fast you are twisting or tilting the phone.

That is enough for many useful things. It keeps your videos steady, lets a game react when you tilt the phone like a steering wheel, and helps virtual objects in camera apps stay in place as you move around them.

Seen in the real world

A furniture retailer builds an augmented reality feature that lets customers place a virtual sofa in their living room through the phone camera. During testing, the sofa slides and wobbles on some devices whenever users turn quickly.

Engineers find that the affected models are budget phones without a gyroscope, where the AR framework must estimate rotation from the camera image and accelerometer alone. On phones with a gyroscope, the framework fuses rotation data at a few hundred hertz with camera tracking, and the sofa stays anchored even during fast turns.

The team decides to check for gyroscope support before offering the AR view, and to show a simpler photo-based preview on devices without the sensor, which removes the complaints about unstable placement.