Skip to content
You Start with one site
Amounts in Start with one site
Control Systems · Concept

Feedback

One idea Beginner 5 min read
Found this useful?

In a shower you do not set the tap once and leave it. You feel the water, compare it with what you want, and turn the tap a little, again and again. Feedback is that loop done by a machine: measure the result, compare it with what was wanted, and correct.

The timer is broken?It ran the compressor for the same minutes as every other day.It did its plan
The compressor is weak?It cooled as hard as on every other day.It did its work
Nothing measured the room?More heat came in, and nothing in the system knew.No feedback

See it

Predict first

A timer runs the compressor of a cold room for 6.7 minutes in every 26.7 minutes. On a normal day this holds the room between 3 °C and 5 °C. At minute 40 the door comes into heavy use, and heat enters twice as fast. Where is the room at minute 120?

See it: the same cold room, with and without feedback

Room at minute 120
Range after the change
Compressor running, after the change

Until minute 40 the room warms at 0.10 °C a minute when the compressor is off, and both controllers hold it. Then the heat entering changes to the value on the slider. The timer repeats its plan. The thermostat switches on at 5 °C and off at 3 °C, so it runs the compressor for as long as the room needs.

The idea

A controller that follows a plan and never looks at the result is an open loop. A timer is an open loop. It is correct for as long as nothing changes.

A closed loop measures the result and sends it back to the controller. The value that is wanted is the setpoint. The difference between the setpoint and the measurement is the error, and the controller acts to make the error smaller.

e = r − y

e is the error, r is the setpoint, y is the measured value

Anything else that changes the result is a disturbance: an open door, a hot afternoon, more taps open on a water main. A closed loop does not need to know the cause. It sees the error and corrects it.

One worked number

The question

A running compressor can cool the room air at 0.40 °C a minute. Heat from an open door warms the air at 0.20 °C a minute. A timer runs the compressor for 6.67 minutes, then rests it for 20 minutes. How much does the room change in one cycle? What would a thermostat that switches at 5 °C and 3 °C do?

Show the worked solution, 3 steps
  1. Compressor on

    The room cools at 0.40 − 0.20 = 0.20 °C a minute. In 6.67 minutes it falls by 0.20 × 6.67 = 1.33 °C.

  2. Compressor off

    The room warms by 0.20 × 20 = 4.0 °C. Each cycle of 26.7 minutes ends 4.0 − 1.33 = 2.67 °C warmer, which is 6 °C in an hour.

  3. The thermostat

    It runs the compressor from 5 °C down to 3 °C, which takes 2 ÷ 0.20 = 10 minutes. The room warms back in 10 minutes. The compressor runs 50% of the time and the room stays in the band. Check both in the figure.

The mistake to avoid

Feedback cannot give more than the machine has. A loop corrects an error only while its machine has something in reserve. A compressor that already runs without stopping cannot cool more, and a pump at full speed cannot go faster. When a loop does not hold its setpoint, look first at the controller output. If it is at its limit, the problem is the load or the equipment, not the settings.

A loop also trusts its sensor completely. It holds the reading at the setpoint, not the true value. The lesson on feedback, open loop and closed loop shows the parts of a loop one by one.

Check yourself

Question 1

A thermostat is set to 4 °C. Its sensor is faulty and reads 1 °C lower than the true temperature. Where does the loop hold the room?

Question 2

A cold room is at 9 °C with its setpoint at 4 °C. The compressor has run without stopping for six hours. A colleague wants to change the controller settings. Is that the right step?

Question 3

A pump holds 4.0 bar at 60% speed. In the morning many taps open, and at fixed speed the pressure would fall by 0.6 bar. A controller with a pressure sensor raises the speed to 66%, and the pressure returns to 4.0 bar. How did the controller know how many taps were open?

Where you meet it

  • A cold room thermostatIt measures the air and switches the compressor, so the room holds on a hot day and on a cool one.
  • A booster pump with a driveA pressure sensor on the outlet lets the pump speed follow the demand of the building.
  • A generatorIts governor measures the speed of the engine and adds fuel when load is switched on.
Key points
  • Open loop: act on a plan. Closed loop: measure the result, compare, correct.
  • Error = setpoint − measurement. The correction always pushes against the error.
  • A closed loop holds its setpoint against disturbances it knows nothing about.
  • It cannot go past the limit of its machine, and it believes its sensor.
Found this useful?

Discussion

    Comments show your name. Be kind, stay on the topic.