D31 of 10
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

D3 · Lesson 1 · Open-loop and closed-loop control

Controlling a system by a preset command against controlling it by measuring the result and correcting, a car's cruise control on a hill as the example, how proportional feedback shrinks the error from a disturbance and speeds up the response, and the steady error it leaves

A toaster is open loop: it runs for a set time whether the bread is pale or burnt. A thermostat is closed loop: it measures the room and switches the furnace on and off to hold the temperature it was asked for. The difference matters most when something unexpected happens. A car's cruise control that simply held the throttle where it was set would slow down on every hill; one that measures the speed and opens the throttle as the car slows holds the speed it was asked for. Measuring the result and correcting for the difference is called feedback, and it's the idea behind every control system.

  • A 1500 kg car cruising at 25 m/s meets a hill at t = 10 s whose slope adds a backward force Fh. Its drag is modeled as a linear 50 N·s/m.
  • Open loop (dashed), the throttle force stays fixed and the car slows until drag drops enough to balance the hill.
  • Closed loop, the controller adds force in proportion to the speed error, K(vref−v). A larger gain K leaves less error and recovers faster.

Predict

The car meets a 2% grade, a backward force of 294 N. Open loop, it settles 5.9 m/s slower. With proportional feedback of K = 500 N per m/s, how much speed does it lose?

Name it

Open loop and closed loop

  • Open loop: the controller sends a command computed in advance from a model. It's simple and can't go unstable, but it can't correct for disturbances or model errors.
  • Closed loop: a sensor measures the output, the controller compares it with the reference (the setpoint) and acts on the error e=r−y.

The cruise control

A car of mass m with linearized drag b obeys mv˙=F−bv−Fh. With proportional feedback, F=F0+K(vref−v), so a disturbance Fh leaves a steady error and a time constant

Δv=Fhb+K,τ=mb+K

against Fh/b and m/b open loop. Feedback divides both by 1+K/b, the loop gain plus one.

The price

Feedback needs a sensor, can amplify sensor noise, and can make a system oscillate or go unstable if the gain is too high and the response delayed (lessons 5 to 7).

Worked example

How fast has the open-loop car slowed 10 s after meeting the 2% hill?

Show the solution
  1. Time constant. τ=1500/50=30s
  2. Speed lost after 10 s. Δv=(Fh/b)(1−e−t/τ)=5.886×(1−e−10/30)=1.67m/s
  3. Compare with feedback. The closed-loop car with K = 500 has already settled to its 0.54 m/s loss by then.

Answer after 10 s the open-loop car is 1.67 m/s slower.

Worked example

What gain would hold the speed loss on the 2% hill to 0.2 m/s?

Show the solution
  1. Total damping needed. b+K=Fh/Δv=294.3/0.2=1472
  2. Gain. Take away the car's own b = 50: K=1472−50=1422N·s/m

Answer a gain of 1422 N·s/m holds the loss to 0.2 m/s.

Worked example

The 1500 kg car's engine can add at most 2000 N beyond what level cruising needs. What happens on a 10% grade and on a 15% grade, whatever the gain?

Show the solution
  1. Force at 10%. The grade's force is about mg×grade, 1471 N at 10%. That's within reach, so feedback holds the speed as before.
  2. Force at 15%. It's 2207 N, more than the engine can add, so the throttle saturates.
  3. Speed lost. The car slows until drag falls by the missing 207 N: 207/50=4.1m/s slower.
  4. The limit. No gain helps once the actuator is at its limit.

Answer on a 10% grade feedback holds the speed; on a 15% grade the throttle saturates and the car ends up 4.1 m/s slower, whatever the gain.

Check

A 1500 kg car with linear drag 60 N·s/m meets a 1% grade with its throttle fixed. How much speed does it lose in steady state? (Take the hill force as mg times the grade.)

Write units the way you normally would: 1.5 m/s, 1500 mm/s and 0.0015 km/s are the same answer.

Check

The same 1500 kg car (60 N·s/m of drag, 1% grade) has proportional cruise control with K = 2000 N·s/m. How much speed does it lose?

Write units the way you normally would: 1.5 m/s, 1500 mm/s and 0.0015 km/s are the same answer.

Check

What's the closed-loop time constant of a 1500 kg car with 40 N·s/m of drag and a proportional gain of 2000 N·s/m?

Write units the way you normally would: 1.5 s and 1500 ms are the same answer.

Check

By what factor does proportional feedback of 200 N·s/m shrink a car's disturbance error, if its drag is 50 N·s/m?

Check

A 1500 kg car with 40 N·s/m of drag and proportional cruise gain 800 N·s/m meets a 6% grade.

(a)

How much speed does it lose in steady state?

Write units the way you normally would: 1.5 m/s, 1500 mm/s and 0.0015 km/s are the same answer.

(b)

What is the closed-loop time constant?

Check

A 1200 kg car's engine can add at most 1500 N. It meets a 20% grade.

(a)

What force does the grade demand?

Write units the way you normally would: 1.5 N, 1500 mN and 0.0015 kN are the same answer.

(b)

Can the cruise control hold speed (1 for yes)?

Explain why

Why does closed-loop control handle disturbances that open-loop control can't?

Practice

Keep practicing

9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.