2. Feedback Fundamentals

Reference, Error, And Output Signals

Reference, Error, and Output Signals in Feedback Systems

Welcome, students 👋 In control and mechatronics, many systems are designed to keep something close to a desired value. A room thermostat keeps temperature near a set level, a car cruise control keeps speed steady, and a robot arm moves to a target position. To understand how these systems work, you need to know the three most important signals in feedback: the reference signal, the error signal, and the output signal.

What you will learn

By the end of this lesson, students, you will be able to:

  • Explain what the reference, error, and output signals mean.
  • Identify these signals in real control systems.
  • Use them to describe how feedback changes system behavior.
  • Connect them to open-loop and closed-loop control.

These ideas are the foundation of feedback fundamentals because they describe what the system is trying to do, what it is actually doing, and how far it is from the goal.

The reference signal: the target 🎯

The reference signal is the desired value or target that a system should follow. It is often written as $r(t)$ for a changing signal or $r$ for a constant value.

Think of the reference as the goal set by a person or another system. In a home heating system, the reference might be $22^C$. In a drone altitude system, the reference might be $100\,\text{m}$. In a conveyor system, the reference might be a belt speed of $2\,\text{m/s}$.

The reference signal tells the controller what “correct” means. Without a reference, the system has no target to aim for. That is why the reference is the starting point for all feedback control.

A helpful way to picture this is a school test score target. If students wants at least $85\%$, then $85\%$ is the reference. The actual score is compared with that target to see whether more effort is needed. A control system does the same thing, but with physical quantities like speed, position, pressure, or temperature.

The output signal: what the system actually does 📈

The output signal is the measured result of the system. It is often written as $y(t)$ or $y$. This is the actual value produced by the plant, machine, or process.

For example:

  • In a temperature control system, the output is the room temperature.
  • In a motor speed system, the output is the motor speed.
  • In a robot positioning system, the output is the arm position.

The output may change because of control actions, disturbances, or natural system behavior. If the output matches the reference, the system is doing exactly what it was asked to do. If it does not match, feedback can help correct it.

It is important to remember that the output is not always perfect. Real systems have delays, friction, electrical noise, wear, and changing loads. For example, a motor may slow down when carrying a heavier load, even if the reference speed stays the same. The output then moves away from the target unless the controller responds.

The error signal: the difference between target and actual value ⚠️

The error signal shows how far the output is from the reference. It is usually defined as

$$e(t)=r(t)-y(t)$$

or, for constant values,

$$e=r-y$$

This formula is one of the most important in feedback control. It says that the error is the difference between what you want and what you actually have.

If the error is zero, then the output equals the reference:

$$e(t)=0 \quad \Rightarrow \quad y(t)=r(t)$$

That means the system is on target.

If the error is positive, the output is below the reference. For example, if the desired room temperature is $22\,\text{C}$ and the actual temperature is $20\,\text{C}$, then

$$e=22-20=2$$

The controller sees that the temperature is too low and may turn the heater on.

If the error is negative, the output is above the reference. For example, if the target speed is $50\,\text{km/h}$ and the car is moving at $55\,\text{km/h}$, then

$$e=50-55=-5$$

The controller may reduce throttle or apply braking.

The sign of the error matters because it tells the controller which direction to adjust the system. In many systems, positive error means “increase the output,” and negative error means “decrease the output,” although the exact meaning depends on how the system is designed.

How these signals work together in feedback 🔄

In a closed-loop system, the reference, output, and error signals form a simple decision cycle:

  1. A reference signal sets the target.
  2. The output signal shows the actual result.
  3. The error signal compares the two.
  4. The controller uses the error to change the input to the plant.
  5. The output moves closer to the reference.

This process repeats continuously. Because the system “checks itself” using feedback, it can correct for disturbances and changes in load.

A common feedback architecture uses a summing point where the reference and output are compared. At that point, the error is created. The controller then acts on the error. If the error becomes smaller, the output is moving in the right direction. If the error grows, the controller may need to respond more strongly.

Consider a water tank level system 💧. Suppose the desired level is $H_r$, the actual level is $H$, and the error is

$$e=H_r-H$$

If the tank level drops because water is being used, the error becomes positive. The controller opens the inlet valve to bring the level back up. When the tank reaches the target, the error becomes close to zero.

A real-world example: cruise control in a car 🚗

Cruise control is a great example of these signals in action. The driver sets a target speed, such as $100\,\text{km/h}$. That target speed is the reference signal $r(t)$.

The car’s actual speed is the output signal $y(t)$. If the car goes uphill, the speed may drop to $95\,\text{km/h}$. Then the error becomes

$$e(t)=100-95=5$$

The control system detects that the car is too slow and increases engine power. If the car starts going downhill and speed rises to $103\,\text{km/h}$, then

$$e(t)=100-103=-3$$

Now the controller reduces power or applies other adjustments.

This example shows why feedback is useful. Without feedback, the car would not know that the speed changed because of the hill, wind, or load. With feedback, the output is measured and compared to the reference all the time.

Open-loop versus closed-loop thinking

These signals are especially important when comparing open-loop and closed-loop systems.

In an open-loop system, the controller does not use the output to correct the action. There may still be a reference and an output, but the error is not used to adjust the control in real time. For example, a toaster with a timer may heat bread for a fixed time no matter how brown the bread becomes. If the bread is thicker or colder than expected, the final output may not match the desired result.

In a closed-loop system, the output is measured and compared with the reference. The error drives correction. This is why closed-loop systems are usually more accurate when conditions change.

The key idea is this: open-loop control acts without checking the output, while closed-loop control uses the error to improve the output. That is why the error signal is central to feedback fundamentals.

Why engineers care about these signals

Engineers use reference, error, and output signals to design systems that are stable, accurate, and reliable. By studying the error, they can decide whether the controller needs to be faster, stronger, or more precise.

For example:

  • A large steady error may mean the controller is too weak.
  • A very fast change in error may mean the system is reacting too aggressively.
  • A small error that does not go away may suggest friction, offset, or poor tuning.

In many control systems, the goal is to reduce the error quickly without causing overshoot or oscillation. Overshoot happens when the output goes past the reference. Oscillation happens when the output keeps moving above and below the target. Both can be seen by watching how the error changes over time.

This is why the three signals are not just definitions. They are tools for understanding how a system behaves and how to improve it.

Conclusion

Reference, error, and output signals are the core language of feedback control. The reference gives the target, the output shows what actually happens, and the error measures the difference between them. In a closed-loop system, the controller uses the error to adjust the output and move it toward the reference.

students, if you can identify these three signals in a system, you can understand a major part of feedback fundamentals. Whether the example is a thermostat, a motor, a drone, or a car, the same logic applies: set a target, measure the result, compare them, and correct the difference.

Study Notes

  • The reference signal is the desired target, written as $r(t)$ or $r$.
  • The output signal is the actual measured result, written as $y(t)$ or $y$.
  • The error signal is the difference between reference and output: $e(t)=r(t)-y(t)$.
  • If $e(t)=0$, then $y(t)=r(t)$, so the output matches the target.
  • Positive error usually means the output is below the reference.
  • Negative error usually means the output is above the reference.
  • Feedback systems use the error to adjust the control action.
  • Open-loop systems do not use output feedback to correct the action.
  • Closed-loop systems compare the output with the reference and reduce error.
  • Real-world examples include thermostats, cruise control, water tanks, and robot positioning systems.
  • The main purpose of feedback is to make the output follow the reference more accurately, even when disturbances happen.

Practice Quiz

5 questions to test your understanding