Pattern

Negative feedback (thermostat)

You might say: balancing loop

Measure an output, compare it with a reference, and feed the signed error through a controller so the output moves toward the reference.

Ask
What is measured, what is the reference, and how strong and delayed is the correction?

Sources

  1. Kevin M. Lynch and Frank C. Park, Modern Robotics: Mechanics, Planning, and Control, §11.1 Control System Overview: Sensor feedback and closed-loop controlThe controller takes as input a desired motion from the user and sensor feedback from the robot.

Use it on your project

teardown-apply: hold "Negative feedback (thermostat)" (pattern-negative-feedback) from the teardown at https://teardownatlas.com/robotics/ against my project

Paste it into a coding agent that has the teardown skills.

An AI agent wrote this map with the teardown skill. It can contain errors: check the sources before you rely on a part. About and legal