Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

A MEMS gyroscope is a tiny motion sensor built into a silicon chip that measures angular rate, or how fast something is rotating. In robotics, this helps a robot estimate turns, stabilize its body, control wheels or drones, and track orientation during motion. The sensor is microscopic, but it uses the same physics as larger vibrating gyroscopes.

Understanding it helps explain why robots often need several sensors working together to know which way they are facing.

Inside the chip, a small proof mass vibrates back and forth while springs hold it in place. When the robot rotates, the Coriolis effect pushes the moving mass sideways by a tiny amount, and comb-drive electrodes measure that displacement as a change in capacitance. The electronics convert this signal into angular velocity, often in degrees per second or radians per second.

Because small bias errors accumulate over time into drift, robots usually combine gyroscope data with accelerometers and other sensors to improve orientation estimates.

Understanding Robotics: MEMS Gyroscope

Most MEMS gyroscopes use a driven vibration mode and a separate sensing mode. Electronics keep the proof mass moving at a chosen frequency, often near its natural resonant frequency. At resonance, a small electrical drive can maintain a large, steady vibration.

Rotation transfers a little of this motion into the sensing direction. The sensor looks for this transferred motion, not for the main vibration itself. This design makes the signal easier to detect, but it makes the chip sensitive to changes in temperature, manufacturing differences, and mechanical stress.

A sensor made for one axis has structures arranged to respond mainly to rotation about that axis. Many robot boards contain three such sensing arrangements so they can measure turning, pitching, and rolling.

The sideways movement is extremely small, so the electrical measurement needs careful processing. Opposing comb electrodes are often used in pairs. When the mass moves one way, capacitance increases on one side and decreases on the other.

Comparing the two changes rejects some electrical noise and vibration that affects both sides equally. The chip electronics amplify the difference, remove unwanted frequency components, and produce a stream of rate readings. A digital filter can smooth random noise, though too much smoothing delays the reading.

That delay matters in a fast drone or a balancing robot. Engineers must choose a balance between a calm signal and a quick response.

A rate reading becomes useful for control when software updates an angle estimate many times each second. Each short time interval contributes a small change in angle. Adding those changes gives the estimated orientation.

The update rate must be regular and accurately timed. If the software assumes a time step that is slightly wrong, the angle estimate becomes wrong even when the rate sensor is perfect. Before use, a robot commonly stays still for a few seconds.

The program averages the readings during that period to estimate the zero-rate offset. This is calibration. Calibration may need repeating after the robot warms up, since silicon structures and electronic circuits change slightly with temperature.

Accelerometers help over longer periods because they can sense the direction of gravity when the robot is not accelerating strongly. They are less helpful during rapid starts, stops, or impacts, since they cannot immediately distinguish gravity from motion acceleration. Magnetometers can provide a heading reference, but nearby motors, steel frames, and electric currents can disturb them.

Sensor fusion software assigns different trust to each sensor depending on the situation. A simple complementary filter trusts gyro data for quick motion and trusts gravity information for slow correction. More advanced robots may use a Kalman filter that tracks uncertainty.

Students should pay attention to sensor axes, sign conventions, sampling time, calibration conditions, and vibration mounting. Many apparent software faults come from one of these practical details.

Key Facts

  • A MEMS gyroscope measures angular velocity, usually written as omega, in rad/s or deg/s.
  • Coriolis acceleration is a_c = 2v x omega, where v is the velocity of the vibrating mass and omega is angular velocity.
  • Angular displacement can be estimated from angular rate using theta = integral omega dt.
  • For constant angular velocity, theta = omega t.
  • Gyroscope drift happens when a small bias error is integrated over time, causing angle error to grow.
  • Sensor fusion combines gyroscope and accelerometer data to reduce drift and improve orientation estimates.

Vocabulary

MEMS
MEMS stands for microelectromechanical systems, which are tiny mechanical and electrical structures built on a chip.
Proof mass
A proof mass is a small moving part inside a sensor whose motion is used to measure acceleration or rotation.
Coriolis effect
The Coriolis effect is an apparent sideways force on a moving object when it is observed in a rotating frame.
Angular velocity
Angular velocity is the rate at which an object rotates, measured in radians per second or degrees per second.
Drift
Drift is the gradual growth of error in a sensor estimate, often caused by small offsets that accumulate over time.

Common Mistakes to Avoid

  • Treating angular velocity as angle, which is wrong because angular velocity is a rate of rotation and must be integrated over time to estimate angle.
  • Ignoring gyroscope bias, which is wrong because even a small constant offset can create a large orientation error after enough time.
  • Assuming a MEMS gyroscope directly senses gravity, which is wrong because gyroscopes measure rotation while accelerometers can sense acceleration due to gravity.
  • Using degrees and radians interchangeably, which is wrong because formulas like theta = omega t require consistent angular units.

Practice Questions

  1. 1 A robot turns at a constant angular velocity of 30 deg/s for 4 s. What angle does it rotate through in degrees?
  2. 2 A gyroscope has a constant bias of 0.5 deg/s while the robot is actually not rotating. How much angle error builds up after 2 minutes?
  3. 3 Explain why a robot might combine a gyroscope with an accelerometer instead of using only the gyroscope for orientation.