Lite / Discovering How the World Works / Week 26
Steering without a steering wheel
Robot vacuums, rovers and wheelchairs often have no steering wheel at all. So how do they turn?
Why should I care?
Two motors, two wheels and a caster are the most common robot body in the world: cheap, simple and able to spin on the spot. Knowing how wheel speeds turn into motion lets you predict, plan and program a robot's path.
- Explain how two independently driven wheels make a robot go straight, curve or spin.
- Calculate a two-wheeled robot's forward speed from its wheel speeds.
- Choose wheel speeds for a given manoeuvre.
Predict
A robot's left wheel turns forwards at 5 cm/s and its right wheel backwards at 5 cm/s. What does the robot do?
- Drives forwards slowly
- Spins on the spot
- Stays completely still
Guess first, then reveal
It spins on the spot (turning right, clockwise from above). The wheels push in opposite directions, so the middle of the robot stays put while it rotates. That's the trick that makes these robots so manoeuvrable.
Discover
Make the robot go straight, then curve left, then curve right, then spin on the spot. Write down the wheel speeds for each.
What the interactive shows (text version)
The wheel-drive diagram can be replaced by this description, with wheels 10 cm apart, over 4 seconds. Both 6 cm/s: straight, 24 cm forwards. Left 2, right 6: forward speed 4 cm/s, curves left about 92°. Left 6, right 2: curves right about 92°. Left −5, right 5: forward speed 0, spins left on the spot about 229°.
Watch (optional)
Watch for: Look at how the rover's wheels are arranged and which ones can steer.
A detailed animated tour of Perseverance's wheels, cameras, arm and power system, all in one place.
“How does a Mars Rover work? (Perseverance)” by Jared Owen (opens YouTube; streaming video uses a lot of data)
The video is optional. Everything you need is in this lesson's text.
Understand
Same speeds: straight
If both wheels turn forwards at the same speed, the robot drives straight. Its forward speed is the average of the two wheels: (left + right) ÷ 2.
Different speeds: curve
If one wheel is faster, the robot curves away from it, towards the slower wheel. Right wheel faster: it curves left. The bigger the difference, the tighter the turn. This is called differential drive.
Opposite speeds: spin
Equal and opposite speeds make the average zero, so the robot doesn't go anywhere. It just rotates on the spot. Being able to turn without moving is very handy in tight spaces.
Explain it another way
Intuitive
Rowing a boat: pull both oars equally and you go straight. Pull only the right oar and you swing left. Pull one forwards and one backwards and you spin.
Technical
For wheels a distance W apart, forward speed v = (vL + vR) / 2 and turning rate ω = (vR − vL) / W (radians per second, positive = turning left). The robot has two driven wheels, giving two independent controls.
Mathematical
With W = 10 cm, vL = 2 cm/s and vR = 6 cm/s: v = (2 + 6) ÷ 2 = 4 cm/s and ω = (6 − 2) ÷ 10 = 0.4 rad/s. In 4 s it turns 1.6 rad, about 92°: roughly a quarter turn to the left.
Applied
Tanks and diggers use the same idea with tracks: speed up one track and slow the other to turn. That's why they're called skid-steer vehicles.
Worked example 1
A robot's wheels go 8 cm/s (left) and 4 cm/s (right). What's its forward speed, and which way does it curve?
Forward speed = (8 + 4) ÷ 2 = 6 cm/s. The left wheel is faster, so the robot curves right, towards the slower wheel.
Common mix-ups
A robot turns towards its faster wheel.
✓ It turns away from the faster wheel, towards the slower one.Robots need a steering wheel or steerable wheels to turn.
✓ Driving two fixed wheels at different speeds is enough.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
Apply it
Using the wheel-drive diagram, find wheel speeds that make the robot turn about a quarter turn (90°) left in 4 seconds while still moving forwards. Then write a short program for a robot to drive a square using only 'set left speed', 'set right speed' and 'wait'.
Reflect
What would go wrong if one of a robot's wheels slipped on a wet floor?
Write your answer on paper or in your own notes. Lite never stores what you write.