Gyroscopes: How Smartphones Know Up from Down

Turn your phone sideways; the screen rotates. How? A tiny vibrating chip called a Gyroscope. See how this MEMS tech stabilizes robots.

Gyroscopes: How Smartphones Know Up from Down

You are playing a racing game on your phone. You tilt the phone left, and the car turns left. You aren’t touching the screen. How does the phone know it tilted? Inside is a microscopic machine: The MEMS Gyroscope.

Not a Spinning Top

Old gyroscopes (like in Apollo rockets) were actual spinning metal wheels. But you can’t fit a spinning wheel inside an iPhone. Instead, we use MEMS (Micro-Electro-Mechanical Systems). Imagine a tiny tuning fork etched out of silicon.

  1. Vibration: We vibrate the fork using electricity.
  2. Coriolis Effect: When you rotate the phone, the vibrating fork “twists” due to the Coriolis force (the same force that makes hurricanes spin).
  3. Measurement: This tiny twist changes the capacitance between two plates. The chip reads this electrical change and outputs: “Rotated 10 degrees.”

Accelerometer vs. Gyroscope

Your phone usually has an IMU (Inertial Measurement Unit) which contains both:

  1. Accelerometer: Measures Force (Gravity).
    • “Gravity is pulling DOWN (Z-axis).”
    • “If I rotate the phone, Gravity pulls SIDEWAYS (X-axis).”
    • Problem: If you shake the phone, it confuses acceleration with gravity.
  2. Gyroscope: Measures Rotation (Twist).
    • “I turned 90 degrees.”
    • Problem: It drifts over time.

Sensor Fusion

The phone combines both. It uses the Accelerometer to know “Where is Down?” and the Gyroscope to know “How fast am I turning?” In robotics, this is critical. If a robot gets rammed by another robot, it spins. The encoders on the wheels don’t know it spun (the wheels slid). The Gyroscope screams: “WE ROTATED 45 DEGREES!” The code instantly compensates: “Counter-steer left!” This creates a robot that is unshakeable, always knowing exactly which way is North.

Explore FIRST® Robotics

FIRST® (For Inspiration and Recognition of Science and Technology) is a global robotics community preparing young people for the future. Discover the ultimate sport for the mind and see how you can get involved in STEM and robotics!

Learn More at firstinspires.org