Modeling and Simulation: Exploring Dynamic System Behaviour

Slides:



Advertisements
Similar presentations
Ch 7.9: Nonhomogeneous Linear Systems
Advertisements

Physics 111: Mechanics Lecture 3
Ch. 6 Single Variable Control
L – Modelling and Simulating Social Systems with MATLAB Lesson 7 – Continuous simulations Wenjian Yu © ETH Zürich |
Input Function x(t) Output Function y(t) T[ ]. Consider The following Input/Output relations.
EE102 – SYSTEMS & SIGNALS Fall Quarter, Instructor: Fernando Paganini.
Projectile Motion Falling things, and rockets ‘n’ that… AP Physics Unit 1 Oct 10 Lesson 2.
Ch 1.1: Basic Mathematical Models; Direction Fields Differential equations are equations containing derivatives. The following are examples of physical.
Kinematics using slides from D. Lu. Goals of this class Introduce Forward Kinematics of mobile robots How Inverse Kinematics for static and mobile robots.
State Equations BIOE Processes A process transforms input to output States are variables internal to the process that determine how this transformation.
Chapter 4, Motion in 2 Dimensions. Position, Velocity, Acceleration Just as in 1d, in 2, object’s motion is completely known if it’s position, velocity,
EASTERN MEDITERRANEAN UNIVERSITY EE 529 Circuits and Systems Analysis Mustafa Kemal Uyguroğlu.
Boyce/DiPrima 10th ed, Ch 7.9: Nonhomogeneous Linear Systems Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E.
Chapter 12 Design via State Space <<<4.1>>>
Week 9 4. Method of variation of parameters
MESB374 System Modeling and Analysis
Modeling and Simulation Dr. Mohammad Kilani
Ch 4: Motion in Two and Three Dimensions
1.5 Linear ODEs. Bernoulli Equation. Population Dynamics
State Space Representation
Week 8 Second-order ODEs Second-order linear homogeneous ODEs
L – Modeling and Simulating Social Systems with MATLAB
Section 3-7: Projectile Motion
Lesson 3: Physics 150 / 215 Projectile Motion
Two Dimensional Kinematics
PROJECTILE MOTION 2-D MOTION.
Two Dimensional Dynamics
Two Dimensional Kinematics
Physics 103: Lecture 4 Vectors - Motion in Two Dimensions
Two Dimensional Dynamics
Lecture 4 Exposition of the Lagrange Method
AP Physics Chapter 3 Motion in Two Dimensions
Two Dimensional Dynamics
Two Dimensional Dynamics
King Fahd University of Petroleum & Minerals
Feedback Control Systems (FCS)
Projectile Motion.
Physics 207, Lecture 7, Sept. 26 Rooms: B102 & B130 in Van Vleck.
Ch 1.3: Classification of Differential Equations
Ch 1.3: Classification of Differential Equations
Warm-Up 09/13/10 Please express the Graphic Vector Addition Sums in MAGNITUDE-ANGLE format (last two pages of PhyzJob packet)
Chapter 2: Motion in One Dimension (examples and applications)
Digital Control Systems (DCS)
Differential Equations:
Ch 1.1: Basic Mathematical Models; Direction Fields
The height of the building
3 General forced response
Physics 207, Lecture 5, Sept. 20 Agenda Chapter 4
Lecture Outline Chapter 4 Physics, 4th Edition James S. Walker
§1-2 State-Space Description
State Space Analysis UNIT-V.
Chapter 2 Systems Defined by Differential or Difference Equations
Fundamentals of Electric Circuits Chapter 15
Lecture 5 Goals: Address systems with multiple accelerations in 2-dimensions (including linear, projectile and circular motion) Discern different reference.
Equivalent State Equations
Mechatronics Engineering
Linearization of Nonlinear Models
Lecture Outline Chapter 4 Physics, 4th Edition James S. Walker
Homework 3: Transfer Function to State Space
Lecture Outline Chapter 4 Physics, 4th Edition James S. Walker
§1—2 State-Variable Description The concept of state
MOTION IN A PLANE – (B) PROJECTILE & CIRCULAR MOTION
Homework 3: Transfer Function to State Space
Chapter 9: An Introduction to Laplace Transforms
Differential Equations: Separation of Variables
Week 8 Second-order ODEs Second-order linear homogeneous ODEs
Linear Time Invariant systems
Optimal Control of Systems
Analysis of Basic PMP Solution
Modeling and Simulation: Exploring Dynamic System Behaviour
Presentation transcript:

Modeling and Simulation: Exploring Dynamic System Behaviour Chapter 7 Modelling of Continuous Time Dynamic Systems

Continuous Time Dynamic Models Synopsis Distinctive features Two examples The canonical (standard) form The decomposition problem An M&S project with a CTDS SUI Possible hazards on the road to successful solution of continuous M&S projects

CTDS Models Noteworthy Features CM is formulated as a set of differential equations (ode or pde) possibly augmented with a set of algebraic equations Frequently the SUI has its origins in the “physical world” hence behavior is governed by physical laws (physics, chemistry, heat transfer, etc); i.e., “deep knowledge” Optimization studies are straightforward because (a) random effects rarely present and (b) behavior is ”smooth” Time advance is not a separate issue because it is embedded in the equation solving mechanism

L q΄΄(t) + R q΄(t) + q(t)/C = E(t) Some Examples Electric Circuit (An example of a deductive model formulated from the application of physical laws) L q΄΄(t) + R q΄(t) + q(t)/C = E(t) Initial conditions: q(t0) and q΄(t0) are required

2. Population Dynamics (predator/prey). (An example of an inductive model that is formulated from arguments based on observation and intuition) without interaction: P1΄(t) = – α1 P1(t) P2΄(t) = α2 P2(t)

P1΄(t) = – α1 P1(t) + λ1 P1(t) P2(t) with interaction: P1΄(t) = – α1 P1(t) + λ1 P1(t) P2(t) P2΄(t) = α2 P2(t) – λ2 P1(t) P2(t) (these are the Lotka-Volterra equations )

typical predator/prey behavior

The Canonical Form CTDS Models have the convenient feature of having a standard (general) representation: x΄(t) = f(x(t), u(t), t)   with: x(t0) = x0 and y(t) = g(x(t)) Here x, u and y are vectors of dimension n, r and m respectively

State Variables are often not unique Consider: y΄΄(t) + a1 y΄(t) + a0 y(t) = b1 u΄(t) + b0 u(t) with y(0) = α ; y’(0) = β A possible “decomposition” (what does this mean?) is: x1΄(t) = x2(t) x2΄(t) = - a1 x2(t) - a0 x1(t) + b1 u΄(t) + b0 u(t) y(t) = x1(t) But this can have a problem ----- !!

Consider an alternate decomposition: x1΄(t) = x2(t) x2΄(t) = –a0 x1(t) – a1 x2(t) + u(t)  y(t) = b0 x1(t) + b1 x2(t) Still a possible problem; namely the “initial condition transformation” requires that: b02 –a1 b0 b1 + a0 b12 ≠ 0

Yet another possible decomposition: x1΄(t) = -a0 x2(t) + b0 u(t) x2΄(t) = x1(t) – a1 x2(t) + b1 u(t)   y(t) = x2(t) Here the “initial condition transformation” does not introduce any constraint.

The Safe Ejection Envelope

The Safe Ejection Relationship

Trajectory of Pilot/Seat

Trajectory of Pilot/Seat X(t) = Xp(t) – Xa(t)  X’(t) = Xp’(t) – Xa’(t) ; X(0) = 0   Xa’(t) = Va (constant) ; hence Xa(t) = Va t Xp’(t) = V(t) cos θ(t) Y(t) = Yp(t) – Ya(t) Y’(t) = Yp’(t) – Ya’(t) ; Y(0) = 0 Ya’(t) = 0 (level flight assumption) Yp’(t) = V(t) sin θ(t)

Configuration y vr Өr

Constrained Motion on Rails (Y ≤ Y1)  V(t) = A ; V’(t) = 0 A = [(Vr cos( θr ))2 + (Va – Vr sin( θr ) )2 ]½   θ(t) = B ; θ’(t) = 0 B = tan-1 [Vr cos( θr ) /(Va - Vr sin( θr ) )]

Free Fall Motion (ballistic trajectory) Xp’ (t) = Vx(t) Yp’ (t) = Vy(t) Vx’(t) = – (D/m) cos θ(t) Vy’ (t) = – (D/m) sin θ(t) – g  

But: D(t) = μ V2(t) and μ = ĈD ρ(H). Thus (with some algebraic manipulation): Vx’(t) = – Ψ(t) Vx  Vy’(t) = – Ψ(t) Vy – g   where:Ψ(t) = [ĈD ρ(h + Yp) (Vx2 + Vy2)0.5] / m.

Summary Xp’(t) = Vx(t) ; Xp(0) = 0 Yp’(t) = Vy(t) ; Yp(0) = 0 On Rails: Vx’(t) = 0; Vx(0) = Va – Vr sin θr Vy’(t) = 0; Vy(0) = Va – Vr sin θr Off Rails:  Vx’(t) = – Ψ(t) Vx Vy’(t) = – Ψ(t) Vy – g with Ψ(t) = [ĈD ρ(h + Yp) (Vx2 + Vy2)0.5] / m.

Generating the Envelope Data Va  Vstart h  hstart while (Va < Vlimit) repeat h  h + ∆1 solve ode’s up to t = tT where Xp(tT) = Va tT - BT until (Yp(tT) > HT + Sf) record [Va, h] Va  Va + ∆2 endwhile Plot the collected [Va, h] pairs

Bouncing Ball

Bouncing Ball Ball Dynamics y1(0) =1 y2(0) =V0 sinθ0 x1(0) =0 x2(0) =V0 cosθ0 y1(0) =1 y2(0) =V0 sinθ0

Bouncing Ball Collision Characterization x2(Tc+) = α x2(Tc) y1(Tc+) = 0 y2(Tc+) = - α y2(Tc)