Linear System Theory: Dr. Vali Uddin
Linear System Theory: Dr. Vali Uddin
Linear System Theory: Dr. Vali Uddin
Lecture 2 1
Convolution Integral
t
y( t ) g( t, )u( )d
t t0 t
y( t ) g( t )u( )d g( )u( t )d
t0 t0
Lecture 2 2
Transfer-Function Matrix
The above convolution leads to the use of
Laplace transform
– This then converts the differential equations
into algebraic equations for easy solutions
as below
ŷ(s) y( t )est dt
0
st
ŷ(s) g( t )u( )d e dt
t 0 0
ŷ(s) g ( t )u ()d e s ( t ) e sdt
t 0 0
Lecture 2 3
ŷ(s) g( t )e s ( t )
dt u( )esd
0 t 0
s
ŷ(s) g( )e d u( )esd
0
ŷ(s) g( )e d u( )esd
s
0 0
s
s
ŷ(s) g( )e d u( )e d
0 0
Lecture 2 4
u(t) y(t)=g(t)*u(t)
System
^u(s) ^y(s)=g(s)u(s)
^ ^
Lecture 2 5
Introduction to System Theory and
Linear Algebra
Lecture 2 6
• If the system is linear and time-invariant, then:
x ( t ) Ax ( t ) Bu ( t )
y( t ) Cx ( t ) Du( t )
Lecture 2 7
• Solve the above linear algebraic equations:
x̂ (s) sI A 1 Bû(s) sI A 1 x 0
ŷ(s) CsI A 1 B D û(s) CsI A 1 x 0
Transfer function matrix Ĝ(s)
• More will be said for linear time varying
systems later
Lecture 2 8
Linearization
There are many results on linear systems
while nonlinear systems are generally
difficult to analyze
– What to do with a nonlinear system
described by
x ( t ) h( x ( t ), u( t ), t )
y( t ) f ( x ( t ), u( t ), t )
Lecture 2 9
• Linearization. How? Under what conditions?
– Using Taylor series expansion based on a nominal
trajectory, ignoring second order terms and higher
– Effects are not bad if first order Taylor series
expansion is a reasonable approximation over the
duration under consideration
Suppose that with xo(t) and uo(t), we
have
x o ( t ) h( x o ( t ), u o ( t ), t ) x o ( t )
x o ( t ) x ( t ) h( x o ( t ) x ( t ), u o ( t ) u( t ), t )
h h
h( x o ( t ), u o ( t ), t ) x u ...
x o u o
Lecture 2 13
Electrical Circuits i L
State variables? + + +
y
u(t) C - v R
– i and v - -
Lecture 2 14
i
Output equation: y=v 0 1 0u
v
In matrix form: di 0 1
1
i
dt
dv 1
L
L u
1 v
0
dt C RC
Lecture 2 15
Steps to obtain state and output
equations:
Step 1: Pick {iL, vC} as state variables
di
L L vL
Step 2: dt Express vL and iC in terms of state
dv C variables and input using KVL and KCL
C iC
dt
di L 1
v L (state var iables , input , nothing else )
Step 3: dt L
dv C 1
i L (state var iables , input , nothing else )
dt C
Step 4: Put the above in matrix form
Step 5: Do the same thing for y in terms of state variables and
input, and put in matrix form
Lecture 2 16
Example R1
i1
L1 L2
i
State variables? u(t)
+ + 2
C - v R2
+
y
-
– i1, i2, and v, -
x 1 0 1 x1 0 x1
x 2 0 x 1 u y 0 1 0u
2 2 x 2
A B C D
• Linear differential equations with constant coefficients
Lecture 2 19
Steps to obtain state and output equations:
Step 1: Select outputs of integrators as state variables
Step 2: Express inputs of integrators in terms of state
variables and input based on the interconnection of
the block diagram
Step 3: Put in matrix form
Step 4: Do the same thing for y in terms of state
variables and input, and put in matrix form
Lecture 2 20
.
u-ay-by
+
-. .. 1/s . 1/s
u y y y
ay
a
+ +
b
by
Input/Output Description
y by ay u
s 2
as b ŷ(s) û(s) ŷ(s) 2
1
s as b
û(s)
ĝ(s)
Lecture 2 21
State Variable Description
-bx1-ax2+u x2 x1
+
- 1/s 1/s
u y
a
+ +
b
x 1 x 2 x 2 bx1 ax 2 u
0 1 0
x x u y x1 1 0 x 0 u
b a 1
1
s 1 0 1
ĝ(s) CsI A B D 1 0
1 0 2
b s a 1 s as b
Lecture 2 22
Operational Amplifiers (Op Amps)
v0 = A (va - vb), with -VCC v0 VCC
Vcc, 15V
Non-inverting
terminal, va Vo
Output, vo
ia + Vcc
io va - vb
o
ib -
Inverting Slope = A
terminal, vb -Vcc
-Vcc, -15V
ia 0 and ib 0
Lecture 2 23
i2 i1 + i 2 = 0
R1 R2
- u1 u 2 y u 2
+ u2 + 0
u1(t) i1 + + y R1 R2
- u2(t) -
- R2 R2
y u1 1 u 2
R1 R1
Delineate the relationship between input and output
Input/Output description
Key ideas: Pure gain, no SVs
v y R 2C1y v y R 2C1y d v y
R 2C1y
dt
u ( y R 2C1y ) y ( y R 2C1y )
R 2C1C2y 0
R1 R2
R1 R 2 1 1
y y y u Input/Output description
R1R 2C2 R1R 2C1C2 R1R 2C1C2
Lecture 2 25
C2 -v State and output equations
2 R2
+
+
What are the state
+ R v1 + v2
1 v1
+
y variables?
u(t) C1
+ -
- - -
v1 State variables: v1 and v2
dv1 0 1
dt R 2C1 v1 0
dv 2 1 1 u
1 1 1 v 2
R C
dt R1C2 C2 R1 R1
1 2
v1
y v1 1 0 0u
v 2
Lecture 2 26
THE END
Lecture 2 27