← All articles

Designing Cascade PI Control for Disturbance Rejection

A technical illustration shows nested feedback loops around connected plant stages, with a disturbance entering the process and response curves alongside.

Disturbance rejection is a reason to reconsider where feedback is taken, not just how a PI controller is tuned. When a disturbance acts within a process, a controller using only the final output must respond through that feedback path. Cascade control adds an inner feedback loop around part of the process, creating an opportunity to counter the disturbance before its effect reaches the controlled output. The documented MathWorks example uses this distinction to compare cascade and single-loop PI control. [1]

The architectural choice is therefore more specific than adding another controller. In the single-loop arrangement, a PI controller regulates the overall plant output. In the cascade arrangement, an inner PI controller regulates an intermediate variable, while an outer PI controller adjusts the inner loop’s reference to regulate the final output. That intermediate feedback signal is central to the disturbance-rejection strategy. [1]

For engineers considering this structure, the example provides a way to examine the design:

  • Identify the process partition, the intermediate measurement and the disturbance entry point. These determine what the inner loop can act on. [1]
  • Tune the inner PI loop before designing the outer controller around the plant that includes the closed inner loop. [1]
  • Compare disturbance responses with the single-loop alternative, rather than treating the presence of an additional controller as evidence of improvement. [1]

The discussion follows that documented model-based design and its simulated comparison. Its value is a traceable connection between feedback placement, tuning sequence and disturbance response. The results concern the example’s modeled plant and selected controllers, not demonstrated performance on deployed equipment. [1]

The documented cascade PI design

The MathWorks example Designing Cascade Control System with PI Controllers presents a modeled plant divided into stages, with an intermediate signal available for feedback as well as the final controlled output. Its cascade arrangement uses an inner PI controller and an outer PI controller. The inner controller regulates the intermediate signal; the outer controller regulates the final output by supplying the inner loop’s reference. [1]

This feedback structure is the defining feature of the design. The outer controller does not command the plant input directly. Its command passes through an already regulated subsystem, so the dynamics seen by the outer loop include the action of the inner controller. The example therefore treats controller design as a sequence, rather than tuning the PI controllers independently against separate, open-loop plant models. [1]

The documented workflow is:

  • Design the inner loop: tune its PI controller for the inner plant, establishing a response that is faster than the intended outer-loop response. [1]
  • Close the inner feedback path: use that closed-loop response together with the remaining plant dynamics to form the plant for outer-loop tuning. [1]
  • Design the outer loop: tune its PI controller around this combined model, retaining the nested feedback structure. [1]
  • Evaluate the arrangement: simulate responses and compare disturbance rejection with a single-loop control design. [1]

This is an established control-design example, not a report of a newly demonstrated industrial installation. Its evidence consists of the specified mathematical model, the controller-design procedure and the resulting simulated responses. Those boundaries make it useful as engineering guidance: the architecture and tuning sequence can be inspected alongside the disturbance-rejection comparison. [1]

Why the architecture matters for engineers

Cascade control changes where corrective action begins. In the documented design, the inner loop feeds back an intermediate process signal, while the outer loop regulates the final output. A disturbance affecting the inner process can therefore trigger corrective action through the inner controller without waiting for the outer controller to respond to its effect on the final output. This local feedback path is the architectural reason for examining cascade control when disturbance rejection matters. [1]

The benefit depends on the relationship between the loop dynamics, not simply on adding another PI controller. The example makes the inner loop faster than the outer loop. That separation allows the inner loop to respond to disturbances and follow its reference on a shorter timescale, while the outer loop adjusts that reference to regulate the final output. The outer controller consequently acts through an already controlled subsystem rather than directly through the uncontrolled inner process. [1]

For tuning, this has practical consequences:

  • Treat the loops as connected dynamics. The outer controller sees the closed inner loop as part of its plant. Its tuning must therefore account for the response produced by the inner controller, not just the original process model. [1]
  • Establish the inner response first. The documented sequence closes and tunes the inner loop before designing the outer controller around the combined model. This preserves the intended relationship between their response speeds. [1]
  • Evaluate the nested arrangement. The example compares disturbance responses after assembling the cascade. Isolated controller settings are not the evidence of improvement; the simulated response of the connected loops is. [1]

Understanding the signals and loop boundaries

The signal map distinguishes the final controlled output from the intermediate variable used for inner feedback. These are separate regulation tasks: the outer loop regulates the final output, while the inner loop regulates an upstream process variable that influences it. The manipulated input is the signal delivered by the inner controller to the process, not the output of the outer controller. [1]

Follow the reference through the loops

The outer controller compares the requested final output with its measured feedback. Its output becomes the reference for the inner loop. The inner controller then compares that reference with the intermediate feedback signal and produces the manipulated input. The intermediate variable therefore has a changing target determined by the outer controller, rather than an independent operating target. [1]

This gives the loop boundaries a practical meaning:

  • Inner boundary: the inner controller, the process dynamics it directly regulates, and the intermediate feedback connection. Closing this boundary establishes the response available to the outer controller. [1]
  • Outer boundary: the outer controller, the closed inner loop, the remaining process dynamics, and feedback from the final output. The outer controller acts through the inner reference, not directly through the manipulated input. [1]

Keep the disturbance path separate

The documented disturbance comparison injects a disturbance into the process path addressed by the inner loop, rather than changing the outer reference. That distinction matters when reading the response: the test asks how the connected controllers suppress a process perturbation at the final output, not how they follow a new setpoint. Preserve that injection point when reproducing the comparison, because moving it changes the disturbance path being evaluated. [1]

Tune the inner PI loop first

Start with G2, the inner plant in the documented example, rather than the product of the inner and outer plants. The inner PI controller acts on the error between the inner reference and the measured inner output. Tuning against the complete process would therefore solve a different feedback problem from the one defined by this architecture. [1]

Keep the outer loop out of this tuning step. Its controller will subsequently be designed around the response of the already closed inner loop, not around the uncontrolled inner plant. [1]

Set the inner-loop tuning target

The example uses pidtune with a PI controller type and a specified bandwidth target. The procedure can be written as follows, with wc_inner standing for the example’s inner-loop target: [1]

C2 = pidtune(G2,'PI',wc_inner);

The documented choice makes the inner loop faster than the outer loop. This separation lets the inner controller address disturbances locally before their effects propagate through the slower outer process. Treat that bandwidth choice as part of this particular design, not as a universal prescription for every cascade system. Reproducing the example means preserving its plant and tuning target together. [1]

Close the inner loop before proceeding

Form the inner reference-to-output model using the tuned controller and negative unity feedback: [1]

T2 = feedback(G2*C2,1);

Here, T2 denotes the resulting closed inner loop. For the subsequent outer-loop design, combine this model with G1, the outer plant. This preserves the inner controller’s dynamics in the model seen by the outer controller, rather than replacing the inner subsystem with an ideal response. [1]

Tune the outer PI around the closed inner loop

The outer controller must be tuned against the plant it actually sees: the closed inner loop T2 in series with G1. The effective outer plant is therefore G1*T2, not G1 alone and not the product of the uncontrolled plant blocks. This construction retains the response of the tuned inner controller within the outer-loop design. [1]

Set the outer tuning target

The documented example tunes an outer PI controller, C1, with a target bandwidth of 0.2 rad/s. The inner-loop tuning target is 2 rad/s, establishing a decade of separation between the tuning targets. The outer loop is deliberately slower, allowing the inner loop to respond on a shorter timescale. [1]

Keep the distinction between a tuning target and the resulting closed-loop response. The specified bandwidth guides the controller design; it is not, by itself, a complete description of tracking or disturbance rejection. Those behaviours are assessed using the connected cascade model. [1]

Preserve the loop boundary

For a faithful reproduction, maintain the documented sequence: [1]

  • Keep the tuned inner PI controller inside T2.
  • Use G1*T2 as the plant for outer PI tuning.
  • Apply the documented outer bandwidth target.
  • Close the outer feedback loop around the resulting controller and effective plant.

Do not substitute an ideal inner response when calculating the outer controller. That would remove dynamics included in the documented design and change the tuning problem. Likewise, tuning the outer PI before closing the inner loop would not reproduce this example. The key dependency is the model boundary: outer tuning follows inner-loop closure. [1]

Read the disturbance rejection comparison

The disturbance comparison should be read as a comparison of complete feedback architectures, not of isolated PI controllers. The example uses the same modeled process for the cascade and single-loop designs. The single-loop PI is tuned using the same bandwidth target as the cascade’s outer loop. This provides a common tuning objective, although it does not make the resulting closed-loop dynamics identical. [1]

What the responses establish

The documented simulation shows improved disturbance rejection with cascade control relative to the single-loop design. Interpret that result through the signal path: the inner feedback loop can respond to the disturbance before the outer controller has to correct its effect on the final controlled output. The single-loop controller relies on feedback from that final output. [1]

Keep the comparison anchored to the plotted experiment:

  • Check the disturbance entry point. The demonstrated benefit concerns the disturbance location used in the example, not every possible disturbance entering the process. [1]
  • Compare the controlled output. The relevant evidence is how the output departs from, and returns toward, its reference under the disturbance, rather than the controller gains alone. [1]
  • Keep tracking and rejection separate. The example compares reference tracking as well as disturbance rejection. A shared bandwidth target is a tuning condition, not proof that every response characteristic matches. [1]

The plots support a qualitative improvement for the documented model, controllers and disturbance test. They do not establish a numerical improvement factor or a guarantee across plants. Reusing the architecture therefore calls for repeating the disturbance comparison with the intended model and disturbance paths, rather than treating the illustrated advantage as an intrinsic property of cascade PI control. [1]

Separate tuning choices from demonstrated results

A useful reading of the example separates what the designer requests from what the simulation demonstrates. The bandwidth supplied to the PI tuning procedure is a design target. It is not a measured settling time, a disturbance attenuation factor, or a complete description of the resulting closed-loop dynamics. Those properties must be assessed from the tuned system and the relevant response. [1]

Keep three kinds of evidence distinct:

  • Tuning choices: The inner-loop bandwidth target establishes the intended faster response, while the outer controller is tuned around the plant that includes the closed inner loop. These choices define the design procedure, rather than proving its performance. [1]
  • Demonstrated responses: The disturbance plots show how the resulting controller arrangements respond for the example’s plant and disturbance injection point. Their interpretation belongs to that particular signal path, not to every disturbance that could enter a cascade system. [1]
  • Model-dependent conclusions: The comparison uses the documented transfer-function models and feedback connections. Its conclusions therefore depend on the dynamics represented by those models and on the availability of the inner feedback signal assumed by the architecture. [1]

This distinction also matters when discussing the outer loop. Its tuning model contains the closed inner-loop dynamics, not an ideal, instantaneous actuator. Changing the inner controller changes the effective plant seen by the outer controller, so the documented outer-loop response cannot simply be carried over unchanged. [1]

For a reusable design record, retain the requested bandwidths alongside the resulting controllers, loop definitions and simulated responses. Label the bandwidths as tuning inputs and the plotted responses as model-based evidence. That preserves the example’s useful result without turning a selected tuning condition into a performance guarantee. [1]

Limitations and checks before reusing the design

Reuse the architecture only after mapping the proposed plant to the example’s inner and outer process blocks. Identify the manipulated input, the intermediate variable used for inner feedback, the final controlled output and the disturbance entry point. The example’s disturbance rejection comparison depends on those loop boundaries, not merely on using PI controllers. [1]

Confirm that the intermediate feedback signal is available in the intended application. A model containing an internal variable does not, by itself, establish that this variable can serve as measured feedback. If the proposed feedback location or disturbance path differs from the example, treat the comparison as a design illustration rather than evidence for the revised arrangement. [1]

Recheck the bandwidth relationship

The documented procedure tunes the inner loop first, then tunes the outer controller around the plant that includes the closed inner loop. Preserve that sequence when adapting the design. Copying controller settings or requested bandwidths does not establish that a different plant retains the intended separation between loop responses. [1]

Before accepting a candidate:

  • Check the closed inner-loop response against the intended outer-loop response speed. [1]
  • Retune the outer controller whenever the inner-loop design changes. [1]
  • Repeat the reference-tracking and disturbance-response simulations with the revised model and loop definitions. [1]

Keep the validation claim narrow

The example demonstrates controller design and response comparisons through model-based simulation. Its plots support conclusions about the modeled configurations and specified inputs; they do not establish hardware performance. [1]

For reuse, explicitly identify the work as simulation-based evaluation. Keep hardware validation outside the demonstrated evidence, rather than treating successful simulated disturbance rejection as confirmation of physical implementation. [1]

Key takeaways

  • Cascade control uses intermediate feedback so the inner loop can respond to disturbances before the outer loop completes its correction. [1]
  • Tune the inner PI controller first, then include its closed-loop dynamics in the effective plant used for outer-loop tuning. [1]
  • The documented design separates inner and outer loop bandwidths, but its tuning choices should not be treated as universal settings. [1]
  • The cascade and single-loop disturbance responses support a comparison for the documented model, not a guarantee for other plants. [1]
  • Keep design bandwidth targets distinct from simulated responses, and check plant structure and feedback availability before reusing the approach. [1]

Frequently asked questions

Why use cascade PI control for disturbance rejection?

Cascade control adds an inner feedback loop around an intermediate process signal. That loop can address disturbances before their effects require correction by the outer controller. The documented example illustrates this rationale through a simulated comparison with single-loop PI control. Its conclusions depend on the modeled plant, disturbance location and controller tuning. [1]

Why should the inner PI loop be tuned first?

The outer controller acts through the closed inner loop, so inner-loop dynamics become part of the effective outer plant. The documented sequence therefore tunes the inner PI controller, forms the inner closed-loop model and then tunes the outer PI controller around that model. This preserves the interaction between the loops during design. [1]

How should engineers interpret the bandwidth choices?

The example uses bandwidth separation to make the inner loop respond more quickly than the outer loop. These bandwidth choices are design targets for the documented plant, not universal settings or measured disturbance-rejection results. Engineers should distinguish the selected tuning targets from the closed-loop behavior shown in the example's simulations. [1]

What does the disturbance-response comparison demonstrate?

The comparison illustrates the disturbance-rejection benefit of cascade PI control for the example's modeled system and chosen disturbance input. It should be read as simulation evidence under those conditions, rather than proof of improvement for every plant. Reusing the design requires checking the process structure, intermediate feedback availability and separation between loop dynamics. [1]

Sources

  1. Designing Cascade Control System with PI Controllers, mathworks.com.
  2. Control System Toolbox , Examples, mathworks.com.
  3. Cascade Control: Disturbance Rejection and When It Works, monoscope-media.com, 2026-12-03.
  4. Design and evaluation of a PI-PD cascade controller for enhancing performance in unstable ball and beam system, ui.adsabs.harvard.edu.
  5. Cascade, Feedforward and Ratio Control: Advanced Regulatory Control Beyond PID, sciotex.com, 2026-11-30.
  6. Design of PI speed controller of motor drive with hardware and software implementation constraints, arxiv.org, 2026-11-30.
  7. GENG5512 MPE Engineering Research Project Part 2, roblab.org.
  8. Performance response improvement of power electronics conver, ideas.repec.org.

Want to try this on your own plant model?

Try LabCD free with your first model