Introd Cont Adaptativo

43
EECE 574 Adaptive Control Guy A. Dumont MCLD 419 Tel: 604-822-2336 email: [email protected] Lectures: Thursday 13h00-15h30 Location: PPC 101 First Lecture on Thursday January 06 Adaptive Control Lecture Notes – c Guy A. Dumont, 1997-2005

description

about adaptive control.

Transcript of Introd Cont Adaptativo

Page 1: Introd Cont Adaptativo

EECE 574Adaptive Control

Guy A. DumontMCLD 419

Tel: 604-822-2336email: [email protected]

Lectures: Thursday 13h00-15h30Location: PPC 101

First Lecture on Thursday January 06

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005

Page 2: Introd Cont Adaptativo

EECE 574: Adaptive Control

• Course Objective:

To give an overview of the theory and practice of the mainstream adaptive control techniques

• Four assignments: 15% each

• Project: 40%

• Textbook:

K.J. Astrom and B. Wittenmark, Adaptive Control, Addison-Wesley Publishing Co., Inc., Reading, Massachusetts,1995.

• Related books:

– Landau, Lozano and M’Saad, Adaptive Control, Springer-Verlag, Berlin, 1998.– Goodwin, and Sin, Adaptive Filtering, Prediction, and Control, Prentice-Hall, Englewood Cliffs, N.J., 1984.– Isermann, Lachmann, and Matko, Adaptive Control Systems, Prentice-Hall, Englewood Cliffs, N.J., 1992.– Landau, Lozano, and M’Saad, Adaptive Control, Springer, 1997.– Wellstead, and Zarrop, Self-Tuning Systems Control and Signal Processing, J. Wiley and Sons, N.Y., 1991– Bitmead, Gevers, and Wertz, Adaptive Optimal Control, Prentice-Hall, Englewood Cliffs, N.J., 1990.– Ljung, and Soderstrom, Theory and Practice of Recursive Identification, MIT Press, Cambridge, Mass., 1983.

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 1

Page 3: Introd Cont Adaptativo

Course Outline

1. Introduction

2. Identification

3. Control Design

4. Self-Tuning Control

5. Model-reference Adaptive Control

6. Properties of Adaptive Controllers

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 2

Page 4: Introd Cont Adaptativo

7. Auto-Tuning and Gain Scheduling

8. Implementation and Practical Considerations

9. Extensions

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 3

Page 5: Introd Cont Adaptativo

What Is Adaptive Control?

• According to the Webster’s dictionary, to adapt means:

– to adjust oneself to particular conditions– to bring oneself in harmony with a particular environment– to bring one’s acts, behaviour in harmony with a particular environment

• According to the Webster’s dictionary, adaptation means:

– adjustment to environmental conditions– alteration or change in form or structure to better fit the environment

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 4

Page 6: Introd Cont Adaptativo

When is a Controller Adaptive?

• Linear feedback can cope with parameter changes (within some limits)

• According to G. Zames1:

– A non-adaptive controller is based solely on a-priori information– An adaptive controller is based on a posteriori information as well

135th CDC, Kobe, Dec. 1996

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 5

Page 7: Introd Cont Adaptativo

A Narrow Definition of Adaptive Control

• An adaptive controller is a fixed-structure controller with adjustableparameters and a mechanism for automatically adjusting thoseparameters

• In this sense, an adaptive controller is one way of dealing with parametricuncertainty

• Adaptive control theory essentially deals with finding parameter ajustmentalgorithms that guarantee global stability and convergence

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 6

Page 8: Introd Cont Adaptativo

Why Use Adaptive Control?

• Control of systems with time-varying dynamics

• If dynamics change with operating conditions in a known, predictablefashion, use gain scheduling

• If the use of a fixed controller cannot achieve a satisfactory compromisebetween robustness and performance, then and only then, shouldadaptive control be used.

Use the simplest technique that satisfies the specifications 2

2. . . or as A. Einstein apparently once said: “make things as simple as possible, but no simpler”

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 7

Page 9: Introd Cont Adaptativo

Feedback and Process Variations

Consider the feedback loop:

ysp u y

+-

C P

Controller Process

The closed-loop transfer function is

T =PC

1 + PC

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 8

Page 10: Introd Cont Adaptativo

Differentiating T with respect to P :

dT

T=

11 + PC

dP

P= S

dP

P

T and S are respectively known as the complementary sensitivity and thesensitivity functions. Note that

S + T = 1

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 9

Page 11: Introd Cont Adaptativo

Feedback and Process Variations

• The closed-loop transfer function is NOT sensitive to process variationsat those frequencies where the loop transfer function L = PC is large

• Generally L >> 1 at low frequencies, and L << 1 at high frequencies

• However, L >> 1 can only be achieved in a limited bandwidth,particularly when unstable zeros are present

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 10

Page 12: Introd Cont Adaptativo

Judging the Severity of Process Variations

• Difficult to judge impact of process variations on closed-loop behaviourfrom open-loop time responses

– Significant changes in open-loop responses may have little effect onclosed-loop response

– Small changes in open-loop responses may have significant effect onclosed-loop response

• Effect depends on the desired closed-loop bandwidth

• Better to use frequency responses

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 11

Page 13: Introd Cont Adaptativo

Mechanisms for Process Dynamics Changes

• Nonlinear actuators or sensors

– Nonlinear valves– pH probes

• Flow and speed variations

– Concentration control– Steel rolling mills– Paper machines– Rotary kilns

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 12

Page 14: Introd Cont Adaptativo

Mechanisms for Process Dynamics Changes

• Wide operating range with a nonlinear system

– Flight control

• Variations in Disturbance Dynamics

– Wave characteristics in ship steering– Raw materials in process industries

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 13

Page 15: Introd Cont Adaptativo

3/3/2003 13

Example 1.1Example 1.1

Page 16: Introd Cont Adaptativo

3/3/2003 14

Page 17: Introd Cont Adaptativo

3/3/2003 15

Page 18: Introd Cont Adaptativo

3/3/2003 16

Page 19: Introd Cont Adaptativo

3/3/2003 17

Page 20: Introd Cont Adaptativo

3/3/2003 18

Example 1.2Example 1.2

03.0,015.0,0,)1)(20)(1(

)1(20===

+++−

= TTTTsss

TsGo

20=K

Page 21: Introd Cont Adaptativo

3/3/2003 19

Page 22: Introd Cont Adaptativo

3/3/2003 20

Page 23: Introd Cont Adaptativo

3/3/2003 21

Page 24: Introd Cont Adaptativo

3/3/2003 22

Page 25: Introd Cont Adaptativo

3/3/2003 23

Controller is changed as low Controller is changed as low pass filterpass filter

25.0)(+

=s

sC

Page 26: Introd Cont Adaptativo

3/3/2003 24

Page 27: Introd Cont Adaptativo

3/3/2003 25

Page 28: Introd Cont Adaptativo

3/3/2003 27

Effect of Process VariationsEffect of Process Variations

Nonlinear Actuator (Example 1.4 Nonlinear Valve) 0)( 4 ≥== uuufv

)(sGo(.)f

+

STK

i

11

1−

cuu v y

Page 29: Introd Cont Adaptativo

3/3/2003 28

Simulation ResultsSimulation Results30

4

)1(1)(,)(,1,15.0+

====s

sGuufTK i

u^4Valve

In1 Out1

Subsystem

Scope1

s +3s +3s+13 2

Process

0.3Constant

2

0 5 10 15 20 25 30 35 400

0.05

0.1

0.15

0.2

0.25

0.3

0.35

Time (Seconds)

Page 30: Introd Cont Adaptativo

3/3/2003 29

Simulation ResultsSimulation Results30

4

)1(1)(,)(,1,15.0+

====s

sGuufTK i

u^4Valve

In1 Out1

Subsystem

Scope1

s +3s +3s+13 2

Process

1.1Constant

2

0 5 10 15 20 25 30 35 400

0.2

0.4

0.6

0.8

1

1.2

1.4

Time (S econds)

Page 31: Introd Cont Adaptativo

3/3/2003 30

Simulation ResultsSimulation Results30

4

)1(1)(,)(,1,15.0+

====s

sGuufTK i

u^4Valve

In1 Out1

Subsystem

Scope1

s +3s +3s+13 2

Process

5.1Constant

2

0 5 10 15 20 25 30 35 400

1

2

3

4

5

6

7

8

9

Time (Seconds)

Page 32: Introd Cont Adaptativo

Gain Scheduling

• In many cases, process dynamics change with operating conditions in aknown fashion

– Flight control systems– Compensation for production rate changes– Compensation for paper machine speed

• Controller parameters change in a predetermined fashion with theoperating conditions

• Is gain scheduling adaptive?

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 14

Page 33: Introd Cont Adaptativo

Gain Scheduling

SetpointInput Output

Controllerparameters Gain

schedule

Controller Process

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 15

Page 34: Introd Cont Adaptativo

Development of Adaptive Control

• Mid 1950’s: Flight control systems (eventually solved by gain scheduling)

• 1957: Bellman develops dynamic programming

• 1958: Kalman develops the self-optimizing controller “which adjustsitself automatically to control an arbitrary dynamic process”

• 1960: Feldbaum develops the dual controller in which the control actionserves a dual purpose as it is “directing as well as investigating”

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 16

Page 35: Introd Cont Adaptativo

Development of Adaptive Control

• Mid 60’s-early 70’s: Model reference adaptive systems

• Late 60’s-early 70’s: System identification approach with recursive least-squares

• Early 1980’s: Convergence and stability analysis

• Mid 1980’s: Robustness analysis

• 1990’s: Multimodel adaptive control

• 1990’s: Iterative control

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 17

Page 36: Introd Cont Adaptativo

Model Reference Adaptive Control

• Performance specifications given in terms of reference model

• Originally introduced for flight control systems (MIT rule)

• Nontrivial adjusment mechanism

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 18

Page 37: Introd Cont Adaptativo

Model Reference Adaptive Control

Setpoint

Input Output

Controllerparameters

Adjustment mechanism

Controller Process

ModelModeloutput

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 19

Page 38: Introd Cont Adaptativo

Self-Tuning Controller

• Model-based tuning consists of two operations:

– Model building via identification– Controller design using the identified model

• Self-tuning control can be thought of as an automation of this procedurewhen these two operations are performed on-line

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 20

Page 39: Introd Cont Adaptativo

Self-Tuning Controller

Setpoint

Input Output

Controllerparameters

Recursiveestimation

Controller Process

Controldesign

Process parameters

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 21

Page 40: Introd Cont Adaptativo

Self-Tuning vs. Auto-Tuning

• Self-tuning

– Continuous updating of controller parameters– Used for truly time-varying plants

• Auto-tuning

– Once controller parameters near convergence, adaptation is stopped– Used for time invariant or very slowly varying processes– Used for periodic, usually on-demand tuning

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 22

Page 41: Introd Cont Adaptativo

Dual Control: A Rigorous Approach to Adaptive Control

• Use of nonlinear stochastic control theory to derive an adaptive controller

• No distinction between parameters and state variables – Hyperstate

• The controller is a nonlinear mapping from the hyperstate to the controlvariable

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 23

Page 42: Introd Cont Adaptativo

Dual Control: A Rigorous Approach to Adaptive Control

Setpoint

Input Output

Hyperstateestimation

Nonlinearmapping

Process

Hyperstate

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 24

Page 43: Introd Cont Adaptativo

Dual Control: A Rigorous Approach to Adaptive Control

• Can handle very rapid parameter changes

• Resulting controller has very interesting features:

– Regulation– Caution– Probing

• Unfortunately solution is untractable for most systems

Adaptive Control Lecture Notes – c©Guy A. Dumont, 1997-2005 25