MCE371: Vibrations. Prof. Richter. Handout 5 Fall Department of Mechanical Engineering

Similar documents
Springs and Dampers. MCE371: Vibrations. Prof. Richter. Department of Mechanical Engineering. Handout 2 Fall 2011

x = + x 2 + x

Numerical Solution of Differential Equations

Lecture 1: Introduction to Dynamical Systems

Department of Chemical Engineering ChE-101: Approaches to Chemical Engineering Problem Solving MATLAB Tutorial VI

EDUMECH Mechatronic Instructional Systems. Ball on Beam System

LS.6 Solution Matrices

An Introduction to Using Simulink

Matlab and Simulink. Matlab and Simulink for Control

ω h (t) = Ae t/τ. (3) + 1 = 0 τ =.

Slide Basic system Models

Question 2: How do you solve a matrix equation using the matrix inverse?

Vector Spaces; the Space R n

RESONANCE PASSAGE OF CYCLIC SYMMETRIC STRUCTURES

Design-Simulation-Optimization Package for a Generic 6-DOF Manipulator with a Spherical Wrist

1 Determinants and the Solvability of Linear Systems

Module 2 Introduction to SIMULINK

Dynamic Process Modeling. Process Dynamics and Control

To get started, type one of these: helpwin, helpdesk, or demo. For product information, type tour or visit

Section Continued

the points are called control points approximating curve

INTER-NOISE AUGUST 2007 ISTANBUL, TURKEY

is in plane V. However, it may be more convenient to introduce a plane coordinate system in V.

Solving ODEs in Matlab. BP205 M.Tremont

α = u v. In other words, Orthogonal Projection

CITY UNIVERSITY LONDON. BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION

General model of a structure-borne sound source and its application to shock vibration

Linear Algebra Notes

Modeling Mechanical Systems

Cooling and Euler's Method

Time Domain and Frequency Domain Techniques For Multi Shaker Time Waveform Replication

SGN-1158 Introduction to Signal Processing Test. Solutions

Review Jeopardy. Blue vs. Orange. Review Jeopardy

Stability Analysis for Systems of Differential Equations

INSTRUCTOR WORKBOOK Quanser Robotics Package for Education for MATLAB /Simulink Users

Engineering Feasibility Study: Vehicle Shock Absorption System

Dynamic Analysis of the Dortmund University Campus Sky Train

Curve Fitting and Parameter Estimation

Comparison of the Response of a Simple Structure to Single Axis and Multiple Axis Random Vibration Inputs

Pre-requisites

Vibration Course Enhancement through a Dynamic MATLAB Graphic User Interface

PRELAB: NEWTON S 3 RD LAW AND MOMENTUM CONSERVATION

Motion. Complete Table 1. Record all data to three decimal places (e.g., or or 0.000). Do not include units in your answer.

Simple Harmonic Motion Experiment. 1 f

ASEN Structures. MDOF Dynamic Systems. ASEN 3112 Lecture 1 Slide 1

Oscillations. Vern Lindberg. June 10, 2010

These axioms must hold for all vectors ū, v, and w in V and all scalars c and d.

1 One Dimensional Horizontal Motion Position vs. time Velocity vs. time

BASIC VIBRATION THEORY

Course 8. An Introduction to the Kalman Filter

General Framework for an Iterative Solution of Ax b. Jacobi s Method

Rotation: Moment of Inertia and Torque

160 CHAPTER 4. VECTOR SPACES

x y The matrix form, the vector form, and the augmented matrix form, respectively, for the system of equations are

Problem Set 5 Due: In class Thursday, Oct. 18 Late papers will be accepted until 1:00 PM Friday.

Modeling and Simulation of a Three Degree of Freedom Longitudinal Aero plane System. Figure 1: Boeing 777 and example of a two engine business jet

CHAPTER 5 PREDICTIVE MODELING STUDIES TO DETERMINE THE CONVEYING VELOCITY OF PARTS ON VIBRATORY FEEDER

[1] Diagonal factorization

Scicos is a Scilab toolbox included in the Scilab package. The Scicos editor can be opened by the scicos command

Structural Dynamics, Dynamic Force and Dynamic System

Computer programming course in the Department of Physics, University of Calcutta

Partial Fractions. (x 1)(x 2 + 1)

EXPERIMENT 3 Analysis of a freely falling body Dependence of speed and position on time Objectives

A Simulation Study on Joint Velocities and End Effector Deflection of a Flexible Two Degree Freedom Composite Robotic Arm

FRICTION, WORK, AND THE INCLINED PLANE

This page intentionally left blank

Geometric Constraints

Systems of Linear Equations

19 LINEAR QUADRATIC REGULATOR

MODELING FIRST AND SECOND ORDER SYSTEMS IN SIMULINK

Orthogonal Projections

Nonlinear Systems and Control Lecture # 15 Positive Real Transfer Functions & Connection with Lyapunov Stability. p. 1/?

YAW RATE AND VELOCITY TRACKING CONTROL OF A HANDS-FREE BICYCLE

Chapter 3 Non-parametric Models for Magneto-Rheological Dampers

SOLID MECHANICS TUTORIAL MECHANISMS KINEMATICS - VELOCITY AND ACCELERATION DIAGRAMS

( ) which must be a vector

Solutions to Math 51 First Exam January 29, 2015

Simulation of Trajectories and Comparison of Joint Variables for Robotic Manipulator Using Multibody Dynamics (MBD)

Lecture L3 - Vectors, Matrices and Coordinate Transformations

AP1 Oscillations. 1. Which of the following statements about a spring-block oscillator in simple harmonic motion about its equilibrium point is false?

Force/position control of a robotic system for transcranial magnetic stimulation

Appendix H: Control System Computational Aids

r (t) = 2r(t) + sin t θ (t) = r(t) θ(t) + 1 = 1 1 θ(t) Write the given system in matrix form x = Ax + f ( ) sin(t) x y z = dy cos(t)

Power Electronics. Prof. K. Gopakumar. Centre for Electronics Design and Technology. Indian Institute of Science, Bangalore.

BX in ( u, v) basis in two ways. On the one hand, AN = u+

Orbital Mechanics. Angular Momentum

ACTUATOR DESIGN FOR ARC WELDING ROBOT

Manufacturing Equipment Modeling

A power series about x = a is the series of the form

RLC Circuit Response and Analysis (Using State Space Method)

The dynamic equation for the angular motion of the wheel is R w F t R w F w ]/ J w

CHAPTER 3. INTRODUCTION TO MATRIX METHODS FOR STRUCTURAL ANALYSIS

Mixed Precision Iterative Refinement Methods Energy Efficiency on Hybrid Hardware Platforms

CD-ROM Appendix E: Matlab

LINEAR ALGEBRA W W L CHEN

HSC Mathematics - Extension 1. Workshop E4

Uniformly Accelerated Motion

Template for parameter estimation with Matlab Optimization Toolbox; including dynamic systems

SOLUTIONS TO CONCEPTS CHAPTER 15

Solving Systems of Linear Equations Using Matrices

Transcription:

MCE371: Vibrations Prof. Richter Department of Mechanical Engineering Handout 5 Fall 2011

State-Space Representations Output Equations State-Space vs. Differential Equations Follow Palm, Sect. 3.9 and pages 527-530 1 We can derive the equation of motion for a 1 DOF system: n-th order differential equation 2 By using state variables, we can replace 1 n-th order diff. eq. by n 1st order diff. eqs. 3 This is done to facilitate computer simulations and use modern methods of analysis 4 State-space representations are essential for future control systems and mechatronics studies.

Choosing State Variables State-Space Representations Output Equations Suppose we have the n-th order differential equation d n x a n dt n +a d n 1 x n 1 dt n 1 +...a 2ẍ +a 1 ẋ +a 0 x = bu We choose n state variables sequentially, to match x, ẋ, ẍ... dn 1 x dt n 1. Then we have: ẋ 1 = x 2 ẋ 2 = x 3. =. ẋ n 1 = x n (1)

Writing the state equations State-Space Representations Output Equations The last state derivative is found from the diff. eq. itself, as you did when building computer simulation diagrams. ẋ n = 1 a n { a n 1 x n 1 a n 2 x n 2... a 2 x 2 a 1 x +bu}

Example Introduction to State Variables State-Space Representations Output Equations Diff. eq: State variables: 2 d3 x ẍ +3ẋ +6x = 4u dx3 x 1 x x 2 ẋ x 3 ẍ The equations for the first n 1 state derivatives is always the same: ẋ 1 = x 2 ;ẋ 2 = x 3 and so on. The last equation is ẋ 3 = 1 2 {x 3 3x 2 6x 1 +4u}

Example... Introduction to State Variables State-Space Representations Output Equations The complete set of state equations is then: ẋ 1 = x 2 ẋ 2 = x 3 ẋ 3 = 1 2 {x 3 3x 2 6x 1 +4u}

Specifying Outputs Introduction to State Variables State-Space Representations Output Equations 1 The set of n state equations contains exactly the same information as the differential equation 2 It is frequently useful to define outputs of interest (other than x itself) to reflect variables being measured or monitored 3 A linear output is a combination of state variables and input: y = c 1 x 1 +c 2 x 2 +...c n x n +du

Example Introduction to State Variables State-Space Representations Output Equations Find a state variable representation for the standard 1 DOF mass-spring-damper system. Find output equations for the velocity and the acceleration of the block, and also for the force in the damper.

Simulating with ode45 1 Multi-DOF, nonlinear vibratory systems can be efficiently simulated in Matlab by using a state-variable based solver instead of Simulink 2 ode45 uses Runge-Kutta s 4-5 integration method and will suit our needs in this course. 3 A function must be written that returns the vector of state derivatives given t, x and u. 4 The function contains the state equations written in Matlab language. 5 Once the function has been written, ode45 can be used from the command line or from other programs

ode45 format function xdot=example(t,x,u) xdot1=x(2); xdot2=x(3);... xdotn=%enter the expression here xdot=[xdot1;xdot2;...xdotn]; %return derivative vector Note: function must be saved using the function name (example) and extension m. (example.m). Test that the function works by calling it from the workspace: >>example(0,[0;0;0..0];0)

Example Introduction to State Variables The function for the previous example must be something like: function xdot=example(t,x,u) u=sin(t) %sinusoidal input xdot1=x(2); xdot2=x(3);... xdot3=(x(3)-3*x(2)-6*x(1)+4*u)/2 xdot=[xdot1;xdot2;...xdotn];

Example... Introduction to State Variables The call to ode45 requires: 1 A time span [0 tend] 2 A vector of n initial conditions x0 Example: x(0) = 1, ẋ(0) = 0, ẍ(0) = 1, simulate from 0 to 10 sec: >> x0=[1;0;-1]; >> tspan=[0 10]; >> [t,x]=ode45( example,tspan,x0); >> plot(t,x(:,1)) %plot 1st state

Standard Linear State-Space Form Standard form: ẋ = Ax +Bu and y = Cx +Du The column vector x = [x 1,x 2,...x n ] T is called the state vector The set where x varies is the state space The column vector u = [u 1,u 2...u m ] T is the input vector The column vector y = [y 1,y 2,...y p ] T is the output vector For n states, m inputs, p outputs: A is an n-by-n matrix, B is n-by-m, C is p-by-n and D is p-by-m.

Example Introduction to State Variables Mass-spring-damper system. Choosing position and velocity as states, we find the following representation: [ ] [ ][ ] ] ẋ1 0 1 x1 0 = +[ 1 u ẋ 2 x 2 m For a velocity output: k b b m y = [0 1]x What are output matrices C and D for an acceleration output?

Recommended Exercise For the differential equation: 2 d4 x x dt 4 +0.9d3 +45.1ẍ +10ẋ +250x = 250u dt3 1 Sketch a computer simulation diagram 2 Simulate the response of the differential equation to a unit step input excitation. Set all initial conditions to zero. Plot x as a function of time and simulate for 1 second. 3 Find a state-variable representation. 4 Prepare a state derivative function for use with ode45. Simulate for 1 second. 5 Compare results. 6 Find matrices A, B, C and D of the state-space representation