Lift trip and levelling: experiment bench
Lift trip and levelling
Plan a smooth S-curve trip from the ground floor and tune the drive so the cabin stops level with the floor.
- 1. Ask
- 2. Hypothesise
- 3. Set up
- 4. Run
- 5. Record
- 6. Change one variable
- 7. Compare
- 8. Interpret
- 9. Limitations & save
If I change …, then … will …, because …
3 · Set up the parameters
Each floor is 3 m above the last.
Heavier cabins need more motor force to hold level.
Faster trips, until the trip is too short to reach it.
How hard passengers are pushed into the floor.
Spring-like pull toward the floor.
How quickly acceleration may change (comfort).
Removes the steady levelling offset.
Damps bounce around the floor.
1 more control appear at higher levels; until then it stays at the default value.
The seed fixes any random noise. Same parameters + same seed = exactly the same result, every time, on every computer.
6 · Change one variable
Your first run is the baseline. After it, change one thing at a time.
7 · Compare on a graph
5 · Run log
No runs yet.
Equations
Seven-segment S-curve: jerk ±J, acceleration limited to A, speed to V. If V ≥ A²/J: t_j = A/J, t_a = V/A − t_j, and the speed-up distance is V·(2t_j + t_a)/2.
Drive: F = feedforward + Kp·e + Ki·∫e + Kd·ė.
Assumptions (always true in this model)
- Rigid ropes (no stretch) and a fixed counterweight of cabin + half the rated load.
- Viscous friction only; motor force limited to ±20 kN.
- Without load weighing the drive assumes a half-full cabin (300 kg).
- Illustrative numbers for a mid-size passenger lift, rounded.
Text description of what the chart shows
Line charts against time for one lift trip: cabin height rises smoothly from 0 to the destination floor, speed ramps up to a plateau and back down, and felt acceleration shows a positive pulse then a negative pulse. The distance-from-floor series shows how close the cabin stops to the floor.
Did the result support your hypothesis? Use the numbers from the comparison table and link them to an equation.
Which assumptions could change your answer in the real world? For example: Not a lift-design tool: no brakes, door timing, rope dynamics or safety-gear behaviour.
Export and save
Exports use the ticked runs (or every run if none are ticked). Your draft saves automatically in this browser only. The Journal is private to you.
Valid parameter ranges
| Parameter | Range | Default |
|---|---|---|
| Destination floor | 1 to 9 | 7 |
| Passenger mass | 0 to 600 kg | 450 |
| Top speed | 0.5 to 3 m/s | 2.5 |
| Acceleration limit | 0.3 to 2 m/s² | 1.5 |
| Position gain Kp | 10 to 400 kN/m | 60 |
| Jerk limit | 0.3 to 4 m/s³ | 3 |
| Integral gain Ki | 0 to 600 kN/(m·s) | 0 |
| Damping gain Kd | 0 to 80 kN·s/m | 30 |
| Load-weighing sensor (0 off, 1 on) | 0 to 1 | 0 |
Independent reference checks
Seven floors at 2.5 m/s, 1.5 m/s², 3 m/s³
Hand calculation: t_j = 0.5 s, t_a = 1.1667 s, speed-up 2.1667 s over 2.7083 m; cruise (21 − 5.4167)/2.5 = 6.2333 s; total 2 × 2.1667 + 6.2333 = 10.5667 s.
P-only offset with a full cabin
Static balance Kp·e = Δm·g: e = (600 − 300) kg × 9.81 m/s² / 100 kN/m = 29.43 mm (hand calculation).
Checked automatically on every change to the code. Educational model, not engineering-grade.
Where this model stops being right
- Not a lift-design tool: no brakes, door timing, rope dynamics or safety-gear behaviour.