2015-12-261 Contact: [email protected]@sjtu.edu.cn Tel.: 021-3420 4279 Office:...

26
22/5/16 1 Contact: [email protected] Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday Slides and assignment can be downloaded from URL: wicnc.sjtu.edu.cn/download.php Instructor: Dr. Cailian Chen Associate Professor Department of Automation, SJTU Automatic Control

Transcript of 2015-12-261 Contact: [email protected]@sjtu.edu.cn Tel.: 021-3420 4279 Office:...

Page 1: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

23/4/21 1

Contact: [email protected].: 021-3420 4279Office: 2-515, Building of SEIEEOffice Time: 2:00pm-4:00pm, Tuesday

Slides and assignment can be downloaded from URL: wicnc.sjtu.edu.cn/download.php

Instructor: Dr. Cailian ChenAssociate ProfessorDepartment of Automation, SJTU

Automatic Control

Page 2: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

23/4/21 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 MathematicianProfessor of Mathematics at MIT

Cybernetics-2nd Edition : or the Control and Communication in the Animal and the Machine

控制科学的鼻祖

Page 3: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

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

23/4/21 3

Score of Quiz >80 <60

6 students6 students

Page 4: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

Course Outline

23/4/21 4

Week Date Content Assignment

9 06 Nov

Ch5: Root locus

08 Nov

Ch5: Root locus

10 13 Nov

Ch5: Root locus

15 Nov

Ch5: Root locus

11 20 Nov

Ch6: Frequency response Assign 5 Due

22 Nov

Ch6: Frequency response

12 27 Nov

Ch6: Frequency response

29 Nov

Ch6: Frequency response

13 04 Dec

Break

06 Dec

Break

Page 5: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

Course Outline

23/4/21 5

Week

Date Content Assignment

14 11 Dec Ch6: Frequency response

13 Dec Ch7: Design of control systems

Assign 6 Due

15 18 Dec Ch7: Design of control systems

20 Dec Ch7: Design of control systems

16 25 Dec Ch7: Design of control systems

27 Dec Review Assign 7 Due

17 27 Nov Review Test

Exam

Page 6: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

Chapter 5: Root LocusChapter 5: Root Locus

Page 7: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

23/4/21 7

ContentsContents

5-1 Introduction of Root Locus5-1 Introduction of Root Locus

5-2 Properties of Root Locus5-2 Properties of Root Locus

5-3 Root Locus Sketching Rules5-3 Root Locus Sketching Rules

5-4 Root Locus Based System Analysis and 5-4 Root Locus Based System Analysis and DesignDesign

Page 8: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

23/4/21 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: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

23/4/21 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(1) It is difficult to solve the output response of a systemof a system – – especially for a higher order system.especially for a higher order system.

(2) We can’t easily investigate the changes of a system’s (2) We can’t easily investigate the changes of a system’s performanceperformance from the time-domainfrom the time-domain

--especially when parameters of the system vary in a given range, --especially when parameters of the system vary in a given range, or, when devices are added to the system.or, when devices are added to the system.

Proportional controller

)(sG)(sR )(sC

-K

)(sH

Limitations:

Root Locus

Page 10: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

23/4/21 10

By using root locus method , we can : analysis 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: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

11

[Definition] : The path traced by the roots of the characteristic equation of the closed-loop system as the gain K is varied 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: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

12

2 0

1j

1j

1

Ks 2112,1 Roots :[Discussion] :

① For K=0 , s1=0 and s2=-2, are the poles of closed-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 , arrow shows the root locus direction along some parameters.

Page 13: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

13

Control System :

)(sR )(sC

-)(sG

)(sH

Closed-loop transfer function: )()(1

)()(

sHsG

sGs

Open-loop transfer function: )()()( sHsGsGk

Canonical form of )(sGk

n

jj

m

ii

gk

ps

zsKsG

1

1

)(

)()(

function transfer loop-open of poles and zeros are and

gain locusroot

p z

K

ji

g

5-2 Properties of Root Locus

Page 14: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

23/4/21 14

1

1

( 1)( ) ( ) ( )

( 1)

m

ii

k n

jj

K sG s G s H s

T s

5.2.1 Two canonical form of open-loop transfer function

( 4-1 )

( 4-2 )

nm

1

1

m

ii

g n

jj

zK K

p

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

1

1

( )

( )

m

g ii

n

jj

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: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

23/4/21 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: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

16

1)(

)(or 1)(

1

1

n

jj

m

ii

gk

ps

zsksG

Definition

is the root-locus equation.

Remembering that s may be complex, it root-locus equation can be equivalently written into

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

1|)(|

|)(|

11

1

1

kkpszs

ps

zsK

n

jj

m

ii

n

jj

m

ii

g

Phase equationArgument equation

Magnitude equation

Page 17: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

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 equation2.Finding particular values of s that satisfy the magnitude equation

Page 18: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

23/4/21 18

)12()(

ss

ksGk

kKss

K

ss

ksG g

gk 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: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

23/4/21 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 locus

21 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: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

23/4/21 20

0002111 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: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

21

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

)1( ss

kg)(sR )(sC

-

Solution:g

g

kss

ks

2)(

Characteristic equation of closed-loop transfer function :

gg kskss 412

1

2

10 2,1

2 ,

[Discussion] :

① 1.- 0 and have we0For 2,1 skg ,

②1. and

axis, real negative thealong left the to goes , 1

from axis real negative alongright the togoes2skg s

Page 22: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

22

)1( ss

kg)(sR )(sC

-

④ . numberscomplex are4

1For 2,1skg ,

⑤ jskg 2

12,1时,

axis. real negative on the are4

10any For

2

1

4

1For

2,1

2,1

.

sk

sk

g

g

As Kg increases, location of roots branch out along the vertical line.

Page 23: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

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

A1

s s

1A2A

B

'A

Page 24: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

23/4/21 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: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

23/4/21 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: 2015-12-261 Contact: cailianchen@sjtu.edu.cncailianchen@sjtu.edu.cn Tel.: 021-3420 4279 Office: 2-515, Building of SEIEE Office Time: 2:00pm-4:00pm, Tuesday.

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

23/4/21 26