Million Whys Press logo
Million Whys PressToronto
← Book 15 videos

Book 15, Question 32 · Video

How Does a Robot Know How Far It Has Driven?

Video · 1:52 · Crafty Clover explains, from A Million Whys Book 15

A robot knows how far it has driven by counting how much its wheels turn! A part called an encoder counts the turns. Then it multiplies the turns by the distance around the wheel.

Read the full answer →

What Crafty Clover says in this video

Intro

Hi there, curious minds! I'm Crafty Clover! Let's discover something amazing. How does a robot know how far it has driven?

The Big Idea

A robot knows how far it has driven by counting how much its wheels turn! A part called an encoder counts the turns. Then it multiplies the turns by the distance around the wheel.

Count Turns

Step one: count the turns. An encoder is a part that counts how much a wheel turns. It makes a tiny tick every time the wheel moves a little bit, like the clicks of a bike counter.

Do the Math

Step two: do the math. Distance equals the number of turns times the distance around the wheel. Ten turns of a wheel that is 20 centimeters around means 200 centimeters. The robot does this math instantly.

Check Again

Step three: check again. A slipping wheel can fool the count, and small errors add up. So robots check their position with other sensors, too, like cameras and lidar.

A Closer Look

Let's take a closer look! The wheel turns. Marks or slots pass by. A reader notices each one. And a counter adds them up to find the distance.

Quick Facts

Quick facts! This method of tracking is called odometry, and it is used by many robots. Cars have odometers that count distance in a similar way. Slippery floors make wheels spin without moving. Roll things on a table or floor away from edges.

Think Like a Scientist

Now, take the challenge! Mark a spot on the edge of a can or a coin. Roll it along a ruler and count the turns. Multiply the turns by the distance around it. Does it match the distance you rolled? Try a bigger or smaller wheel!

Outro

Counting wheel turns tells a robot how far it went. Science is amazing! Crafty Clover can be found on Amazon Books, Google Bookstore, and Apple Books. Available for purchase or download! Bye for now!

Why I wrote this