· Module 02

Automatic On/Off Control

Dr. Redmond R. Shamshiri
Assistant Professor of Robotics · University of Southern Denmark (SDU)

Study Automatic On/Off Control. Use the accompanying model, numerical example and practical task to connect the topic to a measurable engineering result. Notes are original supplemental material, not a transcript.

Learning Objectives

  • Explain the role of hysteresis and bounded switching in the engineering system.
  • Calculate the worked quantity with consistent units.
  • Design a measurement that can reveal an implementation failure.

Study guide

Original companion notes. These notes support the topic of this lesson. They are not a transcript or a claim about the exact contents, hardware settings or examples in the video.

Lesson focus: Automatic On/Off Control

Define the input, measured output, units and pass/fail condition before running the experiment.

Hysteresis and bounded switching

A single on/off threshold can cause repeated switching when measurement noise crosses it. Hysteresis introduces separate switch-on and switch-off thresholds and retains the previous state between them. Select the band from acceptable process variation and sensor uncertainty.

Model, units and assumptions

\[On_{k+1}=\begin{cases}1&y_k\geq y_H\\0&y_k\leq y_L\\On_k&y_L<y_k<y_H\end{cases}\]

yH > yL are thresholds; this version turns cooling on at high temperature. Heating uses the corresponding reversed interpretation. Minimum on/off timing may also be necessary for the actuator.

Worked engineering example

Cooling switches on at 28 °C and off at 26 °C. At 27 °C, an already running fan stays on, while a stopped fan stays off. The stored state is essential.

Practical task and evidence

Apply the following procedure to the topic of this lesson: Automatic On/Off Control.

  • Plot sensor noise around the original single threshold.
  • Implement the two-threshold state rule and log every transition.
  • Test the permitted switching frequency and minimum dwell time.

Submit: a diagram or interface table, a short timestamped dataset, the calculation with units, and a paragraph explaining the largest observed limitation.

Check your understanding

Question. Cooling is on, yL = 24 °C, yH = 26 °C, and current temperature is 25 °C. Next state?

Show worked answer

Remain on because the temperature lies inside the hysteresis band.

Extension. Change one assumption in the model and explain which measurement would reveal that it no longer holds.

Summary

Hysteresis and bounded switching: keep units, assumptions and timing explicit. Check the numerical model against an independent observation before using it in a larger system.

MARIAM: Mastering Automation and Robotics for Industrial Agricultural Management · Dr. Redmond R. Shamshiri · University of Southern Denmark (SDU)