SlideShare a Scribd company logo
Chapter 3: Mathematical Modeling
Outline
 Introduction
 Types of Models
• Theoretical Models
• Empirical Models
• Semi-empirical Models
 LTI Systems
• State variables Models
• Transfer function Models
 Block diagram algebra
 Signal flow graph and Mason’s gain formula
1
 Introduction
• A model is a mathematical representation of a
physical , biological or information system.
Models allow us to reason about a system and
make predictions about how a system will
behave.
Roughly speaking, a dynamic system is one in
which the effect of actions do not occur
immediately.
A model should capture the essence of the
reality that we like to investigate
Depending on the questions asked and
operational ranges, a physical system may have
different models. 2
 Types of Models
• Models can be classified based on how they are
obtained.
[A] Theoretical (or White Box) Models
• Are developed using the physical and chemical
laws of conservation, such as mass balance ,
component balance, moment balance and
energy balance.
Advantages:
 provide physical insight into process behavior.
 applicable over wide ranges of operating
conditions
Disadvantage(s): 3
 Types of Models…
[B] Empirical (or Black Box) Models
• Are obtained by fitting experimental data.
Advantages:
 easier to develop than theoretical models.
 applicable over wide ranges of operating
conditions
Disadvantage(s):
Typically don‟t extrapolate well!
Caution!
Empirical models should be used with caution for
operating conditions that were not included in the
experimental data used to fit the model
4
 Types of Models…
[C] Semi-empirical (or Gray Box) Models
• Are a combination of the models in categories (a)
& (b).
• Used in situation where much physical insight is
available but certain information( parameter) or
understanding is lacking.
• Those unknown parameter(s) in a theoretical
model are calculated from experimental data.
Advantages:
They incorporate theoretical knowledge
They can be extrapolated over a wide range of
operating conditions.
Require less development effort
5
 Theoretical ( White Box) Models
• In this chapter we will be dealing models that are
generated as a set of linear differential equations
6
3
 Theoretical ( White Box) Models
7
3
 Theoretical ( White Box) Models
8
3
 Theoretical ( White Box) Models
Example 3.1: Cruise Control for a car
• Goals - maintain the speed of a car at a
prescribed value in the presence of external
disturbances (external forces such as wind
gusts, gravitational forces on a incline, etc).
Assume two forces show in the fig.
• Fp(t) – the propulsive force from the engine
• Fd(t) – a “ disturbance” force from the
9
 Theoretical ( White Box) Models
Example 3.1:Cruise Control for a car…
Also assume where is the gas-
pedal depression and is a constant.
Then from a simple force balance:

10
 Theoretical ( White Box) Models
Example 3.1:Cruise Control for a car…
• The corresponding block diagram ( for
simulation)
• Closed-loop control for the same(using P
controller)
11
 Theoretical ( White Box) Models
Example 3.2(a) Armature Controlled DC Motor
12
w
va
TL
 Theoretical ( White Box) Models
Example 3.2: Armature Controlled DC Motor…
• the back emf (refer the previous schematic) is
given by
(3.1a)
• Applying KVL to the armature circuit
(3.1b)
• Because of const. flux, the torque produced at
the shaft by the armature current is
(3.1c)
• Assuming J and B for the motor, and TL load
coupled to the shaft of the motor, the equation
becomes
(3.1d) 13
 Theoretical ( White Box) Models
Example 3.2: Armature Controlled DC Motor…
• By substitution of eqns. (3.1c) & (3.1d), we have

• Substituting the above result into the armature
eqn.(and assuming constant TL).
14
 Theoretical ( White Box) Models
Example 3.2 :Armature Controlled DC Motor…
• or equivalently,
Example 3.2(b): Field Controlled DC Motor 15
+
--
+
--
1/L
m
k
T
B
R
m
kb
DC Motor Block
 Theoretical ( White Box) Models
Example 3.3: How does the circuit shown below
work?
Ans: Find the relation between 1 & 3, i.e. , the
Model equation relating the two waveforms.
16
 Theoretical ( White Box) Models
Example 3.3: How does the circuit shown below
work?
Typical waveforms in the circuit are:
17
 Theoretical ( White Box) Models
Example 3.3: How does the circuit shown below
work?
•A linearized model of the transformer/rectifier
circuit , with a voltage source (with a waveform as
at (2) above) and a series resistor R ( a Thévenin
Source)
Objective: Find 18
 Theoretical ( White Box) Models
Example 3.3: How does the circuit shown below
work?...
Solution:
• combine series and parallel impedances to
simplify the structure. Draw as an impedance graph
Where
19
 Theoretical ( White Box) Models
Example 3.3: How does the circuit shown below
work?
Solution…
• The system output is
• Choose mesh loops to contact all branches as
shown.
The loop equations are:
20
 Theoretical ( White Box) Models
Example 3.3: How does the circuit shown below
work?
Solution…
• Or
• solving for i2(using Cramer‟s Rule)
21
 Theoretical ( White Box) Models
Example 3.3: How does the circuit shown below
work?
Solution…
• And since
•Substituting the impedances of the branches
22
 Theoretical ( White Box) Models
Example 3.4: A Bus Suspension System(1/4
Bus):
Assumptions:
• 1/4 model ( one of the four wheels) is used to
simplify the problem to 1D multiple spring-damper
system.
23
 Theoretical ( White Box) Models
Example 3.4: A Bus Suspension System(1/4
Bus)…
From the free-body diagram, the dynamic equations
become
24
M1
M2
 LTI Systems
• The set of ODEs drived so far are not suitable for
analysis and design, hence rearranged to a more
suitable form, i.e., State Space Model & TF
Model
[1] SS-Model:
Def: State Variable
A set of characterizing variables which give the
total information about the system under study at
any time provided the initial state & the external 25
Set of ODEs
State Space
Model
Transfer Function
Model
 LTI Systems
[1] SS-Model…
Where
A: system or dynamic matrix,
B: input matrix ,
C: output matrix,
D: direct transfer matrix, 26
 LTI Systems
Differential equation SS-Model
Example3.5:
Derive the state-space model (i.e. find the A,B,C
and D matrices) for each of the following differential
equations. Take u(t) to be the input and y(t) to be
the output.
(1)
(2)
Solution:
(1) Define
So we have the state equations:
27
 LTI Systems
Differential equation SS-Model
Example3.5…
And the output equation:
The state-space model is then:
28
 LTI Systems
[2] TF-Model
In general Transfer function is expressed as (
)
Differential equation TF model
Example 3.6:
Find the transfer function for the system given in
example 3.5
Solution:
Taking LT on both sides of the equation gives (
assuming zero initial conditions)
29
 LTI Systems
Differential equation TF-Model
Example 3.6….
Exercise3.1: Find the TF-model for part (2) in
example 3.5
Ans:
Exercise3.2: Find TF for a bus suspension
discussed (refer pp 23-24) using „Matlab Symbolic
Toolbox „ 30
 Block Diagram Algebra (Interconnection Rules)
[1] Series (Cascade) connection:
Note: This is only true if the connection of H2(s) to
H1(s) doesn‟t alter the output of H1(s)-known as the
“no-loading” condition
[2] Parallel Connection
31
+
+
 Block Diagram Algebra (Interconnection Rules)
[3] Associative Rule:
[4] Commutative Rule:
32
+
+
+
+
 Block Diagram Algebra (Interconnection Rules)
[5] The “closed-loop” TF:
[5.a] Unity Feedback:
From the block diagram:
and
or
Rearranging:
33
+
-Reference
input
error
Controller Plant
Feedback
path
 Block Diagram Algebra (Interconnection Rules)
[5.b] Feedback with sensor dynamic:
Similarly, in this case:
But now E(s) is the “indicated error” ( as opposed to
the actual error):
So
34
+
-Reference
input
error
Controller Plant
Indicated
Output
Actual
output
 Block Diagram Algebra (Interconnection Rules)
[5.2] Feedback with sensor dynamic:
Or

35
 Signal flow graph
• is a diagram consisting of nodes that are connected
by several directed branches and is a graphical
representation of a set of linear relationships .
•The signal can flow only in the direction of the arrow
of the branch and it is multiplied by a factor indicated
along the branch, which happens to be the coefficient
of a model equation(s).
Terminologies:
Node: A node is a point representing a variable or
signal
Branch: A branch is a directed line segment between
two nodes. The transmittance is the gain of a branch.
Input node: An input node has only outgoing branches
and this represents an independent variable 36
 Signal flow graph…
Terminologies…
Output node: An output node has only incoming
branches representing a dependent variable
Mixed node: A mixed node is a node that has both
incoming and outgoing branches
Path: Any continuous unidirectional succession of
branches traversed in the indicated branch direction is
called a path.
Loop: A loop is a closed path
Loop gain: The loop gain is the product of the branch
transmittances of a loop
37
 Signal flow graph…
Terminologies…
Non-touching loops: Loops are non-touching if they do
not have any common node.
Forward path: A forward path is a path from an input
node to an output node along which no node is
encountered more than once.
Feedback path (loop): A path which originates and
terminates on the same node along which no node is
encountered more than once is called a feedback
path.
Path gain: The product of the branch gains
encountered in traversing the path is called the path
gain.
38
 Signal flow graph…
Illustrative example:
Q. Write the equations for the system described by
the signal flow graph above. 39
Mixed
nodes
input
node
input
node
output node
x3x1
x2
x4
x3
g12 g23
g43
g32
1
Fig. Signal flow graph
 Signal flow graph…
Properties of Signal flow graphs
1. A branch indicates the functional dependence of
one variable on another.
2. A node performs summing operation on all the
incoming signals and transmits this sum to all outgoing
branches
40
G(s)
R(s
)
Y(s
)
Y(s
)
G(s
)
R(s)
R(s
)
-
H(s)
Y(s
)
G(s
)
E(s)1
G(s)
H(s)
Y(s
)
E(s
)
R(s
)
+
-
Fig: Block diagrams and corresponding signal flow
graphs
 Manson’s gain formula
In a control system the transfer function between
any input and any output may be found by Mason‟s
Gain formula. Mason‟s gain formula is given by
Where
where
41
 Manson’s gain formula…
42
 Manson’s gain formula
Example3.7: Find the closed loop transfer function
Y(s)/R(s) using gain Manson‟s formula.
43
R(s) G1(s) G2(s) G3(s) x1(s)x3(s)x4(s)
-H2(s)
-H1(s)
G4(s)
Y(s)
-1
 Manson’s gain formula
Example 3.7…
Here we have two forward paths with gains
,
And five individual loops with gains
Note for this example there are no non-touching
loops, so ∆ for this graph is
44
 Manson’s gain formula
Example 3.7…
The value of ∆1is computed in the same way as ∆ by
removing the loops that touch 1st forward path M1
• In this example, since path M1 touches all the five
loops, ∆1 is found as
• Proceeding the same way , we find
•Therefore, the closed loop transfer function
between the input R(s) and output Y(s) is given by,
45
 Manson’s gain formula
Example 3.8
Find Y(s)/R(s) for the system represented by the
signal flow graph shown below.
46
G4
X2X3
G2 G5 X1
G3
G1
X4
-H1
-H2
G6
G7
R(s) Y(s)
 Manson’s gain formula
Example 3.8…
Observe from the signal flow graph , there are three
forward paths between R(s) and Y(s)
• The respective forward path gains are:
There are four individual loops with gains:
47
 Manson’s gain formula
Example 3.8…
Since the loops L2 & L4 are the only non-touching
loops in the graph, the determinant ∆ will be given
by:
Computing ∆1,which is computed by removing the
loops that touch fist forward path M1
∆1=1
Similarly , ∆2=1 and
Thus, the closed-loop TF is given by Y(s)/R(s)
48

More Related Content

What's hot

Lecture 6 ME 176 2 Time Response
Lecture 6 ME 176 2 Time ResponseLecture 6 ME 176 2 Time Response
Lecture 6 ME 176 2 Time Response
Leonides De Ocampo
 
Lecture 6 modelling-of_electrical__electronic_systems
Lecture 6 modelling-of_electrical__electronic_systemsLecture 6 modelling-of_electrical__electronic_systems
Lecture 6 modelling-of_electrical__electronic_systems
Saifullah Memon
 
Mathematical modelling
Mathematical modellingMathematical modelling
Mathematical modelling
Sadia Zareen
 

What's hot (20)

Modeling of mechanical_systems
Modeling of mechanical_systemsModeling of mechanical_systems
Modeling of mechanical_systems
 
continuous and discrets systems
continuous  and discrets systemscontinuous  and discrets systems
continuous and discrets systems
 
mathematical model
mathematical modelmathematical model
mathematical model
 
Lecture 6 ME 176 2 Time Response
Lecture 6 ME 176 2 Time ResponseLecture 6 ME 176 2 Time Response
Lecture 6 ME 176 2 Time Response
 
Mathematical modelling ppt
Mathematical modelling pptMathematical modelling ppt
Mathematical modelling ppt
 
All types of model(Simulation & Modelling) #ShareThisIfYouLike
All types of model(Simulation & Modelling) #ShareThisIfYouLikeAll types of model(Simulation & Modelling) #ShareThisIfYouLike
All types of model(Simulation & Modelling) #ShareThisIfYouLike
 
Mathematical Modelling of Control Systems
Mathematical Modelling of Control SystemsMathematical Modelling of Control Systems
Mathematical Modelling of Control Systems
 
Modern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI SystemsModern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI Systems
 
Dcs lec03 - z-analysis of discrete time control systems
Dcs   lec03 - z-analysis of discrete time control systemsDcs   lec03 - z-analysis of discrete time control systems
Dcs lec03 - z-analysis of discrete time control systems
 
Lecture 6 modelling-of_electrical__electronic_systems
Lecture 6 modelling-of_electrical__electronic_systemsLecture 6 modelling-of_electrical__electronic_systems
Lecture 6 modelling-of_electrical__electronic_systems
 
State space courses
State space coursesState space courses
State space courses
 
Introduction to System Dynamics
Introduction to System DynamicsIntroduction to System Dynamics
Introduction to System Dynamics
 
Chapter 3 mathematical modeling of dynamic system
Chapter 3 mathematical modeling of dynamic systemChapter 3 mathematical modeling of dynamic system
Chapter 3 mathematical modeling of dynamic system
 
Modeling & Simulation Lecture Notes
Modeling & Simulation Lecture NotesModeling & Simulation Lecture Notes
Modeling & Simulation Lecture Notes
 
Mass Spring Damper system.pptx
Mass Spring Damper system.pptxMass Spring Damper system.pptx
Mass Spring Damper system.pptx
 
Modern Control - Lec 01 - Introduction to Control System
Modern Control - Lec 01 - Introduction to Control SystemModern Control - Lec 01 - Introduction to Control System
Modern Control - Lec 01 - Introduction to Control System
 
Unit 5: All
Unit 5: AllUnit 5: All
Unit 5: All
 
Laplace transforms
Laplace transformsLaplace transforms
Laplace transforms
 
Mathematical modelling
Mathematical modellingMathematical modelling
Mathematical modelling
 
System Modelling: 1st Order Models
System Modelling: 1st Order ModelsSystem Modelling: 1st Order Models
System Modelling: 1st Order Models
 

Similar to Chapter 3 mathematical modeling

Chapter 4 time domain analysis
Chapter 4 time domain analysisChapter 4 time domain analysis
Chapter 4 time domain analysis
Bin Biny Bino
 
Lecture 10 11-signal_flow_graphs
Lecture 10 11-signal_flow_graphsLecture 10 11-signal_flow_graphs
Lecture 10 11-signal_flow_graphs
Saifullah Memon
 
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...
sravan66
 

Similar to Chapter 3 mathematical modeling (20)

Modern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of SystemsModern Control - Lec 02 - Mathematical Modeling of Systems
Modern Control - Lec 02 - Mathematical Modeling of Systems
 
Chapter 4 time domain analysis
Chapter 4 time domain analysisChapter 4 time domain analysis
Chapter 4 time domain analysis
 
Lecture 10 11-signal_flow_graphs
Lecture 10 11-signal_flow_graphsLecture 10 11-signal_flow_graphs
Lecture 10 11-signal_flow_graphs
 
MathematicalModelling.pptxGFYDTUSRYJETDTUYR
MathematicalModelling.pptxGFYDTUSRYJETDTUYRMathematicalModelling.pptxGFYDTUSRYJETDTUYR
MathematicalModelling.pptxGFYDTUSRYJETDTUYR
 
Applications Section 1.3
Applications   Section 1.3Applications   Section 1.3
Applications Section 1.3
 
introduction to modeling, Types of Models, Classification of mathematical mod...
introduction to modeling, Types of Models, Classification of mathematical mod...introduction to modeling, Types of Models, Classification of mathematical mod...
introduction to modeling, Types of Models, Classification of mathematical mod...
 
LCE-UNIT 2 PPT.pdf
LCE-UNIT 2 PPT.pdfLCE-UNIT 2 PPT.pdf
LCE-UNIT 2 PPT.pdf
 
Signal flow graph
Signal flow graphSignal flow graph
Signal flow graph
 
lecture1 (9).ppt
lecture1 (9).pptlecture1 (9).ppt
lecture1 (9).ppt
 
Lab03
Lab03Lab03
Lab03
 
3. Concept of pole and zero.pptx
3. Concept of pole and zero.pptx3. Concept of pole and zero.pptx
3. Concept of pole and zero.pptx
 
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...
Introduction to Hybrid Vehicle System Modeling and Control - 2013 - Liu - App...
 
A Parallel Direct Method For Solving Initial Value Problems For Ordinary Diff...
A Parallel Direct Method For Solving Initial Value Problems For Ordinary Diff...A Parallel Direct Method For Solving Initial Value Problems For Ordinary Diff...
A Parallel Direct Method For Solving Initial Value Problems For Ordinary Diff...
 
L2_Dynamics Overview.pdf
L2_Dynamics Overview.pdfL2_Dynamics Overview.pdf
L2_Dynamics Overview.pdf
 
4. Analogy between electrical and mechanical systems.pptx
4. Analogy between electrical and mechanical systems.pptx4. Analogy between electrical and mechanical systems.pptx
4. Analogy between electrical and mechanical systems.pptx
 
Lecture01.pptx
Lecture01.pptxLecture01.pptx
Lecture01.pptx
 
Discrete state space model 9th &10th lecture
Discrete  state space model   9th  &10th  lectureDiscrete  state space model   9th  &10th  lecture
Discrete state space model 9th &10th lecture
 
System dynamics ch 1
System dynamics ch 1System dynamics ch 1
System dynamics ch 1
 
Signal flow graph
Signal flow graphSignal flow graph
Signal flow graph
 
Control chap2
Control chap2Control chap2
Control chap2
 

Recently uploaded

Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 

Recently uploaded (20)

Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Introduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationIntroduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG Evaluation
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 

Chapter 3 mathematical modeling

  • 1. Chapter 3: Mathematical Modeling Outline  Introduction  Types of Models • Theoretical Models • Empirical Models • Semi-empirical Models  LTI Systems • State variables Models • Transfer function Models  Block diagram algebra  Signal flow graph and Mason’s gain formula 1
  • 2.  Introduction • A model is a mathematical representation of a physical , biological or information system. Models allow us to reason about a system and make predictions about how a system will behave. Roughly speaking, a dynamic system is one in which the effect of actions do not occur immediately. A model should capture the essence of the reality that we like to investigate Depending on the questions asked and operational ranges, a physical system may have different models. 2
  • 3.  Types of Models • Models can be classified based on how they are obtained. [A] Theoretical (or White Box) Models • Are developed using the physical and chemical laws of conservation, such as mass balance , component balance, moment balance and energy balance. Advantages:  provide physical insight into process behavior.  applicable over wide ranges of operating conditions Disadvantage(s): 3
  • 4.  Types of Models… [B] Empirical (or Black Box) Models • Are obtained by fitting experimental data. Advantages:  easier to develop than theoretical models.  applicable over wide ranges of operating conditions Disadvantage(s): Typically don‟t extrapolate well! Caution! Empirical models should be used with caution for operating conditions that were not included in the experimental data used to fit the model 4
  • 5.  Types of Models… [C] Semi-empirical (or Gray Box) Models • Are a combination of the models in categories (a) & (b). • Used in situation where much physical insight is available but certain information( parameter) or understanding is lacking. • Those unknown parameter(s) in a theoretical model are calculated from experimental data. Advantages: They incorporate theoretical knowledge They can be extrapolated over a wide range of operating conditions. Require less development effort 5
  • 6.  Theoretical ( White Box) Models • In this chapter we will be dealing models that are generated as a set of linear differential equations 6 3
  • 7.  Theoretical ( White Box) Models 7 3
  • 8.  Theoretical ( White Box) Models 8 3
  • 9.  Theoretical ( White Box) Models Example 3.1: Cruise Control for a car • Goals - maintain the speed of a car at a prescribed value in the presence of external disturbances (external forces such as wind gusts, gravitational forces on a incline, etc). Assume two forces show in the fig. • Fp(t) – the propulsive force from the engine • Fd(t) – a “ disturbance” force from the 9
  • 10.  Theoretical ( White Box) Models Example 3.1:Cruise Control for a car… Also assume where is the gas- pedal depression and is a constant. Then from a simple force balance:  10
  • 11.  Theoretical ( White Box) Models Example 3.1:Cruise Control for a car… • The corresponding block diagram ( for simulation) • Closed-loop control for the same(using P controller) 11
  • 12.  Theoretical ( White Box) Models Example 3.2(a) Armature Controlled DC Motor 12 w va TL
  • 13.  Theoretical ( White Box) Models Example 3.2: Armature Controlled DC Motor… • the back emf (refer the previous schematic) is given by (3.1a) • Applying KVL to the armature circuit (3.1b) • Because of const. flux, the torque produced at the shaft by the armature current is (3.1c) • Assuming J and B for the motor, and TL load coupled to the shaft of the motor, the equation becomes (3.1d) 13
  • 14.  Theoretical ( White Box) Models Example 3.2: Armature Controlled DC Motor… • By substitution of eqns. (3.1c) & (3.1d), we have  • Substituting the above result into the armature eqn.(and assuming constant TL). 14
  • 15.  Theoretical ( White Box) Models Example 3.2 :Armature Controlled DC Motor… • or equivalently, Example 3.2(b): Field Controlled DC Motor 15 + -- + -- 1/L m k T B R m kb DC Motor Block
  • 16.  Theoretical ( White Box) Models Example 3.3: How does the circuit shown below work? Ans: Find the relation between 1 & 3, i.e. , the Model equation relating the two waveforms. 16
  • 17.  Theoretical ( White Box) Models Example 3.3: How does the circuit shown below work? Typical waveforms in the circuit are: 17
  • 18.  Theoretical ( White Box) Models Example 3.3: How does the circuit shown below work? •A linearized model of the transformer/rectifier circuit , with a voltage source (with a waveform as at (2) above) and a series resistor R ( a Thévenin Source) Objective: Find 18
  • 19.  Theoretical ( White Box) Models Example 3.3: How does the circuit shown below work?... Solution: • combine series and parallel impedances to simplify the structure. Draw as an impedance graph Where 19
  • 20.  Theoretical ( White Box) Models Example 3.3: How does the circuit shown below work? Solution… • The system output is • Choose mesh loops to contact all branches as shown. The loop equations are: 20
  • 21.  Theoretical ( White Box) Models Example 3.3: How does the circuit shown below work? Solution… • Or • solving for i2(using Cramer‟s Rule) 21
  • 22.  Theoretical ( White Box) Models Example 3.3: How does the circuit shown below work? Solution… • And since •Substituting the impedances of the branches 22
  • 23.  Theoretical ( White Box) Models Example 3.4: A Bus Suspension System(1/4 Bus): Assumptions: • 1/4 model ( one of the four wheels) is used to simplify the problem to 1D multiple spring-damper system. 23
  • 24.  Theoretical ( White Box) Models Example 3.4: A Bus Suspension System(1/4 Bus)… From the free-body diagram, the dynamic equations become 24 M1 M2
  • 25.  LTI Systems • The set of ODEs drived so far are not suitable for analysis and design, hence rearranged to a more suitable form, i.e., State Space Model & TF Model [1] SS-Model: Def: State Variable A set of characterizing variables which give the total information about the system under study at any time provided the initial state & the external 25 Set of ODEs State Space Model Transfer Function Model
  • 26.  LTI Systems [1] SS-Model… Where A: system or dynamic matrix, B: input matrix , C: output matrix, D: direct transfer matrix, 26
  • 27.  LTI Systems Differential equation SS-Model Example3.5: Derive the state-space model (i.e. find the A,B,C and D matrices) for each of the following differential equations. Take u(t) to be the input and y(t) to be the output. (1) (2) Solution: (1) Define So we have the state equations: 27
  • 28.  LTI Systems Differential equation SS-Model Example3.5… And the output equation: The state-space model is then: 28
  • 29.  LTI Systems [2] TF-Model In general Transfer function is expressed as ( ) Differential equation TF model Example 3.6: Find the transfer function for the system given in example 3.5 Solution: Taking LT on both sides of the equation gives ( assuming zero initial conditions) 29
  • 30.  LTI Systems Differential equation TF-Model Example 3.6…. Exercise3.1: Find the TF-model for part (2) in example 3.5 Ans: Exercise3.2: Find TF for a bus suspension discussed (refer pp 23-24) using „Matlab Symbolic Toolbox „ 30
  • 31.  Block Diagram Algebra (Interconnection Rules) [1] Series (Cascade) connection: Note: This is only true if the connection of H2(s) to H1(s) doesn‟t alter the output of H1(s)-known as the “no-loading” condition [2] Parallel Connection 31 + +
  • 32.  Block Diagram Algebra (Interconnection Rules) [3] Associative Rule: [4] Commutative Rule: 32 + + + +
  • 33.  Block Diagram Algebra (Interconnection Rules) [5] The “closed-loop” TF: [5.a] Unity Feedback: From the block diagram: and or Rearranging: 33 + -Reference input error Controller Plant Feedback path
  • 34.  Block Diagram Algebra (Interconnection Rules) [5.b] Feedback with sensor dynamic: Similarly, in this case: But now E(s) is the “indicated error” ( as opposed to the actual error): So 34 + -Reference input error Controller Plant Indicated Output Actual output
  • 35.  Block Diagram Algebra (Interconnection Rules) [5.2] Feedback with sensor dynamic: Or  35
  • 36.  Signal flow graph • is a diagram consisting of nodes that are connected by several directed branches and is a graphical representation of a set of linear relationships . •The signal can flow only in the direction of the arrow of the branch and it is multiplied by a factor indicated along the branch, which happens to be the coefficient of a model equation(s). Terminologies: Node: A node is a point representing a variable or signal Branch: A branch is a directed line segment between two nodes. The transmittance is the gain of a branch. Input node: An input node has only outgoing branches and this represents an independent variable 36
  • 37.  Signal flow graph… Terminologies… Output node: An output node has only incoming branches representing a dependent variable Mixed node: A mixed node is a node that has both incoming and outgoing branches Path: Any continuous unidirectional succession of branches traversed in the indicated branch direction is called a path. Loop: A loop is a closed path Loop gain: The loop gain is the product of the branch transmittances of a loop 37
  • 38.  Signal flow graph… Terminologies… Non-touching loops: Loops are non-touching if they do not have any common node. Forward path: A forward path is a path from an input node to an output node along which no node is encountered more than once. Feedback path (loop): A path which originates and terminates on the same node along which no node is encountered more than once is called a feedback path. Path gain: The product of the branch gains encountered in traversing the path is called the path gain. 38
  • 39.  Signal flow graph… Illustrative example: Q. Write the equations for the system described by the signal flow graph above. 39 Mixed nodes input node input node output node x3x1 x2 x4 x3 g12 g23 g43 g32 1 Fig. Signal flow graph
  • 40.  Signal flow graph… Properties of Signal flow graphs 1. A branch indicates the functional dependence of one variable on another. 2. A node performs summing operation on all the incoming signals and transmits this sum to all outgoing branches 40 G(s) R(s ) Y(s ) Y(s ) G(s ) R(s) R(s ) - H(s) Y(s ) G(s ) E(s)1 G(s) H(s) Y(s ) E(s ) R(s ) + - Fig: Block diagrams and corresponding signal flow graphs
  • 41.  Manson’s gain formula In a control system the transfer function between any input and any output may be found by Mason‟s Gain formula. Mason‟s gain formula is given by Where where 41
  • 42.  Manson’s gain formula… 42
  • 43.  Manson’s gain formula Example3.7: Find the closed loop transfer function Y(s)/R(s) using gain Manson‟s formula. 43 R(s) G1(s) G2(s) G3(s) x1(s)x3(s)x4(s) -H2(s) -H1(s) G4(s) Y(s) -1
  • 44.  Manson’s gain formula Example 3.7… Here we have two forward paths with gains , And five individual loops with gains Note for this example there are no non-touching loops, so ∆ for this graph is 44
  • 45.  Manson’s gain formula Example 3.7… The value of ∆1is computed in the same way as ∆ by removing the loops that touch 1st forward path M1 • In this example, since path M1 touches all the five loops, ∆1 is found as • Proceeding the same way , we find •Therefore, the closed loop transfer function between the input R(s) and output Y(s) is given by, 45
  • 46.  Manson’s gain formula Example 3.8 Find Y(s)/R(s) for the system represented by the signal flow graph shown below. 46 G4 X2X3 G2 G5 X1 G3 G1 X4 -H1 -H2 G6 G7 R(s) Y(s)
  • 47.  Manson’s gain formula Example 3.8… Observe from the signal flow graph , there are three forward paths between R(s) and Y(s) • The respective forward path gains are: There are four individual loops with gains: 47
  • 48.  Manson’s gain formula Example 3.8… Since the loops L2 & L4 are the only non-touching loops in the graph, the determinant ∆ will be given by: Computing ∆1,which is computed by removing the loops that touch fist forward path M1 ∆1=1 Similarly , ∆2=1 and Thus, the closed-loop TF is given by Y(s)/R(s) 48

Editor's Notes

  1. The most important task confronting the control system analyst is developing mathematical model of the system of interest .