3. 2.1.Objective
o Understanding the concept of mathematical modeling.
o Showing the types of mathematical modeling.
o Describing the variables, elementary laws and interconnection laws.
o Obtaining system model of parallel and series combinations.
4/26/2023 3
4. 2.2. Modeling of mechanical systems
2.2.1. Concept of Mathematical Modeling
⢠It describes the pattern of physical systems.
⢠It reveals the relation of parameters, performances and dynamic behavior of
a systems.
⢠The derivation of a model is up on the fact of the dynamic systems.
⢠The ability to analyzing and performing depend on mathematical shows.
4/26/2023 4
5. 2.2.2. Types of mathematical modeling
The mathematical modeling reveal the pattern of
the system using:
1. Static modeling : the motion pattern time
independent
2. Dynamic modeling: the motion pattern is time
dependance.
a. External model: show the relation of input and
output. i.e. Differential equations and transfer
functions
b. Internal models: relation of input, output and
the internal variables.
4/26/2023 5
6. 2.2.3. Element Law
1. Mass:
From newton second law force acting on
a. mass equal to time rate a change of momentum.
Figure-2.1 Mass
4/26/2023 6
7. ContinuedâŚ
⢠From the two variables the second-order derivative will be:
2. Friction:
⢠Mass depicted on Sliding under oil film has a laminar flow subjected to
viscosity friction. âBâ the unit of N-S/m and âđ = đŁ2 â đŁ1
Figure-2.2 Friction
4/26/2023 7
10. ContinuedâŚ
3. Stiffness:
⢠A mechanical element undergoes the deformation relation that exists
between elongation and force.
Figure-2.5 Stiffness
4/26/2023 10
11. ContinuedâŚ
⢠From the Hooks law:
⢠The relation between the parameters:
Figure-2.6 Hooks Law
4/26/2023 11
12. 2.2.4. Interconnection Law
1. DâAlembertâs Law
⢠It is the restatement of Newton second law at constant mass for a governing
law rate of momentum.
⢠The motion is constrained to fixed direction from i value.
⢠When the force will be rewritten on equilibrium position().
4/26/2023 12
13. ContinuedâŚ
2. The law of reaction force
â The reaction force will be found after equal magnitude opposite direction of
the exerted force and stiffness force.
Figure-2.7 Reaction force
4/26/2023 13
14. 2.2.5. Obtaining The System Model
1. Free Body Diagram
Example-2.1
⢠Draw the free-body diagram and apply DâAlembertâs law to write a
modeling equation for the system. The mass is assumed to move horizontally
on frictionless bearings, and the spring and dashpot are linear. fa(t) applied
force, X(t) displacement and V(t) is an intermediate variables not exist in the
final differential equation.
4/26/2023 14
16. ContinuedâŚ
4/26/2023 16
Solution:
Replacing â â
Example -2.2
⢠Draw the FBD for the two mass system shown and use DâAlembertâs law to
write the two differential equations .
a. Translational system
18. ContinuedâŚ
2. Parallel Combination
â If two springs and dashpot are attached to the same body in both directions.
a. When the two springs have the same unstretched length
⢠The coefficient of single spring Keq is written as:
4/26/2023 18
20. ContinuedâŚ
3. Series Combination
o If the elements joined one of each while not connected to common junction
on both side.
Example-2.3
Draw the FBD of mass âmâ and for massless junction âAâ. Show the equation
as X1 while the âAâ is depend on the âmâ X1 and X2 proportional.
4/26/2023 20
23. 2.3. Equation of Electrical Network
⢠Due to the electrical circuit at a high frequency considered as a lumped
element,
⢠Calculated by simple ordinary differential equation combining the elements
and laws solved.
⢠To be known as a lumped element the inductance or capacitance
⢠It let the energy be stored at high frequency rather than transmitting along
the wire length.
4/26/2023 23
24. ContinuedâŚ
2.3.1 Resistor
⢠An element of algebraic relation
of voltage and current across the
terminal.
⢠Where the voltage drop is due to
the proportion of the resistance
magnitude.
The unit is ohm(âŠ).
4/26/2023 24
25. ContinuedâŚ
2.3.2. Capacitor
â An element of algebraic relation
to voltage and the charge.
â Where the charge is the integral of
current and flow from +ve to _ve.
2.3.3. Inductor
⢠An element of algebraic relation
of voltage and derivative of flux
linkage.
⢠The linear inductorâs voltage is
given by faradays law with a unit
of Henries(H).
4/26/2023 25
26. 2.3.4. Inter connection Law
a. Kirchhoff's voltage Law
â The sum algebraic of voltage
across the elements which make
the loop equal to zero.
â The summation of the voltage
along the loop.
â Counter clock wise
â Reverse direction
Figure-2.9
4/26/2023 26
27. ContinuedâŚ
b. Kirchhoffâs Current Law
⢠Since not possible to accumulate
every net charge at any node, the
current will be the algebraic sum
at any node equal to zero.
⢠The summation will be:
⢠For the three element:
i1+i2+i3=0
Figure-2.10
4/26/2023 27
28. 2.3.5 Analogue Relationship
⢠The differential equation of physical system will be written by stating and
applying basic governing laws to specific devices.
⢠The differential equation for different physical system may have the same
form.
⢠Whereby ANALOG is the same of corresponding variables and parameters
in different system represent the differential equations.
4/26/2023 28
31. ContinuedâŚ
⢠Thereby transfer function will be
written:
a.
b.
c.
d.
Example -2.4
Apply the Kirchhoffâs law and ohmâs
law to write the modeling equation.
Where Ui(t) and Uo(t) are input and
out put voltage; R1, R2 and C are
constant.
Figure-2.12
4/26/2023 31
32. ContinuedâŚ
⢠Using nodal method analysis
⢠Check: By eliminating i1(t), i2(t),
and i(t)
Example-2.5
⢠Using nodal method analysis
Figure-2.13
4/26/2023 32
34. 2.4 Transfer Function
2.4.1. Definition
â Every block diagram has the transfer function in specific,
â Where the transfer function is the ratio of Laplace transform.
â It is the ratio of output to input Laplace transform at zero condition.
â Where the Fo(s) and Fi(s) Laplace transform output and input.
â Whereby the Transfer function is the algebraic function of âsâ
4/26/2023 34
35. ContinuedâŚ
⢠The general nth- order output and input.
⢠Assuming t=+0, the initial condition will be Zero.
⢠Using the algebraic equation of âsâ, the remaining term:
⢠The system transform function is rational transform of âsâ.
⢠The Y(s) out put is the product of rational transform of âsâ to X(s) input.
4/26/2023 35
36. ContinuedâŚ
⢠Transfer function will be:
2.4.2. Properties
1. Independent of input system; the characteristics not modified by input
signal(even if at working time).
2. All initial conditions are assumed to be Zero or at rest.
3. Describe only the time-invariant linear systems, the parameters not change;
little change.
4/26/2023 36
37. ContinuedâŚ
4. Itâs unit related to the ratio of input to output systemâs type; not essential.
Example-2.6.
⢠Write the below differential equation to Transfer function:
1. 2.
4/26/2023 37
38. ContinuedâŚ
2.4.3. Rational Polynomial form of Transfer function
⢠When the frequency of input is high no output; thus the expression:
⢠Where :The Z1, Z2, âŚare know zores and they are the roots of Y(S).
:The P1, P1âŚare known Poles and they are the roots of X(s).
:Kâ=bm/an
:(S-zi) zores Factor, and (S-Pi) poles factor
4/26/2023 38
39. ContinuedâŚ
4/26/2023 39
⢠Zi and Pi may be the real or complex and the complex number will be written
by: Zi=đ1 + đđ1
⢠Hence, the two conjugate roots find in the conjugate pairs:
40. ContinuedâŚ
⢠Hence, the conjugate pairs will be found from second-order derivatives.
Example-2.7
⢠A system with transfer function:
Where the zeros and poles are;
S1=-2, S2=-3, and S3=-1+j S4=-1-j
4/26/2023 40
41. 2.4.4.Transfer function of elements in Series Connection
â Using the mathematical operator of TF system the below series connection
will be simplified | Multiplication of each system|.
4/26/2023 41
42. 2.4.5.Transfer function of elements in Parallel Connection
4/26/2023 42
â Using the mathematical operator of TF system the below series connection
will be simplified | Summation of each system|.
43. ContinuedâŚ
Example-2.8
⢠Evaluate the given Block diagram Y(s)/U(s) and Z(s)/U(s) to TF then show
in the Rational function of âsâ.
⢠Starting from parallel connection
4/26/2023 43
44. ContinuedâŚ
⢠Then the block diagram looks like:
⪠For series connection
*
⪠Y(s)/U(s) and Z(s)/U(s) |Unit loop|
+ =
4/26/2023 44
46. 2.4.6.Transfer function for typical Link
⢠Some typical transfer function in Mechanical Engineering their physical
structure and principles are different.
⢠Link is kind of mechanism doesnât represent a components made up of units
or parts.
⢠It used in complex analysis and researching systems.
General form:
4/26/2023 46
47. ContinuedâŚ
Where,
a. Proportional Link
⢠Taking Laplace transforms re-arranging the TF will be:
It is applicable
⢠In speed gear system input/output.
⢠In Lever system input and output.
⢠In output voltage and rotated angle of a potentiometer.
⢠In output and input electric amplifier.
4/26/2023 47
48. ContinuedâŚ
b. Integral link
⢠The differential Equation:
⢠TF will be:
⢠Example 2-9
From the schematic diagram of the hydro-cylinder, the cross-section âAâ, and
the input flow is q(t), the output is the velocity V(t) of the cylinder piston. Find
TF.
4/26/2023 48
50. ContinuedâŚ
c. Inertia Link
⢠The differential equation:
⢠Laplace form will be:
⢠By re arranging the equation the TF:
⢠Where âTâ time constant and âKâ constant of element.
Example 2.10
For the intermediate i(t), C and R, and Ui(t), Uo(t) find the TF.
4/26/2023 50
51. ContinuedâŚ
Solution
⢠Using Kirchhoffâs law the passive circuit
Differential equation will be:
Figure-2.15
⢠By Cancelling current i(t) by rearranging:
⢠Where the Laplace transform of above :
4/26/2023 51
52. ContinuedâŚ
d. Differential link
About three differential links exist:
1. Ideal differential link
2. First order differential link
3. Second order differential link
4/26/2023 52
53. ContinuedâŚ
Where, T is the constant time, is damping ratio.
Example 2-11
â For constant C and R ; i(t)intermediate function find the TF.
â Using Kirchhoffâs and ohmâs law
the differential equation will be:
â By Cancelling current i(t) by rearranging: Figure 2-16
4/26/2023 53
54. ContinuedâŚ
⢠Where the TF electrical Link:
Note: If the value of Ts=RC is very small, it will be neglected and the link will
be an ideal differential link.
e. Oscillation Link
⢠The differential Equation
⢠The Laplace Transform
4/26/2023 54
55. ContinuedâŚ
⢠The Laplace and TF differential:
2.5. Function Block Diagram
2.5.1. Block
⢠It is a statement of its operation.
⢠It indicates the happens to the input information after transmission.
⢠The illustration of Simple amplifier a shown as a block.
Figure:2-17
4/26/2023 55
56. ContinuedâŚ
⢠In the block diagram summing junction and point will be shown as circle
with arrows into and out symbol.
⢠The arrow identified by plus and minus sign, showing +ve and âve signal.
⢠Where by signal out of summing point is the algebraic sum of signal into it.
Figure2.18
4/26/2023 56
57. ContinuedâŚ
a. Pick/tie point
⪠It is used while more than one signal flow direction is necessary.
⪠It is node or junction where no summing point (+ve and -ve) is done.
⪠Provide extra path through the signal flow with out affecting its original.
Table:2.2
4/26/2023 57
59. ContinuedâŚ
4/26/2023 59
2.5.1.Terminology
1. The forward path not repeated signal flow from input to output.
2. The product od expression G(s)
link will be:
3. Feed back the signal flow move
from output to input.
60. ContinuedâŚ
4/26/2023 60
4. The product of every link with
expression H(s):
5. Open loop is ration of primary feedback to error:
6. Closed loop will be:
61. ContinuedâŚ
4/26/2023 61
⢠When the H(s)=1 unit feed back system:
⢠The relation of open loop and closed loop with selection of unit âve feed
back:
;
⢠Where G(s) and â (đ ) is the open loop and closed loop TF respectively.
62. 2.5.2. Simplification of Function Body Diagram
4/26/2023 62
a. Moving Tie points:
⢠Moving the points forward or backwards.
⢠When the system G is front and back of the tie point; R=B
⢠Front position: R=B, where by Back position: R*G*1/G=B => R=B
63. ContinuedâŚ
4/26/2023 63
Example:2.12
⢠Show the feedback loop system of series and parallel combinations.
Solution
⢠Taking the inner feedback path to the output point âAâ and the inner
feedback transfer function.
65. ContinuedâŚ
Example: 2-13
â By removing the right and keeping the left hand side summing junction
remodel the block diagram.
a.
b.
Figure-2.19
4/26/2023 65
66. ContinuedâŚ
â The transfer function:
c. General Feed Case
⢠For a given error E(s) an feed back
Signal B(s).
So,
⢠From the Laplace transform
4/26/2023 66
67. ContinuedâŚ
â The final closed-loop TF system
And,
â Whereby the open loop TF is independent of loop open.
â The steps for simplifying the block diagram.
1. Combine all series
2. Parallel combination
3. Close all inner loops and
4. Move summing junction and Tie point to left or right.
4/26/2023 67
69. ContinuedâŚ
â Solve the inner closed loop
Then, TF:
â Apply to feed back loopback substitution:
4/26/2023 69
70. ContinuedâŚ
d. Multi inputs
⢠At several input the achievement will be:
1. Set all but one input to zero.
2. Determine single input to output of TF
3. Repeat step two for other
4. Add all TF for all output value.
Example: 2-15
⢠Determine the output C two input R and D.
⢠The closed loop TF for R set to zero.
4/26/2023 70
72. 2.6. Signal Flow diagram
⢠It is an alternative pictorial representation to block diagram.
⢠All signal/variables shown by dot called nodes like x1,x2,x3âŚ
⢠The related variables joined lines called directed branch.
⢠Each node has associated transmittance which link xi to xj with zero
transmittance from xj to xi .
⢠Input variable is source node (x1, X5.)..
⢠Output variable is sink node(x4).
⢠Pass from source to sink node without passing through any node((x1-X2).
⢠Branch forming loop is closed loop transmittance(b , c).
4/26/2023 72
73. ContinuedâŚ
Note:
1. Signal at the node is the sum of the transmittance to the node.
2. Transmittance simple related to TF
3. The transmittance connected input/output node both are unity
4. The same rule of block diagram apply; transmittance maybe âve.
Figure-2.21
⢠Where X(s) and Y(s) are source and sink node, G(s) TF.
4/26/2023 73
74. ContinuedâŚ
Figure 2.22
Note: The âve sign on signal flow shows the negative feedback
Example: 2-16
⢠Change the given block diagram to signal flow diagram.
Figure 2.23 BDG
4/26/2023 74
77. 2.7.Mason Gain Formula
⪠The input âoutput relation derived from simplified complex diagram.
⪠The original signal diagram used to do so using Mason gain formula.
⪠Mason gain state, the net transmittance âPâ, from source input to sink output.
⪠Where:
1. K-number of open path from source to sink.
2. Pk- the transmittance Kth open path.
3. â= 1-(sum of all loop transmittance)+(sum of products of loop
transmittances of non-touching loops taken in pairs ) â(sum of similar
product taken three at a time) + etc.
4/26/2023 77
78. ContinuedâŚ
4. âđ- the value of â calculated for the path of the graph not touching the open
path.
Note: generally
1. All the forward path transmittance
2. All loop transmittance
3. All the non touching loop transmittance
4. Whether all the loop and transmittance touching and not.
Example: 2-17
⪠Get the transfer function of block diagram
4/26/2023 78
79. ContinuedâŚ
Solution
1. Forward paths=3 and forward path
transmittances are P1=G1G2G3G4G5,
P2=G1G6G4G5, and P3=G1G2G7.
2. Feed back loops =4 and feed back
loop transmittances L1=-G4H1, L2=-G2G3G4G5H2, L3=-G6G4G5H2,
L4=-G2G7H2.
3. Non-touch feedback loops are L1 and L4
â=1-( L1 +L2+ L3+ L4) + L1 L4(non-touch).
4/26/2023 79
80. ContinuedâŚ
4. All feed loops touch the forward path P1,hence, â1=1
5. All feed back loops touch the forward path P2 , hence, â2=1
6. The feed back loops L1 doesnât touch the forward path P3 , hence, â3=1-L1
4/26/2023 80