Professional Documents
Culture Documents
EE 312 Lecture 1
EE 312 Lecture 1
University of Benghazi
Faculty of Engineering
Electrical and Electronic Engineering Department
----------------------------------------------------------------------------------------------------------------------------
Control systems EE312 Fall 2011/2012
----------------------------------------------------------------------------------------------------------------------------
References:
- Modern control systems, R.C. Dorf
- Control systems Engineering, Norman Nise
- Linear control systems engineering, Morris Driels
----------------------------------------------------------------------------------------------------------------------------
Introduction
In control theory, systems can be classified as linear and non-linear. In linear systems
the parameters that describe the system do not change over the time (time in-variant).
However, in non-linear systems these parameters tend to vary with the time as the
system operating conditions change (time variant).
1
EE 312/ Lecture no. 1/system modelling/ Block diagram approach
There are three different ways in which a model of a process can be constructed: 1)
through theoretical analysis of the process; 2) by experimentation and data analysis;
3) a combination of experimentation and theoretical analysis.
A process can be described by many types of model, ranging from sophisticated and
detailed models to more basic ones depending on the complexity of the process and
requirements of the developed controller. Typically models can have either an internal
structure, such as a ‘‘state space’’ model or an external relationship, as with an
‘‘input-output model’’.
Linear systems
A system is said to be linear
• if the superposition principle holds good
• if the system can be represented by either linear differential equations or
linear algebraic equations
Example
2
EE 312/ Lecture no. 1/system modelling/ Block diagram approach
Figure (1)
Solution
the electrical RLC circuit can be descried utilizing Kirchhoff’s voltage law. This
should satisfy:
duC (t )
i (t ) = C (1)
dt
Where the system input is represented by
di (t )
u (t ) = Ri (t ) + L + uc (t ) (2)
dt
d 2uc (t ) du (t )
LC 2
+ RC c + u c (t ) = u (t ) (3)
dt dt
Equation (3) denotes a second-order ordinary differential equation (ODE), which
represents the mathematical model of the electric circuit that shown in Figure (1).
∞
F ( s ) = ∫ f (t )e − st dt = L { f (t )}
0
Generally , the Laplace variable 's' can be considered to be the differential operator so that
3
EE 312/ Lecture no. 1/system modelling/ Block diagram approach
d
s≡
dt
And the integral operator
1 t
≡ ∫ dt
s 0
Assuming zero initial conditions for uc(t) and its derivatives, then the transfer
function from the input signal u(t) to the output signal uc(t) can be given as:
U c (s) 1
= (5)
U ( s ) LCs + RCs + 1
2
Or
1
U (s ) U c (s)
LCs + RCs + 1
2
Example
Mechanical system: spring-mass-damper
For the system shown in Figure (2), obtain the mathematical model and transfer
function.
where k : spring constant
b : friction constant
Figure (2)
4
EE 312/ Lecture no. 1/system modelling/ Block diagram approach
Solution
In this example, the physical relationship that can be utilized is Newton's second law.
Summing up the forces acting on mass M as:
d 2 y (t ) dy (t )
M 2
+b + ky (t ) = r (t ) (6)
dt dt
Similarly to the first example, Taking the Laplace transform of equation (6),
assuming zero initial conditions, yields
Ms 2Y ( s ) + bsY ( s ) + kY ( s ) = R ( s ) (7)
Y ( s) 1
= (8)
R ( s ) Ms + bs + k
2
Or
R(s ) 1 Y (s )
Ms + bs + k
2
• Block diagram
• Signal flow graph
• State space
Block diagram
In the block diagram representation the system is represented by the interconnection
of unidirectional blocks where each block is characterized by its transfer function
(TF).
laplace transform of the output O( s)
TF = =
laplace transform of the input I ( s)
Definition:
Transfer function of time-invariant system is defined to be the ratio of the output
(response function) to the input (driving function). Both should be in the frequency
domain and assuming that all initial conditions are zeros.
Summing point
5
EE 312/ Lecture no. 1/system modelling/ Block diagram approach
At a summing point two or more signals are added up algebraically and the resultant
signal is transmitted through the next point.
X 1 ( s ) = R( s )G1 ( s )
C ( s ) = X 1 ( s )G2 ( s )
C ( s ) = R( s )G1 ( s )G2 ( s )
C ( s)
TF = = G1 ( s )G2 ( s )
R( s)
6
EE 312/ Lecture no. 1/system modelling/ Block diagram approach
C ( s) = X 1 ( s) + X 2 ( s)
C ( s ) = R( s )G1 ( s ) + R( s )G2 ( s )
C ( s ) = R( s )(G1 ( s ) + G2 ( s ) )
C ( s)
= G1 ( s ) + G2 ( s )
R( s)
C ( s ) = (R1 ( s ) − R2 ( s ) )G1 ( s )
C ( s ) = R1 ( s )G1 ( s ) − R2 ( s )G1 ( s )
R1 ( s )G1 ( s ) − R2 ( s ) = C ( s )
7
EE 312/ Lecture no. 1/system modelling/ Block diagram approach
⎛ R (s) ⎞
C ( s ) = ⎜⎜ R1 ( s ) − 2 ⎟⎟G1
⎝ G1 ( s ) ⎠
C ( s ) = R1 ( s )G1 ( s ) − R1 ( s )
Negative feedback
E ( s) = R( s) − C ( s) H ( s)
C ( s ) = E ( s )G1 ( s )
C ( s ) = (R( s ) − C ( s ) H ( s ) )G1 ( s )
C ( s ) = (R( s )G1 ( s ) − C ( s ) H ( s )G1 ( s ) )
C ( s ) + C ( s ) H ( s )G1 ( s ) = R( s )G1 ( s )
C ( s )(1 + H ( s )G1 ( s ) ) = R( s )G1 ( s )
C ( s) G1 ( s )
=
R( s ) 1 + H ( s )G1 ( s )
Positive feedback
8
EE 312/ Lecture no. 1/system modelling/ Block diagram approach
E ( s) = R( s) + C ( s) H ( s)
C ( s ) = E ( s )G1 ( s )
C ( s ) = (R( s ) + C ( s ) H ( s ) )G1 ( s )
C ( s ) = (R( s )G1 ( s ) + C ( s ) H ( s )G1 ( s ) )
C ( s ) − C ( s ) H ( s )G1 ( s ) = R( s )G1 ( s )
C ( s )(1 − H ( s )G1 ( s ) ) = R( s )G1 ( s )
C ( s) G1 ( s )
=
R( s ) 1 − H ( s )G1 ( s )
Unity feedback
If H ( s ) = 1 then the negative feedback becomes:
C (s) G(s)
=
R( s ) 1 + G ( s )
Example1
C ( s)
Find the overall transfer function for the system shown in the fig.
R( s)
9
EE 312/ Lecture no. 1/system modelling/ Block diagram approach
Solution
Then
G2 ( s)
Step2: G1 ( s ) and are in cascade and can be combined as:
1 + G2 ( s) H 1 ( s)
G1 ( s )G2 ( s )
1 + G2 ( s) H 1 ( s)
10
EE 312/ Lecture no. 1/system modelling/ Block diagram approach
This yields
C ( s) G1 ( s )G2 ( s )
=
R ( s ) 1 + G2 ( s ) H 1 ( s ) + G1 ( s )G2 ( s ) H 2 ( s )
Example2
For the system shown in the fig below find the output C(s)
Solution
Apply the super-position theorem as follows:
• R1 ( s ) is present and R2 ( s ) = 0
This gives
Then
11
EE 312/ Lecture no. 1/system modelling/ Block diagram approach
C1 ( s ) G1 ( s )G2 ( s )
=
R1 ( s ) 1 + G1 ( s )G2 ( s ) × 1
⎛ G ( s )G2 ( s ) ⎞
C1 = ⎜⎜ 1 ⎟⎟ R1 ( s )
⎝ 1 + G1 ( s )G2 ( s ) ⎠
Or
Then
C 2 (s) G2 ( s)
=
R2 ( s ) 1 + G2 ( s )G1 ( s )
G2 ( s )
C 2 ( s) = R2 ( s )
1 + G2 ( s )G1 ( s )
C ( s ) = C1 ( s ) + C 2 ( s )
12