Lite / Engineering Complex Systems / 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?
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.
Predict
With P-only levelling, how does the settled error change from a half-full to a full cabin?
- It disappears
- It grows in proportion to the extra load
- It stays the same
- It reverses direction
Guess first, then reveal
Under P control the extra weight acts as a constant disturbance; the steady error is the extra force divided by the effective stiffness, so it grows with load. Integral action removes it at every load.
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.
What the interactive shows (text version)
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.
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
Intuitive
A good lift controller is like a good waiter's tray hand: it holds steady whether the tray carries one glass or ten.
Technical
Robust performance: the spec must hold over a parameter range (m ∈ [m_empty, m_full]). The P-only steady error is the disturbance force divided by the loop's static stiffness; a type-1 controller (with I) has zero error for constant disturbances.
Mathematical
Δm = 300 kg, g = 9.81 m/s², Kp = 100,000 N/m: error = 2,943/100,000 = 0.0294 m = 29.4 mm.
Applied
Lift manufacturers fit load-weighing sensors and pre-torque the motor before releasing the brake, then let PID handle the remainder. Feedforward plus feedback is the norm in industry.
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.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
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.
Reflect
Which load was hardest for your design, and what does the second-order model say about why?
Write your answer on paper or in your own notes. Lite never stores what you write.