TactivergeLite

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?

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

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.

Predict

A motor is switched from 0 V to 6 V in an instant. What does its speed do?

  1. Jumps to full speed instantly
  2. Rises smoothly over a short time, then levels off
  3. 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.

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

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

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. Which of these is best modelled as a dynamic system for a 1-minute experiment?
Practice 2. Physically, why can't an oven's temperature jump when you switch it on?
Practice 3. Which description captures a dynamic system?
Practice 4. An engineer models a motor driver chip as static but the motor as dynamic. When is that justified?

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.

← Your modelling investigationInputs, outputs, states and parameters →