TactivergeLite

Lite / Engineering Complex Systems / Week 14

Stop on the floor: specs in practice

A lift must stop within 5 mm of the floor, never sail past by more than 5 mm, and open its doors within 20 s. Which of those is a transient spec?

About 45 min · 3 goals · Checked by automated tests · Full interactive version

Why should I care?

Specifications are contracts. A lift that is fast but bounces past the floor fails, however impressive its speed. This lesson puts transient metrics to work on a realistic system with several competing limits.

Predict

The lift's levelling must not overshoot by more than 5 mm on a 3 m trip. If the final approach behaves like a second-order system, roughly what damping ratio would you aim for?

  1. About 0.2
  2. About 0.4
  3. 0.8 or more
  4. Exactly 0
Guess first, then reveal

5 mm in the final levelling metres is a tiny overshoot fraction, so you want heavy damping, around 0.8 or more, and a slow, careful last approach. Speed comes from the motion profile, not from an aggressive levelling loop.

Discover

Open the Elevator at Level 3. Before changing anything, write the five checks as metric + limit. Replay the default trip and note which checks fail. Then change one setting at a time, predicting each time which metric should move.

What the interactive shows (text version)

At default settings the simulated lift overshoots floor 7, oscillates around it and never opens its doors. Increasing damping and adding integral action makes the cabin approach the floor without passing it and settle within 5 mm, after which the doors open.

You can also open the interactive on the full site when you have a faster connection.

Understand

Specs become metrics

'Stop within 5 mm' is a steady-state error limit. 'Never sail more than 5 mm past' is an overshoot limit in millimetres. 'Doors open within 20 s' is a settling-time limit. 'Acceleration under 1.2 m/s²' and 'jerk under 1.5 m/s³' limit how hard the actuator may push.

Predict, then test

Before tuning, use a model: high derivative action raises ζ (less overshoot), integral action removes steady-state error (but can add overshoot), and comfort limits cap how fast you can go. Write the prediction down; then the test tells you whether your understanding is right, not just whether you got lucky.

Every line, every time

A design passes only if every check passes in the same run. Report all five numbers, not just the one you improved. If two lines can't both be met, that's a finding worth writing up, not hiding.

Explain it another way

Intuitive

A spec is a checklist on the wall. You don't get to tick only the boxes you like.

Technical

Lift levelling combines feedforward (an S-curve motion profile limiting acceleration and jerk) with feedback (PID on position). Transient specs apply mostly to the feedback's final approach.

Applied

Real lift standards bound levelling accuracy and comfort; manufacturers add load weighing so the motor holds the cabin before the brake lifts, which prevents a lurch at the start.

Worked example 1

Your design levels within 2 mm, overshoots 7 mm, opens doors at 14 s and keeps acceleration and jerk in limits. What do you change first, and what do you expect to get worse?

Overshoot fails, so raise damping: more derivative action, or a gentler final approach in the profile. Expect doors-open time to grow a little; check it stays under 20 s.

Common mix-ups

Practice

Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.

Practice 1. 'The doors must open within 20 s of the call' is a limit on which metric?

Practice 4. Why change one setting at a time when tuning against a spec?
Practice 5. Your new design improves overshoot from 7 mm to 2 mm but doors now open at 22 s. How do you report it?

Apply it

Pass all five Level 3 checks in the Elevator. In your submission, list your predictions for each change you made and whether they came true.

Reflect

Which of your predictions was wrong, and what did it teach you about the model?

Write your answer on paper or in your own notes. Lite never stores what you write.

← From overshoot to ζ and backStable means bounded →