state variable models. - wordpress.com · 2016. 8. 19. · select the ppyhysical variables as state...

19
UNIT IV UNIT IV State Variable Models.

Upload: others

Post on 19-Mar-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: State Variable Models. - WordPress.com · 2016. 8. 19. · select the ppyhysical variables as state variables. For example, the block diagram of an open loop DC motor is 1 1 1 5 5

UNIT IVUNIT IV

State Variable Models.

Page 2: State Variable Models. - WordPress.com · 2016. 8. 19. · select the ppyhysical variables as state variables. For example, the block diagram of an open loop DC motor is 1 1 1 5 5

OutlineOutline

• Linking state space representation and transferLinking state space representation and transfer function

• Phase variable canonical form• Phase variable canonical form • Input feedforward canonical form• Physical state variable model• Diagonal canonical formg• Jordan canonical form

Page 3: State Variable Models. - WordPress.com · 2016. 8. 19. · select the ppyhysical variables as state variables. For example, the block diagram of an open loop DC motor is 1 1 1 5 5

Consider the following RLC circuitg

We can choose state variables to be ),(),( 21 tixtvx Lc ==We can choose state variables to beAlternatively, we may choose ).(ˆ),(ˆ 21 tvxtvx Lc ==

This will yield two different sets of state space equations, but both of them have the identical input-output relationship, expressed by )(0 RsVp yCan you derive this TF?

.1)(

)(2

0

++=

RCsLCssU

Page 4: State Variable Models. - WordPress.com · 2016. 8. 19. · select the ppyhysical variables as state variables. For example, the block diagram of an open loop DC motor is 1 1 1 5 5

Linking state space representation and f f itransfer function

Given a transfer function there exist infinitelyGiven a transfer function, there exist infinitely many input-output equivalent state space models.We are interested in special formats of state spaceWe are interested in special formats of state space representation, known as canonical forms.It is useful to develop a graphical model thatIt is useful to develop a graphical model that relates the state space representation to the corresponding transfer function The graphicalcorresponding transfer function. The graphical model can be constructed in the form of signal-flow graph or block diagram.g p g

Page 5: State Variable Models. - WordPress.com · 2016. 8. 19. · select the ppyhysical variables as state variables. For example, the block diagram of an open loop DC motor is 1 1 1 5 5

We recall Mason’s gain formula when all feedback loops are t hi d l t h ll f d thtouching and also touch all forward paths,

Δ ∑∑ kkk PP

gain loopfeedback of sum1gainpathforwardofSum

11

−=

−=

Δ

Δ=

∑∑

=

N

qq

kk

kkk

L

PPT

Consider a 4th-order TF

40

012

23

34

0

)()()(

++++==

sb

asasasasb

sUsYsG

We notice the similarity between this TF and Mason’s gain f l b T t th t 4 t t

40

31

22

13

0

1 −−−− ++++=

sasasasasb

formula above. To represent the system, we use 4 state variables Why?.,,, 4321 xxxx

Page 6: State Variable Models. - WordPress.com · 2016. 8. 19. · select the ppyhysical variables as state variables. For example, the block diagram of an open loop DC motor is 1 1 1 5 5

Signal‐flow graph modelSignal flow graph model

This 4th‐order system can be represented bys o de syste ca be ep ese ted by

4321

40

1)()()( −−−−

++++==

sasasasasb

sUsYsG

01231)( ++++ sasasasasU

How do you verify this signal‐flow graph by Mason’s gain formula?gain formula?

Page 7: State Variable Models. - WordPress.com · 2016. 8. 19. · select the ppyhysical variables as state variables. For example, the block diagram of an open loop DC motor is 1 1 1 5 5

Block diagram modelBlock diagram modelAgain, this 4th‐order TF 

0)( bsY

4321

40

012

23

34

0

1

)()()(

−−−−

++++=

++++==

sasasasasb

asasasasb

sUsYsG

can be represented by the block diagram as 

01231 ++++ sasasasa

shown

Page 8: State Variable Models. - WordPress.com · 2016. 8. 19. · select the ppyhysical variables as state variables. For example, the block diagram of an open loop DC motor is 1 1 1 5 5

With either the signal‐flow graph or block diagram of th i 4th d tthe previous 4th‐order system,

we define state variables as ,,,, 3423120

1 xxxxxxbyx &&& ====

then the state space representation is 21

xxxx

==

&

&

433221104

43

32

uxaxaxaxaxxxxx

+−−−−===

&

&

10

433221104

xby =

Page 9: State Variable Models. - WordPress.com · 2016. 8. 19. · select the ppyhysical variables as state variables. For example, the block diagram of an open loop DC motor is 1 1 1 5 5

Writing in matrix formg

)()()()()()(tttttt

DuCxyBuAxx

+=+=&

we have

)()()(y

00010⎥⎤

⎢⎡

⎥⎤

⎢⎡

100

,10000100

3210⎥⎥⎥⎥

⎦⎢⎢⎢⎢

=

⎥⎥⎥⎥

⎦⎢⎢⎢⎢

⎣ −−−−

=

aaaa

BA

[ ] 0,0000

3210

==⎦⎣⎦⎣

DbC

Page 10: State Variable Models. - WordPress.com · 2016. 8. 19. · select the ppyhysical variables as state variables. For example, the block diagram of an open loop DC motor is 1 1 1 5 5

Let us consider a more general 4th‐order systemg y

23)( +++ bsbsbsbsY

40

31

22

13

012

23

34

0123

)()()(

−−−− +++=

+++++++

==

sbsbsbsb

asasasasbsbsbsb

sUsYsG

How do we construct the signal‐flow graph and block 

40

31

22

131 −−−− ++++ sasasasa

g g pdiagram using Mason’s gain formula?• forward paths (they have to touch all the loops)• feedback loops (all of them are touching)• integrators

Page 11: State Variable Models. - WordPress.com · 2016. 8. 19. · select the ppyhysical variables as state variables. For example, the block diagram of an open loop DC motor is 1 1 1 5 5

For the 4th‐order TF 

One form of the signal flow graph and block

40

31

22

13

40

31

22

13

1)()()( −−−−

−−−−

+++++++

==sasasasa

sbsbsbsbsUsYsG

One form of the signal‐flow graph and block diagram is Phase variable canonical form

Page 12: State Variable Models. - WordPress.com · 2016. 8. 19. · select the ppyhysical variables as state variables. For example, the block diagram of an open loop DC motor is 1 1 1 5 5

Phase variable canonical formPhase variable canonical form

23)( +++ bsbsbsbsY

4321

40

31

22

13

012

23

34

0123

1

)()()(

−−−−

−−−−

+++++++

=

+++++++

==

sasasasasbsbsbsb

asasasasbsbsbsb

sUsYsG

The state space equation developed from the above graph is

01231 ++++ sasasasa

p q p g p

with 43322110

433221104433221 ,,,xbxbxbxby

uxaxaxaxaxxxxxxx+++=

+−−−−==== &&&&

00010 ⎤⎡⎤⎡x1, x2, x3, x4 are called phase

1000

,100001000010

⎥⎥⎥⎥

⎢⎢⎢⎢

=

⎥⎥⎥⎥

⎢⎢⎢⎢

= BA

x1, x2, x3, x4 are called phase variables.

[ ] 0,1

3210

3210

==

⎥⎦

⎢⎣

⎥⎦

⎢⎣ −−−−

Dbbbbaaaa

C

Page 13: State Variable Models. - WordPress.com · 2016. 8. 19. · select the ppyhysical variables as state variables. For example, the block diagram of an open loop DC motor is 1 1 1 5 5

012

23

34

012

23

3

)()()(

+++++++

==asasasas

bsbsbsbsUsYsG

There is an alternative state space representation by feeding forward

40

31

22

13

40

31

22

13

0123

1

)(

−−−−

−−−−

+++++++

=

++++

sasasasasbsbsbsb

asasasassUp y ginput signal.

Input feedforward canonical formca o ca o

Page 14: State Variable Models. - WordPress.com · 2016. 8. 19. · select the ppyhysical variables as state variables. For example, the block diagram of an open loop DC motor is 1 1 1 5 5

Input feedforward canonical formInput feedforward canonical form

23)( +++ bsbsbsbsY

4321

40

31

22

13

012

23

34

0123

1

)()()(

−−−−

−−−−

+++++++

=

+++++++

==

sasasasasbsbsbsb

asasasasbsbsbsb

sUsYsG

The state space equation representing the above graph is 

01231 ++++ sasasasa

p q p g g p

i h1

0104141132312232131 ,,,xy

ubxaxubxxaxubxxaxubxxax=

+−=++−=++−=++−= &&&&

with

,100010001

1

2

3

1

2

3

⎥⎥⎥⎥⎤

⎢⎢⎢⎢⎡

=

⎥⎥⎥⎥⎤

⎢⎢⎢⎢⎡

−−−

=bbb

aaa

BA

[ ] 0,0001

000 0

1

0

==

⎥⎦

⎢⎣

⎥⎦

⎢⎣−

D

ba

C

Page 15: State Variable Models. - WordPress.com · 2016. 8. 19. · select the ppyhysical variables as state variables. For example, the block diagram of an open loop DC motor is 1 1 1 5 5

When studying an actual control system block diagram, we wish to select the physical variables as state variables.  For example, the block p y p

diagram of an open loop DC motor is

1

1

5155

++

ss

1

1

21 −

+ ss

1

1

316

+ ss

We draw the signal‐flow diagraph of each block separately and then connect them. We select x1=y(t), x2=i(t) and x3=(1/4)r(t)‐(1/20)u(t) to form the state space 1 y 2 3 prepresentation.

Page 16: State Variable Models. - WordPress.com · 2016. 8. 19. · select the ppyhysical variables as state variables. For example, the block diagram of an open loop DC motor is 1 1 1 5 5

Physical state variable modelPhysical state variable model

The corresponding state space equation is

xx )(150

5002020063

⎥⎥⎥

⎢⎢⎢

⎡+

⎥⎥⎥

⎢⎢⎢

−−−

−= tr&

x]001[1500

=

⎥⎦⎢⎣⎥⎦⎢⎣y

Page 17: State Variable Models. - WordPress.com · 2016. 8. 19. · select the ppyhysical variables as state variables. For example, the block diagram of an open loop DC motor is 1 1 1 5 5

We revisit the block diagram model of the open loop DC motor.   

325)3)(2)(5()1(30

)()( 321

++

++

+=

++++

=sk

sk

sk

ssss

sRsYThe overall TF is

Distinct poleswhere k1=‐20, k2=‐10, k3=30.  If we choose state variables associated with distinct poles, we can build a ‘decoupled’ form of state space model.

Distinct poles

o o state space ode

Page 18: State Variable Models. - WordPress.com · 2016. 8. 19. · select the ppyhysical variables as state variables. For example, the block diagram of an open loop DC motor is 1 1 1 5 5

Diagonal canonical formDiagonal canonical form

330

210

520

)3)(2)(5()1(30

)()(

++

+−

++

−=

++++

=ssssss

ssRsY

325)3)(2)(5()( ++++++ sssssssR

Distinct l

The state space equation for the above model is 1005 ⎤⎡⎤⎡−

poles

xx

]301020[

)(111

300020005

⎥⎥⎥

⎢⎢⎢

⎡+

⎥⎥⎥

⎢⎢⎢

−−= tr&

x]301020[ −−=y

Page 19: State Variable Models. - WordPress.com · 2016. 8. 19. · select the ppyhysical variables as state variables. For example, the block diagram of an open loop DC motor is 1 1 1 5 5

Jordan canonical formJordan canonical form

If t h lti l l th t t t tiIf a system has multiple poles, the state space representation can be written in a block diagonal form, known as Jordan canonical form.  For example,

Three poles are equal