Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo State Space Models Video: Diwheel.

Slides:



Advertisements
Similar presentations
Root Locus Diagrams Professor Walter W. Olson
Advertisements

State Variables.
Lect.3 Modeling in The Time Domain Basil Hamed
Lecture 6; The Finite Element Method 1-dimensional spring systems (modified ) 1 Lecture 6; The Finite Element Method 1-dimensional spring systems.
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Lumped Parameter Systems.
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
Modeling Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo.
Ch 1.1: Basic Mathematical Models; Direction Fields Differential equations are equations containing derivatives. Derivatives describe rates of change.
ME 746 Spring Dynamic Models Differential Equations in State-Variable Form.
ENGG2013 Unit 22 Modeling by Differential Equations Apr, 2011.
The Islamic University of Gaza Faculty of Engineering Numerical Analysis ECIV 3306 Introduction.
Copyright © 2010 Pearson Education South Asia Pte Ltd
Feedback Control Systems (FCS)
MESB 374 System Modeling and Analysis Translational Mechanical System
Physics Momentum John G. Cramer Professor of Physics B451 PAB
BsysE595 Lecture Basic modeling approaches for engineering systems – Summary and Review Shulin Chen January 10, 2013.
An Introduction to Programming and Algorithms. Course Objectives A basic understanding of engineering problem solving process. A basic understanding of.
What is a model Some notations –Independent variables: Time variable: t, n Space variable: x in one dimension (1D), (x,y) in 2D or (x,y,z) in 3D –State.
Equilibrium of a particle
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo System Solutions Dc1c1 c2c2 c n-1 cncn.
MAE 555 Non-equilibrium Gas Dynamics Guest lecturer Harvey S. H. Lam November 16, 2010 On Computational Singular Perturbation.
Math 3120 Differential Equations with Boundary Value Problems
Ch 1.1: Basic Mathematical Models; Direction Fields Differential equations are equations containing derivatives. The following are examples of physical.
Boyce/DiPrima 9 th ed, Ch 1.1: Basic Mathematical Models; Direction Fields Elementary Differential Equations and Boundary Value Problems, 9 th edition,
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Transfer Functions.
Modeling motion subject to drag forces PHYS 361 Spring, 2011.
Lecture Notes in Differential Equations (Math 210)
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo System Solutions y(t) t +++++… 11 22.
U NIVERSITY of V AASA Communications and Systems Engineering Group U NIVERSITY of V AASA Communications and Systems Engineering Group TLTE.3120 Computer.
Motivation Thus far we have dealt primarily with the input/output characteristics of linear systems. State variable, or state space, representations describe.
Feedback Control Systems (FCS) Dr. Imtiaz Hussain URL :
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Observers/Estimators …  bnbn b n-1 b2b2.
Newton’s 2nd Law: Translational Motion
AP Physics 1 – DYNAMICS OF FORCE AND MOTION NEWTON’S THIRD LAW & MORE FRICTION! (IT’S BACK!)
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Linear Systems m k u x m k u x Fixed.
System Models.
Lecture 6 - Single Variable Problems & Systems of Equations CVEN 302 June 14, 2002.
Ch 1.1: Basic Mathematical Models; Direction Fields Differential equations are equations containing derivatives. The following are examples of physical.
Modeling & Simulation of Dynamic Systems (MSDS)
Equilibrium of a Particle 3 Engineering Mechanics: Statics in SI Units, 12e Copyright © 2010 Pearson Education South Asia Pte Ltd.
The Mechanical Simulation Engine library An Introduction and a Tutorial G. Cella.
State Equations BIOE Processes A process transforms input to output States are variables internal to the process that determine how this transformation.
State Space Models The state space model represents a physical system as n first order differential equations. This form is better suited for computer.
Dr. Wang Xingbo QQ: Homepage: wxbstudio.home4u.china.com Fall , 2005 Mathematical & Mechanical Method in Mechanical.
1 Chapter 3 State Variable Models The State Variables of a Dynamic System The State Differential Equation Signal-Flow Graph State Variables The Transfer.
Introduction to Modeling Technology Enhanced Inquiry Based Science Education.
MESB 374 System Modeling and Analysis Translational Mechanical System
Bell Work Pick up: 0.3 Notes, 0.3 Practice On your Unit 0 Notes:
MESB374 System Modeling and Analysis
Modeling and Simulation Dr. Mohammad Kilani
Teknik kendali.
Advanced Control Systems (ACS)
Chapter 1.
State Space Representation
OSE801 Engineering System Identification Spring 2010
Islamic University of Gaza Faculty of Engineering
Modern Control Systems (MCS)
Autonomous Cyber-Physical Systems: Dynamical Systems
Digital Control Systems (DCS)
Digital Control Systems (DCS)
Ch 1.1: Basic Mathematical Models; Direction Fields
Ch 1.1: Basic Mathematical Models; Direction Fields
Ch 1.1: Basic Mathematical Models; Direction Fields
State Space Analysis UNIT-V.
Terms On The AP Physics 1 Test
State Feedback Disturbance Controller Plant/Process Output u y S kr
APPLICATION OF LINEAR ALGEBRA IN MECHANICAL ENGINEERING
Chapter 3 Modeling in the Time Domain
Presentation transcript:

Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo State Space Models Video: Diwheel

Outline of Today’s Lecture Review Models Dynamics States Phase Plots Example: Predator Prey Model Engineering Modeling Procedure State Space Models

Models A model is a representation of something The something can be an idea, a concrete object or an abstract object It is NOT the real thing: they are simplifications it is a fiction of our imagination Models can take many forms Solid Blocks Equations Computer programs Word descriptions Symbols

Dynamics Models of dynamics used in this course: Based on functions of time Differential equations time is considered continuous Difference equations time is considered discrete

State A state is a set of variables whose values when known completely define the dynamics (motion) State variables for nose wheel example: The parameters of the example are

State So, what about ? These are completely determined by the state variables! We can rewrite the equations as

Phase Plot A phase plot is a plot of a state variable vs. another state variable Useful in understanding how the dynamics change with changes in state

Predator Prey Model Volterra-Lotke Model The model is subject to x(t) = prey population size y(t) = predator population size a = growth rate of prey b = rate of prey predation m = death rate of predators n = rate of predator sustenance Model Solution State Variables: x, y Note the controls in this nonlinear, coupled, model

Predator Prey Model Lynx – Hare ( data from Leigh, 1968)

Discrete Predator Prey Model To discretize, choose time step, h replace The difference equations are If h = 1 year, the model is Evaluation: with x(0)=80, y(0)=30 a = 0.7, b = 0.03, m=0.99, n = 0.03 Initially h = 1 year

Discrete Predator Prey Model Unstable Model! Problem: the time step is too big! with h = 0.1 years Choice of time step is critical to discrete modeling The smaller the time step, the more accurate the model but more computations

Models REAL WORLDOBSERVATIONS MATHEMATICAL MODEL EXPLANATION/ PREDICTION SENSE FORMULATE INTERPRET TEST

Engineering Modeling Procedure Understand the problem What are the factors and relevant relationships? What assumptions can be made? What equilibrium conditions exist? What should the result look like? Draw and label an engineering sketch Free body diagram Hydraulic schematic Electrical schematic Write the equilibrium equations (usually differential or difference) Newton 2 nd Law Kirchoff Laws for current and voltages Flow continuity laws Solve the equations for the desired result Check the validity of the results

Modeling is an Iterative Process Understand the Problem Sketch Mathematical Model Solve the Model Validate the Results Use the Model Can you formulate a model? Can you solve the model? Do the results represent reality? YES NO

Modeling Terms System: a functional group of interrelated things State: A condition (which may or may not be physical) of the system regarding form, structure, location, thermodynamics or composition State vector: a collection of variables that fully describe the object over time Input: an external object provide to the system Output: a dependent variable (often a state) from within the system that can be measured or quantified Dynamics: a process of the state variables over time

Modeling Example What is the deflection of the nose in response to the runway? System: landing gear State: positions and velocities of the components State vector Input: runway roughness, z r Output: Nose deflections, z

State Space Formulation Continuous Models Let x be a vector formed of the state variables The number of components of the state vector is called the order Formulate the system as The matrices A, B, C and D have constant elements The matrix A is the called the State Dynamics Matrix The matrix B is called the Input or Control Matrix The matrix C is called the Output or Sensor Matrix The matrix D is called the Pass Through or Direct term

State Space Formulation Discrete Models Let x be a vector formed of the state variables The number of components of the state vector is called the order Formulate the system as The matrices A, B, C and D have constant elements The matrix A is the called the State Dynamics Matrix The matrix B is called the Input or Control Matrix The matrix C is called the Output or Sensor Matrix The matrix D is called the Pass Through or Direct term

State Space Formulation Advantages Time domain model Ability to determine which variables can be controlled Ability to determine which variable can be sensed Ability to design predictors for control The formulations are not unique You might have several different choices for the state variables The states might not be physical You might want different outputs (things you measure from the model)

State Space Formulation Procedure: Develop the equations of equilibrium Put the equilibrium equations in the form of the highest derivative equal the remainder of the terms Make a choice of states, the input and the outputs Write the equilibrium equations in terms of the state variables Construct the dynamics, the input, the output and the pass through matrices Write the state space formulation

State Space Formulation Example: The Nose Wheel

State Space Formulation % Nose Wheel Problem % Programmed by WW Olson 8 March 2008 % % Parameters: k = ; % Nose wheel spring stiffness N/m kt = ; % Nose wheel tire stiffness in N/m b = ; % Nose wheel shock absorber in N/m/s m = ; % Mass allocated to the nose wheel kg mu = 50; % Mass of the landing gear kg % % State Matrix A = [ ; -k/m -b/m k/m b/m; ;... k/mu b/mu -(k+kt)/mu -b/mu]; B = [0;0;0;kt/mu]; % Input Matrix C = [1,0,0,0]; % Output matrix for nose deflection D = [ 0 ]; % Pass through matrix sys = ss(A,B,C,D); % State space formulation step(0.01*sys); % Step input of 1 cm grid; title('Nose Wheel 0.01 m step input'); t = [ 0:.01:100]; % Time for runway n = length(t); % Length of time array u =0.01*exp(.1*(rand(1,n)-.5)); % Runway profile lsim(sys,u,t); % Nose response to runway grid; title('Nose Wheel response to runway'); legend('nose deflection in m');

Consider the following problem A secret chemical, we will call zonium will change state if to much force is applied to it. This chemical is badly needed in at Galena, Alaska. The only mode of transportation is by air. It has been determined that take off and landing forces by a well trained pilot can be tolereated. However, because of the mountains that need to be flown over, there are air pockets which will cause the airplane to fall or lose altitude quickly. Model the forces on the zonium and determine the state space model for this situation. Zonium Mass m z kb Aircraft floor u(t)

Derivatives of the Forcing Function Consider Problem: handling the derivatives of the forcing function Using a change of variable as indicated below: Where Note that:

Derivatives of the Forcing Function

Consider the following problem Zonium Mass m z kb Aircraft floor u(t)

Summary Modeling Definitions of terms An Engineering Procedure Understand the problem Sketch Write the equilibrium equations Solve the model Validate the model Use the model Iterative Process Choose the model to answer your question State Space Continuous Discrete Next: Lumped parameter systems

Example