principle of automatic controliwin.sjtu.edu.cn/control/upload/files/...principle of automatic...

26
2017/11/8 1 Contact: [email protected] Tel.: 021-3420 8384 Office: 2-402, Building of SEIEE Office Time: 4:00pm-5:00pm, Wednesday Slides and assignment can be downloaded from URL: https://piazza.com/sjtu.org/fall2017/ei304/resources Instructor: Cailian Chen, Professor Department of Automation, SJTU Principle of Automatic Control

Upload: others

Post on 03-Feb-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

2017/11/8 1

Contact: [email protected]

Tel.: 021-3420 8384

Office: 2-402, Building of SEIEE

Office Time: 4:00pm-5:00pm, Wednesday

Slides and assignment can be downloaded from URL:

https://piazza.com/sjtu.org/fall2017/ei304/resources

Instructor: Cailian Chen, Professor

Department of Automation, SJTU

Principle of Automatic Control

Page 2: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

2017/11/8 2

Wiener is regarded as the originator of cybernetics, a

formalization of the notion of feedback, with many

implications for engineering, systems control,

computer science, biology, philosophy, and the

organization of society..

Norbert Wiener (1894 –1964)

Harvard PhD, 1912 (18 years old)

America Mathematician

Professor of Mathematics at MIT

Cybernetics-2nd Edition : or the

Control and Communication in

the Animal and the Machine

控制科学的鼻祖

Page 3: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

Wiener:“Feedback is a method of controlling a

system by inserting into it the result of its past

performance”

Teaching and learning is a complex control system.

Input: Teaching (course, tutorial, office meeting)

Plant: Students

Output: Outcome of learning

Feedback—The key process for good output

2017/11/8 3

Score of Quiz No. of Students

[90,100]

[80,90)

[70,80)

[60,70)

[0,60)

Page 4: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

Course Outline

2017/11/8 4

Week Date Content Assignment

9 07 Nov Ch5: Root locus

09 Nov Ch5: Root locus

10 14 Nov Ch5: Root locus

16 Nov Ch5: Root locus

11 21 Nov Ch5: Root LocusCh6: Frequency response

Assign Due

23 Nov Ch6: Frequency response

12 28 Nov Ch6: Frequency response

30 Nov Ch6: Frequency response

13 05 Dec Ch6: Frequency response

07 Dec Ch6: Frequency responseCh7: Design of control systems

Page 5: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

Course Outline

2017/11/8 5

Week Date Content Assignment

14 12 Dec Ch7: Design of control systems Assign Due

14 Dec Ch7: Design of control systems

15 17 Dec Ch7: Design of control systems

19 Dec Ch7: Design of control systems

16 24 Dec Review Assign 7 Due

26 Dec Review

17 Review (by yourself)

18 Final Exam (to be announced)

Page 6: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

Chapter 5: Root Locus

Page 7: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

2017/11/8 7

Contents

5-1 Introduction of Root Locus

5-2 Properties of Root Locus

5-3 Root Locus Sketching Rules

5-4 Root Locus Based System Analysis and Design

Page 8: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

2017/11/8 8

• We have had a quick look at modeling and analysis for

specifying system performance.

(Time domain method for first and second order systems)

• We will now look at a graphical approach, known

as the root locus method, for analyzing and designing

control systems

• As we will see, the root locations are important in

determining the nature of the system response

What we have known?

5-1 Introduction of Root Locus

Page 9: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

2017/11/8 9

We have seen how this form of feedback is able to minimize the

effect of disturbances.

For investigating the performance of a system, we have to solve the

output response of the system.

(1) It is difficult to solve the output response of a system –

especially for a higher order system.

(2) We can’t easily investigate the changes of a system’s

performance from the time-domain

--especially when parameters of the system vary in a given

range, or, when devices are added to the system.

Proportional controller

)(sG)(sR )(sC

-K

)(sH

Limitations:

Root Locus

Page 10: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

2017/11/8 10

By using root locus method,we can:

analyze the performance of the system

determine the structure and parameter of the system

design the compensator for control system

History:

Root locus method was conceived by Evans in 1948.

Root locus method and Frequency Response method,

which was conceived by Nyquist in 1938 and Bode in 1945,

make up of the cores of the classical control theory for

designing and analyzing control systems.

Page 11: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

11

[Definition]:The path traced by the roots of the characteristic equation of the closed-loop system as the gain K varies from 0 to +∞ is called root locus.

Example:The second order system with the open-loop transfer function

)15.0( ss

K)(sR )(sC

-

Characteristic equation: 0222 Kss

Closed-loop Transfer function:Kss

Ks

22

2)(

2

)15.0()(

ss

KsGk

Ks 2112,1 Roots of characteristic equation:

Page 12: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

12

2 0

1j

1j

1

Ks 2112,1 Roots:

[Discussion]:① For K=0,s1=0 and s2=-2,

are the poles of open-loop system.② For K=0.32,s1=-0.4,s2=-1.6

③ For K=0.5,s1=-1,s2=-1

④ For K=1,s1=-1+j,s2=-1-j

⑤ For K=5,s1=-1+3j,s2=-1-3j

⑥ For K=∞,s1=-1+∞j,s2=-1-∞j

0K 0K

1K

5K

[Terminology]:In the root locus, “ ”denotes the poles of the open-loop transfer function, “ ” zeros of the open-loop transfer function. The bode line represents the root locus,and arrow shows the root locus direction along some parameters.

Page 13: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

13

Control System:

)(sR )(sC

-)(sG

)(sH

Closed-loop transfer function: )()(1

)()(

sHsG

sGs

Open-loop transfer function:

)()()( sHsGsGk

Canonical form of )(sGk

n

j

j

m

i

i

gk

ps

zs

KsG

1

1

)(

)(

)(

root locus gain

and - are zeros and poles of open-loop transfer function

g

i j

K

z p

5-2 Properties of Root Locus

Page 14: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

2017/11/8 14

1

1

( 1)

( ) ( ) ( )

( 1)

m

i

ik n

j

j

K s

G s G s H s

T s

5.2.1 Two canonical form of open-loop

transfer function

(5-1)

(5-2)

nm

1

1

m

i

ig n

j

j

z

K K

p

In root locus method, we use (5-2).

1

1

( )

( )

m

g i

i

n

j

j

K s z

s p

Time constant

canonical form: K is

open-loop gain

Zero-pole canonical form: Kg is

root locus gain

Page 15: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

2017/11/8 15

Characteristic equation of closed-loop transfer function

1 ( ) 0G s H s ( ) 1G s H s

5.2.2 Magnitude and Phase Equations

(4-3)

The objective is to determine values of s that

satisfy the equation. Such s are the on the root

locus.

R(s)G(s)

H(s)

+

-

C(s)E(S)

Page 16: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

16

1

)(

)(

or 1)(

1

1

n

j

j

m

i

i

gk

ps

zs

ksG

Definition

is the root-locus equation.

Remembering that s may be complex, the root-

locus equation can be equivalently written into

...2,1,0,)12()()(

1

|)(|

|)(|

11

1

1

kkpszs

ps

zs

K

n

j

j

m

i

i

n

j

j

m

i

i

g

Phase equationArgument equation

Magnitude equation

Page 17: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

17

Phase equation is the sufficient and necessary condition

for root locus.

—— All the values of s satisfying the argument equation

constitute the root locus.

——Magnitude equation is used to determine the gain Kg

for a particular root.

——Argument equation is independent on Kg.

Root locus method is performed in two stages:

1. Finding all values of s satisfying the argument equation

2. Finding particular values of s that satisfy the magnitude

equation

Page 18: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

2017/11/8 18

)12()(

ss

ksGk

kKss

K

ss

ksG g

g

k 5.0,)5.0()5.0(

5.0)(

500 21 .p,p

Poles:

There are no zeros.

σ 0-0.5

× ×-p1-p2

Trial guess method:

Example 5.1

Solution:1)Find zeros and poles of open-loop transfer function on

s plane

Page 19: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

2017/11/8 19

S1

σ 0-0.5

× ×-p1-p2

For s1=-0.1 04.04.01.02111 pspsK g

The all values between of the real axis are

the points of root locus21 p~p

2)Inspecting the real axis:

Argument equation

is not satisfied.

0)()( 2111 psps

1 1 1 2( ) ( ) 180 0 180s p s p

-< s1 <-p2 180)()( 2111 psps

s1>0

-p2< s1 <-p1

Page 20: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

2017/11/8 20

000

2111 18045135)()( psps

125.0225.02

2111 pspsK g

S1jω

σ 0-0.5

× ×-p1-p2

-0.25

3)Examine locations off the real axis: arbitrarily

choose an s1

In order to satisfy 180)()( 2111 psps

s1 should be on the

perpendicular bisector of the

line between the two poles.

Let s1=-0.25 + j0.25

Page 21: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

21

Example: For the second order system,draw the root locus with respect to Kg from 0→∞

( 1)

gK

s s

)(sR )(sC

-

Solution:2

( )g

g

Ks

s s K

Characteristic equation of closed-loop transfer function:

2

1,2

1 10, 1 4

2 2g gs s K s K

[Discussion]:

① 1,2For 0, we have 0 and -1gK s

Page 22: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

22

( 1)

gK

s s

)(sR )(sC

-

④1,2

1For , are complex numbers

4gK s

⑤1,2

1,

2gK s j

③ 1,2

1,2

1 1For ,

4 2

1For any 0 , are on the negative real axis.

4

g

g

K s

K s

As Kg increases, location of roots branch out along the

vertical line.

Page 23: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

23

[Summary]

When Kg changes from zero to infinity, there are two segments starting from the open-loop poles to infinity.

For higher order system, it is very difficult to sketch all the root loci. But graphical method shows its advantage.

Are Points A and A’ on the root locus?(Trial guess method)

)12()1()1(

21

kBAOAssss

kAA

g

Obviously,A is on the root locus, but A’ is not on the root locus.

1 0

0gk

0gk

1j

1j

5.0

gk

gk

A1s s

1A2A

B

'A

Page 24: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

2017/11/8 24

Example 5-2: The open-loop transfer function is given by

1)Via argument equation

-P1-P3 -P2-Z1

S1

26O 45O 79O

18026-79-120-45

)()(

)()(

3121

1111

psps

pszs

120O

)6.6)(2(

)4()()(

sss

ssHsG

k

Check if s1= -1.5+j2.5 is on the root locus. If yes, please

determine the parameter gain k

2)Via magnitude equation

15.126.3

8.56.29.2

11

312111

zs

pspspsk

=12.15k

Page 25: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

2017/11/8 25

We can rapidly sketch the root-loci of a control system.

Sketch the root-loci for the following open-loop transfer functions:

Re

Im

Re

Im

Re

Im

Re

Im

Re

Im

Re

Im

)4(

)6)(2()( )1(

ss

ssKsG

)6(

)4)(2()( )2(

ss

ssKsG

)2(

)3()( )3(

ss

sKsG

)1(

)3)(2()( )4(

ss

ssKsG

)2(

)136()( )5(

2

ss

ssKsG )136(

)2)(1()( )6(

2

ss

ssKsG

Page 26: Principle of Automatic Controliwin.sjtu.edu.cn/control/Upload/Files/...Principle of Automatic Control 2017/11/8 2 Wiener is regarded as the originator of cybernetics, a formalization

Summary

The preceding angle and magnitude criteria can be used to

verify which points in the s-plane form part of the root

locus

It is not practical to evaluate all points in the s-plane to

find the root locus

We can formulate a number of rules that allow us to sketch

the root locus

2017/11/8 26