Skip to content
Tactiverge

School/◇ Explorer/Week 2

Sense, decide, act

A toaster burns frozen bread and undercooks warm bread. A smart greenhouse never lets its plants freeze. What does the greenhouse know that the toaster doesn't?

About 25 min · 3 goals · Checked by automated tests; not yet reviewed by an educator

1.Why should I care?

The difference between a dumb machine and a smart one is usually one sensor and one rule. Thermostats, automatic doors and robots all follow the same pattern: measure, decide, act, and keep doing it.

  • ◇ Explain that information can be an input, just like energy or materials.
  • ◇ Describe the sense → decide → act pattern inside a control system.
  • ◇ Tell an open-loop system (no checking) from a closed-loop one (it measures and adjusts).

2.Predict

A simple toaster has a timer set to 2 minutes. You put in frozen bread. What happens?

Guess first. Being wrong here is how the surprise works.

3.Discover

Do Level 1 of the greenhouse Build: match the parts to their jobs, then put measure, compare, decide and act in order. Which part is the sensor, which is the decider, and which does the acting?

Can't use the interactive? Read a description instead

The greenhouse activity in words: a thermometer measures the air; the controller compares the reading with the setpoint; it decides whether heat is needed; the heater acts (or the vent opens). Then the thermometer measures again. The order is measure, compare, decide, act, repeated.

4.Understand

Information is an input too

A thermometer reading, a button press, a camera image: these carry information into a system. Information doesn't push anything, but it can change what the system decides to do.

Sense → decide → act

Sense: a sensor measures something (temperature). Decide: a controller compares it with a target, called the setpoint (20 °C), using a rule. Act: an actuator changes the world (the heater switches on). A rule can be as simple as: IF temperature < 20 °C THEN heater ON, ELSE heater OFF.

Open loop or closed loop?

Open loop: the system acts without checking the result, like a timer toaster or a garden sprinkler on a clock. Closed loop: it measures the result and adjusts, like a thermostat. Closed loops cope with surprises (a cold night, frozen bread) but need a sensor and a good rule. The measuring-and-adjusting is called feedback.

Explain it another way

Riding a bike is closed loop: you feel yourself tipping and steer to fix it, many times a second. Riding with your eyes shut would be open loop. Don't try it!

Worked example 1

Write a sense–decide–act rule for a night light.

Sense: a light sensor measures brightness. Decide: IF brightness < a chosen level THEN light ON, ELSE light OFF. Act: the LED switches. It is closed loop for darkness; the system checks the room every moment.

Common mix-ups

  • Smart machines think like people.
    ✓ Most 'smart' machines follow simple rules: measure, compare with a target, switch something on or off.
  • Open loop is always worse.
    ✓ Open loop is cheap and fine when conditions don't change much. A toaster timer is good enough for most bread.

5.Practice

Practice, not a test. Wrong answers get a hint and another try.

Practice 1

Which is a closed-loop system?

Practice 2

In an automatic door, what is the sensor?

Practice 3

A fish-tank heater has the rule: IF water < 25 °C THEN heater ON. The water is 23 °C. What happens?

Practice 4

Why would you choose closed loop over open loop?

6.Apply it

Pick three machines at home. For each, write whether it's open or closed loop, what it senses (if anything), its rule in IF…THEN… form, and what it acts on.

Open BUILD 007: Design a Smart Greenhouse →

7.Reflect

Concepts: The sense–think–act loop · Open-loop and closed-loop control