26Technology

How a thermostat works

A thermostat is a switch that watches the room: too cold turns the heater on, warm enough turns it off. Four strip charts show a room over a day, and what the loop, the gap, the walls and a slow heater do to it.

Set the dial

A switch that watches the room

A thermostat is a switch that watches the temperature. When the room gets too cold it turns the heater on. When the room is warm enough it turns the heater off. The heater warms the room, the room cools by itself, and the thermostat keeps it going round. This kind of loop, where the result switches off the cause, is called negative feedback.

Each panel draws a strip chart of a room over one day. The grey blue band is the gap between switch on and switch off, the dashed line is the temperature you asked for, and the orange marks along the bottom show when the heater is on. The room and heater are toy models made for this page, with typical numbers. Without a script, each panel shows one chart and a table.

Strip one

The loop

Choose the temperature you want and how cold it is outside. The room loses heat to the outside, and the colder it is out there the faster it loses it. The thermostat has to turn the heater on more often to make up for it.

Move the sliders and watch how much of the day the heater has to be on. Make it very cold outside and the heater cannot keep up at all.

06121824101826hours

The room stayed between 19.0 and 21.0 degrees. The heater switched 18 times and was on 51 per cent of the day.

Strip two

The gap

A thermostat does not switch on and off at exactly one temperature. It has a gap. It switches the heater on a little below the set point and off a little above it. One example is a furnace that comes on at 18 degrees and goes off at 22. This gap is called hysteresis, or a deadband.

Make the gap very small and the heater clicks on and off many times an hour, which wears out the switch. Make it big and the heater rarely switches, but the room swings far above and below what you asked for.

06121824101826hours

The room stayed between 19.0 and 21.0 degrees. The heater switched 18 times and was on 51 per cent of the day.

Strip three

The walls

How fast a room loses heat depends on its walls, roof and windows. The heat that leaks out is roughly proportional to the difference between the inside and the outside temperature. Better insulation lowers the number that this difference is multiplied by.

Slide from a well insulated room to a draughty one. In the draughty room the heater is on for most of the day, and it may not be able to keep up.

06121824101826hours

With a leak of 0.10 the room stayed between 19.0 and 21.0 degrees and the heater was on 51 per cent of the day. Better insulation means a smaller number.

Strip four

A slow heater

A real heater does not warm up the moment it is switched on, and it keeps giving heat for a while after it is switched off. Radiators full of hot water do this a lot. So the room keeps warming after the thermostat has said stop, and the temperature overshoots.

Slide the lag from a heater that reacts at once to one that takes an hour to warm up and cool down. Watch the swings grow past the gap.

06121824101826hours

The room stayed between 19.3 and 20.7 degrees. The heater switched 16 times and was on 52 per cent of the day.

Key takeaways

  1. A thermostat is a switch that watches the temperature: too cold turns the heater on, warm enough turns it off. This is negative feedback.
  2. The heater has to make up for the heat the room loses, so it is on more of the time when it is colder outside.
  3. A gap between switching on and switching off (hysteresis) stops the heater clicking on and off all the time. A wider gap means fewer switches and bigger swings.
  4. Heat leaks out roughly in proportion to the temperature difference, so better insulation means a smaller heater duty.
  5. A slow heater makes the room overshoot the gap, because it keeps giving heat after it is switched off.

Sources

Most of these sites could not be opened while this page was written, so the facts were checked through search results that quote them. A thermostat as on and off control with negative feedback, a gap (hysteresis or deadband) around the set point to stop constant switching, the furnace example that comes on at 18 degrees and goes off at 22, heat loss roughly proportional to the temperature difference and the U-value as the heat flow for each square metre and degree of difference each appeared in at least two places. The sources note that the proportion only holds within reasonable limits. The room, the heater power of 3 degrees an hour, the leak numbers and the lag are a toy model made for this page, and the numbers are typical but not measured. The page gives no advice on heating a home.