Control, Gateways & Networked Systems · Study deck
Setpoint, Error, and Feedback
Picture a heater asked to hold a room at twenty degrees.
Gateway Gus is your guide for this deck.
After studying this chapter
Learning objectives
You will be able to:
- Define setpoint, process variable, error signal, controller output, actuator, and disturbance.
- Explain why negative feedback is the standard regulation pattern for PID control.
- Distinguish regulation feedback from positive feedback used for switching or latch behavior.
- Decide whether a feedback loop should run locally, remotely, or as a hybrid with local fallback.

Major section
Start With One Feedback Loop
It turns on, but the temperature sensor sits near an open door.
- If the controller trusts that cold reading alone, it may keep heating a room that is already warm.
- The first panel sets a 20-degree target.
- A cold draft by the sensor can make a warm room look cold.
Major section
Start With One Feedback Loop (continued)
The last asks for checks before more heat is allowed.
- The tests below name the target, measured value, limits, delay, false input, and blocked heater.
- An actuator is a part that turns a command into physical action.
- This first loop does not prove every load, delay, or controller setting.
Major section
Start With One Feedback Loop (continued)
The deeper sections show how proportional, accumulated, and rate-based responses shape the result and how a feedback record keeps the physical outcome tied to each command.
- Feedback is the moment a device stops guessing and listens to the result of its own action.
- A heater turns on, the room warms, the sensor reports the change, and the controller decides whether to keep pushing or back off.
- That loop is everywhere in IoT: irrigation valves, fans, chargers, robots, and gateways all need evidence that the last command helped.
Major section
Feedback Vocabulary
A feedback loop is easier to check when each responsibility has a plain name.
- Figure: Closed-loop feedback roles first identifies Setpoint, then distinguishes: Plant, before reaching delay budget, and recheck trigger.
- That sequence connects Feedback Vocabulary to evidence a reviewer can name and retest.
- The exact controller can be on/off, proportional, PI, PID, or another policy.
Major section
Negative and Positive Feedback
The most important feedback distinction is whether the action reduces or reinforces a change.
- The evidence keeps Negative and Positive Feedback aligned with the running narrative.
- PID is a negative feedback controller.
- Proportional, integral, and derivative terms all use the error signal to reduce deviation from the setpoint.
Major section
Common Pitfalls
A dashboard that only displays measurements is monitoring, not closed-loop control.
- Feedback requires a command path that can influence the process.
- If the actuator moves in the wrong direction, the loop can amplify the problem.
- Positive feedback can be valid for switching and hysteresis, but it is not the normal pattern for holding a process near a target.
Major section
Overview: Feedback Needs A Proof Path
A feedback loop is real only when a measured value changes the next action.
- A dashboard can show temperature, pressure, or speed, but the loop is not closed until that measurement is compared with a setpoint and drives an actuator command that can change the process.
- Door openings and equipment heat enter as disturbances at the plant, so the sensor return path must show whether the command reduced their effect.
- If measurement is stale, reversed, or absent, the loop needs a bounded fallback rather than further tuning around evidence it cannot trust.
Major section
Delay and Sign Set Stability
If the sign is reversed, the same loop becomes positive feedback and pushes the process farther from the target.
- The loop has sensor delay, filtering delay, controller decision time, network delay when remote, actuator delay, and process response time.
- A stable local loop can become unstable if the decision is moved across a slow or unreliable path.
- The critical-damping preset below isolates the plant response before controller gains are changed.
Major section
Summary
Negative feedback reduces error and is the normal regulation pattern.
- Feedback is the foundation for PID control.
- The loop measures a process variable, compares it with a setpoint, computes error, and changes an actuator command.
- Positive feedback reinforces state changes and can be used deliberately for switching, latching, or oscillation.
Deck summary
Key takeaways
It turns on, but the temperature sensor sits near an open door.
- The last asks for checks before more heat is allowed.
- The deeper sections show how proportional, accumulated, and rate-based responses shape the result and how a feedback record keeps the physical outcome tied to each command.
- A feedback loop is easier to check when each responsibility has a plain name.
- The most important feedback distinction is whether the action reduces or reinforces a change.
Retrieval practice
Recall check 1 of 3

Gateway Gus says: answer from memory, then check your reasoning.
Q1Why is negative feedback the normal pattern for IoT regulation loops?
Show answer
Answer: A Negative feedback opposes drift and drives error toward zero, which is why it is the normal regulation pattern.
Retrieval practice
Recall check 2 of 3

Gateway Gus says: answer from memory, then check your reasoning.
Q2An IoT room controller sends sensor readings to a remote service, and that service sends actuator commands back. During a network outage, commands stop arriving. Which feedback-loop decision is most appropriate?
Show answer
Answer: B Dependable feedback should keep the basic sensor-to-actuator response available locally when the remote path is unavailable.
Retrieval practice
Recall check 3 of 3

Gateway Gus says: answer from memory, then check your reasoning.
Q3A remote service receives room-temperature readings and sends damper commands, but during a network delay the room overshoots and the controller keeps opening the damper. What should the feedback record check first?
Show answer
Answer: A Feedback-loop proof must show the measured value changes a correctly directed command soon enough, with local fallback and stale-command handling when the remote path cannot be trusted.
Print reference
Answers
Answer key.
- A · Negative feedback opposes drift and drives error toward zero, which is why it is the normal regulation pattern.
- B · Dependable feedback should keep the basic sensor-to-actuator response available locally when the remote path is unavailable.
- A · Feedback-loop proof must show the measured value changes a correctly directed command soon enough, with local fallback and stale-command handling when the remote path cannot be trusted.