Skip to content
Tactiverge

School/□ Systems Engineer/Week 18

Every load, every time

Your lift is perfect with six passengers. Empty, it overshoots; full, it stops 3 cm low. Can one controller handle them all?

About 50 min · 3 goals · Checked by automated tests

1.Why should I care?

Real systems never run at one operating point. Robustness, meeting the spec across the whole range of conditions, is what separates a demo from a product. This is the term project's core.

  • ◇ Design one controller that meets the full specification for an empty, half-full and full cabin.
  • ◇ Calculate the P-only levelling error for a full cabin and explain what removes it.
  • ◇ Compare P, PI and PID on the lift under matched loads using the pre-written protocol.

2.Discover

Open the Elevator at Level 4. Run your Level 3 design at 0, 300 and 600 kg and record all five checks for each. Calculate the P-only error for 600 kg before you look at the simulator's number. Then adjust one setting at a time until all three loads pass.

Can't use the interactive? Read a description instead

The Level 4 elevator task runs the same design with an empty, half-full and full cabin. With P-only levelling, the full cabin settles about 29 mm low. Adding integral action brings all three loads to within 5 mm of the floor.

3.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1

P-only levelling, stiffness Kp = 100,000 N/m. Going from 300 kg to 600 kg of passengers, how much further (in mm) does the cabin settle below the floor? Use g = 9.81 m/s².

mm

4.Apply it

Term project core: pass every Level 4 check for 0, 300 and 600 kg. Run P (baseline), PI and PID with your pre-written protocol and record all metrics for every controller and load in one table.

Open BUILD 002: Engineer an Elevator →

5.Understand

Load is a disturbance

The controller is tuned around a nominal load. Extra passengers add weight, a constant downward force: exactly the kind of disturbance that leaves a P-only error. Lighter loads change the effective mass, which changes ωn and ζ, so the same gains can overshoot.

The P-only error

If the levelling loop acts like a spring of stiffness Kp (N/m) and the extra weight is Δm·g, the settled error is Δm·g/Kp. With 300 kg extra and Kp = 100 kN/m: 300 × 9.81/100,000 ≈ 29 mm. Far outside a 5 mm spec.

Robust design

Integral action removes the load error at every load. Derivative action keeps enough damping when the mass changes. Feedforward (load weighing) helps the motor hold the cabin before the brake lifts. Test all three loads every time you change anything.

Explain it another way

A good lift controller is like a good waiter's tray hand: it holds steady whether the tray carries one glass or ten.

Worked example 1

With Kp = 200 kN/m and P only, what is the extra levelling error going from 300 kg to 600 kg passengers?

300 × 9.81/200,000 = 0.0147 m ≈ 14.7 mm. Doubling stiffness halves the error but still fails a 5 mm spec, which is why integral action is needed.

Common mix-ups

  • If it passes at the nominal load, it will pass at every load.
    ✓ Load changes both the disturbance and the dynamics. A robust design is tested at the extremes, not just the middle.

6.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 2

Which part of a design removes that load-dependent levelling error?

Practice 3

Your design passes at 450 kg. Why must you still test the empty and the full cabin?

Practice 4 · a fresh version every time

A first-order plant with static gain K = 2 is under proportional control with gain Kp = 5. The set point steps to r = 50. What steady-state error r − y∞ remains?

Practice 5 · a fresh version every time

A mass–spring–damper has m = 10 kg, c = 12.6 N·s/m and k = 400 N/m. What is its damping ratio ζ? (No unit.)

7.Predict

With P-only levelling, how does the settled error change from a half-full to a full cabin?

Guess first. Being wrong here is how the surprise works.

8.Reflect

Concepts: Tuning a PID controller · Steady-state error and integral action · Saturation and integrator windup · Evaluation metrics