Lec 17 Frequency Response Design and Loop Shaping for Feedback Control
Loop Shaping Principles in Frequency Response Design
Frequency-domain feedback control design leverages pole and zero placement to directly shape the open-loop transfer function , thereby dictating closed-loop performance, stability robustness, and disturbance attenuation. Rather than relying solely on trial-and-error root locus adjustments, frequency response design explicitly defines the required loop gain across distinct frequency bands.
The fundamental requirements for the open-loop frequency response are governed by distinct operational trade-offs:
Low-Frequency Range (): High loop gain () is essential to achieve near-zero steady-state tracking error and robust rejection of low-frequency disturbances.
High-Frequency Range (): Low loop gain () is mandatory to prevent the transmission and amplification of high-frequency measurement noise and to ensure robustness against unmodelled high-frequency plant dynamics.
Intermediate Crossover Range: Adequate stability margins—specifically phase margin () and gain margin ()—must be preserved around the gain crossover region to guarantee closed-loop stability and well-damped transient dynamics.
Open-Loop versus Closed-Loop Dynamics
In standard negative unity-feedback systems, the open-loop transfer function is denoted by and the closed-loop complementary sensitivity transfer function by .
While design calculations, stability margin measurements, and loop compensations are conducted entirely on the open-loop function , system performance metrics—such as reference tracking, step response speed, and overshoot—are dictated by the closed-loop function .
An aesthetically satisfactory open-loop Bode magnitude plot does not automatically assure an acceptable closed-loop time or frequency response. Consequently, both loops must be evaluated simultaneously.

Closed-Loop Tracking Fidelity
When is exceptionally large at low frequencies, the closed-loop magnitude satisfies:
A closed-loop magnitude of represents a unity gain ratio (), meaning the output perfectly tracks the reference command with zero amplitude attenuation. If is insufficient (e.g., if open-loop gain is low), the closed-loop magnitude drops significantly below , indicating poor tracking.
Phase Characteristics
The closed-loop phase profile stays close to over a broader operational bandwidth than the open-loop phase. In the low-to-mid frequency range where the open-loop phase begins to roll off significantly (e.g., dropping past ), negative feedback maintains the closed-loop phase near , preventing excessive phase lag between command input and system output.
Sensitivity and Complementary Sensitivity Analysis
Two fundamental transfer functions determine feedback system behavior: the sensitivity function and the complementary sensitivity function .
These functions satisfy the fundamental algebraic identity across all complex frequencies :

Closed-Loop System Mappings
Analyzing a standard feedback architecture with reference command , error , output disturbance , and sensor noise reveals the precise governing roles of and :
Tracking Error Response:
Output Disturbance Rejection:
Reference Tracking Transmission:
Sensor Noise Transmission:
Design Implications of the Algebraic Identity
Because , it is mathematically impossible to make both and simultaneously small at the same frequency. Feedback design partitions these requirements by frequency domain:
At Low Frequencies: References and external disturbances reside primarily at low speeds (). Making drives (typically below or lower), forcing tracking errors to near zero and thoroughly attenuating output disturbances.
At High Frequencies: Measurement noise typically concentrates at higher frequencies (). Setting ensures , attenuating noise before it corrupts the output actuators and plant states.

System Bandwidth and Performance Trade-Offs
The closed-loop bandwidth is formally defined as the frequency at which the complementary sensitivity magnitude drops below its low-frequency baseline (corresponding to a factor of in linear magnitude).

In the illustrated feedback system, the drop occurs at:
Bandwidth represents a critical trade-off rather than a metric to maximize without limit:
Benefits of Higher Bandwidth: Accelerates closed-loop transient response, reduces rise time, and extends tracking capabilities to faster reference signals.
Penalties of Higher Bandwidth: Expands the window of frequencies allowed to pass into the system, directly admitting more sensor noise and exciting unmodelled high-frequency structural dynamics or resonance modes.
Stability Margins on Open-Loop Bode Plots
Stability margins quantify the robustness of a feedback system against instability caused by plant gain drift, parameter uncertainty, or unmodelled time delays. Closed-loop instability occurs when the open-loop transfer function equals the critical point:
Stability margins measure how distant remains from this critical point.
Gain Crossover Frequency and Phase Margin ()
The gain crossover frequency is the frequency where the open-loop magnitude equals ():
The phase margin is the additional negative phase shift required to bring the system to the verge of instability at :

For the system defined by :
Gain crossover frequency:
Phase at crossover:
Phase margin calculation:
A positive phase margin indicates that the phase has not yet reached at the crossing, ensuring closed-loop stability for typical minimum-phase systems.
Phase Crossover Frequency and Gain Margin ()
The phase crossover frequency is the frequency where the open-loop phase equals :
The gain margin is the reciprocal of the open-loop magnitude at , expressed in decibels as the negative of the magnitude:

For the system :
Phase crossover frequency:
Magnitude at crossover:
Gain margin calculation:
A gain margin of means the loop gain can increase by a factor of before the system becomes unstable.
Crucial Distinctions Regarding Stability
The phase dropping below at some frequency does not, by itself, imply instability. Instability occurs only if the magnitude is greater than or equal to () when the phase crosses . Gain and phase margins evaluate robustness locally around the crossover frequencies. For non-minimum phase plants, open-loop unstable poles, or systems with multiple crossovers, full Nyquist stability criterion analysis is required.
Proportional Gain Variation and Stability Trade-Offs
Adjusting the proportional gain uniformly scales the entire open-loop magnitude curve vertically by across all frequencies without altering the phase curve.

Examining the closed-loop tracking response across three gain configurations (, , and ) highlights clear performance trade-offs:
Baseline Low Gain (, dashed gray curve): Low-frequency closed-loop magnitude sits at approximately , showing poor reference tracking and sluggish bandwidth.
Moderate Gain (, solid orange curve): Low-frequency magnitude approaches , producing accurate steady-state tracking and widening bandwidth to approximately while maintaining a smooth roll-off without peaking.
High Gain (, dotted black curve): Increases bandwidth further and shifts the gain crossover to the right. However, pushing toward higher frequencies reduces the phase margin, causing a prominent resonant peak near . This peak reflects underdamped transient oscillations, excessive overshoot, and increased susceptibility to noise amplification.
Dynamic Compensation: Lead and Lag Controllers
When pure proportional control cannot reconcile steady-state accuracy with transient stability, dynamic compensators alter magnitude and phase curves over targeted frequency bands.
Lead Compensation
A lead compensator introduces a zero at a lower frequency and a pole at a higher frequency:
In the standard realization , the zero break frequency is at and the pole break frequency is at .

Magnitude Effect: Increases magnitude between break frequencies with a slope before flattening at the pole frequency.
Phase Effect: Adds a positive phase lead hump across the intermediate frequency band, reaching peak phase contribution at the geometric mean .
Functional Role: Placed near the crossover frequency , phase lead counters plant phase lag, improves phase margin, enhances damping, and increases system response speed.
Lag Compensation
A lag compensator introduces a pole at a lower frequency and a zero at a higher frequency:
In the standard realization , the pole break frequency is at and the zero break frequency is at .

Magnitude Effect: Attenuates middle- and high-frequency loop gain, rolling down magnitude by before flattening out past the zero.
Phase Effect: Introduces negative phase lag over an intermediate frequency band.
Functional Role: A lag compensator does not automatically boost absolute low-frequency gain; it enables substantial low-frequency gain increases during overall loop retuning while pulling the crossover frequency downward into a region where phase margin is naturally higher.
Classic PID Architectures and Frequency Shaping
Applying proportional, integral, and derivative terms to a representative second-order plant:
illustrates the structural frequency-shaping capabilities of classic PID controllers.
Proportional-Integral (PI) Control

Frequency Response Profile: Introduces a pole at the origin () and a finite zero at .
Performance Impact: Low-frequency gain rises at toward infinity as , driving steady-state error to zero for step references (Type-1 system behavior).
Stability Impact: Adds a continuous phase lag at low frequencies. Unless the zero is placed well below crossover, this phase lag reduces the phase margin and degrades transient damping.
Proportional-Derivative (PD) Control (Filtered)
A pure derivative term () is physically unrealizable because its gain grows unbounded as , excessively amplifying high-frequency sensor noise. Practical PD controllers incorporate a high-frequency filter pole ():

Frequency Response Profile: Introduces a zero that adds positive phase lead and boosts gain across mid-to-high frequencies, with the filter pole arresting high-frequency gain growth.
Performance Impact: Phase lead increases phase margin, improves damping, and dampens transient overshoot without lowering bandwidth.
Proportional-Integral-Derivative (PID) Control (Filtered)
Filtered PID control integrates the low-frequency error-clearing mechanism of the integrator with the transient phase-lead shaping of the filtered derivative:

Frequency Response Profile: Possesses an integrator pole at the origin, two zeros, and a high-frequency roll-off pole.
Performance Impact: Provides near-infinite open-loop gain at low frequencies for zero tracking error, uses phase lead around crossover to preserve stability margins, and limits gain at very high frequencies to attenuate sensor noise.
Comparative Controller Summary
Controller Type | Primary Frequency-Domain Effect | Core Design Trade-off & Functionality |
|---|---|---|
P | Uniformly raises gain across all frequencies without altering phase profile. | May increase bandwidth and improve slow tracking, but reduces phase and gain margins; cannot eliminate steady-state error. |
PI | Provides infinite DC gain via an integrator pole at the origin; introduces phase lag at low frequencies. | Eliminates step steady-state error; degrades phase margin near crossover if the zero is tuned improperly. |
PD (filtered) | Injects positive phase lead across mid frequencies; elevates mid-to-high frequency gain up to the filter break frequency. | Improves transient damping and phase margin; derivative filter must be properly tuned to avoid excessive noise transmission. |
PID (filtered) | Combines infinite low-frequency gain with phase-lead shaping across the crossover region. | Balances zero steady-state error, fast transient settling, and high-frequency noise attenuation. Requires coordinated multi-parameter tuning. |
Core Conceptual Review
Low-Frequency Loop Gain
High loop gain is desirable at low frequencies because tracking error satisfies . Operating with forces and drives closed-loop gain (). This ensures faithful command tracking and strong rejection of low-frequency external load disturbances.
High-Frequency Closed-Loop Gain
Low closed-loop gain is desirable at high frequencies because measurement noise predominantly occupies high frequency bands. Because the transfer function from measurement noise to output is , driving by making at high frequencies ensures high-frequency noise is attenuated rather than injected into the plant.
Phase Margin Improvement via Controller Zeros
A controller zero introduces a phase contribution of , providing a positive phase lead that shifts the open-loop phase curve upward. When placed strategically below the gain crossover frequency, this positive phase shift raises the total phase above the line at crossover, directly expanding the phase margin .
Transition to Modern Control: State-Space Modeling
Frequency response design, transfer functions, and Bode plot loop shaping represent the culmination of Classical Control Theory, which relies primarily on Single-Input Single-Output (SISO) modeling within the Laplace (-domain).
Modern Control Theory shifts from input-output transfer functions to internal state-variable formulations in the time domain. Systems are represented using first-order coupled matrix differential equations:
where:
is the internal state vector,
is the control input vector,
is the system output vector,
, , , and are the system, input, output, and feedthrough matrices, respectively.
State-space representations accommodate Multi-Input Multi-Output (MIMO) systems, time-varying dynamics, non-zero initial conditions, and modern optimal or learning-based state-feedback control frameworks.