Docsity

State Modals - Lecture Notes - Linear System And Control, Study notes of Physics

Partial preview of the text

Download State Modals - Lecture Notes - Linear System And Control and more Study notes Physics in PDF only on Docsity!

Linear Systems and Control

Lecture # 1

State models

We will deal with dynamical systems modeled by

n

coupled

first-order ordinary differential equations:

x

1

f

1

t, x

1

,... , x

n

, u

1

,... , u

m

x

2

f

2

t, x

1

,... , x

n

, u

1

,... , u

m

x

n

f

n

t, x

1

,... , x

n

, u

1

,... , u

m

x

i

dx

i

dt

t

is the time variable

u

1

,... , u

m

are the input variables

x

1

,... , x

n

are the state variables

Output equation:

y

h

t, x, u

y

y

1

y

2

y

p

h

t, x, u

h

1

t, x, u

h

2

t, x, u

h

p

t, x, u

State Model:

x

f

t, x, u

State equation

y

h

t, x, u

Output equation

Example:

Consider a single-input–single-output (SISO)

system represented by the

n

th-order differential equation

y

(

n

)

g

t, y, y

(1)

,... , y

(

n

−

, u

where

u

is the input,

y

is the output, and

y

(

i

)

d

i

y

dt

i

State variables:

x

1

y,

x

2

y

(1)

x

n

y

(

n

−

f

x

2

x

3

x

n

g

t, x

1

, x

2

,... , x

n

, u

h

x

1

x

f

t, x, u

y

h

x

Example:

Consider a SISO system represented by the

input-output relation

¨y

a

1

y

a

2

y

b

0

u

b

1

u

b

2

u

where

u

is the input, and

y

is the output

Rewrite equation as follows:

y

b

0

¨u

b

1

u

a

1

y

b

2

u

a

2

y

y

b

0

u

b

1

u

a

1

y

b

2

u

a

2

y

x

2

x

1

f

[

a

1

a

2

] [

x

1

x

2

]

[

b

1

b

0

a

1

b

2

b

0

a

2

]

u

h

[

]

[

x

1

x

2

]

b

0

u

x

f

t, x, u

y

h

x

Example: Pendulum Equation

θ

mg

l

mℓ

2

¨θ

mgℓ

sin

θ

kℓ

2

θ

u

m

Mass of the bob

Length of the rod

u

Applied torque

k

Friction coefficient

Existence and Uniqueness of Solutions Consider

x

f

t, x, u

y

h

t, x, u

Assume that

f

and

h

are continuously differentiable in

x, u

and continuous in

t

Then there is a unique solution

x

t

of

x

f

t, x, u

x

t

0

x

0

over some time interval

[

t

0

, t

1

]

Consequently, the output

y

t

is unique

Classification of State models

Time-varying system:

x

f

t, x, u

y

h

t, x, u

Time-invariant system:

x

f

x, u

y

h

x, u

The response of a time-invariant system is invariant toshifts of the time origin. Therefore, without loss ofgenerality, we can take the initial time to be

t

0

Why?

τ

t

a

ψ

τ

x

τ

a

x

t

dψ^ dτ

d

˜x

dt

f

x

τ

a

u

τ

a

dψ^ dτ

f

ψ

τ

, u

τ

ψ

t

0

x

0

By the uniqueness of solution

ψ

τ

x

t

t

=

τ

˜x

t

ψ

τ

ψ

t

a

x

t

a

Classification of State models

Nonlinear system:

x

f

t, x, u

y

h

t, x, u

Linear system:

x

A

t

x

B

t

u

y

C

t

x

D

t

u

A

is

n

×

n

B

is

n

×

m

C

is

p

×

n

D

is

p

×

m

The response of a linear system satisfies the superpositionprinciple:

Let

x

a

t

, y

a

t

be the response to

x

a

t

0

x

a 0

u

a

t

x

b

t

, y

b

t

be the response to

x

b

t

0

x

b 0

u

b

t

then, for any real numbers

α

and

β

αx

a

t

βx

b

t

is the

response to

x

t

0

αx

a 0

βx

b 0

u

t

αu

a

t

βu

b

t

Classification of Linear models

Time-varying:

x

A

t

x

B

t

u

y

C

t

x

D

t

u

Time-invariant:

x

Ax

Bu

y

Cx

Du

The response of a linear time-invariant system is invariantto shifts of the time origin. Therefore, without loss ofgenerality, we can take the initial time to be

t

0

Linearization

Consider the nonlinear state equation

x

f

t, x, u

Let

˜x

t

be the solution when

u

t

u

t

and

˜x

t

0

x

0

Suppose the input and initial state are slightly perturbed

u

t

u

t

u

δ

t

x

0

x

0

x

0 δ

where

u

δ

t

and

x

0 δ

are small

x

x

21

x

2 n