Presentation is loading. Please wait.

Presentation is loading. Please wait.

António Pascoal 2011 Instituto Superior Tecnico Loop Shaping (SISO case) 0db.

Similar presentations


Presentation on theme: "António Pascoal 2011 Instituto Superior Tecnico Loop Shaping (SISO case) 0db."— Presentation transcript:

1 António Pascoal 2011 Instituto Superior Tecnico antonio@isr.ist.utl.pt Loop Shaping (SISO case) 0db

2 _ Controller Plant r – reference signal ( to be tracked by the output y) d – external perturbation (referred to the output) n – sensor noise e – error y – output signal u – actuation signal Feedback Control structure

3 Key objectives i) K(s) stabilizes G(s) ii) The output y follows the reference signals r. iii) The system reduces the effect of external disturbance d and noise n on the output y. v) The system meets stability and performance requirements in the face of plant parameter uncertainty and unmodeled dynamics (robust stability and robust performance). Design the controller K(s) such that iv) The actuation signal u is not driven beyond limits imposed by saturation values and bandwith of the plant´s actuator.

4 Control objectives External disturbance attenuation (reducing the impact of d on y) _ Linear system superposition principle

5 D(s) Y(s) S(s) – Sensitivity Function Disturbance attenuation S(s) – possible Bode diagram 0db -x db below the ‘ barrier ’ of –x db for

6 Attenuation of at least –x db Attenuation of sinusoidal disturbances d – sinusoidal signals Performance specs on disturbance attenuation Upper limit on Performance bandwith Upper limit –x db and performance bandwith are problem dependent

7 What happens when d is not a sinusoid? d- modeled as a stationary stochastic process with spectral density Energy y - stationary stochastic process with spectral density Disturbance attenuation

8 If spectral contents of d concentrated in the frequency band Basic technique to reduce the energy of y: reduce Its is up to the system designer to select the level of attenuation Disturbance attenuation

9 Disturbance attenuation: constraints on the Loop Gain GK If Disturbace attenuation

10 0db Lower bound ( “ barrier ” ) on shaped by proper choice of controller K(s) Disturbance attenuation: constraints on the Loop Gain GK

11 Reference following _

12 Energia e - stationary stochastic process with spectral density r- modeled as a stationary stochastic process with spectral density Reference following

13 If spectral contents of d concentrated in the frequency band Reference following Technique to reduce the energy of the tracking error e Reduce Its is up to the system designer to select the level of error reduction

14 0db below the “ barrier ” of db for Geometric constraint db Reference following

15 If reference following: Reference following: constraints on the Loop Gain GK

16 0db Reference following: constraints on the Loop Gain GK Lower bound ( “ barrier ” ) on shaped by proper choice of controller K(s)

17 Noise reduction _

18 y - stationary stochastic process with spectral density n- modeled as a stationary stochastic process with spectral density Energy Noise reduction

19 Noise reduction (high frequency noise) If spectral contents of n concentrated in the frequency band Technique to reduce the energy of y caused by the noise n: Reduce Its is up to the system designer to select the level of error reduction

20 0db upper bound ( “ barrier ” ) on shaped by proper choice of controller K(s) Noise reduction (high frequency noise)

21 If noise reduction Noise reduction: constraints on the Loop Gain GK

22 0db Upper bound ( “ barrier ” ) on loop gain shaped by proper choice of K(s) Noise reduction: constraints on the Loop Gain GK

23 Actuator limits _ Suppose (plant gain rolls off at high frequencies)

24 Actuator limits Suppose Actuation signals too high unless the loop gain starts rolling off at frequencies below Golden rule: never try to make the closed loop bandwidth extend well above the region where there the plant gain starts to roll off below 0db.

25 0db Upper bound ( “ barrier ” ) on loop gain shaped by proper choice of K(s) Actuator limits Technique for limiting actuation signals Its is up to the system designer to select the parameters

26 Putting it all together Loops Gain restrictions 0db Low frequency barriers r, d High frequency barriers n, u Goal: Shape (by appropriate choice of K(s) the LOOP GAIN G(s)K(s)so that it will meet the barrier constraints while preserving closed loop stability.

27 Loop Shaping – Design examples Exemple 1 G(s). Plant (system to) be controlled. Control specifications _ Controller Plant Design K(s) so as to stabilize G(s) and meet the following performance specifications:

28 Specifications i) Reduce by at least –80db the influence of d on y in the frequency band ii) Follow with error less than or equal to -40db the reference signals r in the frequency band iii) Attenuate by at least –20db the noise n in the frequency band iv) Static error in response to a unit parabola reference v) Phase Margin vi) Gain Margin Loop Shaping – Design examples

29 Geometrical constraints; conditions i), ii), iii) i) ii) iii Loop Shaping – Design examples

30 0db Loop Gain Constraints Low frequency barriers r, d High frequency barrier n Loop Shaping – Design examples

31 Condition iv) Let Loop Shaping – Design examples (possible to achieve, because G(s) has two poles at the origin) Static error in response to a unit parabola reference

32 A simple controller candidate: Checking the constraints on Loop Gain 0db Phase of The constraints are met but ….. ! Loop Shaping – Design examples

33 It is necessary to introduce some phase lead Minimum phase margin (specs): Additional phase required : security factor real phase margin = 0 graus (start by trying security factor = 0). Additional phase required: 45 0 Pure “PHASE LEAD” network z z odb Phase of Loop Shaping – Design examples Phase lead

34 0db Phase of Loop Gain constraints are met and ….. New Loop Shaping – Design examples Checking the constraints on Loop Gain Phase lead NOTICE: phase lead “opens-up” the loop gain! The new loop gain barely avoids violating the noise-barrier!

35 Final check on stability and Gain Margin Use Nyquist ’ s Theorem Nyquist contour x x Number of open loop poles inside the Nyquist contour P=0 x Number of encirclements around –1 N=0 Stable! Gain Margin equals infinity! Loop Shaping – Design examples Phase lead

36 Example 2 G(s). Plant (simple torpedo model). Control objectives _ Controller Plant Design K(s) so as to stabilize G(s) and meet the following performance specifications: Loop Shaping – Design examples

37 Specifications ii) Attenuate by at least –40db the signals d in the frequency band iii) Follow with error smaller than or equal to -100db the signals r in the frequency band iv) Attenuate by at least –40db the noise n in the frequency band v) Phase Margin vi) Gain Margin i) Static position error = 0. Loop Shaping – Design examples

38 Geometrical constraints; conditions i), ii), iii) ii) iii) iv) Loop Shaping – Design examples

39 Condition i) Static position error (1 pure integrator in the direct path) A simple controller candidate: Loop Gain Loop Shaping – Design examples

40 Checking the constraints on Loop Gain 0db Phase of The constraints on the loop gain are met, but … ! +40db +80db Loop Shaping – Design examples Notice! Now it is not possible to use a phase-lead network because the open-loop plot would “open-up” and violate the noise barrier!

41 0db +40db +80db New Phase of use Loop Shaping – Design examples The high frequency barrier does not allow for the use of a lead network – use a lag network (“gain-loss” network)! Force a new 0dB crossing point such that if the phase were not changed, the gain margin would meet the specifications (must loose -40dB at 1.0 rads-1)!

42 0db +40db +80db Phase of Loop Shaping – Design examples NOTICE: the LAG network must introduce a loss of -40dB at 1 rads -1. But.. the zero is introduced at -10 -1 rads -1, not -1rads -1 ! WHY?So that the extra phase introduced by the lag network will not “interfere too much” around 1 rads -1.

43 Final check on stability and Gain Margin Nyquist Theorem Nyquist Contour x Number of open loop poles inside the Nyquist contour P=0 x Number of encirclements around -1 N=0 Stable! Gain Margin equals infinity! x x -p -z Loop Shaping – Design examples

44 Example 3 (Lunar Excursion Module – LEM) Loop Shaping – Design examples

45 Example 3 (Lunar Excursion Module – LEM) G(s). Plant (vehicle controlled in attitude by gas jets and actuator; J=100 Nm/(rads -2 )). Control objectives (attitude control) _ Controller Plant Design K(s) so as to stabilize G(s) and meet the following performance specifications: Loop Shaping – Design examples Torque Input Voltage Attitude

46 Specifications ii) Follow with error smaller than or equal to -40db the signals r in the frequency band iii) Attenuate by at least –40db the noise n in the frequency band iv) Gain Margin i) Static position error = 0. Loop Shaping – Design examples v) Phase Margin v) Robustness of stability with respect to a total delay in the control channel of up to 0.5 sec

47 Geometrical constraints; conditions ii), iii) ii) iii) Loop Shaping – Design examples

48 Condition i) Static position error (there are already two integrators in the direct path) A simple controller candidate: Loop Gain Loop Shaping – Design examples

49 Candidate Loop Gain Checking the constraints on Loop Gain (with ) 0db Fase de Loop Shaping – Design examples -40db

50 Checking the stability of the closed-loop system Use Nyquist ’ s Theorem Nyquist contour x x Number of open loop poles inside the Nyquist contour P=0 x Number of encirclements around –1 N=+2 Unstable! Loop Shaping – Design examples x

51 Possible strategy: introduce some phase lead Pure Phase Lead network z z 0 dB Phase of Loop Shaping – Design examples Phase lead What value of z should be adopted? Try z =1 rads -1 ; that is, frequency at which

52 New candidate Loop Gain Checking the constraints on the Loop Gain 0db Loop Shaping – Design examples -40db “old” loop gain “new” loop gain

53 Final check on stability and Gain Margin Use Nyquist ’ s Theorem Nyquist contour x x Number of open loop poles inside the Nyquist contour P=0 x Loop Shaping – Design examples Phase lead Number of encirclements around –1 N=0 Stable! Gain Margin equals infinity! Phase Margin

54 New candidate Loop Gain Checking the constraints on the Loop Gain 0db Loop Shaping – Design examples -40db “old” loop gain “new” loop gain

55 Robustness of stability with respect to a delay in the control channel Loop Shaping – Design examples Transfer function of a pure delay  exp (-s  ) Only change in the Bode diagram! Danger: if the gain margin of 45º is completely lost! Maximum  allowed is app. 0.75s >0.5 sec!

56 _ Controller Plant Intrinsic Limitations on Achievable Performance Simple algebraic limitation Find (if at all possible) a controller K(s) that will stabilize G(s) and such that (reference following spec) (noise attenuation spec) Notice:

57 _ Controller Plant Intrinsic Limitations on Achievable Performance If then There is no controller that will meet the specs! (cannot expect good performance over a frequency band where there is significant sensor noise: buy a better sensor, or relax the specs)

58 _ Controller Plant Intrinsic Limitations on Achievable Performance Analytic Limitation Find (if at all possible) a controller K(s) that will stabilize G(s) and such that the sensitivity function S(s) will “ acquire a desired target shape ”. 0db High performance -xdb +ydb

59 Intrinsic Limitations on Achievable Performance Analytic Limitation 0db High performance -40db +20db “Barrier” approximation Objective: design a stabilizing controller K(s) such that z 10z stable with a stable inverse is analytic in the right half complex plane (RHP)

60 Intrinsic Limitations on Achievable Performance If K(s) stabilizes G(s), then S(s) is analytic in the RHP (maximum modulus principle) Suppose the plant G(s) has an “unstable” zero (no unstable pole-zero cancellations) condition to be satisfied!

61 Intrinsic Limitations on Achievable Performance Case 1. Z=2rad/s (plant zero “inside” the high performance bandwidth region) Impossible to meet the specifications! Case 1. Z=0.05rad/s (plant zero “outside” the high performance bandwidth region) The specs are met.

62 Intrinsic Limitations on Achievable Performance Analytic Limitations (extension) Case 1. Z=2rad/s (plant zero “inside” the high performance bandwidth region) Impossible to meet the specifications! Possible strategies: i)Reduce the performance bandwith and / or relax the level of performance 0db plant zero original spec

63 Intrinsic Limitations on Achievable Performance ii) Allow for increased gain over the complementary range of frequencies 0db plant zero original spec Waterbed effect 0db plant zero original spec

64 Intrinsic Limitations on Achievable Performance Open loop (unstable) zeros and poles place fundamental restrictions on what can be done with feedback! (not “textbook” examples) Freudenberg and Looze, “Right half plane poles and zeros and design tradeoffs in feedback systems,” IEEE Trans. Automatic Control, Vol. 39(6), pp. 55-565, 1985. Before designing a controller, take a step back.. examine the system physics. Open loop unstable system Must maintain a given closed loop bandwith (dangerous!)

65 António Pascoal 2011 antonio@isr.ist.utl.pt Loop Shaping (SISO case) 0db


Download ppt "António Pascoal 2011 Instituto Superior Tecnico Loop Shaping (SISO case) 0db."

Similar presentations


Ads by Google