ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems December 1, 2011 Solving Index 3 DAEs using Newmark Method © Dan Negrut, 2011.

Slides:



Advertisements
Similar presentations
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems: Chapter 6 November 1, 2011 © Dan Negrut, 2011 ME451, UW-Madison TexPoint fonts.
Advertisements

Numerical Solution of Nonlinear Equations
Dynamics of a four-bar linkage
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
ME751 Advanced Computational Multibody Dynamics Inverse Dynamics Equilibrium Analysis Various Odd Ends March 18, 2010 © Dan Negrut, 2010 ME751, UW-Madison.
ME451 Kinematics and Dynamics of Machine Systems Relative Kinematic Constraints, Composite Joints – 3.3 October 4, 2011 © Dan Negrut, 2011 ME451, UW-Madison.
ME451 Kinematics and Dynamics of Machine Systems Cam-Follower Constraints – 3.3 Driving Constraints – 3.5 October 11, 2011 © Dan Negrut, 2011 ME451, UW-Madison.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems Tuesday, November 30, 2010 Numerical Solution of IVPs [not in the book] © Dan.
ME751 Advanced Computational Multibody Dynamics Implicit Integration Methods BDF Methods Handling Second Order EOMs April 06, 2010 © Dan Negrut, 2010 ME751,
ME451 Kinematics and Dynamics of Machine Systems Initial Conditions for Dynamic Analysis Constraint Reaction Forces October 23, 2013 Radu Serban University.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
ME451 Kinematics and Dynamics of Machine Systems
ME451 Kinematics and Dynamics of Machine Systems Newton-Raphson Method October 04, 2013 Radu Serban University of Wisconsin-Madison.
ME451 Kinematics and Dynamics of Machine Systems Review of Elements of Calculus – 2.5 Vel. and Acc. of a Point fixed in a Ref Frame – 2.6 Absolute vs.
ME751 Advanced Computational Multibody Dynamics Introduction January 21, 2010 Dan Negrut University of Wisconsin, Madison © Dan Negrut, 2010 ME751, UW-Madison.
ME451 Kinematics and Dynamics of Machine Systems Review of Matrix Algebra – 2.2 Review of Elements of Calculus – 2.5 Vel. and Acc. of a point fixed in.
ME451 Kinematics and Dynamics of Machine Systems Review of Matrix Algebra – 2.2 September 13, 2011 Dan Negrut University of Wisconsin-Madison © Dan Negrut,
ME 440 Intermediate Vibrations Tu, Feb. 17, 2009 Section 2.5 © Dan Negrut, 2009 ME440, UW-Madison.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems November 29, 2011 Elements of the Numerical Solution of the Dynamics Problem.
ME451 Kinematics and Dynamics of Machine Systems
Lec 3. System Modeling Transfer Function Model
ME451 Kinematics and Dynamics of Machine Systems Singular Configurations of Mechanisms 3.7 October 26, 2010 © Dan Negrut, 2010 ME451, UW-Madison TexPoint.
Force Analysis of Machinery
ME451 Kinematics and Dynamics of Machine Systems Numerical Solution of DAE IVP Newmark Method November 1, 2013 Radu Serban University of Wisconsin-Madison.
Newton's Method for Functions of Several Variables Joe Castle & Megan Grywalski.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems November 11, , 6.1.4, 6.2, starting 6.3 © Dan Negrut, 2010 ME451,
ME 440 Intermediate Vibrations Th, March 26, 2009 Chapter 5: Vibration of 2DOF Systems © Dan Negrut, 2009 ME440, UW-Madison.
ME751 Advanced Computational Multibody Dynamics Solution of the Dynamics Analysis Problem (using BDF implicit integration) April 08, 2010 © Dan Negrut,
ME451 Kinematics and Dynamics of Machine Systems
ME451 Kinematics and Dynamics of Machine Systems Review of Linear Algebra 2.1 through 2.4 Tu, Sept. 07 © Dan Negrut, 2009 ME451, UW-Madison TexPoint fonts.
ME751 Advanced Computational Multibody Dynamics Section 9.3 February 16, 2010 © Dan Negrut, 2010 ME751, UW-Madison “Courage is fear holding on a minute.
ME 440 Intermediate Vibrations Th, Feb. 10, 2009 Sections 2.6, 2.7 © Dan Negrut, 2009 ME440, UW-Madison.
ME751 Advanced Computational Multibody Dynamics Section 9.6 February 25, 2010 © Dan Negrut, 2010 ME751, UW-Madison “In China if you are one in a million.
ME451 Kinematics and Dynamics of Machine Systems
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems Tuesday, November 23, 2010 Reaction Forces 6.6 Numerical Solution of IVPs [not.
ME451 Kinematics and Dynamics of Machine Systems Vel. And Acc. of a Fixed Point in Moving Frame Basic Concepts in Planar Kinematics February.
ME451 Kinematics and Dynamics of Machine Systems Basic Concepts in Planar Kinematics 3.1, 3.2 September 18, 2013 Radu Serban University of Wisconsin-Madison.
ME451 Kinematics and Dynamics of Machine Systems Driving Constraints 3.5 October 19, 2010 © Dan Negrut, 2010 ME451, UW-Madison.
ME451 Kinematics and Dynamics of Machine Systems Introduction to Dynamics 6.1 October 09, 2013 Radu Serban University of Wisconsin-Madison.
ME451 Kinematics and Dynamics of Machine Systems Singular Configurations 3.7 October 07, 2013 Radu Serban University of Wisconsin-Madison.
ME451 Kinematics and Dynamics of Machine Systems Review of Differential Calculus 2.5, 2.6 September 11, 2013 Radu Serban University of Wisconsin-Madison.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems November 10, , starting 6.3 © Dan Negrut, 2011 ME451, UW-Madison TexPoint.
ECE 576 – Power System Dynamics and Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
1 Dynamics Differential equation relating input torques and forces to the positions (angles) and their derivatives. Like force = mass times acceleration.
ME451 Kinematics and Dynamics of Machine Systems
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems May 07, 2009 EOM in non-Cartesian Reference Frames ~ not in textbook~ Quote.
ME451 Kinematics and Dynamics of Machine Systems
ME451 Kinematics and Dynamics of Machine Systems
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems November 08, , 6.1.4, 6.2, starting 6.3 © Dan Negrut, 2011 ME451,
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems November 16, , starting 6.3 © Dan Negrut, 2010 ME451, UW-Madison TexPoint.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems December 6, 2011 Equilibrium Analysis & Inverse Dynamics Analysis ME451 Wrap.
ME451 Kinematics and Dynamics of Machine Systems Dealing with Differential Equations ~ A Numerical Approach ~ March 12, 2009 © Dan Negrut, 2009 ME451,
ME451 Kinematics and Dynamics of Machine Systems Relative Kinematic Constraints, Composite Joints – 3.3 October 6, 2011 © Dan Negrut, 2011 ME451, UW-Madison.
ME451 Kinematics and Dynamics of Machine Systems Newton-Raphson Method 4.5 Singular Configurations of Mechanisms 3.7 March 5, 2009 © Dan Negrut, 2009 ME451,
ME451 Kinematics and Dynamics of Machine Systems Numerical Integration October 28, 2013 Radu Serban University of Wisconsin-Madison.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems December 9, 2010 Solving Index 3 DAEs using Newmark Method © Dan Negrut, 2010.
ME451 Kinematics and Dynamics of Machine Systems Driving Constraints 3.5 Start Position, Velocity, and Acc. Analysis 3.6 February 26, 2009 © Dan Negrut,
ME451 Kinematics and Dynamics of Machine Systems Start Position, Velocity, and Acc. Analysis 3.6 October 21, 2010 © Dan Negrut, 2010 ME451, UW-Madison.
ME451 Kinematics and Dynamics of Machine Systems Composite Joints – 3.3 Gears and Cam Followers – 3.4 October 5, 2010 © Dan Negrut, 2010 ME451, UW-Madison.
ME451 Kinematics and Dynamics of Machine Systems Absolute Constraints 3.2 September 20, 2013 Radu Serban University of Wisconsin-Madison.
ME451 Kinematics and Dynamics of Machine Systems Newton-Raphson Method 4.5 October 28, 2010 © Dan Negrut, 2010 ME451, UW-Madison TexPoint fonts used in.
ME 440 Intermediate Vibrations Th, April 2, 2009 Chapter 5: Vibration of 2DOF Systems © Dan Negrut, 2009 ME440, UW-Madison Quote of the Day: It is a miracle.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems November 4, 2010 Chapter 6 © Dan Negrut, 2010 ME451, UW-Madison TexPoint fonts.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems December 9, 2010 Solving Index 3 DAEs using Newmark Method © Dan Negrut, 2010.
Time Integration in Chrono
Date of download: 11/5/2017 Copyright © ASME. All rights reserved.
ME751 Advanced Computational Multibody Dynamics
ME451 Kinematics and Dynamics of Machine Systems
© Sharif University of Technology - CEDRA By: Professor Ali Meghdari
CHAPTER 3-2. Planar Cartesian Kinematics
Presentation transcript:

ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems December 1, 2011 Solving Index 3 DAEs using Newmark Method © Dan Negrut, 2011 ME451, UW-Madison TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A AAAAA A A AA A A “They have computers, and they may have other weapons of mass destruction.” Janet Reno, while US Attorney General

Before we get started… Last Time: Discussed concept of Accuracy and Stability of a integration formula used to solve an IVP Stability region for implicit numerical methods much larger No free lunch: implicit numerical methods require solution of an algebraic problem, which might in turn require Newton-Raphson Covered some examples where we used implicit integration Started discussion on the numerical solution of DAEs of Multibody Dynamics using Newmark’s method Today Finish the discussion on Newmark’s method in conjunction with solving the Differential Algebraic Equations of multibody dyanamics Marks the end of the Dynamics Analysis of Mechanical Systems chapter Cover one example to show Newmark’s method at work Next time: last class Equilibrium Analysis and Inverse Dynamics 2

Regarding Today’s Exam… Review starts at 5 pm in room 1152ME Exam starts at 7:15 pm in room 1152ME Topics that you should be very familiar with How to formulate constraint equations ©(q,t)=0 How to formulate the equations of motion How to specify initial conditions How to compute applied generalized forces acting on a body How to compute the reaction force associated with a kinematic/driving constraint Draws on material covered since 10/27, except the Newmark’s method discussed on Tu and today Bring two sheets of paper with any notes you find useful. You can also bring the two sheets of notes you used for the first midterm exam Format of exam: five review questions followed by one problem that covers the dynamics of a 2D mechanism

Solution Strategy: Important Slide This slide explains the strategy through which the numerical solution; i.e., an approximation of the actual solution of the dynamics problem, is produced Step 1: two integration formulas (Newmark in our case) are used to express the positions and velocities as functions of accelerations These are also called “discretization formulas” Step 2: everywhere in the constrained equations of motion, the positions and velocities are replaced using the discretization formulas and expressed in terms of the acceleration This is the most important step, since through this “discretization” the differential problem is transformed into an algebraic problem The algebraic problem, which effectively amounts to solving a nonlinear system, is approached using Newton’s method (so again, we need to produce a Jacobian) Step 3: solve a nonlinear system to find the acceleration and the Lagrange multipliers 4

Stage 3: The Discretization of the Constrained Equations of Motion The Discretized Equations Solved at each Time-Step t n+1 : Above you see and, but remember that they are functions of the accelerations: Again, these are Newmark’s formulas that express the generalized position and velocity as functions of generalized accelerations 5

Solving the Nonlinear System  =0 ~ Newton Method ~ Based on Newmark Integration formulas, the Jacobian is calculated as: Corrections Computed as : Note: subscripts “n+1” dropped to keep presentation simple 6

Increment t n+1 = t n + h Define initial guess for accelerations q_dotdot and lambdas (take values from previous time step t n ) Update position and velocity at t n+1 using Newmark’s formulas and the most recent values for acceleration and lambdas. Get Jacobian of discretized equation. Use most recent q, q_dot, q_dotdot, and lambda at n+1 Use most recent values at n+1 to compute what each equation equals. Each equation will probably not equal zero. These values are called the residuals. Then, at each time step do this (iteratively solving for the state of the system at t n+1 using Newmark’s integration formulas) Compute the correction vector. residual Correct the most recent acceleration and lambda to get better approximations for accelerations and lambdas. Compute the largest value present in the correction factor matrix and compare to a specified limit. This is the convergence check (largest correction is easily computed as infinity norm in MATLAB) Is value greater than limit? Store acceleration and lambda at t n+1. Use these accelerations to compute the position and velocity at t n+1. Use lambda to compute the reaction forces. Save this info as you need it to plot results at end of simulation. No. Find initial conditions for general coordinate positions and velocities that satisfy position and velocity constraint equations Use Newton’s equations of motion along with the acceleration constraint equations to find general coordinate accelerations and lambdas at time = 0. Do this first. 7 Yes. Need to further refine the value of lambda and acceleration Newton-Raphson Approach

Example: Find the time evolution of the pendulum Stages of the procedure (three): Stage 1: Derive constrained equations of motion Stage 2: Indicate initial conditions (ICs) Stage 3: Apply numerical integration algorithm to discretize DAE problem and turn into algebraic problem 8 Simple Pendulum: Mass 20 kg Length L=2 m Force acting at tip of pendulum F = 30 sin(2  t) [N] Although not shown in the picture, assume RSDA element in revolute joint k = 45 [Nm/rad] &  0 =3  /2 c = 10 [Nms/rad] ICs: hanging down, starting from rest

Newton-Type Methods: [Geometric Interpretation] 9

Solving the Dynamics Problem using Quasi-Newton Method 10

Solving the Dynamics Problem using Quasi-Newton Method 11

Solving the Dynamics Problem using Quasi-Newton Method 12

Increment t n+1 = t n + h Define initial guess for accelerations q_dotdot and lambdas (take values from previous time step t n ) Update position and velocity at t n+1 using Newmark’s formulas and the most recent values for acceleration and lambdas. Approximate the Jacobian of discretized equations of motion with a suitable matrix J-tilde. Evaluate J-tilde only at the very first iteration, then recycle this matrix for subsequent iterations Use most recent values at n+1 to compute what each equation equals. Each equation will probably not equal zero. These values are called the residuals. Then, at each time step do this (iteratively solving for the state of the system at t n+1 using Newmark’s integration formulas) Compute the correction vector. Note that the matrix that multiplies the residual doesn’t change during the iterative process. residual Correct the most recent acceleration and lambda to get better approximations for accelerations and lambdas. Compute the largest value present in the correction factor matrix and compare to a specified limit. This is the convergence check (largest correction is easily computed as infinity norm in MATLAB) Is value greater than limit? Yes. Need to further refine the value of lambda and acceleration Store acceleration and lambda at t n+1. Use these accelerations to compute the position and velocity at t n+1. Use lambda to compute the reaction forces. Save this info as you need it to plot results at end of simulation. No. Find initial conditions for general coordinate positions and velocities that satisfy position and velocity constraint equations Use Newton’s equations of motion along with the acceleration constraint equations to find general coordinate accelerations and lambdas at time = 0. Do this first. 13 Quasi-Newton Approach

Example: Slider Crank Mechanism 14 Formulate the EOM Evaluate reaction force/torque induced by Abs-Y constraint acting at D