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

Similar documents
Introduction to Physical Modelling Rory Adams Senior Application Engineer

Vom Konzept zum Modell physikalischer Systeme Smarter Modellieren mit Simscape

Physical Modelling with Simscape

System modeling using Simulink and Simscape

Physical Modeling of Multi-Domain System

Master Class: Diseño de Sistemas Mecatrónicos

Modeling and Simulation of Electromechanical Systems

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

Integrating Mechanical Design and Multidomain Simulation with Simscape

Integrating Mechanical Design and Multidomain Simulation with Simscape

SimMechanics Getting Started Guide. R2013b

MathWorks Products and Prices Euro Academic March 2014

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

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

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

Modeling Power Electronics Components Using SimElectronics and SimPowerSystems Vivek Raju Application Engineer

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

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

Modeling Mechanical, Electric, and Hydraulic Systems in Simulink

2015 The MathWorks, Inc. 1

The MathWorks Products and Prices Euro Academic March 2010

Introduction to Control Systems Design

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

Matlab Simulink Simscape

System Requirements & Platform Availability by Product for R2016b

Simscape User s Guide. R2014a

What s New with the MATLAB and Simulink Product Families. Marta Wilczkowiak & Coorous Mohtadi Application Engineering Group

How Simscape Supports Innovation for Cyber-Physical Systems

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

MathWorks Products and Prices Euro Academic September 2016

Designing and Analysing Power Electronics Systems Using Simscape and SimPowerSystems

Model Library Mechanics

Model-based Design/Simulation

What Is SimMechanics?

Entwicklung mechatronischer Systeme in der Luft- und Raumfahrt

MapleSim User's Guide

Model-based Design/Simulation

Developing Algorithms for Robotics and Autonomous Systems

Simulink Based Robot Arm Control Workstation. Figure 1-1 High Level Block Diagram

Sensor Accuracy in Vehicle Safety

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

MathWorks Products and Prices Euro Academic January 2018

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

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

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

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

Quick Start Training Guide

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

Mathematical Modelling Using SimScape (Mechanical Systems)

MathWorks Products and Prices North America January 2018

MathWorks Products and Prices International September 2016

Designing a Pick and Place Robotics Application Using MATLAB and Simulink

What s New in MATLAB and Simulink

What s New in Simulink in R2015b and R2016a

Using RecurDyn. Contents

MATLAB MATLAB mat lab funtool

Developing Optimization Algorithms for Real-World Applications

Real-Time Simulation of Simscape Models

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

ANSYS AIM 16.0 Overview. AIM Program Management

Volvo Car Group Jonn Lantz Agile by Models

Importing Models from Physical Modeling. Tools Using the FMI Standard

Exercise 5-1. Electrical Circuit and Panel EXERCISE OBJECTIVE DISCUSSION OUTLINE DISCUSSION. Detailed electrical schematic

Design and Verification of Motion Control Algorithms Using Simulation

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

CUSTOMIZED TEACHER ASSESSMENT BLUEPRINT. Test Code: 5936 Version: 01

Development of a Novel MultiBody Mechatronic Model for Five-Axis CNC Machine Tool

Exercise 5-1. Electrical Circuit and Panel EXERCISE OBJECTIVE DISCUSSION OUTLINE DISCUSSION. Detailed electrical schematic

Engine Control Workstation Using Simulink / DSP Platform (COOLECW) SENIOR PROJECT PROPOSAL

SimWise 4D. Integrated Motion and Stress Analysis

SAMCEF for ROTORS. Chapter 3.2: Rotor modeling. This document is the property of SAMTECH S.A. MEF A, Page 1

How Real-Time Testing Improves the Design of a PMSM Controller

Dynamics and Vibrations (3C, 3H) Equilibrium of rigid bodies and Newton s second low, rotational motion, kinematics of rigid bodies, kinetics

What is Mechatronics

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

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

N. Gachadoit 1, A. El Hadri 2, A. Benallegue 2, A. Seba 3, B.Vidalie 1

Automatic Code Generation Technology Adoption Lessons Learned from Commercial Vehicle Case Studies

Developing a Robot Model using System-Level Design

Integration of CAE Tools for Complete System Prototyping EASY5 User Conference May, 2000 Presented by: Joel Tollefson

Industrial Training Zone (ITZ) eseries Courses

Simulink as Your Enterprise Simulation Platform

Leveraging Integrated Concurrent Engineering for vehicle dynamics simulation. Manuel CHENE MSC.Software France

JMAG-Designer Next Generation Electromagnetic Simulation Pre/Post System

The Virtual Prototyping of Robots Dynamics

Overview DT Measure Foundry is a drag-anddrop test and measurement application builder designed to give you top performance

Control System Design and Rapid Prototyping Using Simulink Chirag Patel Sr. Application Engineer Modeling and Simulink MathWorks India

DESIGN, SIMULATION AND CONTROL OF ISOGLIDE T3R1 PARALLEL ROBOT

Workshop Matlab/Simulink in Drives and Power electronics Lecture 3

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

Modeling and Optimization of Real Systems

Real-Time Simulation ON FPGA.

What s New in MATLAB and Simulink

Introduction to Simulink

Power System Real-Time Simulator. The Most Powerful and Intuitive Power System Simulator for Utilities, R&D Centers and Manufacturers

Υπολογιστικά πειράματα με το MATLAB Σύνδεση με Arduino & Raspberry Pi Ζαχαρίας Γκέτσης Μηχανικός Εφαρμογών

Weapon System Fault Detection, Isolation, and Analysis using Stateflow

LMS Virtual.Lab The Unified Environment for Functional Performance Engineering

Version 4.1 Demo. RecurDynTM 2002 RecurDyn User Conference

Acquiring Data from Sensors and Instruments Using MATLAB

Transcription:

SimPowerSystems SimMechanics SimHydraulics SimDriveline SimElectronics MathWorks Technology Session at GE Physical System Modeling with Simulink / Simscape Simscape MATLAB, Simulink September 13, 2012 Wit Nursilo Application Engineer Tom Priestley Account Manager 2012 The MathWorks, Inc. 1

Release R2012b Now Available Redesigned User Interfaces MATLAB: Context-sensitive toolstrip Simulink: Integrated model editor and debugger 2

Simulink Extensions Simulink Stateflow Logic and State Machine modeling SimEvents Discrete Event modeling Simscape Physical System modeling 3

Simulink Blocksets Simulink Aerospace Blockset Gauges Blockset Other DSP System Tbx Data Acquisition Tbx Simulink Ctrl Design SimEvents Simscape SimMechanics SimDriveline SimHydraulics SimRF SimElectronics SimPowerSystems 4

How Does Simscape Work? Simulink: X Y X-Y Iterative Solution Simscape: I P V P V S I S Simultaneous Solution V P V S = N P N S 5

Tools for Further Investigation Training Physical Modeling of Multidomain Systems with Simscape (1 day) Physical Modeling of Multidomain Systems with SimMechanics (1 day) Q4 public classes in France, Germany, Spain, Japan, US. www.mathworks.com/services/training/index.html Tutorials Physical modeling examples: http://www.mathworks.com/matlabcentral/fileexchange/17238- physical-modeling-tutorial-exercises More at www.matlabcentral.com Books www.mathworks.com/support/books/index.html ISBN: 978-1-934404-25-6 6

Key Takeaways Optimize system performance Develop in a single environment Multi-domain Physical System Eases process of modeling physical systems 7

Agenda Motivation Physical Modeling Platform for Multi-domain System Simscape Introduction Simscape Language Introduction Multi-domain Application Example Physical Modeling Tools SimMechanics, SimDriveline, SimElectronics, SimHydraulics, SimPowerSystems Q&A 8

Optimize System-Level Performance u + s1 s3 s2 Actuators System Sensors y Controller Plant Simulating plant and controller in one environment Optimize system-level performance. 9

Modeling Physical Systems in the Simulink Environment Modeling Approaches First Principles Modeling Data-Driven Modeling Code (MATLAB) Block Diagram (Simulink) Modeling Language (Simscape language) Symbolic Methods (Symbolic Math Toolbox) Physical Networks (Simscape and other Physical Modeling products) Neural Networks (Neural Network Toolbox) Parameter Optimization (Simulink Design Optimization) System Identification (System Identification Toolbox) Statistical Methods (Model Based Calibration Toolbox) 10

Electrical Systems in Equations R DC Motor L θ v T K i R e K i t m m wind L d D J dt wind di m dt K t,k e i J,b Simulink Model 11

Electrical Systems in Simscape R DC Motor L θ v T K i R e K i t m m wind L d D J dt wind di m dt K t,k e i J,b Simscape model advantages Easier to read than equations Quicker to create More intuitive easier to explain to other engineers 12

How Does Simscape Work? - Network Approach Through Variable i Across Variable v i 1 i 2 i 3 Power = Through x Across Kirchhoff s Law: i 1 = i 2 +i 3 13

SimPowerSystems SimMechanics SimHydraulics SimDriveline SimElectronics Introduction to Simscape Enables physical modeling (acausal) of multidomain physical systems Eases process of modeling physical systems Build models that reflect structure of physical system Leverage MATLAB to create reusable models Simscape MATLAB, Simulink V+ V- 14

Simscape Key Features Foundation physical modeling blocks Mechanical, electrical, hydraulic, Simscape language for textbased authoring of components Units for signals and parameters (automatic conversion) Physical network solver designed for physical systems Simscape Editing Mode allow use of add-on products without purchasing add-on product license Convert to C code for deployment P A T B 15

Simscape Example 16

Simscape Language For Modeling Custom Components MATLAB-based language, for text-based authoring of physical modeling domains, components, and libraries Leverages MATLAB Object-oriented for model reuse Generate Simulink blocks Save as binary to protect IP 17

Simscape Language: Leverage MATLAB Syntax closely follows MATLAB language Use MATLAB functions and expressions for typical physical modeling tasks like: Analyze parameters Perform preliminary computations Initialize system variables 18

Simscape Language: Extend or Create Libraries Define the physical network ports for your Simscape block Reuse existing physical domains to extend libraries Define new physical domains 19

Simscape Language: Define User Interface Parameters, default values, units, and dialog box text all defined in the Simscape file (extension.ssc) 20

Simscape Language: Define Reusable Components Equations defined in a text-based language Symmetrical mathematical relationship (not inputs and outputs) 21

SimPowerSystems SimMechanics SimHydraulics SimDriveline SimElectronics Simscape Summary Physical modeling (acausal) of Multi-domain physical systems Model system not equations Custom components/domain using Simscape language Simulate plant and controller in one environment Optimize entire system Simscape MATLAB, Simulink V+ V- 22

SimMechanics SimDriveline SimElectronics SimPowerSystems SimHydraulics SimPowerSystems SimMechanics SimHydraulics SimDriveline SimElectronics Physical Systems in Simulink Simscape Mechanical Hydraulic Electrical Simscape MATLAB, Simulink Thermal Pneumatic Magnetic N S Electrical power systems Custom Domains via Simscape Language Multidomain physical systems Fluid power and control Multibody mechanics (3-D) Mechanical systems (1-D) Electromechanical and electronic systems 23

Wind Turbine Basics Pitch Operating Point Wind Blades Lift, Drag Rotor Speed Hub Nacelle Geartrain Generator Generator Speed Primary Goal Spin at or near operating speed Yaw Tower Grid 24

Wind Turbine Model Public domain model and supporting MATLAB scripts available at: http://www.mathworks.com/matlabcentral/fileexchange/ 25752-wind-turbine-model Simulation requires licenses for these tools: MATLAB Simulink Simscape Stateflow Please request a trial license if needed to experiment with the model. 25

SimPowerSystems SimMechanics SimHydraulics SimDriveline SimElectronics Introduction to SimMechanics Enables multibody simulation of 3D mechanical systems Construct model using bodies, joints, and forces Model matches structure of system No need to derive and program equations Simscape MATLAB, Simulink Primary uses System-level analysis Control development in Simulink 26

SimMechanics Key Features Rigid body definition using standard geometry and custom extrusions defined in MATLAB Mass and inertia tensor calculation Easily reuse models in other designs 3D animation of simulation results Connect to control algorithms and other physical domains 27

Modeling 3D Mechanical Systems Build a model whose structure represents the system: Parts (mass, inertia) Coordinate systems Joints and constraints Parameterize model using MATLAB variables Save subsystems for reuse in other models Connect directly to Simscape and Simulink 28

Import CAD Data Using SimMechanics 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 Public API for other CAD tools Free download from www.mathworks.com Requires MATLAB 29

SimPowerSystems SimMechanics SimHydraulics SimDriveline SimElectronics Introduction to SimDriveline Enables physical modeling (acausal) of mechanical powertrain systems Provides rotational and translational component models Gears, clutches, vehicle components Create custom components via Simscape language Simscape MATLAB, Simulink Primary uses System-level analysis of mechanical transmission systems Control development in Simulink 30

SimDriveline Key Features Common gear models with meshing and viscous losses Clutch models Cone, disk friction, and dog clutch Vehicle component models, Engine, tire, torque converter, and vehicle dynamics Extend component libraries using the Simscape language Support for C-code generation from SimDriveline models (with Simulink Coder ) 31

Model 1-Dimensional Mechanical Systems More than 35 component models of varying fidelity Gears Clutches Couplings/drives Vehicle components Configure models to meet your needs Connect to Simscape and other libraries to include other effects 32

Quickly Build Drivetrain Systems Model topology reflects physical structure of system Save subsystems for reuse in other models Connect directly to Simulink and Stateflow Parameterize models using MATLAB 33

SimPowerSystems SimMechanics SimHydraulics SimDriveline SimElectronics Introduction to SimElectronics Enables physical modeling (acausal) for electronic and mechatronic systems Provides sensor, actuator, and semiconductor models Motor Servoamplifier DC Motor Speed Controller Simscape MATLAB, Simulink Hall Effect Sensor Supports algorithm and control system development in Simulink 34

SimElectronics Key Features Provides sensor, actuator, and semiconductor models Enter parameters values directly from data sheets Model temperature dependence heat production, and device temperature Linearize for control design or small signal analysis Convert to C code Accelerate simulation Create standalone executables 35

Extensive Component Libraries More than 90 component models Actuators, drivers Sensors Semiconductors Integrated circuits Models look like schematics Easy to read and interpret 36

Demo SimElectronics: Controlled DC Motor Model: DC Motor + - Motor Servoamplifier Problem: Model a DC motor with a configurable PWM controller in the Simulink environment Solution: Use SimElectronics to model the mechatronic system 37

SimPowerSystems SimMechanics SimHydraulics SimDriveline SimElectronics Introduction to SimHydraulics Enables physical modeling (acausal) of hydraulic systems Enables engineers to build simulation models that look like hydraulic circuit diagrams Simscape MATLAB, Simulink Used by system engineers and control engineers to design and test hydraulic systems 38

SimHydraulics Key Features Extensive component library enables modeling of custom components Parameterization methods allow multiple options for setting parameters Customizable library of common hydraulic fluids Steady-state capabilities of Simscape enable efficient simulation 39

Extensive Component Libraries More than 80 models of hydraulic and mechanical components Pumps and motors Actuators Valves (directional, check, pressure compensation, etc.) Accumulators Hydraulic blocks use images in compliance with ISO 1219 Fluid Power Standard Easily understood by hydraulics engineers 40

Hydraulic Actuation System Model: M Problem: Model a hydraulic actuation system within the Simulink environment Solution: Use SimHydraulics to model the hydraulic system 41

SimPowerSystems SimMechanics SimHydraulics SimDriveline SimElectronics Introduction to SimPowerSystems Enables physical modeling (acausal) of electrical power systems and electric drives Electrical system topology represented by schematic circuit Used by electrical, system and control engineers to develop plant models and test control systems 25kV Breaker 3.125 MVA, 2.4kV Simscape MATLAB, Simulink 2250 HP Load 42

SimPowerSystems Key Features Comprehensive block libraries for building power system models Detailed models of common AC and DC electric drives Different simulation modes to speed model execution Ideal switching algorithm, enabling fast simulation of power electronics PowerGUI provides convenient tools for common analysis tasks Extensive set of demonstration circuits and systems 43

Quickly Build Electrical Systems Build models that look like an electrical schematic: Three-phase components Detailed electric drive models Flexible AC Transmission Systems (FACTS) Parameterize model using MATLAB variables Connect to Simulink with sources and sensors Save subsystems for reuse in other models or libraries 45

Model Electric Drives Combine power electronics, machine, and control algorithm GUI to assign key parameters Common strategies for speed and torque control Adjustable level of fidelity (detailed, averaged) Common machine types can be used as motors or generators: Permanent magnet Synchronous, asynchronous Induction Single phase or 3-phase 46

Connecting to Simscape Electrical connection via interface blocks Add custom components using Simscape language Include other domains Mechanical ports Synchronous, asynchronous, DC, and PMS machines 47

SimPowerSystems Demonstration PM Synchronous Motor Drive (ac6_example.mdl) Discrete solver provides fast, accurate results. 48

Key Takeaways Optimize system performance Develop in a single environment Multi-domain Physical System Eases process of modeling physical systems 49

Support and Community 50

MathWorks Investment in Physical Modeling Responding to customer demand, MathWorks will continue to invest heavily in tools and capabilities for physical modeling. Magnetics Added To Simscape Pneumatics Added To Simscape Simscape Language Introduced SimElectronics Introduced Code Generation Advances Simscape Introduced SimHydraulics Introduced Thermal effects optional ports Simscape Diagnostics Improvements SimDriveline Introduced Simscape-Based Library Introduced SimMechanics Introduced SolidWorks Translator ProEngineer Translator 3-D Visualization Improvements AutodeskTranslator Second Generation Technology SimPowerSystems Introduced Electric Drives Library Introduced Ideal Switching Algorithm Introduced Intf. Elements Editing Modes 1998 2000 2002 2004 2006 2008 2010 2012 2014 51