Skip to main content
Back to Writing

Project Reflection

When a Controller Meets Two Targets but Misses the Third

A MATLAB controller study demonstrates why response speed, overshoot, and tracking accuracy must be evaluated together.

Context 3 min read
  • PID
  • Root Locus
  • Control Systems
  • Design Requirements
In this article

A control system is rarely designed to satisfy a single requirement. It must often respond quickly, remain stable, limit overshoot, and accurately follow its reference. Improving one characteristic can change the others.

This relationship became particularly clear during a MATLAB-based controller design study involving a third-order system.

Three requirements, one controller

The design specified three principal targets:

  • Approximately 15% overshoot.
  • Zero steady-state error for a unit-step input.
  • A peak time of approximately 0.235 seconds.

The uncompensated system responded relatively slowly and settled at approximately 0.798 for a reference of one. The problem was therefore not simply to increase response speed. The controller also needed to eliminate the remaining tracking error and preserve the specified transient behavior.

Why controller design is not a sequence of independent fixes

The design progressed from an uncompensated system to a PD controller and then to a PID controller.

The initial PD configuration reduced the reported peak time to 0.225 seconds, slightly faster than the target. However, it still exhibited steady-state error and exceeded the overshoot specification.

Introducing integral action addressed the steady-state error. The response eventually reached the reference, but the transient behavior changed as well. The initial PID configuration produced approximately 10.3% overshoot and a peak time of 0.285 seconds.

The final tuning adjusted the controller parameters to achieve the intended overshoot while preserving zero steady-state error.

Design targets and reported tuned PID results
RequirementTargetReported tuned PID
Overshoot15%15.0%
Steady-state step error00
Peak time≈ 0.235 s0.27 s

The controller satisfied two requirements but its peak occurred approximately 35 milliseconds later than specified.

Reconstructed PID and uncompensated step responses. The tuned PID peaks later than the marked 0.235-second target and approaches the unit reference.
Reconstructed continuous-time step responses using rounded coefficients. The target marker is 0.235 s. The table gives the reported MATLAB metrics.

The difference between an approximation and a complete response

The root-locus design used dominant-pole relationships to estimate damping and response timing. These relationships provide useful design guidance, particularly for systems whose behavior is well approximated by a second-order model.

A higher-order system, however, may contain additional poles and zeros that influence the actual response. Adding controller dynamics can change those relationships further. The theoretical design point is therefore a starting point rather than a guarantee of the complete transient response. Evaluating the full closed-loop transfer function becomes essential.

Reporting the result that actually occurred

It would be easy to describe the final controller as successful because it achieved zero tracking error and the specified overshoot. That description would be incomplete.

The speed requirement was not fully satisfied, even though the response improved substantially compared with the uncompensated system. The remaining discrepancy identifies where further design work is needed.

A design can improve meaningfully without meeting every requirement, and a mathematically promising controller still needs to be assessed against the behavior of the complete system.

All articles