stationeers.de Mod workshop · Dominik1199
DE Sign in
  1. Home
  2. IC10 academy
  3. Day 44

Day 44 of 365 · Beginner · Month 2: Order and data network

Cooling with hysteresis

The wall cooler has no set point – the chip switches it. Hysteresis the other way round: on above the upper limit, off below the lower one. And the mix-ups that happen along the way.

Lesson 11 min Week 7

What you learn today

  • Switch a wall cooler
  • Hysteresis the other way round
  • Spot typical mix-ups

Three computers run in the server room, with an arc furnace next door. It gets warm. A wall cooler should fix that – but it has no set point you could adjust. It cools as long as it is on. When it is on is decided by your chip.

The wall cooler

  • It pulls heat out of the room air and passes it to the gas in its pipe network. So the pipe has to be filled with gas, and the heat has to move on from there, for example through a radiator.
  • The larger the temperature difference between pipe gas and room, the worse it works. An ice-cold cooling loop is, of all things, the worst operating point.
  • It only works when there is enough pressure in the room – above 6.3 kPa, the Armstrong limit.
  • Switched on and off through On, like a heater.

Hysteresis the other way round

For heating it was: on below LOWER, off from UPPER. For cooling everything flips:

  • above the upper limit: switch on
  • below the lower limit: switch off
  • in between: keep the state
sgt tmp temp OFF       # still above the off limit?
and cool cool tmp
sgt tmp temp ON        # above the on limit?
or cool cool tmp

slt becomes sgt, and the limits swap roles: the and checks against the off limit, the or against the on limit.

Typical mix-ups

Mistakewhat happens
slt instead of sgtThe cooler runs when it is cold.
limits swapped between and and orThe hysteresis turns into a plain switch at one limit – it flickers again.
ON set below OFFThe band is upside down, the cooler toggles at the on limit.
Celsius instead of Kelvin25 instead of 298.15 – every temperature is above it, the cooler always runs.
Tip

Test every hysteresis with a sequence of values that runs up through the band and back down again. Inside the band the state must depend on the path: coming from below off, coming from above on.

Sensor gone?

If the sensor fails, both comparisons are false – the cooler switches off. Whether that is safe depends on the room. In the server room a switched-off cooler is a problem, so you report the failure with snan on a warning light.

Diagram

Temperature curve with hysteresis 21 °C 19 °C band: state is kept Heater on on off off On at 19 °C, off only at 21 °C – nothing switches in between.
Two thresholds and a memory: between the limits the device keeps its state.

Exercise

Task

Cooling for the server room. On the network: gas sensor “Serverraum”, wall cooler “Kuehler”, flashing light “Kuehlstoerung”.

  • Cooler on above 25 °C (298.15 K), off below 22 °C (295.15 K), keep the state in between.
  • If the sensor fails: cooler off, flashing light on.

Hints

Hint 1

The pattern from heating, but with sgt.

Hint 2

The and checks against OFF_AT, the or against ON_AT.

Hint 3

Finally snan tmp temp onto the flashing light.

Quiz

4 questions. You pass from 60 % – the server does the grading.

Complete the day

  • Passed the simulator exercise
  • Passed the quiz with at least 60 %

Without an account progress is saved in this browser only.

Report a mistake in this lesson

Please sign in to report. Sign in

Esc
↑ ↓ selectEnter open/ opens search anywhere