Lecture 7 - Simulation of Physical Systems
Lecture 7 - Simulation of Physical Systems
SIEL 4783
mechatronics &
robotics
Block Diagrams—Introduction
Block Diagrams—Manipulations
This chapter presents one method, the analogy approach, which can
be used for such modeling tasks. It was developed by electrical
engineers to model mechanical, thermal, and fluid systems for
simulation on analog computers.
ENGIN112 L8: Minimization with Karnaugh Maps September 19, 2003
Overview
Because the analog computer was used for the simulation
environment, it was fitting that models were constructed using
standard electrical elements, such as resistors, capacitors, and
inductors.
Block diagrams are much more powerful, flexible, and intuitive than
circuit models.
Step 2. Collect and factor all output terms on the left side and input
terms on the right side:
Step 3. Obtain the transfer function by solving for the ratio of the output
over the input signal:
Block Diagrams—Introduction
Block diagram models consist of two fundamental objects: signal wires
and blocks.
These blocks are the summing junction, the gain, and the integrator.
Solution
In the initialization step, the equations for each block in the system
model are sorted according to the pattern in which the blocks are
connected.
ENGIN112
Discrete equations
L8: Minimization are
with Karnaugh Mapsalso solved in the iteration section.
September 19, 2003
Simulation
Results are presented in the termination step along with any other
post-processed calculations.
EXAMPLE 7.1 The transfer function and initial conditions are given as
Step 2. From step 1, write the state equation (SE) as the differential
equation relating the input, r(t),to the state, x(t), as
Step 4. Solve the state equation from step 2 for the highest derivative of
the state variable, in this case we’d solve for as,
Resulting to
The two output initial conditions are written in terms of the output equation
evaluated at t= 0. The two equations are presented here.
Solution
For this example, we will take the mass displacement, x(t),as the output,
y(t).With some manipulation, the state equation for the mass–spring–
damper system is written as
Divide by M