Lite / Engineering Complex Systems / Week 10
Systems with memory
Flick a light switch and the room is bright at once. Turn on an oven and you wait ten minutes. What does the oven have that the bulb does not?
Why should I care?
Almost everything worth controlling is dynamic: motors spin up, rooms warm, lifts accelerate, batteries charge. If you treat a dynamic system as static, you will push too hard, overshoot and blame the hardware. This term is about systems whose present depends on their past, and how to steer them.
- Distinguish a static system (output depends only on the present input) from a dynamic one (output also depends on the past).
- Recognise stored energy or stored material as the physical source of a system's memory.
- Describe a dynamic system with a rate equation rather than an input–output formula.
Predict
A motor is switched from 0 V to 6 V in an instant. What does its speed do?
- Jumps to full speed instantly
- Rises smoothly over a short time, then levels off
- Rises forever while the voltage is on
Guess first, then reveal
The rotor and its load have inertia: kinetic energy has to be built up, and that takes time. Speed rises quickly at first and then levels off as friction and back-EMF balance the drive. That smooth rise is the fingerprint of a dynamic system.
Discover
Open the Robotics Workbench in Systems Engineer mode. Step one wheel's motor command from zero to a fixed value and watch the measured wheel speed. Then step it back to zero. Note how long each change takes and whether the speed ever jumps.
What the interactive shows (text version)
In the workbench, stepping a motor command from zero to a fixed value makes the wheel speed rise quickly at first, then more slowly, levelling off after a fraction of a second; stepping back to zero makes it fall the same way. The speed never jumps.
Watch (optional)
Watch for: Listen for why a model is always a simplification, and which effects the speaker chooses to leave out.
Why engineers turn a physical system into equations before designing a controller, and what a model leaves out.
“Modeling Physical Systems, An Overview” by Brian Douglas (opens YouTube; streaming video uses a lot of data)
The video is optional. Everything you need is in this lesson's text.
Understand
Static versus dynamic
A static system's output depends only on the input right now: a resistor's current follows its voltage instantly, a lever's output force follows the push. A dynamic system's output depends on what happened before: a cup of tea's temperature now depends on how hot it was a minute ago. Dynamic systems have memory.
Memory is stored stuff
Physically, memory is something stored that cannot change instantly: kinetic energy in a spinning rotor, heat in an oven's walls, charge on a capacitor, water in a tank. Changing the stored amount takes a finite flow over a finite time, which is why outputs lag inputs.
Describe the rate, not the value
Because the output cannot jump, we describe a dynamic system by how fast it changes: dT/dt = (heater power − losses)/heat capacity. Solve or simulate that rate equation and you get the value at every time. That is the language of this whole term.
Explain it another way
Intuitive
A static system is a mirror: it shows you the input right now. A dynamic system is a bath: what's in it now depends on everything you poured in and everything that drained out.
Technical
A static system is y(t) = f(u(t)). A dynamic system needs internal variables x(t) with dx/dt = f(x, u) and an output y = g(x, u). The internal variables are its states; their values summarise the whole relevant past.
Mathematical
Static: y = 3u. Dynamic: dy/dt = −y/τ + (K/τ)·u. For a constant u the dynamic one approaches y = K·u, but only as t grows; at t = 0⁺ its output is still whatever it was before the step.
Applied
Lift engineers model the cabin as dynamic (mass, rope stretch). The door edge sensor is treated as static: it reports an obstruction essentially at once. Choosing which parts need a dynamic model is a key modelling decision.
Worked example 1
Classify: (a) a phone charger's output voltage versus mains input, (b) a water tank's level versus inflow, (c) an LED's brightness versus current.
(a) Practically static on human timescales (its internal filter settles in milliseconds). (b) Dynamic: the level integrates inflow minus outflow. (c) Static: brightness follows current almost instantly. Note that 'static' always means 'fast compared with what we care about'.
Common mix-ups
If the output is slow, the sensor must be slow.
✓ Sensors can lag, but the physical quantity itself also changes gradually when something is being stored. Separate the two before blaming the sensor.Static and dynamic are fixed properties of a device.
✓ They depend on the timescale you care about. A thermometer is dynamic over seconds and static over hours.
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
List five systems in your home. For each, name the stored quantity that gives it memory (or say why it is effectively static) and estimate how long it takes to respond to a sudden change.
Reflect
Which system you use every day responds more slowly than you would like, and what is being stored that makes it slow?
Write your answer on paper or in your own notes. Lite never stores what you write.