Uploaded by judy.xia307

Control 1 - Modeling and impulse response

advertisement
Modeling of Physical Systems
BME331
University of Toronto
Endocrine
System
System
Modeling
Lab 1
Cardiovascular
System
System
Response
Lab 2
Neuromuscular
System
System Control
Lab 3
Learning Objectives
• Obtain mathematical models of physiological
systems.
• Describe the relationship between the unit
impulse and the impulse response of a
system.
• Define a linear time-invariant system.
Reality
Conceptual
Model
Mathematical
Model
Mechanical Systems
• Translation:
x1(t)
x(t)
x(t)
x2(t)
C
K
F(t)
𝐹𝐹 𝑑𝑑 = −𝐾𝐾𝐾𝐾(𝑑𝑑)
Linear Spring
F(t)
m
F(t)
𝐹𝐹 𝑑𝑑 = −𝐢𝐢(π‘₯π‘₯1Μ‡ (𝑑𝑑)-π‘₯π‘₯2Μ‡ (𝑑𝑑))
Damper
𝐹𝐹 𝑑𝑑 = π‘šπ‘šπ‘₯π‘₯(𝑑𝑑)
̈
Inertia
Mechanical Systems
• Rotation:
πœƒπœƒ(𝑑𝑑)
𝜏𝜏(𝑑𝑑)
πœƒπœƒ2(𝑑𝑑)
πœƒπœƒ1(𝑑𝑑)
K
𝜏𝜏 𝑑𝑑 = −πΎπΎπœƒπœƒ(𝑑𝑑)
Linear Spring
𝜏𝜏(𝑑𝑑)
C
𝜏𝜏 𝑑𝑑 = −𝐢𝐢(πœƒπœƒ1Μ‡ (𝑑𝑑)-πœƒπœƒ2Μ‡ (𝑑𝑑))
Damper
πœƒπœƒ(𝑑𝑑)
I
𝜏𝜏(𝑑𝑑)
𝜏𝜏 𝑑𝑑 = 𝐼𝐼 πœƒπœƒΜˆ (𝑑𝑑)
Inertia
Example
• Spring-Mass-Damper system
Electrical Systems
i(t)
R
u(t)
π‘ˆπ‘ˆ 𝑑𝑑 = 𝑅𝑅𝑅𝑅(𝑑𝑑)
Resistance
i(t)
C
u(t)
𝑖𝑖 𝑑𝑑 = 𝐢𝐢 𝑒𝑒̇ (𝑑𝑑)
Capacitance
i(t)
L
u(t)
.
𝑒𝑒 𝑑𝑑 = πΏπΏπš€πš€Μ‡ (𝑑𝑑)
Inductance
Example
• Phase-lag circuit
General System Properties
• Resistance
– Energy dissipation
– E.g.: Ohm’s Law, mechanical damping coefficients,
fluid resistance…
• Capacitance
– Storage of potential energy
– E.g: capacitor, spring compliance
• Inertance
– Storage of kinetic energy
– E.g.: Inductor, Newton’s second of motion, fluid
inertia
Example: Muscle model
Adapted from:
M.C.K. Khoo, Physiological Control Systems: Analysis, Simulation, and Estimation, Wiley & Sons
Note: in this diagram springs are described in terms of
their compliance (1/stiffness)
• F: actual force
produced by the
muscle on the bone
(taking into account
active and passive
components)
• Fo: Force developed
by the active
contractile element
of the muscle
• R: viscous damping
of the tissue
• Cp: elastic storage
properties of the
sarcolemma
• Cs: elastic storage
properties of the
muscle tendons
Example: Muscle model
•Consider how
the force F
changes if an
external force
stretches the
muscle by an
incremental
length x.
Adapted from:
M.C.K. Khoo, Physiological Control Systems: Analysis, Simulation, and Estimation, Wiley & Sons
Note: in this diagram springs are described in terms of
their compliance (1/stiffness)
• Relate F to F0 and x:
• This expression reflects how the actual force
produced by a muscle depends both on the
strength of the contraction and the stretch of the
muscle.
Let’s consider further what characterizes a
system…
The Unit Impulse
The unit impulse or δ-function has the properties:
•
•
∞
∫−∞ 𝛿𝛿
∞
∫−∞ 𝑓𝑓
𝑑𝑑 𝑑𝑑𝑑𝑑
0+
= ∫0− 𝛿𝛿
𝑑𝑑 𝑑𝑑𝑑𝑑 = 1
𝑑𝑑 𝛿𝛿 𝑑𝑑 𝑑𝑑𝑑𝑑 = 𝑓𝑓(0)
The Impulse Response
http://cnx.org/contents/0c47b9ac-f5b5-4761-8340-d9639168dcf1@2/Continuous-Time-Impulse-Respon
The Convolution Sum
Delayed and
shifted
versions of
the impulse
response
The Convolution Sum (Cnt’d)
In discrete time, the process in the previous
slide is called the convolution sum and can be
expressed as:
+∞
𝑦𝑦 𝑛𝑛 = οΏ½ π‘₯π‘₯ π‘˜π‘˜ β„Ž[𝑛𝑛 − π‘˜π‘˜]
π‘˜π‘˜=−∞
h[n]: Impulse response; x[n]: System input; y[n]: System output
The Convolution Integral
In continuous time, the corresponding process is
the convolution integral, expressed as:
+∞
𝑦𝑦 𝑑𝑑 = οΏ½
−∞
π‘₯π‘₯ 𝜏𝜏 β„Ž 𝑑𝑑 − 𝜏𝜏 𝑑𝑑𝑑𝑑
• Note: Although discrete time was used for ease of
illustration in the example, for the rest of this
course we will use only continuous time
formulations.
h(t): Impulse response; x(t): System input; y(t): System output
Convolution (Cnt’d)
• Thus, the time response y(t) to an input x(t) is
𝑦𝑦 𝑑𝑑 = οΏ½
+∞
−∞
π‘₯π‘₯ 𝜏𝜏 β„Ž 𝑑𝑑 − 𝜏𝜏 𝑑𝑑𝑑𝑑 = π‘₯π‘₯(𝑑𝑑) ∗ β„Ž(𝑑𝑑)
• The output is the input convolved with the
impulse response function.
Linear Time-Invariant (LTI) Systems
• A linear system is one that has the following properties
(where y1(t) is the response to x1(t) and y2(t) is the
response to x2(t)):
– The response to x1(t) + x2(t) is y1(t) + y2(t)
– The response to ax1(t) is ay1(t), where a is any complex
constant
• A time-invariant system is one in which the behaviour and
characteristics of the system are fixed over time.
Most of the analysis techniques that you will learn in this class
assume that the system is linear and time-invariant.
An LTI system is fully characterized by its impulse
response function.
Key Points
• We can mathematically model a physiological
system (you already know how! It’s no different
than modeling other physical systems).
• We can describe a system using its dynamic
equation.
• We can examine how it would respond to an
impulse.
• If it is LTI, the impulse response fully characterizes
the system.
Download