Professional Documents
Culture Documents
Modeling of systems
Mechanical modelling
Electrical modelling
Block reduction
2
Laplace Transform
The study of differential equations is a rich and interesting
subject. Of all the methods available for studying linear
differential equations, one particularly useful tool is provided
by Laplace Transforms.
Around x0 = 0
3
Linearized form: y = a*x + b
Laplace Transform (Cont’)
General Taylor series formula
around the functional point a
4
Laplace Transform (Cont’)
Special inputs
5
Laplace Transform (Cont’)
y(t-τ) u(t-τ)
6
We calculate the output in time domain taking into consideration the input
7
Exercise
8
Transfer function
It is a function that algebraically relates a system’s output to
its input
9
Transfer function (Cont’)
Conditions to have a real system: The system must be
Linear
Time Invariant
Causal
L.T.
Initial Conditions = 0
Transfer
Function
10
Transfer function (Cont’)
C(s) G(s)
Yd(s)
H(s)
𝑌(𝑠)
𝐹𝑒𝑒𝑑 𝐹𝑜𝑟𝑤𝑎𝑟𝑑 𝑇𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛: = 𝐶 𝑠 ∗ 𝐺(𝑠)
𝜀(𝑠)
𝑌𝑑 (𝑠)
𝑂𝑝𝑒𝑛 𝐿𝑜𝑜𝑝 𝑇𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛: = 𝐶 𝑠 ∗ 𝐺 𝑠 ∗ 𝐻(𝑠)
𝜀(𝑠)
𝑌(𝑠) 𝐶 𝑠 ∗𝐺(𝑠) 𝐹.𝐹.𝑇.𝐹.
11
𝐶𝑙𝑜𝑠𝑒𝑑 𝐿𝑜𝑜𝑝 𝑇𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛: 𝑅(𝑠) = 1+𝐶 = 1+𝑂.𝐿.𝑇.𝐹.
𝑠 ∗𝐺 𝑠 ∗𝐻(𝑠)
Transfer function (Cont’)
The transfer function presents the relation between one input
and one output. What if we have multiple inputs?
12
Transfer function (Cont’)
13
Modelling
Transform a system into a mathematical representation
showing the relation between the input and the output of the
system.This math. representation can be:
14
Modelling
Model: Relationship among observed signals.
1- Mental models
2- Graphical models
Model
types
3- Mathematical (analytical) models
4- Software models
• Split up system into subsystems,
16
• LS.I(S) + R I(S) + 1/CS * I(S) = V(S)
• Vc(S) = 1/CS * I(S) I(S) = C*S*Vc(S)
Electrical Modelling (cont’)
Mesh-Current Analysis ➔ Find a link between v(t) and vc(t)
17
• LS.I(S) + R I(S) + 1/CS * I(S) = V(S) (1)
• Vc(S) = 1/CS * I(S) (2) I(S) = C*S*Vc(S)
19
Electrical Modelling (cont’)
20
Mechanical Modelling
21
Mechanical Modelling (cont’)
22
Mechanical Modelling (cont’)
23
Mechanical Modelling (cont’)
24
Mechanical Modelling (cont’)
25
Mechanical Modelling (cont’)
26
Mechanical Modelling (cont’)
27
Mechanical Modelling (cont’)
Find the mathematical model of the following system:
1. Relation between y and x
2. Relation between u and x
3. Relation between y and u
28
Temperature Modelling
29
29
Temperature Modelling (cont’)
30
30
Analogy between elec & Mec
31
State Space Representation
Main limitation of the Transfer Function:
Do not know what happened within the system
Access only to input and output
Can’t help in troubleshooting
32
State Space Representation (cont’)
System variable. Any variable that responds to an input or
initial conditions in a system.
33
State Space Representation (cont’)
Procedure:
1. Determine the characteristic equation of the system
2. Determine the number of state variables based on the charac. Equ. Order
3. Calculate the matrix A, the vectors B and C and the constant D
34
State Space Representation (cont’)
2 cases:
If the input is function of u(t) only without its derivatives
Will be treated
If the input u(t) and its derivatives exist
35
State Space Representation (cont’)
36
State Space Representation (cont’)
Example: 3ഺ
𝑦 𝑡 + 5𝑦ሷ 𝑡 + 6𝑦ሶ 𝑡 = 7𝑢(𝑡)
37
State Space Representation (cont’)
One can go from a S.S. model to a T.F. representation using
the following relation:
38
State Space Representation (cont’)
39
Summary between the different
representations
HODE SS
x1 = x 2
c + 5c + 4c = r
x 2 = −4 x1 − 5 x 2 + r
c = x1
SD
TF
1 Mason’s rule
G ( s) =
s 2 + 5s + 4
40
Block reduction
41
Block reduction (cont’)
42
Block reduction (cont’)
43
Block reduction (cont’)
44
Block reduction (cont’)
45
Block reduction (cont’)
46
Block reduction (cont’)
47