TactivergeLite

Lite / Engineering Complex Systems / Term 2 worksheet

Worksheet: Engineering Complex Systems, term 2

Dynamic Systems and Control · Questions only. Check your answers in each Lite lesson, where they are graded on our server.

Name:   Date:

Week 10: Systems with memory

1. Which of these is best modelled as a dynamic system for a 1-minute experiment?

2. Physically, why can't an oven's temperature jump when you switch it on?

3. Which description captures a dynamic system?

4. An engineer models a motor driver chip as static but the motor as dynamic. When is that justified?

5. A first-order system τ·dy/dt + y = K·u starts at rest (y = 0). Its parameters are K = 4 and τ = 0.4 s, and a step input u = 2 is applied at time zero. What is y at t = 0.6 s?

Answer:

Check these in the lesson

Week 10: Inputs, outputs, states and parameters

1. A drone hovering in wind: which is a disturbance?

2. You change the time constant in the feedback lab between two runs. What have you done?

3. Why is the measured temperature an output and not simply the state?

4. In a block diagram, what does an arrow represent?

5. A first-order system starts at 0 and settles towards a final value y∞ = 3.3. At t = 1.35 s the reading is y = 0.8553. What is the time constant τ in seconds?

Answer: s

Check these in the lesson

Week 10: Is the code right? Is the model right?

1. You compare your cooling model with a thermometer log from a second cup. Which activity is that?

2. Why validate on data you did not fit to?

3. Halving the simulation time step changes your answer by 15 %. What should you conclude?

4. Euler's error for a problem is 0.020 at dt = 0.1 s. Euler's error is proportional to dt. What error do you expect at dt = 0.025 s?

Answer:

5. You simulate τ·dy/dt + y = 0 with explicit Euler, τ = 1.5 s. Above what time step dt (in seconds) does the simulation become unstable?

Answer: s

Check these in the lesson

Week 11: How many numbers does a system remember?

1. A car moving along a straight road, driven by an engine force against drag. You care about position and speed. How many states?

2. Which variable is the natural state for a resistor–capacitor circuit?

3. Why can't two trajectories cross in a phase plane of a time-invariant system?

4. In the phase plane, a trajectory spirals into the origin. What is the mass doing?

5. A mass–spring–damper has m = 12 kg and k = 200 N/m. What is its natural frequency ωn in rad/s?

Answer: rad/s

Check these in the lesson

Week 11: From one second-order equation to two first-order ones

1. In A = [[0, 1], [−k/m, −c/m]], what does the entry −c/m in the bottom-right mean?

2. For m = 2 kg and k = 50 N/m, at what damping c (N·s/m) do the eigenvalues become real (critical damping)?

Answer: N·s/m

3. How many states does d³y/dt³ + 2ÿ + 3ẏ + y = u need?

4. In the mass–spring–damper, why is B = [0; 1/m]?

5. 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.)

Answer:

Check these in the lesson

Week 11: Updating every state, one step at a time

1. Which update correctly applies explicit Euler to x' = v, v' = −k·x/m?

2. Euler on τ·dy/dt = −y with τ = 0.4 s and dt = 0.6 s. By what factor is y multiplied each step?

Answer:

3. Your open-loop simulation was stable with dt = 50 ms. You add a strong P controller and it explodes. Most likely cause?

4. Explicit Euler on an undamped spring (no friction) for many periods. What happens to the amplitude?

5. You simulate τ·dy/dt + y = 0 with explicit Euler, τ = 1.5 s. Above what time step dt (in seconds) does the simulation become unstable?

Answer: s

6. A first-order system has time constant τ = 25 s. How long after a step does it take to get within band = 5 % of its final value?

Answer: s

Check these in the lesson

Week 12: The time constant: 63 % and counting

1. K = 4, step u = 5 from rest, τ = 3 s. What is y at t = 3 s?

Answer:

2. A first-order system τ·dy/dt + y = K·u starts at rest (y = 0). Its parameters are K = 1.2 and τ = 0.8 s, and a step input u = 10 is applied at time zero. What is y at t = 0.4 s?

Answer:

3. A first-order system has time constant τ = 0.75 s. How long after a step does it take to get within band = 5 % of its final value?

Answer: s

4. You double K and keep τ. How does the time to reach 63 % of the final value change?

5. If a first-order response kept its initial rate of rise, when would it reach the final value?

6. An RC filter has R = 10 kΩ and C = 47 µF. What is its time constant, in seconds?

Answer: s

Check these in the lesson

Week 12: Read the plant from its step response

1. A step test settles 40 units above where it started. It is 25.3 units above the start at t = 6 s. What is τ, in seconds?

Answer: s

2. A first-order system starts at 0 and settles towards a final value y∞ = 40. At t = 7.5 s the reading is y = 15.74. What is the time constant τ in seconds?

Answer: s

3. Raising a heater's power by 200 W raises its settled temperature by 30 °C. What is the static gain K in °C per watt?

Answer: °C/W

4. Which readings give the most noise-robust estimate of τ from a single point?

5. You plot ln(1 − y/y∞) against t and it curves instead of being a straight line. What does that suggest?

Check these in the lesson

Week 12: A greenhouse is a first-order system

1. A greenhouse has heat capacity C = 900 kJ/K and loss coefficient G = 500 W/K. What is τ, in minutes?

Answer: min

2. Same greenhouse (G = 500 W/K) with a 3 kW heater. What steady temperature rise above outside does it reach, in °C?

Answer: °C

3. Opening the door multiplies G by 5. What happens to τ?

4. A first-order system τ·dy/dt + y = K·u starts at rest (y = 0). Its parameters are K = 2 and τ = 12 s, and a step input u = 5 is applied at time zero. What is y at t = 36 s?

Answer:

5. When is a one-temperature (lumped) greenhouse model likely to fail?

Check these in the lesson

Week 13: Mass, spring, damper: ωn and ζ

1. m = 2 kg, k = 200 N/m. What is ωn in rad/s?

Answer: rad/s

2. Same system with c = 8 N·s/m. What is ζ?

Answer:

3. A mass–spring–damper has m = 1 kg and k = 800 N/m. What is its natural frequency ωn in rad/s?

Answer: rad/s

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

Answer:

5. You make the spring four times stiffer, keeping m and c. What happens?

Check these in the lesson

Week 13: Under, critical, over

1. m = 1 kg, k = 16 N/m, c = 8 N·s/m. Which regime?

2. Which damping ratio gives the fastest step response that never overshoots?

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

Answer:

4. An underdamped second-order system has damping ratio ζ = 0.37. What percent overshoot does its step response have?

Answer: %

5. Overshoot would crack the part being handled. The best design choice is…

Check these in the lesson

Week 13: Taming a shaking drum

1. A drum of 40 kg on springs of total stiffness 16,000 N/m. What is ωn in rad/s?

Answer: rad/s

2. Convert ωn = 20 rad/s to revolutions per minute.

Answer: rpm

3. Same drum with dampers c = 480 N·s/m. What is ζ?

Answer:

4. A mass–spring–damper has m = 1 kg and k = 2000 N/m. What is its natural frequency ωn in rad/s?

Answer: rad/s

5. Why do washing machines accelerate quickly through about 190 rpm?

Check these in the lesson

Week 14: Reading a step response like an engineer

1. A step response settles at 4.0 and peaks at 4.6. What is the percent overshoot?

Answer: %

2. A response with final value 10 passes 1.0 at t = 0.3 s and 9.0 at t = 1.1 s. What is the 10–90 % rise time, in seconds?

Answer: s

3. Design A settles in 2.1 s (5 % band). Design B settles in 2.6 s (2 % band). Which is faster?

4. A second-order system has ωn = 5 rad/s and ζ = 0.6. Estimate its 2 % settling time ts with the rule of thumb ts ≈ 4/(ζ·ωn).

Answer: s

5. A response settles at 0.95 when the set point is 1.0. What does that tell you?

Check these in the lesson

Week 14: From overshoot to ζ and back

1. What is the percent overshoot for ζ = 0.5?

Answer: %

2. An underdamped second-order system has damping ratio ζ = 0.18. What percent overshoot does its step response have?

Answer: %

3. A step response peaks os = 8 % above its final value. Assuming a standard second-order system, what is its damping ratio ζ?

Answer:

4. A second-order system has ωn = 5 rad/s and ζ = 0.6. Estimate its 2 % settling time ts with the rule of thumb ts ≈ 4/(ζ·ωn).

Answer: s

5. What minimum damping ratio keeps overshoot at or below 5 %? Give ζ to two decimal places.

Answer:

6. When is ts ≈ 4/(ζωn) a poor estimate?

Check these in the lesson

Week 14: Stop on the floor: specs in practice

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

2. A levelling loop behaves like a standard second-order system. Its approach is 100 mm and overshoot must be at most 5 mm. What is the minimum ζ? (Two decimal places.)

Answer:

3. A step response peaks os = 8 % above its final value. Assuming a standard second-order system, what is its damping ratio ζ?

Answer:

4. Why change one setting at a time when tuning against a spec?

5. Your new design improves overshoot from 7 mm to 2 mm but doors now open at 22 s. How do you report it?

Check these in the lesson

Week 15: Stable means bounded

1. Which set of poles gives a stable system?

2. Poles at −10 and −0.2. Which dominates the long-term response?

3. A pole at σ = −0.35 s⁻¹. How long does its envelope take to halve, in seconds?

Answer: s

4. An undamped mass on a spring is pushed at exactly its natural frequency. What happens?

5. A second-order system has ωn = 20 rad/s and ζ = 0.3. At what time tp does its step response reach its first peak?

Answer: s

Check these in the lesson

Week 15: Eigenvalues: stability from the A matrix

1. A has trace −3 and determinant 2. Stable?

2. A = [[0, 1], [−4, −5]]. What is the slower (closer to zero) eigenvalue?

Answer:

3. A = [[0, 1], [−10, −2]]. What is the size of the imaginary part of its eigenvalues (rad/s)?

Answer: rad/s

4. A = [[2, 0], [0, −3]]. What happens to most starting states?

5. 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.)

Answer:

Check these in the lesson

Week 15: When a computer makes a stable loop unstable

1. τ = 1 s, K = 1, sampling period T = 0.5 s. What is the largest stable Kp? (Two decimal places.)

Answer:

2. A digital P controller samples a first-order plant (τ = 0.5 s, K = 0.5) every T = 2 s and holds its output between samples. Above what gain Kp does the loop become unstable?

Answer:

3. You simulate a P-controlled loop τ·dy/dt + y = K·Kp·(r − y) with explicit Euler. τ = 0.2 s, K = 2, Kp = 4. Above what time step dt (in seconds) does the simulation become unstable?

Answer: s

4. Your digital P loop oscillates. Which change is most likely to fix it without slowing the response?

5. The per-sample multiplier p = −0.6. How does the error behave?

Check these in the lesson

Week 16: Why P control never quite arrives

1. K = 2, Kp = 4, r = 10. What is the steady-state error?

Answer:

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

Answer:

3. K = 1. What is the smallest Kp that keeps the P-only steady-state error at or below 1 % of the set point?

Answer:

4. Why can't a P controller hold a heater at exactly the set point?

5. A constant load pushes the lift cabin down. Under P control, the levelling error is…

Check these in the lesson

Week 16: Feedback makes it faster

1. τ = 6 s, K = 0.5, Kp = 10. What is τcl in seconds?

Answer: s

2. A plant τ·dy/dt + y = K·u has τ = 1 s and K = 4. It is put under proportional control u = Kp·(r − y) with Kp = 1. What is the closed-loop time constant in seconds?

Answer: s

3. τ = 12 s, K = 1. What Kp gives τcl = 1.5 s?

Answer:

4. Kp·r is three times the actuator limit. What does the early response look like?

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

Answer:

Check these in the lesson

Week 16: More gain, less damping

1. A second-order plant has ζ = 0.9 and K = 1. With Kp = 8, what is ζcl?

Answer:

2. With ζcl = 0.3, what overshoot do you expect, in percent?

Answer: %

3. An underdamped second-order system has damping ratio ζ = 0.32. What percent overshoot does its step response have?

Answer: %

4. When you raise Kp on a second-order plant, which stays the same?

5. Your P-controlled joint overshoots 35 %. Which change reduces overshoot while keeping the gain?

Check these in the lesson

Week 17: I removes the error, D adds the damping

1. What does integral action remove that P alone cannot?

2. Why is derivative action sensitive to sensor noise?

3. Why do many PID implementations differentiate the measurement instead of the error?

4. 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?

Answer:

5. An underdamped second-order system has damping ratio ζ = 0.72. What percent overshoot does its step response have?

Answer: %

Check these in the lesson

Week 17: Tuning to a written spec

1. You've set Kp. Overshoot is 18 % and the spec is 10 %. What next in the procedure?

2. Which tuning-log entry is most useful?

3. You can't get settling under 1 s without the motor hitting its current limit. What is the right report?

4. A second-order system has ωn = 5 rad/s and ζ = 0.6. Estimate its 2 % settling time ts with the rule of thumb ts ≈ 4/(ζ·ωn).

Answer: s

5. A step response peaks os = 50 % above its final value. Assuming a standard second-order system, what is its damping ratio ζ?

Answer:

Check these in the lesson

Week 17: Hitting the wall: saturation and windup

1. What causes integrator windup?

2. Which change directly prevents windup?

3. Can a pure P controller suffer integrator windup?

4. An actuator is saturated for 4 s while the error is constant at 0.5. With Ki = 3, by how much does the integral term Ki·∫e grow?

Answer:

5. A plant τ·dy/dt + y = K·u has τ = 12 s and K = 1. It is put under proportional control u = Kp·(r − y) with Kp = 0.5. What is the closed-loop time constant in seconds?

Answer: s

Check these in the lesson

Week 18: A fair fight between controllers

1. Which is a matched condition for a controller comparison?

2. Why include a P-only controller in the comparison?

3. Settling times over four matched runs: 1.8, 2.0, 2.2, 2.0 s. What is the mean, in seconds?

Answer: s

4. Why write the specification before running any tests?

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

Answer:

Check these in the lesson

Week 18: Every load, every time

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².

Answer: mm

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

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

4. 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?

Answer:

5. 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.)

Answer:

Check these in the lesson

Week 18: Writing up the trade-offs

1. Your PID loses to PI on peak motor current. Should that column appear in your table?

2. Which explanation of 'P-only stops 29 mm low with a full cabin' uses the term's theory?

3. Which is a genuine limitation of a simulation-only controller comparison?

4. A step response peaks os = 10 % above its final value. Assuming a standard second-order system, what is its damping ratio ζ?

Answer:

5. A second-order system has ωn = 20 rad/s and ζ = 0.3. At what time tp does its step response reach its first peak?

Answer: s

Check these in the lesson