Berkeley Notes
  • Introduction
  • EE120
    • Introduction to Signals and Systems
    • The Fourier Series
    • The Fourier Transform
    • Generalized transforms
    • Linear Time-Invariant Systems
    • Feedback Control
    • Sampling
    • Appendix
  • EE123
    • The DFT
    • Spectral Analysis
    • Sampling
    • Filtering
  • EECS126
    • Introduction to Probability
    • Random Variables and their Distributions
    • Concentration
    • Information Theory
    • Random Processes
    • Random Graphs
    • Statistical Inference
    • Estimation
  • EECS127
    • Linear Algebra
    • Fundamentals of Optimization
    • Linear Algebraic Optimization
    • Convex Optimization
    • Duality
  • EE128
    • Introduction to Control
    • Modeling Systems
    • System Performance
    • Design Tools
    • Cascade Compensation
    • State-Space Control
    • Digital Control Systems
    • Cayley-Hamilton
  • EECS225A
    • Hilbert Space Theory
    • Linear Estimation
    • Discrete Time Random Processes
    • Filtering
  • EE222
    • Real Analysis
    • Differential Geometry
    • Nonlinear System Dynamics
    • Stability of Nonlinear Systems
    • Nonlinear Feedback Control
Powered by GitBook
On this page
  • Proportional Integral (PI) Control
  • Proportional Derivative (PD) Control
  • Proportional Integral Derivative (PID) Control
  • Lag Compensation
  • Lead Controller

Was this helpful?

  1. EE128

Cascade Compensation

PreviousDesign ToolsNextState-Space Control

Last updated 3 years ago

Was this helpful?

One easy way to control the plant is to cascade a controller before the plant like in Figure 9.

We can design the controller H(s) to alter the behavior of our system.

Proportional Integral (PI) Control

Definition 35

A proportional integral controller applies an input which is a linear combination of the scaled and integrated error signal.

Proportional Derivative (PD) Control

Definition 36

A proportional derivative controller applies an input which is a linear combination of the scaled and differentiated error signal.

Proportional Integral Derivative (PID) Control

Definition 37

A proportional integral derivative controller applies an input which is a linear combination of the scaled, differentated, and integrated error signals.

A PID controller is used where we need to both eliminate steady-state error and shape the time response. We need to choose two different zero locations and set the total gain of the system.

Lag Compensation

Definition 38

A lag compensator is a controller with the transfer function

The purpose of a lag network is to reduce steady state error by increasing the gains at low frequency and maintaining the gain at higher frequencies. This keeps the phase margin the same. We can achieve this because of the frequency response of the lag network (shown by its bode plot in Figure 10).

We can place the pole and zero carefully to control how much the phase decreases by. The design procedure is as follows:

  1. Set the low frequency asymptote to be 0 db and locate the lower break frequency.

  2. Reset the system gain K to compensate for attenuation.

Lead Controller

Definition 39

A Lead Controller is a compensator with the transfer function

Its frequency response looks like in Figure 11.

  1. Find the break frequencies.

  2. Reset the gain.

  3. Simulate and tweak.

H(s)=Kp+Kis=Kps+KiKpsH(s) = K_p+\frac{K_i}{s} = K_p \frac{s + \frac{K_i}{K_p}}{s}H(s)=Kp​+sKi​​=Kp​ss+Kp​Ki​​​

What a PI Controller effectively does is place a new pole at s=0s=0s=0 and a new zero at s=−KiKps=-\frac{K_i}{K_p}s=−Kp​Ki​​. Because of the pole at zero, adding a PI controller enables the system to track a step input perfectly. However, because the pole is placed at zero, it can slow down the time response unless the zero can cancel it out.

H(s)=Kp+Kds=Kd(s+KpKd)H(s) = K_p + K_ds = K_d\left(s + \frac{K_p}{K_d}\right)H(s)=Kp​+Kd​s=Kd​(s+Kd​Kp​​)

Adding a PD controller introduces a new zero into the system. By carefully choosing where we place the zero, we can shape the time-response of the system. If we want our dominant second order poles to be at a particular location, then we can use the angle rule to find the location of the zero s=−KpKds=-\frac{K_p}{K_d}s=−Kd​Kp​​. Since differentiation is an unstable operations, sometimes we instead also place a pole very far in the left half plane, and the transfer function becomes

H(s)=Kds+KpKds+p.H(s) =K_d \frac{s+\frac{K_p}{K_d}}{s+p}.H(s)=Kd​s+ps+Kd​Kp​​​.

H(s)=Kp+Kds+Kis=Kds2+KpKds+KiKdsH(s) = K_p+K_ds + \frac{K_i}{s} = K_d \frac{s^2 + \frac{K_p}{K_d}s + \frac{K_i}{K_d}}{s}H(s)=Kp​+Kd​s+sKi​​=Kd​ss2+Kd​Kp​​s+Kd​Ki​​​

H(s)=Ks+zcs+pc,pc<zc.H(s) = K \frac{s+z_c}{s+p_c},\quad p_c < z_c.H(s)=Ks+pc​s+zc​​,pc​<zc​.

Set gain KKK to the value that satisfies the SSE specification and plot the Bode diagram at that gain.

Find ωPM\omega_{PM}ωPM​ such that ϕM\phi_MϕM​ is 5˚to 12˚larger than required.

Let the high frequency asymptote be −20log⁡KPM-20\log K_{PM}−20logKPM​ db at ωPM\omega_{PM}ωPM​ where KPM=∣G(jωPM)∣K_{PM} = |G(j\omega_{PM})|KPM​=∣G(jωPM​)∣.

Choose the upper break frequency to be ωPM10\frac{\omega_{PM}}{10}10ωPM​​.

H(s)=ks+zcs+pc=kβs+1Ts+1βTzc>pc,β<1.H(s) = k\frac{s+z_c}{s+p_c} = \frac{k}{\beta}\frac{s+\frac{1}{T}}{s+\frac{1}{\beta T}} \quad z_c > p_c, \beta < 1.H(s)=ks+pc​s+zc​​=βk​s+βT1​s+T1​​zc​>pc​,β<1.

A lead controller is used to change the phase margin and alter the time perfomance metrics of the step response. It has a peak phase ϕmax\phi_{max}ϕmax​ which is related to the pole and zero by

ωmax=1Tβ,ϕmax=sin⁡−11−β1+β,∣Gc(jωmax)∣=1β.\omega_{max} = \frac{1}{T\sqrt{\beta}}\quad, \phi_{max} = \sin^{-1}\frac{1-\beta}{1+\beta}, \quad |G_c(j\omega_{max})| = \frac{1}{\sqrt{\beta}}.ωmax​=Tβ​1​,ϕmax​=sin−11+β1−β​,∣Gc​(jωmax​)∣=β​1​.

Set gain KKK of the uncompensated system to a value satisfying SSE requirement.

Plot bode diagram for system with gain KKK and determine ϕM\phi_MϕM​.

Find ϕM\phi_{M}ϕM​ needed to meet requirements and evaluate additional phase contribution from compenstor.

Determine β\betaβ.

Determine ∣Gc(jωmax)∣|G_c(j\omega_{max})|∣Gc​(jωmax​)∣.

Determine ωPM\omega_{PM}ωPM​ where ∣G(jω)∣=−20log⁡∣Gc(jωmax)∣|G(j\omega)| = -20\log|G_c(j\omega_{max})|∣G(jω)∣=−20log∣Gc​(jωmax​)∣.

Figure 9: Cascade Feedback Compensation
Figure 10: Lag Network
Figure 11: Lead Network