04 Dynamicmodels
04 Dynamicmodels
2
Modeling of Continuous Dynamics
Ø Ordinary differential equations, Laplace
transforms, feedback control models, …
3
Example CPS System
Ø Helicopter Dynamics
4
Modeling Physical Motion
Ø Six Degrees of Freedom
§ Position: x, y, z
§ Orientation: roll (𝜃! ), yaw (𝜃" ), pitch (𝜃# )
5
Notation
Orientation can be
represented in the
same form
7
Newton’s Second Law
8
Orientation
9
Torque: Angular version of Force
Ty(t ) = r f (t )
angular momentum, momentum
10
Rotational Version of Newton’s Law
If the object is spherical, this
reluctance is the same around
all axes, so it reduces to a
constant scalar I (or
equivalently, to a diagonal
matrix I with equal diagonal
elements I).
11
For a spherical object
12
Simplified Model
Ø Model-order Reduction
13
Simplified Model of Helicopter
Ø the force produced by the tail rotor must counter the
torque produced by the main rotor
Ø Assumptions:
§ helicopter position is fixed at the origin
§ helicopter remains vertical, so pitch and roll are fixed at zero
Ø the moment of inertia reduces to a scalar that
represents a torque that resists changes in yaw
14
Feedback Control Problem
15
Actor Model
Ø Mathematical Model of Concurrent Computation
Ø Actor is an unit of computation
Ø Actors can
§ Create more actors
§ Send messages to other actors
§ Designate what to do with the next message
Ø Multiple actors may execute at the same time
16
Actor Model of Systems
ØA system is a function that
accepts an input signal and yields
an output signal.
ØThe domain and range of the
system function are sets of signals,
which themselves are functions.
ØParameters may affect the
definition of the function S.
17
Actor Model of the Helicopter
Ø Input is the net torque of the
tail rotor and the top rotor.
Output is the angular
velocity around the y-axis.
19
Actor Models with Multiple Inputs
20
Modern Actor Based Platforms
Ø Simulink (The MathWorks) Ø SPW, signal processing
Ø Labview (National Instruments) worksystem (Cadence)
Ø Modelica (Linkoping) Ø System studio (Synopsys)
Ø OPNET (Opnet Technologies) Ø ROOM, real-time object-oriented
modeling (Rational)
Ø Polis & Metropolis (UC Berkeley)
Ø Easy5 (Boeing)
Ø Gabriel, Ptolemy, and Ptolemy II
(UC Berkeley) Ø Port-based objects (U of
Maryland)
Ø OCP, open control platform
(Boeing) Ø I/O automata (MIT)
Ø GME, actor-oriented meta- Ø VHDL, Verilog, SystemC
modeling (Vanderbilt) (Various)
21
Example LabVIEW Screenshot
22
Example CPS System
Ø Artemis I
§ Space Launch System (SLS) rocket
§ Orion spacecraft
§ Designed to send humans to deep space as the
backbone for America’s Moon to Mars
exploration approach.
https://www.nasa.gov/artemis-1 23
Escape Velocity
Ø Newton’s law of universal gravitation
§ gravitational force between two massive bodies is proportional to the
product of the two masses
§ inversely proportional to the square of the distance between them
§ G is the gravitational constant
24
Escape Velocity
25
Escape Velocity
Left Integral:
Substitute:
Right Integral:
26
Escape Velocity
Ø Escape Velocity: minimum initial velocity such
that the mass can escape to infinity
27