Automatics and Automatic Control
Automatics and Automatic Control
Automatics and Automatic Control
AUTOMATIC CONTROL
LECTURE 2
I.
1. Linear my” + by’ + ky = u
2. Nonlinear my” + by’ + f(y)y = u k=f(y)
II.
1. with lumped parameters (spring mass lumped in one point)
2. with distributed parameters (spring mass distributed towards the
direction y axis)
III.
1. Stationary (parameters are constant m=const.)
2. Nonstationary (parameters change in time m=f(t) )
State space models
The state space model is an anather way (kind of an
ordered way) of writing the diiferential equetions of
the system.
- state equation
- output equation
State space models
x(t) - state variables, are the smallest possible subset of system variables
that can represent the entire state of the system at any given time. The
minimum number of state variables required to represent a given system, is
usually equal to the order of the system's defining differential equation
u(t) - input variables
y(t) - output variables
State space models
If vector functions f and g are linear:
Where A is called the state matrix (n x n), B the input matrix (n x r), C(t) the
output matrix (m x n), and D the feedthrough (or direct transmition) matrix
(m x r).
State space models
Example : damped harmonic oscillator
Where:
• is position; is velocity; is acceleration
• is an applied force
• b is the damping coefficient
• k is the spring constant
• m is the mass of the object
The state equation would then become:
where:
• represents the position of the object
• is the velocity of the object
• the output is the position of the object
State space models
Exercise 1: RC circuit
Laplace Transform
The Laplace transform is a linear operation of a function f(t) with a real argument t (t ≥ 0) that
transforms it to a function F(s) with a complex argument s.
The Laplace transform of a function f(t), defined for all real numbers t ≥ 0 (positive numbers), is the
function F(s), defined by:
f(t) = 1(t)
-
Laplace Transform
It is often convenient to use the differentiation property of the Laplace transform to find the transform
of a function's derivative. This can be derived from the basic expression for a Laplace transform as
follows:
f(t) = t
Laplace Transform
Laplace transforms of typical functions (TABLE OF TRANSFORMS):
f(t) F(s)
(t ) 1
1
1(t )
f (t ) F ( s)
s
____________________________________
e at 1
sa
1
t
s2
n!
tn
s n 1
Laplace Transform
Laplace transforms of typical functions:
f(t) F(s)
at 1
te
s a 2
n at n!
t e
( s a )n 1
w
sin( wt )
s2 w2
s
cos(wt )
s2 w2
Laplace Transform
Laplace transform properties:
1.
Laplace Transform
Laplace transform properties:
2.
d n f (t )
dt n
becomes
n n 1 n 2 0 (n 1)
s F ( s) s f (0) s f ' (0) ... s f f (0)
n
(i 1)
s F (s)
n
s n i f (0)
i 1
Laplace Transform
Laplace transform properties:
3.
4.
to s
f (t t ) e F (s )
0
Laplace Transform
Laplace transform properties:
5.
6.
The final value theorem is useful because it gives the long-term behaviour without having to
perform difficult algebra (solving differential equations, etc.)
Inverse Laplace
Transform
The Inverse Laplace Transform is defined by:
j
1
1
L [ F ( s)] f (t ) F ( s )e ts
ds
2 j j
Y ( s)
G( s)
U ( s)
TRANSFER FUNCTION
From general differential equetion:
m 1
bm s bm1 s ... b1 s b0
m
G( s)
a n s n a n 1 s n 1 ... a1 s a0
TRANSFER FUNCTION
Example1 : RC circuit
TRANSFER FUNCTION
z1, z2,… z3: zeros, numbers of s which makes the transfer function zero
p1, p2,… p3: poles, numbers of s which make the transfer function infinity
K is the gain
Since the transfer function was previously defined as the ratio of the Laplace transform
of the output to the Laplace transform of the input when the initial conditions were
zero, we set x(0) in the previous equation to be zero. We operate and substitute and
then we have:
,I – unit matrix
and finally:
Model linearization
Control systems often works with small changes of input and output quantities around some
given steady state value. For this small changes the system can be described in an approximate
way by linear equation (differential equation)
• Static linearization
because :
⇒
Model linearization
• Static linearization example:
because :
Model linearization
• Linearization of differential equation (dynamic linearization) example:
DC generator equation:
THANK
YOU