Physical Modeling of Multi-Domain System

Similar documents
Introduction to Physical Modelling Rory Adams Senior Application Engineer

MathWorks Technology Session at GE Physical System Modeling with Simulink / Simscape

System modeling using Simulink and Simscape

Vom Konzept zum Modell physikalischer Systeme Smarter Modellieren mit Simscape

Physical Modelling with Simscape

Modeling and Simulation of Electromechanical Systems

Integrating Mechanical Design and Multidomain Simulation with Simscape

Integrating Mechanical Design and Multidomain Simulation with Simscape

Master Class: Diseño de Sistemas Mecatrónicos

Virtuelle Inbetriebnahme und Optimierung von Robotersystemen mit Simscape The MathWorks, Inc. 1

Matlab Simulink Simscape

Entwicklung mechatronischer Systeme in der Luft- und Raumfahrt

SimMechanics Getting Started Guide. R2013b

Model Library Mechanics

Plant modeling: A First Step to Early Verification of Control Systems

Quick Start Training Guide

Modeling Mechanical, Electric, and Hydraulic Systems in Simulink

Developing Algorithms for Robotics and Autonomous Systems

Development and Deployment of ECU based Control Systems through MBD. Imperative role of Model based design in System Engineering

How Simscape Supports Innovation for Cyber-Physical Systems

Model-based Design/Simulation

Model-based Design/Simulation

Using RecurDyn. Contents

What Is SimMechanics?

Introduction to Control Systems Design

MODELING AND DYNAMIC ANALYSIS OF 6-DOF PARALLEL MANIPULATOR

Simulink as Your Enterprise Simulation Platform

What s New in MATLAB and Simulink

SOLIDWORKS FOR MULTI-MATERIAL BUILDS BEST PRACTICES

Real-Time Simulation of Simscape Models

What's new in MATLAB and Simulink for Model-Based Design

Designing a Pick and Place Robotics Application Using MATLAB and Simulink

What s New in MATLAB and Simulink Young Joon Lee Principal Application Engineer

Mathematical Modelling Using SimScape (Mechanical Systems)

Developing a Robot Model using System-Level Design

LMS Virtual.Lab The Unified Environment for Functional Performance Engineering

Simscape User s Guide. R2014a

Non Linear Control of Four Wheel Omnidirectional Mobile Robot: Modeling, Simulation and Real-Time Implementation

What s New In Simulink: Fraser Macmillen

There is no need to submit any report and you just need to finish the three tutorials as well as the example.

MapleSim User's Guide

What s New in MATLAB and Simulink Prashant Rao Technical Manager MathWorks India

USE OF ADAMS IN DYNAMIC SIMULATION OF LANDING GEAR RETRACTION AND EXTENSION

Rapid Control Prototyping with MATLAB/Simulink Case Study: Ball-on-Wheel

SimWise 4D. Integrated Motion and Stress Analysis

Lesson 1: Introduction to Pro/MECHANICA Motion

M-Target for Simulink. For perfect simulation and model based design.

Design and Verification of Motion Control Algorithms Using Simulation

A MECHATRONIC APPROACH OF THE WINDSHIELD WIPER MECHANISMS

Dynamic Simulation of a KUKA KR5 Industrial Robot using MATLAB SimMechanics

Mechanism Kinematics and Dynamics

다중센서기반자율시스템의모델설계및개발 이제훈차장 The MathWorks, Inc. 2

System Requirements & Platform Availability by Product for R2016b

Collaboration in Teams: Simulink Projects Demonstration

Week 12 - Lecture Mechanical Event Simulation. ME Introduction to CAD/CAE Tools

Vehicle Dynamics & Safety: Multibody System. Simulation tools based on MultiBody approach are widespread in vehicle design and testing

WEC-Sim Training Course

Dynamic Analysis of Manipulator Arm for 6-legged Robot

Mathieu Dutré - Application Specialist MBSE. Analysis and optimization of physical models for HIL simulation

Mechanical System and SimMechanics Simulation

ConfigurationDesk/RTI. Compatibility with Toolboxes and Blocksets Provided by MathWorks

ConfigurationDesk/RTI. Compatibility with Toolboxes and Blocksets Provided by MathWorks

SolidWorks Assembly Files. Assemblies Mobility. The Mating Game Mating features. Mechanical Mates Relative rotation about axes

Recent developments in simulation, optimization and control of flexible multibody systems

Plant Modeling for Powertrain Control Design

Pick and Place Robot Simulation

Paul Goossens Product Director

2015 The MathWorks, Inc. 1

Functional Testing of Solid Edge Designs

Speeding up Simulink. Murali Yeddanapudi The MathWorks, Inc. 1

COSMOS. Vehicle Suspension Analysis ---- SolidWorks Corporation. Introduction 1. Role of vehicle suspension 2. Motion analysis 2

Simulation-Based Design of Robotic Systems

Methodology to Determine Counterweights for Passive Balancing of a 3-R Orientation Sensing Mechanism using Hanging Method

2015 The MathWorks, Inc. 1

Example: Modeling a Cruise Control System in Simulink

SIMULINK Tutorial. Select File-New-Model from the menu bar of this window. The following window should now appear.

Animation. Computer Graphics COMP 770 (236) Spring Instructor: Brandon Lloyd 4/23/07 1

ConfigurationDesk/RTI. Compatibility with Toolboxes and Blocksets Provided by MathWorks

SimWise. 3D Dynamic Motion, and Stress Analysis. integrated with Alibre Design

Welcome to MSC.visualNastran 4D. 1.0 Installing MSC.visualNastran 4D

Bet & MathWorks By Bet Herrera Sucarrat Application Engineer MathWorks

VIRTUAL PROTOTYPING SIMULATION FOR THE DESIGN OF TWO-WHEELED VEHICLES

What s New in Simulink in R2015b and R2016a

Multi-Domain Modeling and Simulation of an Electro-Hydraulic Implement System

What s New in MATLAB May 16, 2017

ConfigurationDesk/RTI. Compatibility with Toolboxes and Blocksets Provided by MathWorks

2. Motion Analysis - Sim-Mechanics

SIMPACK Code Export. Customer Application Examples. The Basis for Mechatronic Simulation

Attach to this tutorial, there are some drawings to create the CAD models with Solid Works.

Mechatronic Design Approach D R. T A R E K A. T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y, J O R D A N

ConfigurationDesk/RTI. Compatibility with Toolboxes and Blocksets Provided by MathWorks

From Design to Production

Team-Based Collaboration in Simulink

Model for Sucker-Rod Pumping Unit Operating Modes Analysis Based on SimMechanics Library

Model Based Systems Engineering Engine Control: from concept to validation. Jan Smolders Technical Account Manager

Virtual Testing Methodology for TPL Lifting Capacity of Agricultural Tractor TPL

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

Automated Modelica Package Generation of Parameterized Multibody Systems in CATIA

MathWorks Products and Prices International September 2016

Interfacing OpenSim models with MATLAB /Simulink. OpenSim Workshop

Transcription:

1

Physical Modeling of Multi-Domain System 김종헌차장 Senior Application Engineer MathWorks Korea 2016 The MathWorks, Inc. 2

Agenda What is Physical Modeling? Why use Simscape? Landing Gear Modeling Landing Gear Mechanism Modeling Refine requirement and optimize mechanical design Analyze hydraulic actuator designs Test system in various situations 3

4

physical modeling = Simulation models based on physical connections 5

6

7

too difficult 8

9

one chance 10

Courtesy NASA/JPL-Caltech 11

too big too difficult one chance ABB Optimizes Ship Energy Flows DCNS Simulates Handling System Lockheed Martin Develops MRO Courtesy NASA/JPL-Caltech 12

13

Makes modeling easy 14

handles equations automatically F Spring = k Spring *(z Car ) F Shock = b Shock *( dz Car ) dt d 2 z Car dt 2 = F Spring F Shock m Car 15

handles equations automatically F Spring = k Spring *(z Car z Whl ) F Shock = b Shock *( dz Car dt d 2 z Car dt 2 dz Whl ) dt = F Spring F Shock m Car F Tire = k Tire *(z Whl ) + b Tire *( dz Car ) dt d 2 z Whl dt 2 = F Spring + F Shock F Tire m Car 16

Simscape Summary Enables physical modeling (acausal) of multi-domain physical systems Simscape platform Foundation libraries in 8 domains 17

Simscape Summary Enables physical modeling (acausal) of multi-domain physical systems Simscape platform Foundation libraries in 8 domains Language for defining custom blocks Extension of MATLAB Simulation engine and custom diagnostics 18

Simscape Summary Enables physical modeling (acausal) of multi-domain physical systems Simscape platform Foundation libraries in 8 domains Language for defining custom blocks Extension of MATLAB Simulation engine and custom diagnostics 19

Create Reusable System-Level Models Multidomain Fortran, C++ Simscape Domain Expertise Coding Effort Mechanical System Specification Hydraulic MATLAB, Simulink Domain Expertise Coding Effort System Model Electronic Power Systems Simscape Domain Exp. Coding Eff. Models are easier to understand, reuse, and share with others 20

Optimize Your Entire Engineering System Multidomain Simscape Multibody Domain Exp. Domain Exp. Coding Eff. Coding Eff. Plant Model Mechanical Driveline Domain Exp. Coding Eff. Hydraulic Fluids Domain Exp. Coding Eff. Electronic Electronics Domain Exp. Coding Eff. Power Systems Power Systems Domain Exp. Coding Eff. Simulate the entire system in a single environment Does not require learning multiple tools or co-simulation 21

Simscape Summary Enables physical modeling (acausal) of multi-domain physical systems Simscape platform Foundation libraries in 8 domains Language for defining custom blocks Extension of MATLAB Simulation engine and custom diagnostics Simscape libraries Extend foundation domains with components, effects, parameterizations Models can be converted to C code 22

To develop controller Simscape 23

Agenda What is Physical Modeling? Why use Simscape? Landing Gear Modeling Landing Gear Mechanism Modeling Refine requirement and optimize mechanical design Analyze hydraulic actuator designs Test system in various situations 24

Landing Gear System Physical Model Main Actuator Lock Actuator Controller 25

Landing Gear Mechanism Modeling So, where do we really start? If possible, break down a big problem into smaller (i.e. more manageable) problems *** Use a divide and conquer approach *** 26

Landing Gear Mechanism Modeling So, where do we really start? Y q X r CM mg Understand the underlying mathematics/physics of the problem 27

Landing Gear Mechanism Modeling We need to extend the approach Y q 1 r 1 X 5 3 4 r 2 1 q 2 2 28

Simscape Products 29

Landing Gear Mechanism Modeling Simscape Multibody to model the dynamics of 3D mechanisms GROUND Rotational Joint BODY1 Can manually create and combine any number of bodies and joints Rotational Joint BODY2 30

Landing Gear Mechanism Modeling Landing Gear CAD Import using Simscape Multibody Link Automatically create SimMechanics models from a CAD assembly Converts mass and inertia to rigid bodies Converts mate definitions to joints Creates STL files for use with SimMechanics visualization Directly connects SolidWorks, ProEngineer and Inventor CAD Simscape Multibody Link Export 31

Landing Gear Mechanism Modeling Applying Actuation Force/Torque 32

Optimizing System in Mechanics Optimizing Lock Linkage Design Model: Feasible Test Point 1 Test Point 2... Test Point N Problem: Evaluate lock linkage connection points to find optimal location that meets requirements Solution: Parameterize Simscape Multibody model and automate tests using MATLAB Control Physical New Parameter Values Iterate faster Landing Gear Model Change Connection Point Simulate 33

Optimizing System in Mechanics Refine Lock Actuator Requirements Model: Small Medium? Large Problem: Determine size requirements for hydraulic actuator Solution: Use Simscape Multibody to determine hydraulic force and power required for prescribed motion 34

Reviewing Simulation Results Logging Simscape Variables All variables automatically logged to MATLAB Workspace Structure based on model hierarchy Values, time, units Only use sensors when signals are necessary Scopes Feedback signals Spend more time analyzing, less time simulating >> simlog.pipe_1.chamber.a.p.plot; 35

Reviewing Simulation Results Simscape Data Logging Log Simscape results to MATLAB workspace Log all or only selected blocks Variables, zero-crossing statistics Review results in Simscape Results Explorer Explore results in tree view Navigate between model and results Fewer blocks in model, efficient analysis >> sscexplore(simlog) 36

Simscape Logging Use local settings option added to selectively log simulation results Select results to log per block via right-click 37

Simscape Logging in Simulink Data Inspector Simscape results can be imported directly into Simulink Data Inspector Import simlog Can navigate from SDI to model 38

Zero-Crossing Statistics Log zero-crossing statistics for Simscape networks Shows when ZCs occur Can help indicate location of simulation bottlenecks 39

Sparkline Plots for Logged Data Quickly scan simulation results directly on model canvas 1. Click to show plots 2. Cursor shows values 3. Select variables 4. Direct link to plot variable in Simscape Results Explorer 40

Landing Gear System Hydraulic Actuator Model Hydraulic Actuator Controller 41

Modeling Hydraulic Actuation System Model: Problem: Model a hydraulic actuation system within the Simulink environment Solution: Use Simscape Fluids to model the hydraulic system 42

43

Modeling Hydraulic Actuation System Custom Four-Way Valve Model: Custom Valve A B P T Problem: Model a custom four-way directional valve within the Simulink environment Solution: Use Simscape Fluids to model the four-way directional valve 44

Hydraulic Actuator Modeling Spool Axial Hydraulic Forces Model: P B T Problem: Include the hydraulic axial forces on the spool to add more fidelity Solution: Use SimHydraulics to include the hydraulic forces on the spool 45

Refine Main Actuator Requirements Model: Small Medium? Large Main Lock Problem: Determine main actuator and pump size requirements Solution: Use Simscape Fluids to model lock actuator and Simscape Multibody to determine main hydraulic force and power required for prescribed motion Main actuator (Prescribed Motion) Lock actuator (Hydraulic) 46

Agenda What is Physical Modeling? Why use Simscape? Landing Gear Modeling Landing Gear Mechanism Modeling Refine requirement and optimize mechanical design Analyze hydraulic actuator designs Test system in various situations 47

Before system-level test with physical model, You need to integrate controller with physical model 1) Merging controller with physical model or 48

Before system-level test with physical model, You need to integrate controller with physical model 1) Merge controller with physical model or 2) Add to a point where sample time changes 3) Use to convert Simulink signal to Simscape signal 4) Don t forget to set unit of a converted signal 49

Design and Test Hydraulic Main and Lock Actuator System Model: Ref Control Requirements Problem: Design hydraulic main/ lock actuator and test it against requirements Solution: Use Simscape Fluids to model the hydraulic actuators and integrate with Simscape Multibody model of landing gear 50

Managing Design Variants Situation: Physical Systems Controller Alternatives Problem: Test different alternatives for physical systems and controllers in a single model Solution: Use Variants to model different configuration and manage it using Variants Manager 51

Managing Design Variants 1. Define variant configuration data 2. Create configurations 2 1 5 4 3. Set control variables 4. Visualize, explore and set variant properties 5. Select the configuration 3 6. View diagnostics for selected configuration 6 52

Fast Restart Model: Bank Angle Bank Angle Problem: Minimize the simulation time on iterative tests to determine controller robustness to changes to airplane bank angle. Solution: Fast Restart & Run-Time Parameters 53

Fast Restart Run consecutive simulations more quickly Efficiently run multiple interactive simulations Saves simulation time eliminating recompilation between simulation runs Improves calibration workflows where the user is tuning block parameters between runs Programmatically run consecutive simulations more quickly Enable fast restart from command line using set_param Simulate a model in fast restart using sim and cvsim commands 54

55

Simscape Run-Time Parameters Change parameter values without recompiling the model Uses: Fast Restart in Simulink Model Reference HIL (SLRT or ERT target) Scope Nearly all Foundation Library parameters All Variable initial conditions Very few Simscape Add-on Product blocks No Simscape Multibody blocks 56

Too big, too difficult, one chance, Makes modeling easy Develop controller Find best design 57