Modeling in Control System Eng.
Modeling in Control System Eng.
ENG.
CODE: EE 8303
UQF 8 – THIRD YEAR
So as to have the:
i. Ability to analyze models of dynamic control
system
ii. Ability to determine performance of a control
systems
iii. Ability to analyze errors of control system
Therefore:
A control system is an interconnection of components
forming a system configuration that will provide a desired
system response
Prepared by Vicent V.M., MSc. 5
Open – Loop Control System (without Feedback)
The basis for analysis of a system is the
foundation provided by linear system theory,
which assumes a cause–effect relationship for the
components of a system.
Therefore:
An open – loop control system utilizes an
Therefore:
A closed – loop control system uses a
measurement of the output and feedback of this
signal to compare it with the desired output
(reference or command)
𝐴
+¿ 𝐴− 𝐵 𝐴 − 𝐵+𝐶
+¿
−
+¿
𝐵 𝐶
Prepared by Vicent V.M., MSc. 19
Cont..
Now
If a block diagram has many blocks, not all of
which are in cascade, then it is useful to have
rules for rearranging the diagram such that you
end up with only one block.
For example, we would want to transform the
following diagram
Rule 6, cont..
Consider the following simple feedback loop
Example 1
Consider the following feedback control system:
Example 2:
Reduce the following multi system into a single
block diagram
Q2
Simplify the following block diagram into a single
block
In other words
Signal flow graphs are a pictorial representation of
the simultaneous equations describing a system.
Signal flow graphs display the transmission of signals
through the system, as does the block diagrams, but
it is easier to draw and easier to manipulate than the
block diagrams.
Unlike block diagrams, which consist of blocks,
signals, summing junctions, and pickoff points, a
signal-flow graph consists only of branches, which
represent systems, and nodes, which represent
signals.
Terminologies:
Node: A junction denoting a variable or a signal.
Example 1:
Convert the block diagram into a signal flow
graph
a) Input node.
b) Output node.
c) Forward paths.
d) Feedback paths.
e) Self loop.
f) Determine the loop gains of the feedback
loops.
g) Determine the path gains of the forward
paths.
Prepared by Vicent V.M., MSc. 50
Cont..
Soln.
Where
n = number of forward paths.
Pi = the i th forward-path gain.
∆ = 1 - ∑Pj1 + ∑Pj2 - ∑Pj3 +…..
= 1 - ∑ loop gains + ∑ gain products of two non-
touching loops - ∑ gain products of three non-
touching loops + . . .
∆i = ∆ - ∑ loop gain terms in ∆ that touch the i th
forward path: In other words;
∆i is formed by eliminating from ∆ those loop gains
that touch the i th forward path.
Prepared by Vicent V.M., MSc. 53
Cont..
Two loops, paths, or loop and a path are said to
be non-touching if they have no nodes in
common.
∆ is called the signal flow graph determinant or
characteristic function. Since ∆=0 is the system
characteristic equation.
Example 2
Q1.
Determine the control ratio C/R and the canonical
block diagram of the feedback control system
G1 G2 G3 G5 G6 G7 G8
G4
R(s) C(s)
-H4
-H5
-H1
-H3
Model
A model is a simplified representation or abstraction
of reality. Reality is generally too complex to model
exactly.
Mathematical Model
A set of mathematical equations (e.g., differential
eqs.) that describes the input-output behavior of a
system.
It is used in:
Simulation
Prediction/Forecasting
Prognostics/Diagnostics
Design/Performance Evaluation
Control System Design
2
𝑑𝑦 (𝑡) 𝑑𝑢(𝑡) 𝑑 𝑦 (𝑡)
u(t) =3 − y(t)
𝑑𝑡 𝑑𝑡 𝑑𝑡 2
input is, 𝜔
2
𝐶 ( 𝑠) 𝑛
= 2
𝑅( 𝑠) 𝑠 +2 𝜔 𝑛 𝑠 +𝜔 𝑛2
i. Peak overshoot
ii. Settling time
iii. Steady state error
Prepared by Vicent V.M., MSc. 79
Cont..
{
A
𝛿(𝑡)= ¿ 𝐴 𝑡=0
¿0 𝑡≠0
Step signal
– The step signal imitate u(t)
the sudden change
characteristic of actual
input signal.
A
{
𝑢(𝑡 )= ¿ 𝐴
¿0
𝑡≥0
𝑡<0
– If A=1, the step signal t
0
is called unit step
signal
Ramp signal
– The ramp signal r(t)
imitate the constant
velocity
characteristic of
actual input signal.
{
𝑟 (𝑡)= ¿ 𝐴𝑡
¿0
𝑡≥0
𝑡<0
t
0
{
2
𝐴𝑡
𝑝(𝑡)= ¿ 2 𝑡≥0
¿0 𝑡<0
t
– If A=1, the parabolic 0
signal is called unit
parabolic signal.
Impulse
𝛿(𝑡)={¿ 𝐴
¿0
𝑡=0
𝑡≠0
𝐿{ 𝛿(𝑡)}=𝛿(𝑠)= 𝐴
Step
𝑢(𝑡 )= ¿
{𝐴
¿0
𝑡≥0
𝑡<0
𝐴
𝐿{𝑢(𝑡)}=𝑈 (𝑠)=
𝑆
Prepared by Vicent V.M., MSc. 86
Cont..
{
Ramp
𝑟 (𝑡)= ¿ 𝐴𝑡 𝑡≥0
¿0 𝑡<0
𝐴
𝐿{𝑟 (𝑡)}= 𝑅(𝑠)= 2
𝑠
{
2
𝐴𝑡
Parabolic 𝑝(𝑡)= ¿ 2 𝑡≥0
¿0 𝑡<0
𝐴
𝐿{𝑝 (𝑡)}=𝑃 (𝑠)= 3
𝑆
Prepared by Vicent V.M., MSc. 87
Cont..
Relationship between standard Test Signals
System
Step Input
5
4
Response
Amplitude
0
0 2 4 6 8 10 12 14 16 18 20
Time (sec)
Solution 1
𝑣 𝑖 ( 𝑡 )=𝑖(𝑡 ) 𝑅+ ∫ 𝑖(𝑡 ) 𝑑𝑡 1
𝑣 𝑜 (𝑡)= ∫ 𝑖(𝑡) 𝑑𝑡
𝐶 𝐶
Prepared by Vicent V.M., MSc. 97
Cont..
Taking Laplace transform of both equations,
considering initial conditions to zero.
1 1
𝑉 𝑖 (𝑠)= 𝐼 ( 𝑠) 𝑅+ 𝐼 ( 𝑠) 𝑉 𝑜 (𝑠)= 𝐼 (𝑠)
𝐶𝑠 𝐶𝑠
Re-arrange both equations as:
1
𝑉 𝑖 ( 𝑠)= 𝐼 ( 𝑠)( 𝑅+ ) 𝐶𝑠 𝑉 𝑜 (𝑠 )=𝐼 (𝑠)
𝐶𝑠
Substitute I(s) in equation on left
1
𝑉 𝑖 (𝑠)=𝐶𝑠𝑉 𝑜 (𝑠)(𝑅 + )
𝐶𝑠
𝑉 𝑜 (𝑠) 1 𝑉 𝑜 (𝑠)
= 1
𝑉 𝑖 (𝑠) 1 =
𝐶𝑠( 𝑅+ ) 𝑉 𝑖 (𝑠) 1+ 𝑅𝐶𝑠
𝐶𝑠
Prepared by Vicent V.M., MSc. 98
Example 2
Find the transfer functions of the RLC –
circuit below in Laplace transform, ie
The answer should be in canonical form
State
It is a group of variables, which summarizes the
history of the system in order to predict the future
values (outputs).
State Variable
The number of the state variables required is equal
to the number of the storage elements present in
the system. Prepared by Vicent V.M., MSc. 104
Cont..
The state space model of Linear Time-Invariant (LTI)
system can be represented as:
+
Vs1 C1 R2
e(t) 10V 1uF 1k
-
Solution
The state space equations of the network are
obtained by writing the voltages across the inductors
and the currents in the capacitor in terms of the three
state variables as there are two inductors and one
capacitor. The state equations are:
………(3)
𝐶 1= 𝑒𝑐
𝑑 𝑖 1 (𝑡 )
𝐿1 =− 𝑅 1 𝑖1 (𝑡 ) −𝑒 𝑐 (𝑡 )+𝑒(𝑡 )
𝑑𝑡
𝑑 𝑖2 (𝑡 )
𝐿2 =− 𝑅2 𝑖 2 (𝑡 )+𝑒 𝑐 (𝑡 )
𝑑𝑡
𝑑 𝑒 𝑐 (𝑡 )
𝐶 =𝑖1 (𝑡 ) − 𝑖 2 (𝑡 )
𝑑𝑡
Prepared by Vicent V.M., MSc. 107
Cont..
[ ][ ]
𝑑 𝑖1 (𝑡 ) − 𝑅1 1
[ ][ ]
¿ ¿ 0−
𝑑𝑡 𝐿1 𝐿1 1
¿ 𝑥1 ¿
𝑑 𝑖2 (𝑡 ) 𝑅2 1 𝐿1 𝑒
¿ = ¿0− ¿ 𝑥2 +
𝑑𝑡 𝐿2 𝐿2 ¿0
¿ 𝑥3
𝑑 𝑒 𝑐 (𝑡 ) 1 1 ¿0
¿ ¿ − 0
𝑑𝑡 𝐶 𝐶
𝑥1=𝑖1(𝑡)
Prepared by Vicent V.M., MSc. 10
8
Example 4
Find a state-space representation of the system shown
below if the output is the current through the resistor
Private study
Transient response
From initial state to the final state – purpose of
control systems is to provide a desired response.
Steady-state response
The manner in which the system output behaves
as t approaches infinity – the error after the
transient response has decayed, leaving only
the continuous response.
ωn= 6
ξ =0.35
find Ts , %OS , T p
Solution:
𝜔 𝑛 =10 𝜉 =0.75
9 9
𝐶 ( 𝑠)= =
𝑠 (𝑠 +9 𝑠+ 9) 𝑠( 𝑠 +7.854)( 𝑠+ 1.146)
2
𝟎< 𝛏<𝟏
s = 0; s = -1.5 ± j2.598 ( two complex poles)
Undamped
Response
𝜉 =0
s = 0; s = ± j3 ( two imaginary poles)
Critically Damped
System
Where,
E(s) is the Laplace transform of the error
signal, e(t)
Prepared by Vicent V.M., MSc. 140
Cont..
Where:
R(s) is the Laplace transform of the reference Input
signal r(t)
C(s) is the Laplace transform of the output signal c(t)
Example 2:
Consider the system in the following figure