© Maplesoft, a division of Waterloo Maple Inc. 2009. MapleSim and the Advantages of Physical ModelingMapleSim and the Advantages of Physical Modeling.

Slides:



Advertisements
Similar presentations
1 1 Mechanical Design and Production Dept, Faculty of Engineering, Zagazig University, Egypt. Mechanical Design and Production Dept, Faculty of Engineering,
Advertisements

Paul Goossens, VP of Application Engineering
 (x) f(x,u) u x f(x,  (x) x. Example: Using feed-forward, what should be canceled?
The robot structure model design 2 Curse 5. Modeling: the robot AcTrMStTk V(t) T(t)  (t) q(t) x(t)
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
© 2010 Maplesoft, a division of Waterloo Maple Inc. Christina Spirou, Product Director Paul DeMarco, Technical Lead Andrew Smith, GUI Development Manager.
Constrained Near-Optimal Control Using a Numerical Kinetic Solver Alan L. Jennings & Ra úl Ordóñez, ajennings1,
Mechanics of Machines Dr. Mohammad Kilani
Determining Mechanical Loads for Wind Turbines
© 2009 Maplesoft, a division of Waterloo Maple Inc. Computer Algebra vs. Reality Erik Postma and Elena Shmoylova Maplesoft June 25, 2009.
Rational Trigonometry Applied to Robotics
Controls Lab Interface Improvement Project #06508Faculty Advisors: Dr. A. Mathew and Dr. D. Phillips Project Objectives This work focused on the improvement.
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
SIMULINK Dr. Samir Al-Amer. SIMULINK SIMULINK is a power simulation program that comes with MATLAB Used to simulate wide range of dynamical systems To.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 3 Programming and Software.
Simulink ® From Simulink® 7 Getting Started Guide.
Principle of Functional Verification Chapter 1~3 Presenter : Fu-Ching Yang.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Mathematical Modeling and Engineering Problem solving.
Introduction to virtual engineering László Horváth Budapest Tech John von Neumann Faculty of Informatics Institute of Intelligent Engineering.
VIRTUAL PROTOTYPING of ROBOTS DYNAMICS E. Tarabanov.
COMPUTER VIZUALIZATION OF MULTY-LINK MECHANISMS WITH TWO DEGREES OF FREEDOM Georgian Technical University PhD Student Marina Razmadze.
MapleSim and the Advantages of Physical Modeling
By Saparila Worokinasih
Teaching with MATLAB - Tips and Tricks
Chapter 19 Linear Programming McGraw-Hill/Irwin
Signals and Systems March 25, Summary thus far: software engineering Focused on abstraction and modularity in software engineering. Topics: procedures,
Sistem Kontrol I Kuliah II : Transformasi Laplace Imron Rosyadi, ST 1.
Chapter 5 Engineering Tools for Electrical and Computer Engineers.
© Maplesoft, a division of Waterloo Maple Inc Automotive ApplicationsAutomotive Applications Omer Yagel, VP Business Development, DigiSec
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Lecture 12 – Design Procedure.
High Performance Physical Modeling and Simulation
Modeling.
1  (x) f(x,u) u x f(x,  (x) x Example: Using feed-forward, what should be canceled?
Managing Organizations Informed decision making as a prerequisite for success Action Vision Mission Organizational Context Policies, Goals, and Objectives.
A PPLIED M ECHANICS Lecture 02 Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Research, Development, Consulting, Training High Fidelity Modeling and Simulation Where we are going… …future plans.
New techniques for physical modeling and simulation Tom Lee Ph.D., Vice President, Applications Engineering, Maplesoft Kent Chisamore, Account Manager,
Hardware in the Loop Simulation (HIL) Tom Lee VP Applications Engineering, Paul Goossens Director Applications Engineering.
Some Key Facts About Optimal Solutions (Section 14.1) 14.2–14.16
MathCore Engineering AB Experts in Modeling & Simulation WTC.
Computational Physics Introduction 3/30/11. Goals  Calculate solutions to physics problems  All physics problems can be formulated mathematically. 
© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company General Purpose Symbolic Computation Environment Equations are not simply.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Introduction to SimCreator and Multi-Body Dynamics  April 25, 2005.
Definition A mathematical sentence, that shows that two expressions, either numerical or algebraic, are equivalent. Like a balance. Characteristics Isolate.
What is Modeling?. Simplifying Complex Phenomena v We live in a complex world v Most of the scientific relationships we study are very complex v Understanding.
M.S. Thesis Defense Jason Anderson Electrical and Computer Engineering Dept. Clemson University.
ME451 Kinematics and Dynamics of Machine Systems Review of Linear Algebra 2.1, 2.2, 2.3 September 06, 2013 Radu Serban University of Wisconsin-Madison.
ME451 Kinematics and Dynamics of Machine Systems Introduction to Dynamics 6.1 October 09, 2013 Radu Serban University of Wisconsin-Madison.
© 2009 Maplesoft, a division of Waterloo Maple Inc. Chad Schmitke, Ph.D. Director of Maplesim Development, Maplesoft Physical Modelling.
THE LAPLACE TRANSFORM LEARNING GOALS Definition
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents CD Chapter 14 (Solution Concepts for Linear Programming) Some Key Facts.
1.6. DEFINITIONS  An equation is a statement that two expressions are equal.  Usually contains 1 or more variables  A variable is a symbol that represents.
Lecture 6: Time Response 1.Time response determination Review of differential equation approach Introduce transfer function approach 2.MATLAB commands.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
Solving Linear Systems by Substitution
IGEM 2008 Tutorial Modeling. What? Model A model in science is a physical, mathematical, or logical representation of a system of entities, phenomena,
BME 353 – BIOMEDICAL MEASUREMENTS AND INSTRUMENTATION MEASUREMENT PRINCIPLES.
CONFIDENTIAL © 2007 Maplesoft, a division of Waterloo Maple Inc. Confidential MapleSim Pilot Test Program.
UTA/ARRI. Enterprise Engineering for The Agile Enterprise Don Liles The University of Texas at Arlington.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
Modeling and Simulation Dr. Mohammad Kilani
WORKSHOP 3 GSE IMPORT.
LOGIKA & PEMROGRAMAN KOMPUTER MATLAB & Simulink
Conditional statements
Cell Simulation Pick and Place Routine.
Examples from personal experience
Software Testing.
Presentation transcript:

© Maplesoft, a division of Waterloo Maple Inc MapleSim and the Advantages of Physical ModelingMapleSim and the Advantages of Physical Modeling July 22 nd 2010

© Maplesoft, a division of Waterloo Maple Inc Why is physical modeling so difficult?Why is physical modeling so difficult? Multidomain/multiphysics Legacy of causal (signal-flow) modeling tools Differential-algebraic equations (DAEs) Fundamental principles in physics and mathematics

© Maplesoft, a division of Waterloo Maple Inc The Story of the Analog ComputerThe Story of the Analog Computer An analog computer “program” An analog computer “program” Simulink is essentially an analog computer running on a PC … A “virtual” analog computer Simulink is essentially an analog computer running on a PC … A “virtual” analog computer

© Maplesoft, a division of Waterloo Maple Inc Causal modeling: Challenges... 1.Complexity of equations does not scale linearly with the size of the system As complexity/size increases, so does the chance of errors Prevents high fidelity modeling of larger systems, particularly when applied to plant models # of Links# of Additions# of Multiplications# of Acausal Blocks , ,72619,22421 * Cost of dynamic equations, joint coordinate formulation, basic symbolic simplify() Example: 3D pendulum with increasing number of links:

© Maplesoft, a division of Waterloo Maple Inc Causal modeling: Challenges... 2.Generated model looks nothing like the formulated equations or model diagram Assumptions made during equation formulation lost Hard to track errors Hard to visually understand the purpose of the system ~ RL V ? ?

© Maplesoft, a division of Waterloo Maple Inc Causal modeling: Challenges... 3.Since these models have predefined inputs/outputs, it is difficult to (properly) connect two causal models This becomes more important as the scope of models increases (i.e. connect powertrain model to chassis/tire model) In some cases this can require an equation re-formulation (to be done properly) ? Engine/ Powertrain AngleInputs Chassis/Tire Torque Outputs

© Maplesoft, a division of Waterloo Maple Inc Physical Modeling – Faster and Intuitive Model maps directly to physical components of system Automatically generates equations of motion M1 d1 k1 x1(t) F(t) M2 d2 k2 x2(t) F(t) Double mass spring-damper system

© Maplesoft, a division of Waterloo Maple Inc Maplesoft engineering solutionMaplesoft engineering solution Control Design Toolbox Maple 14 Maple Toolboxes Connectivity Toolboxes Simulink RTW Toolchain LabVIEW RT Toolchain CAD Toolchain MapleSim 4

© Maplesoft, a division of Waterloo Maple Inc Symbolic computation for plant modelingSymbolic computation for plant modeling Coordinate Selection Equation Generation Symbolic Simplification Code Optimization Simulation Procedure Generation Simulation Procedure Generation Model Definition Simulation MapleSim Symbolic Formulation Standard Numeric Formulation Model Definition Simulation Procedure Generation with Limited Optimization Simulation Simulation Procedure Generation with Limited Optimization Numerical black box

© Maplesoft, a division of Waterloo Maple Inc Standard Numeric Formulation Model Definition Simulation Generated procedure is a set of routines that multiply/add numerical matrices to reformulate the equations at each time step -6 multiplications, 4 additions per step Certain optimizations can be built into these routines but these are limited, and must be defined ahead of time Simulation Procedure Generation with Limited Optimization Numerical black box

© Maplesoft, a division of Waterloo Maple Inc Coordinate Selection Equation Generation Symbolic Simplification Code Optimization Simulation Procedure Generation Simulation Procedure Generation Model Definition Simulation MapleSim Symbolic Formulation Standard Numeric Formulation Model Definition Simulation Procedure Generation with Limited Optimization Simulation Coordinate Selection Equation Generation Symbolic Simplification Code Optimization MapleSim applies 4 levels of model optimization Simulation Procedure Generation with Limited Optimization Numerical black box Symbolic computation for plant modelingSymbolic computation for plant modeling

© Maplesoft, a division of Waterloo Maple Inc MapleSim Symbolic Formulation A model’s chosen state variables directly impact the number and complexity of the resulting equations Coordinate Selection Equation Generation Symbolic Simplification Code Optimization Simulation Procedure Generation Simulation Procedure Generation Model Definition Simulation Absolute coordinates (e.g. ADAMS): 78 coords (12 per leg, 6 for the platform), 78 dynamic equations, +72 constraint equations = 150 equations Hybrid coordinates (MapleSim): 24 coords( 3 per leg, 6 for the platform) 24 dynamic equations + 18 constraints = 42 equations Example: Stewart Platform

© Maplesoft, a division of Waterloo Maple Inc MapleSim Symbolic Formulation Generated equations are true for all time, using the previous example: -2 multiplications, 1 addition per step (versus original 6 and 4, respectively) Equations can be viewed, analyzed and manipulated in the Maple environment Coordinate Selection Equation Generation Symbolic Simplification Code Optimization Simulation Procedure Generation Simulation Procedure Generation Model Definition Simulation

© Maplesoft, a division of Waterloo Maple Inc MapleSim Symbolic Formulation Multiplications by 1’s, 0’s automatically removed (previous slide) Simple equations directly solved, reducing the number of variables to integrate Trigonometric simplifications: Coordinate Selection Symbolic Simplification Code Optimization Simulation Procedure Generation Simulation Procedure Generation Model Definition Simulation Equation Generation

© Maplesoft, a division of Waterloo Maple Inc MapleSim Symbolic Formulation Expressions that are repeated within the equations are identified and isolated so they are only computed once Coordinate Selection Symbolic Simplification Code Optimization Simulation Procedure Generation Simulation Procedure Generation Model Definition Simulation Equation Generation

© Maplesoft, a division of Waterloo Maple Inc MapleSim Symbolic Formulation Using MapleSim’s Addons, optimized procedures can be exported to a variety of targets: LabVIEW RT Toolchain Simulink RTW Toolchain Alternatively, these procedures can be generated in Standalone C-code (no Connectivity Toolboxes required) Coordinate Selection Symbolic Simplification Code Optimization Simulation Procedure Generation Simulation Procedure Generation Model Definition Simulation Equation Generation

© Maplesoft, a division of Waterloo Maple Inc Simulation cycle time = 10ms SimMechanics  s) MapleSim  S-function  Simulink  s) Speed advantage Double Pendulum x Four Bar Linkage x Stewart Platform x Faster real time simulationFaster real time simulation Symbolic multibody model formulation Model simplification and optimized code generation More systems become feasible for RT sim

© Maplesoft, a division of Waterloo Maple Inc Case studies and demonstrationsCase studies and demonstrations