How do wearable sensors work: accelerometers, gyroscopes and drift
A wearable sensor contains a tiny accelerometer that senses acceleration, a gyroscope that senses rotation and often a magnetometer that senses direction. Software combines the three, a step called sensor fusion, to estimate movement. Small errors build up over time, so algorithms keep correcting them.
Updated · 4 min read

Key takeaways
- Accelerometers sense acceleration, including gravity, using a tiny mass on springs etched into silicon.
- Gyroscopes sense rotation using vibrating structures, and magnetometers sense the earth's field for direction.
- Turning acceleration into position needs double integration, which makes small errors grow fast.
- Algorithms fuse sensors and reset errors using known events such as foot contact.
- Validity is good for some outputs, such as barbell velocity, and weaker for others, such as joint angles.
On this page
What is inside the sensor
Wearable sports sensors are built around an inertial measurement unit, or IMU. The parts are MEMS devices (micro-electromechanical systems), moving structures etched into a silicon chip a few millimetres wide. The plain-language introduction is in what are wearable sensors.
A MEMS accelerometer holds a tiny mass on silicon springs. When the chip accelerates, the mass lags behind and the gap between it and fixed plates changes, which changes the electrical capacitance between them. The circuit converts the capacitance change into acceleration. Gravity pulls on the mass all the time, so a sensor lying still reports about 9.81 m/s squared upward. The software must separate gravity from movement.
A MEMS gyroscope keeps a small structure vibrating. When the chip rotates, the Coriolis effect pushes the vibrating mass sideways in proportion to the rotation rate, and the sideways motion is measured. The magnetometer senses the earth's magnetic field to give a compass heading, but nearby steel, motors and gym equipment can bend that field.
Why errors grow: the integration problem
Sensors measure acceleration and rotation rate, but coaches want speed, distance and joint angle. To get speed, software adds up acceleration over time (integration). To get distance, it adds up speed over time, a second integration.
Integration has a cost. Every sensor has a small bias, a constant offset in its reading even when still. A bias of only 0.01 m/s squared, integrated twice, gives a position error of half the bias times time squared. After 60 seconds that is 0.5 x 0.01 x 3,600 = 18 m. This drift is the reason you cannot track an athlete's position on a field with an IMU alone, and why GPS is used for that job (see how GPS trackers work).
Gyroscopes drift too. Integrating rotation rate to get an angle accumulates the gyro's bias as slow angle drift, a few degrees per minute on cheap sensors.
Sensor fusion and the reset trick
Sensor fusion combines the strengths of each sensor. The accelerometer gives a reliable tilt angle when the sensor is still, because gravity points down, but is noisy during motion. The gyroscope is smooth over short times but drifts over long times. A filter, often a complementary filter or a Kalman filter, leans on the gyroscope for fast changes and on the accelerometer and magnetometer for slow correction. The result is a stable orientation estimate.
For speed and distance, algorithms reset errors at known moments. In running, a foot-mounted sensor is momentarily still when the foot is flat on the ground, so the software forces velocity to zero at each step (a zero-velocity update). That stops the double-integration error from growing past one stride. In barbell tracking, the bar is still at the start and end of each rep, which gives the same reset.
What the sensors report well, and what they do not
Published reviews show a mixed pattern. A systematic review of IMUs for barbell velocity concluded that the great majority of IMUs measuring linear barbell trajectories were valid and reliable and could be used by coaches to monitor load. A systematic review and meta-analysis on running found that IMUs reliably measured spatiotemporal gait parameters, but that lower-limb joint angles should be reported with caution in healthy adults. A review of IMUs in volleyball concluded that validity is good but inter-measurement reliability needs improvement.
Using sensors well
Placement changes the numbers. A sensor on the wrist, chest, shin or bar sees different movements, and loose straps add their own motion. Keep the position the same, update firmware only between blocks of testing, and use the same model for tracking. Sampling rates are typically between 50 and several hundred readings per second, so a fast movement such as a bat swing needs a unit with a high rate.
EvoQuest's three-hour assessment in Ramanathapuram, Coimbatore, uses sensors for movement and load measures, with force plates and other lab tools for checks that need more precision. The athlete's view is in wearable sensors for athletes.
If you want to know whether a test like this suits your sport or your child, start with a free 20-minute call on the call page or WhatsApp +91 93440 48834.
Frequently asked questions
How do wearable sensors measure movement?
They use a MEMS accelerometer to sense acceleration and a gyroscope to sense rotation, often with a magnetometer for direction. Software fuses the signals to estimate orientation and movement, then calculates outputs such as steps, jump counts or bar velocity.
Why do wearable sensors drift?
Every sensor has a small constant offset, called bias. Turning acceleration into speed and then position means adding it up twice, so the error grows with the square of time. A bias of 0.01 m/s squared produces about 18 m of error after one minute.
What is sensor fusion?
Sensor fusion is the algorithm that combines the accelerometer, gyroscope and magnetometer. Each sensor is good at something and poor at something else, so a filter uses the gyroscope for fast changes and the others for slow correction, giving a stable orientation estimate.
Are wearable sensors accurate for barbell velocity?
A systematic review concluded that the great majority of IMUs used for linear barbell trajectories were valid and reliable for monitoring. For curved, fast lifts such as Olympic lifts, accuracy is lower, so check the device for the lift you use.
Can wearable sensors measure joint angles?
They can estimate them by comparing two sensors, but a meta-analysis in healthy adults advised caution for lower-limb joint angles during running. They are more trustworthy for timing measures such as step time than for exact angles.
This article is general education. Train within your current ability and get coaching if you are unsure about technique.
References
- Validity and reliability of the inertial measurement unit for barbell velocity assessments: a systematic review Systematic review (PubMed 33916801)
- Validity and reliability of inertial measurement units on lower extremity kinematics during running: a systematic review and meta-analysis Sports Medicine - Open
- Use, validity and reliability of inertial movement units in volleyball: systematic review of the scientific literature Sensors
