Exercise 5
HINT: For problems 1 and 2, use a generalized plant description and the feedback or LFT command in matlab.
Discuss Handin 3
Leftovers from Exercise 4:
Problem 1
Consider the following midranging architecture based on error feedback where
P1=e−ss+1, and
P2=e−5s10s+1. The controllers
C1=1+2/(3s)+s/2s/2+1 and
C2=1+1/(10s)+3s2s+1 have been tuned to give reasonable nice performance in feedback with
P1 and
P2 respectively.
.
- Why do we use positive feedback with
C2?, i.e. why
u2=C2(u−ur) and not
C2(ur−u)?
- Simulate the responses to
y,
u1 and
u2 for reference step changes to
yr and
ur and input load disturbances
- Generate bode plots of the closed loop responses from
(yr,d1,d2,n)↦(y,u1,u2), where
d1 and
d2 are the corresponding input load disturbances and
n is measurement noise acting on
y. Generate the responses for
kff=0 and
kff=−P2(0)/P1(0).
Problem 2
With P1=e−5s10s+1 and
P2=e−ss+1, consider a Cascade architecture as in the block diagram below:
Design reasonable controllers for the cases
PD | PID |
PID | PD |
PID | PID |
- Discuss which closed-loop transfer functions are interesting, and plot their frequency responses. What's Gang of Four here?
- How would you implement anti-windup in these three cases. Introduce actuator limitations and simulate. To help you get started you can use the following simulink implementation: get_started_p2.zip Download get_started_p2.zip
Problem 3
Explain why the standard Smith predictor does not work for processes with integration or unstable dynamics
Problem 4
The standard Smith predictor for a process P(s)=P0(s)e−sL with time delay can be factored into
C(s)=C0(s)Cpred(s),Cpred(s)=11+ˆP0(s)C0(s)(1−e−sL) where
C0 is the nominal controller for the process
P0 without delay and
L is the time delay. The transfer function
Cpred(s) is actually a good predictor that also can be used for loop shaping.
- Explore the Bode plot of the predictor
Cpred(s) for
P0(s)=1s+1,C0(s)=2+4s. Demonstrate that
Cpred(s) is indeed a good phase lead compensator
- The properties of the compensator
Cpred(s) changes qualitatively with
L, explain the nature of the changes and find the smallest value of
L for which the change occurs.
- Use the insight from B) to discuss fundamental limitations of the Smith predictor
Cpred
- Smith's predictor can be used a as lead compensator without reference to time delays. Explore if it can be used as a lead compensator for the oscillatory system
P(s)=1s2+0.02s+1
Problem 5
In the same set up as Problem 1 construct an integrating LQG controller [u1u2]=C[y1y2], where
y1=y+n1 and
y2=u1+n2. Can you tune the controller to get midranging behavior?
Smith Predictor
The control structure is based on the idea to use a model ˆP0(s)to predict the output of a delayed system,
P(s)=P0(s)e−sL. The hat is introduced to differentiate between model and reality.
The controller becomes C(s)=C01+C0ˆP0(1−e−sL). If
ˆP0=P0, the closed-loop becomes
T=P0C01+P0C0e−sL.