Mechanical Design · Challenge 11 — The Rack and Pinion
On this page

Mechanical Design · Challenge 11

The Rack and Pinion

Student Challenge · Jaws That Never Tilt

Module Guiding Question
How do we turn rotation into travel in a straight line, for as far as we want?
Big Idea
A is a gear stretched flat. Meshing it with a round gear converts turning into sliding.
Mechanism
Rack and pinion
Design Concepts
· · ·
Materials
Kit parts only
What You Need
LEGO kit · rack pieces · gears · one motor · Wombat controller · a block about 4″ × 4″ · ruler
Prerequisites
Challenge 4 for the jaw-tilt problem, Challenge 8 for one solution to it
Before you start: type your PIN in the box at the top of the page. Your teacher gave you this number. When you finish, press Download to save a local copy of your answers. This does not turn in your work automatically; give the downloaded file to your teacher.

Overview

You have met this problem before. In Challenge 4 you had to grip a 4-inch cube with jaws that stayed flat against its faces, and pivoting arms fought you the whole way, because an arm that swings puts its jaw at an angle.

Challenge 8 gave you one way out — a parallelogram linkage, which keeps the jaw level while still swinging. This challenge gives you the other way, and it is more direct: build jaws that do not swing at all.

Core Insight

A jaw that slides in a straight line cannot tilt. There is no rotation anywhere in its motion, so there is nothing to correct for.

By the end of this challenge you will be able to:

  • Explain what a rack is and how it meshes with a round gear.
  • Predict how far a rack travels for one turn of the .
  • Use one pinion to drive two racks in opposite directions.
  • Build a grabber whose jaws stay parallel through the whole motion, and prove it by measuring.

Phase 1 — Observe: Watch the Mechanism

Watch the video below. Do not build anything yet. Watch it at least twice.

Simple mechanics — LEGO rack and gear drive.

What do you notice? Describe what the mechanism is doing.

Your crank pushed out and pulled back the same distance every time, forever. Could this mechanism go farther if you wanted it to? What would you have to change?

Phase 2 — Concept: The Rack and the Pinion

A is a straight bar with gear teeth along one edge. You can think of it as a gear that has been unrolled — take a gear with a huge radius and only look at a small piece of its rim, and it is a straight toothed bar.

The round gear that drives it is called the . Turn the pinion, and its teeth walk along the rack’s teeth, dragging the rack sideways.

Teeth are teeth. The only difference is that one set is arranged in a circle and the other in a line.

You Can Predict the Travel

Every tooth of the pinion that passes the rack drags the rack along by exactly one tooth. So a pinion with 24 teeth, turned once all the way around, moves the rack by 24 rack teeth.

Calculation

travel per turn = the pinion's tooth count, measured in rack teeth

count the teeth, then count that many along your rack to see how far it will go

Why the Jaws Stay Parallel

A part on a rack moves in pure — every point on it travels the same distance in the same direction. Nothing rotates. A jaw mounted on a rack is pointed exactly the same way at the end of its travel as at the start, without you doing anything to make that happen.

Go back to your Challenge 4 notes. What exactly went wrong with the pivoting jaws on the cube, and why does translation fix it?

Phase 3 — Build It: Two Racks, One Pinion

One rack gives you one moving jaw. For this challenge both jaws must move, and they must move toward each other by the same amount at the same time.

Put the pinion between two racks, one on each side. The pinion’s teeth push one rack one way and the other rack the opposite way — the same trick you used in Challenge 10, where one worm drove two gears in opposite directions.

One pinion between two racks. Grey shows the jaws open; red dashed shows them closed on the block.

Turn the pinion one full revolution and measure how far one rack moved. Does it match the pinion’s tooth count?

Did both racks move by the same amount? How did you check?

Phase 4 — Engineering to Meet a Need

The Need

Using your newly created LEGO contraption, modify and attach it in such a fashion that it would be able to precisely grab an object that is about 4″ wide and 4″ tall. The grabber arms must remain parallel at all points in the motion.

Mental Picture

Think of elevator doors. Two panels, one drive, sliding apart and back together — and they stay perfectly parallel the whole way, because neither one ever turns.

Constraints

Every one of these must be true for your design to count as finished.

  1. The overall device must be stationary. Only the rack and gear system and arms may move.
  2. Both grabber arms must move, and they must stay parallel to each other at every point in the motion.
  3. At rest, the gap between the arms must be smaller than the block. The mechanism has to open before it can go around the block, then close on it.
  4. The device must grab a block about 4″ wide and 4″ tall.
  5. The device must grab successfully on more than 90% of attempts, counted over at least 10 tries.
  6. Kit parts only.

Read Constraint 3 Again

It is easy to miss what it is asking. If the jaws started wider than the block, you could just slide the whole thing over it and squeeze — the mechanism would only ever need to close.

Starting narrower forces your rack to travel both ways from its resting position: open first, then close. Make sure you have rack length in both directions before you build the jaws.

Do the Math First

Planned valueYour ValueUnit
Gap between jaws at rest
Gap you need when fully open
How far each rack must travel to get from rest to fully open

Your Plan — Before You Build

Break the build into manageable steps.

Predict: will your device fail first by the racks skipping teeth, by the jaws going out of parallel, or by running out of rack?

Phase 5 — Test & Iterate

How to Prove the Jaws Are Parallel

Do not judge it by eye. Close the jaws on the block and measure the gap at the front of the jaws and again at the back. If the two measurements are the same, the jaws are parallel. If they differ, one end is pinching and the other is loose.

Then do it again with the jaws fully open. Parallel at one position is not the same as parallel at every position, and the requirement says every point in the motion.

Your Numbers

MeasurementYour ValueUnit
Teeth on your pinion
Rack travel for one full pinion turn
Gap between jaws at rest
Gap between jaws fully open
Gap at the front of the jaws, closed on the block
Gap at the back of the jaws, closed on the block
Difference between those two gaps
Runs attempted
Runs that fully worked

Trial Log

Complete one row for every run. Never skip a row — failed runs contain the most information.

Trial Log
TrialWhat you changedOpened enough?Gripped it?What you observed
1
2
3
4
5
6
7
8
9
10

Check Against the Constraints

Check a box only after you have actually observed it — not because you think it should be true.

Describe one specific failure. What was the symptom? What was the cause? How did you fix it?

If a rack skipped teeth at any point, what was pushing it away from the pinion? What did you add to stop it?

Phase 6 — Connect: Where This Helps in Botball

Transfer

You have now solved the same gripping problem three separate ways. That is not repetition — that is a toolkit.

Challenge 4 gave you pivoting jaws, which are simple and compact but tilt. Challenge 8 gave you a parallelogram, which stays level while swinging. This gives you pure sliding, which never rotates at all. Each is right for a different situation, and knowing all three means you pick rather than guess.

Name a Botball task where sliding jaws beat pivoting ones, and one where the pivoting version would be the better choice. What decides it?

A rack and pinion can travel as far as the rack is long. Name a Botball use for straight-line motion that has nothing to do with gripping.

Phase 7 — Individual Reflection

Complete this section on your own.

1. Explain what a rack is by describing its relationship to an ordinary round gear.

2. Explain why jaws mounted on racks stay parallel without anyone having to make them do so.

3. You have solved the parallel-jaw problem three ways now — Challenge 4, Challenge 8, and this one. Rank them for a competition robot and defend your first choice.

4. Complete this in 2–3 sentences: “A part that slides cannot tilt. This means that when a design keeps going out of alignment, I should…”

Extension Challenges

Finished early? Try one or more of these.

Extension A — Prove the Travel Rule

  • Try three pinions with different tooth counts on the same rack.
  • Predict the travel per turn for each before you test it, then measure all three.
  • Does the rule hold every time? If a measurement is off, find out why before blaming the rule.

Extension B — One Grabber, Any Width

  • Without rebuilding, grab a 2″ object and then a 6″ object.
  • What limits you at each end — rack length, jaw length, or something else?
  • What is the full range of widths your grabber can handle?

Extension C — Three Ways, One Cube

  • Set up your Challenge 4 pincer, your Challenge 8 linkage, and this grabber side by side.
  • Grip the same cube with each and measure the contact length on the face.
  • Time each one. Which is most accurate, and which is fastest? Are they the same one?

Extension D — Break the Symmetry

  • Remove one rack so only a single jaw moves against a fixed one.
  • Grip the block again. Are the jaws still parallel? Is anything worse?
  • What did the second rack actually buy you? Answer in terms of where the block ends up.

Download saves a local copy of your answers. It does not turn in your work automatically; give the downloaded file to your teacher.

KIPR · Botball Explorer · Mechanical Design Challenge 11 — Student Sheet