Tactiverge BuildBUILD 002
Engineer an Elevator
Can you stop a lift full of people exactly level with the 7th floor, fast enough that nobody gets bored and smoothly enough that nobody spills their coffee?
Live build-along: not scheduled yet. Everything here works on your own, any time.
Why it matters
Lifts move huge numbers of people every day, and they only work because a controller turns 'go to floor 7' into a smooth curve of speed and position. The same problem, getting somewhere fast without overshooting, appears in robot arms, hard-drive heads, camera autofocus and spacecraft docking.
Your objective: Design the motion profile and the feedback controller for a virtual lift so it reaches the target floor quickly, stops level without overshooting, keeps acceleration and jerk gentle, and serves waiting passengers in a sensible order.
- 1.
The cabin
Hangs on steel ropes. Ropes stretch a little, so a loaded cabin behaves a bit like a mass on a spring.
- 2.
The counterweight
Hangs on the other side of the pulley so the motor only has to lift the difference, not the whole cabin.
- 3.
The floor sensor
Tells the controller where the cabin really is. Without it, the lift is guessing.
- 4.
The passengers
They notice sudden changes in acceleration far more than speed. Comfort is a requirement, not a nice extra.
- 5.
The queue
Six people on four floors all pressing buttons. Which order do you serve them in?
Watch (optional, short)
Hand-picked explainers from their creators. Each one has a reason to watch it. Skip them if you’d rather just build.
A short, friendly first look at PID that you can watch before any of the maths.
7 min 44 s · captions on YouTube · source
Nothing loads from YouTube until you press play.
Shows how proportional, integral and derivative terms each help a system reach its setpoint quickly without overshooting or drifting.
11 min 42 s · captions on YouTube · source
Nothing loads from YouTube until you press play.
Real factory examples of why feedback loops matter and what happens when they fail.
11 min 1 s · captions on YouTube · source
Nothing loads from YouTube until you press play.
The engineering you’ll use
Position, velocity, acceleration
Velocity is how fast position changes; acceleration is how fast velocity changes. Starting from rest with constant acceleration a:
v = a·t, s = ½·a·t²
Stopping distance
To stop from speed v with deceleration a, the cabin needs this much shaft. Brake later than this and you miss the floor.
s = v² / (2a)
Jerk
How fast acceleration itself changes. Passengers feel jerk as a lurch, so comfortable lifts ramp acceleration up and down instead of switching it on.
j = Δa / Δt
Feedback and steady-state error
The drive pushes in proportion to the distance from the plan, like a spring. If the cabin is heavier than the drive assumed, the spring only balances the extra weight ΔF while some error is left; integral action removes the leftover gap.
e = r − y, P-only error = ΔF / Kp
Overshoot and damping
A springy loop with nothing to calm it sails past the target and bounces back. For a lift, overshoot means the doors open on a step. Derivative action pushes back against speed and adds damping.
F = Kp·e + Ki·∫e dt + Kd·de/dt
Scheduling
A common rule is the 'elevator algorithm': keep travelling in one direction while anyone ahead still needs you, then turn round. It stops the lift bouncing back and forth between far-apart calls.
Connects to: Derivatives and rates of change · Sensing position and motion · Open-loop and closed-loop control · Proportional control · Steady-state error and integral action · Derivative action and damping · Tuning a PID controller · Algorithms, searching and complexity · Constraints, budgets and trade-offs
Same machine. Five ways in.
Pick the level that feels like a stretch, not a wall. You can switch any time, and your work saves to your Workshop.
✦ Research Engineer · Run an investigation
Ask one question about the lift (for example, how does the jerk limit trade comfort against trip time, or how does passenger load change the levelling error with P-only control?). Change one setting across at least four recorded runs, hold everything else fixed, and write a short technical report.
You’ll make: Four or more runs recomputed on the server and a report with a hypothesis, method, results and limitations, reviewed by a person.
Reviewed by a person
Sill close-up
21000.0 mm short
A 60 kg rider's bathroom scale reads
60.0 kg
60 × (1 + a/g). Speed itself changes nothing.
Floor 0 → 7, 450 kg aboard. Shown at 2× speed.
- Doors open
- never
- Level error
- 30.6 mm
- Sails past
- 31.2 mm
- Peak accel
- 2.49 m/s²
- Peak jerk
- 5.64 m/s³
- Energy
- 132 kJ
When the brake lifted the cabin dropped back 25.0 mm before the drive caught it.
Sign in to record runs.
At the live build-along
60 minutes, building together
- Team challenge
- Teams of three get the same lift: six passengers, floor 0 to floor 7, and a controller that bounces around the floor. Each team finds a design that passes all five checks, then explains the one change that mattered most. No leaderboard: every team that gets there explains how.
- Your own design
- On your own: get the doors open as early as you can without breaking a single comfort or levelling limit. Write down what you traded away.
- Questions
- Moderated questions in the live room. Questions are answered on screen without names, and chat stays off.
- Extension
- Real lifts carry anything from nobody to a full cabin. Preview your design with 0 kg and 600 kg: does it still stop level and smoothly? What would you change so one controller works for every load?
- You leave with
- A saved lift design with its levelling error, overshoot, comfort figures and doors-open time, a worked motion profile, and a written explanation of why overshoot means missing the floor, stored in your Workshop and counted toward your Passport.
For educators & facilitators
A complete run of show, misconceptions, safety notes and a printable worksheet.
Open the facilitator guideSafety: Browser simulation and paper design only. Never enter a lift shaft, machine room or lift pit, and never interfere with lift doors or controls; real lifts are maintained only by trained engineers. Any physical extension needs an adult's safety review and supervision before anyone starts.
Go further
- → Respond in proportion (Robotics Expedition, Level 2)
- → Fast, stable, accurate: pick two? (Robotics Expedition, Level 4)
- → Playground: feedback control
- → Atlas: derivative action and damping
- → Try BUILD 007 (Design a Smart Greenhouse) to see the same feedback ideas hold a temperature instead of a floor.
- → Playground: feedback control. Turn on sensor noise and watch what derivative action does to the motor command.
- → Robotics Expedition Level 4 shows why fast, stable and accurate pull against each other.
- → Atlas: steady-state error and integral action, for the maths behind the leftover gap.