5. Controller Design

Proportional Control

Proportional Control in Controller Design

Welcome, students ๐Ÿ‘‹ In Control and Mechatronics, a controller helps a system behave the way we want it to. A room heater should reach a chosen temperature. A drone should stay level. A motor should reach a target speed. One of the simplest and most important ways to do this is proportional control.

In this lesson, you will learn:

  • the main ideas and vocabulary of proportional control
  • how proportional control works using error and feedback
  • how to apply proportional control reasoning to real systems
  • how proportional control fits into the wider topic of controller design
  • how examples show both the strengths and limits of proportional control ๐Ÿš€

By the end, you should be able to explain why proportional control is so common, why it is useful, and why it is often only one part of a full control solution.

What Proportional Control Means

Proportional control is based on one simple idea: the controllerโ€™s output is proportional to the error. The error is the difference between the desired value and the actual value.

We write this as:

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

Here, $e(t)$ is the error, $r(t)$ is the setpoint or reference value, and $y(t)$ is the measured output. The controller then produces a control signal $u(t)$ based on that error:

$$u(t)=K_p e(t)$$

In this equation, $K_p$ is the proportional gain. It tells us how strongly the controller reacts to error.

If the error is small, the controller output is small. If the error is large, the controller output is large. That is why it is called proportional control.

Everyday idea

Think about steering a shopping cart toward a line on the floor ๐Ÿ›’. If the cart is far from the line, you turn the wheels more. If it is only slightly off, you turn a little. The size of your correction is proportional to how far you are from the target.

This kind of behavior is the core idea behind proportional control.

How Feedback Makes Proportional Control Work

Proportional control is usually part of a feedback system. Feedback means the system measures its own output and compares it with the target.

A basic feedback loop works like this:

  1. A setpoint is chosen.
  2. The sensor measures the actual output.
  3. The controller finds the error $e(t)$.
  4. The controller computes $u(t)=K_p e(t)$.
  5. The plant or process responds.
  6. The output is measured again.

This cycle repeats continuously.

Why feedback matters

Without feedback, a controller would not know whether the system is close to the target. With feedback, the controller can correct mistakes caused by disturbances, changing loads, or model errors.

For example, imagine a conveyor belt motor that should run at $1000$ rpm. If a heavy box is placed on the belt, the motor may slow down. A proportional controller notices the speed error and increases the motor input to help restore the speed.

A simple numerical example

Suppose a tank should hold a water level of $10$ cm. The sensor reads $8$ cm, so the error is:

$$e=10-8=2\text{ cm}$$

If the proportional gain is $K_p=3$, then the controller output is:

$$u=K_p e=3\times 2=6$$

So the controller sends a control signal of $6$ units. If the level rises closer to $10$ cm, the error becomes smaller, and the control signal decreases too.

This makes proportional control intuitive and easy to implement.

Choosing the Proportional Gain $K_p$

The most important tuning choice in proportional control is the value of $K_p$.

If $K_p$ is too small

When $K_p$ is low, the controller reacts weakly to error. The system may respond slowly and may never get very close to the target. This can leave a steady-state error, which means the output settles at a value different from the setpoint.

Example: A temperature controller with low gain may turn the heater on, but not strongly enough to fully reach the target temperature.

If $K_p$ is too large

When $K_p$ is high, the controller reacts strongly. This can reduce error quickly, but it may also cause overshoot, oscillation, or instability.

Example: A motor speed controller with very high gain might keep over-correcting. The speed goes above the target, then below it, then above again โš ๏ธ.

Tuning trade-off

The choice of $K_p$ is a balance:

  • low $K_p$ gives smoother but weaker action
  • high $K_p$ gives stronger but possibly less stable action

Good controller design is about finding a value that gives acceptable speed, accuracy, and stability for the job.

Strengths and Limits of Proportional Control

Proportional control is popular because it is simple, cheap, and effective in many systems. It is often the first controller studied in Control and Mechatronics.

Strengths

  • easy to understand and implement
  • uses only the current error
  • improves response compared with no control
  • works well in many practical systems when exact perfection is not required

Limits

A proportional controller usually cannot remove steady-state error in all systems. Why? Because as the output gets closer to the target, the error becomes smaller, and the controller output also becomes smaller. Sometimes the controller output becomes too small to fully push the system to the exact setpoint.

A classic example is a position system where friction or gravity creates a load. A proportional controller may move the actuator close to the target but stop a little short because the remaining error is too small to produce enough force.

This is a major reason why other controllers, such as PI and PID, are introduced later in controller design.

Proportional Control in Real Engineering Systems

Proportional control appears in many real systems, especially where simplicity matters.

Motor speed control

A speed sensor measures the actual speed of a motor. If the motor is slower than the target, the controller increases the voltage or current command. If it is too fast, the controller reduces it.

This helps keep the speed steady when the load changes.

Temperature control

In a heater, the controller compares the room temperature with the desired temperature. If the room is colder than wanted, the heater power increases. As the temperature approaches the setpoint, the heater power reduces.

Because heating systems respond slowly, proportional control can work well, but the gain must be chosen carefully to avoid slow drift or repeated overshoot.

Robot steering

A mobile robot can use proportional control to reduce its distance from a line or path. The bigger the sideways error, the stronger the steering correction. This keeps the robot moving toward the path without requiring complex logic for every small mistake ๐Ÿค–.

Proportional Control and System Behavior

To understand proportional control deeply, it helps to think about system behavior in terms of response.

Rise time

Rise time is how quickly the system moves toward the target. Increasing $K_p$ often makes the system respond faster.

Overshoot

Overshoot happens when the output goes beyond the target before settling back. A larger $K_p$ can increase overshoot.

Steady-state error

Steady-state error is the final difference between the target and the actual output after the system has settled. Proportional control may reduce this error but not always eliminate it.

Stability

A stable system returns to a steady behavior after disturbance. If the proportional gain is too high, the system may become unstable and keep growing in oscillation instead of settling.

These ideas are central to Controller Design, because a good controller is not just about reaching the target. It must do so in a controlled and reliable way.

Connection to PI and PID Control

Proportional control is the starting point for more advanced controllers.

  • PI control adds integral action to remove steady-state error.
  • PID control adds derivative action to improve damping and prediction of changing error.

The proportional term is still present in both PI and PID controllers. That shows how important it is. The general idea is that proportional control provides the immediate response, while the extra terms help fix weaknesses.

A common controller form is:

$$u(t)=K_p e(t)+K_i\int e(t)\,dt+K_d\frac{de(t)}{dt}$$

In this structure, the proportional part is the first term. It gives the controller its basic reaction to current error.

So, proportional control is not just a standalone topic. It is the foundation of broader controller design.

Worked Example: Filling a Water Tank

Imagine a water tank where the level should stay at $50$ cm. The current level is $46$ cm.

The error is:

$$e=50-46=4\text{ cm}$$

If $K_p=2$, then:

$$u=K_p e=2\times 4=8$$

The valve opens with a control action of $8$ units.

Now suppose the tank level rises to $49$ cm. The error becomes:

$$e=50-49=1\text{ cm}$$

Then:

$$u=2\times 1=2$$

The valve is less open because the system is closer to the target. This is exactly proportional behavior.

If the level stays at $49$ cm instead of reaching $50$ cm, then a steady-state error exists. That might be acceptable in some cases, but in precision control, it is often not good enough.

Conclusion

Proportional control is one of the most important ideas in Controller Design. It works by making the control signal proportional to the current error. That makes it simple, fast to understand, and useful in many real systems.

students, the key idea is that proportional control gives an immediate correction when a system moves away from its target. However, choosing $K_p$ requires care, because too little gain gives weak correction and too much gain can cause overshoot or instability.

Proportional control also helps explain why more advanced controllers such as PI and PID are needed. It is the foundation on which much of practical control theory is built.

Study Notes

  • Proportional control uses the current error to generate the control signal.
  • The basic equations are $e(t)=r(t)-y(t)$ and $u(t)=K_p e(t)$.
  • $K_p$ is the proportional gain.
  • Small $K_p$ can lead to slow response and steady-state error.
  • Large $K_p$ can cause overshoot, oscillation, or instability.
  • Proportional control is part of a feedback loop, so the output is measured and compared to the setpoint.
  • It is simple, practical, and widely used in motor speed, temperature, and position control.
  • It often reduces error but does not always eliminate steady-state error.
  • PI and PID controllers build on proportional control by adding integral and derivative actions.
  • Understanding proportional control is essential for the wider topic of Controller Design.

Practice Quiz

5 questions to test your understanding