Physical Modelling with Simscape

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

Introduction to Physical Modelling Rory Adams Senior Application Engineer

Vom Konzept zum Modell physikalischer Systeme Smarter Modellieren mit Simscape

How Simscape Supports Innovation for Cyber-Physical Systems

Master Class: Diseño de Sistemas Mecatrónicos

Physical Modeling of Multi-Domain System

Modeling and Simulation of Electromechanical Systems

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

Entwicklung mechatronischer Systeme in der Luft- und Raumfahrt

Simscape User s Guide. R2014a

Matlab Simulink Simscape

Integrating Mechanical Design and Multidomain Simulation with Simscape

System modeling using Simulink and Simscape

MapleSim User's Guide

Sensor Accuracy in Vehicle Safety

Modeling Mechanical, Electric, and Hydraulic Systems in Simulink

Quick Start Training Guide

Integrating Mechanical Design and Multidomain Simulation with Simscape

Real-Time Simulation of Simscape Models

SimMechanics Getting Started Guide. R2013b

Developing a Robot Model using System-Level Design

Using RecurDyn. Contents

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

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

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

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

2015 The MathWorks, Inc. 1

Model Library Mechanics

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

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

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

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

Chapter 5 Modeling and Simulation of Mechanism

MECHATRONICS. William Bolton. Sixth Edition ELECTRONIC CONTROL SYSTEMS ENGINEERING IN MECHANICAL AND ELECTRICAL PEARSON

Lesson 1: Introduction to Pro/MECHANICA Motion

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

Introduction to Control Systems Design

Mathematical Modelling Using SimScape (Mechanical Systems)

SimWise 4D. Integrated Motion and Stress Analysis

SolidWorks. An Overview of SolidWorks and Its Associated Analysis Programs

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

What Is SimMechanics?

ESI ITI Academy. Courses and Contents

What is Mechatronics

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

SOLIDWORKS SIMULATION

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

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

AC : AN ALTERNATIVE APPROACH FOR TEACHING MULTIBODY DYNAMICS

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

Real Time Simulation of Complex Automatic Transmission Models. Marius Băţăuş, Andrei Maciac, Mircea Oprean, Nicolae Vasiliu

CONSCIENCE TECHNOLOGIES A Right Platform For All Engineers... CODE B.TECH EEE MAT LAB PROJECT TITLE

Application. Automation Studio is now compatible with Windows 8.

Developing Algorithms for Robotics and Autonomous Systems

The MathWorks Products and Prices Euro Academic March 2010

Modelling, Simulation, and Real-Time Testing for Model-Based Design GianCarlo Pacitti Application Engineer MathWorks

OPTIMUS MOTUS Motion Designer

High-Fidelity Transmission Simulation for Hardware-in-the-Loop Applications

Open source software tools for powertrain optimisation

Cadence simulation technology for PCB design

New paradigm for MEMS+IC Co-development

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

2015 The MathWorks, Inc. 1

Designing and Analysing Power Electronics Systems Using Simscape and SimPowerSystems

Anticipatory Shifting Optimization of a Transmission Control Unit for an Automatic Transmission through Advanced Driver Assistance Systems

Wolfram SystemModeler. Getting Started

efpgasim Features & Applications

Training Systems for Power Electronics

Alternative approach for teaching multibody dynamics

MODELING AND DYNAMIC ANALYSIS OF 6-DOF PARALLEL MANIPULATOR

Manipulation and Fluid Power. October 07, 2008

MULTI-LEVEL MODELLING OF A MODULAR DOUBLE SALIENT LINEAR MOTOR

Design and Verification of Motion Control Algorithms Using Simulation

SMALL GENERATOR INTERCONNECTION REQUEST. (Application Form)

Dynamic Simulation of a KUKA KR5 Industrial Robot using MATLAB SimMechanics

Engineering Analysis

Principles of Engineering PLTW Scope and Sequence Year at a Glance First Semester

Real-Time Execution in LabVIEWTM

Rotational3D Efficient modelling of 3D effects in rotational mechanics

Chapter 1 Introduction

Application of Multi-level Multi-domain Modeling to a Clawpole

VIRTUAL PROTOTYPING SIMULATION FOR THE DESIGN OF TWO-WHEELED VEHICLES

Paul Goossens Product Director

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

Project Chrono. Overview, structure, capabilities

Polymath 6. Overview

The Virtual Prototyping of Robots Dynamics

Comparison of Classic and Finned Piston Reciprocating Linear Air Compressor Using COMSOL Multiphysics

For the State of Washington SMALL GENERATOR INTERCONNECTION REQUEST (Tier 1 [Non-Net Meter], Tier 2, Tier 3) (Application Form)

MECHATRONICS SYSTEM ENGINEERING FOR CAE/CAD, MOTION CONTROL AND DESIGN OF VANE ACTUATORS FOR WATER ROBOT APPLICATIONS

ARI-PREMIO Plus 2G Electric thrust actuator with fail-safe function

Modeling and Event Based Simulation of an Earthmoving Digger Using SolidWorks Premium 2014.

Advanced Systems Technology Program

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

Designing a Pick and Place Robotics Application Using MATLAB and Simulink

SMALL GENERATOR INTERCONNECTION REQUEST (Application Form)

Working Model 2005 Release Guide

Model-based Design/Simulation

Massachusetts Institute of Technology Department of Mechanical Engineering Modeling and Simulation of Dynamic Systems

Geometric Modeling Lecture Series. Prof. G. Wang Department of Mechanical and Industrial Engineering University of Manitoba

Transcription:

Physical Modelling with Simscape Rick Hyde Control Electrical Embedded Software Mechanical 2015 The MathWorks, Inc. 1

Presentation overview Modelling physical systems Why model a physical system? Network approach & Simscape Example: Aileron actuation system Using modelling to support system-level design Modelling brushless motors Matching model fidelity to the design task What s new in and 2

http://www.shadowrobot.com/products/dexterous-hand/ Why model a physical system? Example: humanoid robot arm What are the actuation requirements? Space and weight constraints Torque/force, speed & power Compliance Precision Dynamic tracking bandwidth Failure behaviour Which actuation technology? What is the impact on the rest of the system? Power supply requirements Heat Electromagnetic interference System-level model of complete system Behavioural model of actuation system System model with selectable detailed & behavioural sub-models 3

Extending Simulink using Simscape Equation set x f e Simulink Explicit equation Relevance ( x, u, ) Single body motion Multiple-body motion when there is compliance Most algorithms (control) Equation set Simscape extension E( x, ) x f ( x, u, ) Implicit equation Relevance 1-D multi-body systems e.g. drivelines Electrical networks Hydraulic/pneumatic networks s1 s2 s3 4

What does this model represent? 5

What does this model represent? 6

Modelling an electrical circuit in Simulink Step 1: figure out the equations Step 2: build the model Step 3: fix algebraic loops 7

Modelling an electrical circuit in Simscape Single step: Build the model Network approach: 1. Node defines potential for connected components 2. Flows sum to zero at nodes 3. Each component has an equation 4. Additional equations from network topology 8

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

Simscape Language Write your own components Define your own domains or use foundation ones Use foundation library components as templates Share your component libraries with others 10

Presentation overview Modelling physical systems Why model a physical system? Network approach & Simscape Example: Aileron actuation system Using modelling to support system-level design Modelling brushless motors Matching model fidelity to the design task What s new in 15a and 15b 11

Example: Aileron Actuation System System Desired Angle Control Actuator Force Extension Simulation goals 1. Determine requirements for actuation system 2. Compare actuation technologies 3. Run simulation on real-time hardware for HIL tests 12

Model-Based Design Process Simulation Model Requirements and Specifications Save time by developing in a single simulation environment Control Embedded Software Electrical Mechanical Produce better designs by continuously comparing design and specification Lower costs by using HIL tests and fewer hardware prototypes 21

Key Points Testing different actuator designs in one environment saves time and encourages innovation Optimising systems with respect to design requirements leads to optimal design choices Aileron Angle Actuator Force Simulating at different levels of fidelity is required to see effects of design implementation 22

Presentation overview Modelling physical systems Why model a physical system? Network approach & Simscape Example: Aileron actuation system Using modelling to support system-level design Modelling brushless motors Matching model fidelity to the design task What s new in 15a and 15b 23

Modelling detail Modelling use cases and modelling level (1 to 3) classification 1. System-level simulation Torque-speed behaviour Model motor losses as part of overall efficiency & thermal calculations 2. Component validation Ensure motor stays within manufacturer operating limits Detailed analysis of impact on other components e.g. power harmonics 3. Component design Motor and/or drive circuitry Determine overall actuation losses Mechanical/control engineer Motor designer and electronics engineer 24

Level 1: System-level simulation Designer s objectives Validate power requirements Make predictions about system efficiency Thermal modelling/design Real-time simulator Modelling solution Energy-based approach (no switching, fast, HIL-compatible) Resources SimElectronics block: Servomotor (8a), tabulated losses (15b) SimElectronics examples: elec_hybrid_electrical_network.slx & elec_servomotor_efficiency.slx (15b) 25

Level 2: Component validation User s objectives Check motor and drive electronics stay within permitted temperature limits. Quantify impact on DC supply (harmonics). Modelling solution Model power switching with ideal switch assumption Parks transform plus constant inductances sufficient for motor Resources SimPowerSystems blocks: PMSM and BLDC motor models Semiconductor switching devices SimPowerSystems examples: pe_pmsm_drive.slx 26

Level 3: Component design User s objectives Motor design or specification Build a dynamic simulation model to support controller design and efficiency predictions. Modelling solution Model motor using finite-element magnetic data Model drive electronics using device-level IGBT models Resources SimElectronics blocks: N-Channel IGBT FEM-Parameterized PMSM (15b) SimElectronics examples: elec_pmsm.slx (15b) 27

Presentation overview Modelling physical systems Why model a physical system? Network approach & Simscape Example: Aileron actuation system Using modelling to support system-level design Modelling brushless motors Matching model fidelity to the design task What s new in and 28

MathWorks Investment in Physical Modelling More than 15 years of acausal modelling Pace increased rapidly with introduction of Simscape Magnetics In Simscape Pneumatics In Simscape Simscape Language SimElectronics Thermal effects optional ports Thermal Liquid In Simscape Two-Phase Fluids In Simscape Simscape SimHydraulics Local Solver Simscape Logging Zero Crossing Statistics Model Statistics Viewer Variable Viewer SimDriveline Simscape-Based Library (2G) SimMechanics SolidWorks Translator ProEngineer Translator 3-D Vis. Improvements AutodeskTranslator Simscape-Based Library (2G) SimPowerSystems Electric Drives Library Introduced Ideal Switching Algorithm Introduced Intf. Elements Editing Mode Simscape-Based Libraries 1998 2000 2002 2004 2006 2008 2010 2012 2014 2016 29

Updates to Simscape Products in Simscape Variable Viewer link to block diagram Improved efficiency for initialization Sparkline plots for logged data SimDriveline Thermal variants for Gears library Transmission templates Shift linkage position vrnt. Dog Clutch SimHydraulics Variable-Displacement Hydraulic Machine (External Efficiencies) block Valve opening dynamics Accumulator with improved hard stops SimMechanics Show/Hide in Mechanics Explorer Lead Screw Joint block Constant Velocity Joint block SimElectronics elec_getpowerlosssummary fcn Nonlinear magnetization inductance Schmitt Trigger, Current Limiter block Droop param. for DC-DC Converter Thermal port for H-Bridge block SimPowerSystems SC, ST Asynch. machines with SI param Synch: Machine Model 2.1 blocks Zigzag-Delta1-Wye, Zigzag-Delta11- Wye, Average-Value Inverter New powergui dialog box and tools Interpolate option for Tustin solver Annotation, export for Load Flow Tool >> power_customize function Three-limb core for 3-phase xformer PV Array and examples 30

SimMechanics New Joints Lead Screw Joint See also >> sm_linear_actuator Constant Velocity Joint Angular velocity about z-axes for B and F is same CV Joint Universal Joint >> sm_pto_shaft 31

SimDriveline Transmission Templates Incorporate transmissions into vehicle models Structure includes gearing, inertias, and clutch schedule Modify them to create other transmission types 32

SimDriveline Thermal Variants for Gears Library Incorporate thermal effects into geared systems Efficiency dependent on temperature Account for heat generated due to meshing Right-click on block to select thermal variant Thermal port exposed Additional parameters Variants for all blocks in Gears Library 33

Updates to Simscape Products in Simscape Two-Phase Fluid Domain & Library Domain-specific colors on block icons Periodic Operators library Variable priority None for initialization SimDriveline Variable Mass, Variable Inertia blocks Unbalanced Load block Variable-friction tire model SimHydraulics Pneu-Hydr. actuator with 2 mech ports SimMechanics Point On Curve Constraint block Spline block for curved paths Frame creation via Solid block UI Mechanics Explorer link to block diagram SimElectronics Limits, tolerances, faults in Resistor Tabulated efficiency in Servomotor Fault block for open-, short-circuit faults FEM-Parameterized PMSM block SimPowerSystems SC, ST Nonlin. Transformer, Nonlin. Inductor Single-Phase Circuit Breaker with arc Back EMF profile param. (DC Motor) Fundamental Drive Blocks library Power Converter blocks Load flow for systems with unbalanced currents, single-phase connections External temperature input for Battery Powergui interpolation option 34

SimElectronics Limits, Tolerances, Faults in Resistor Apply tolerances to resistance parameter Specify fault behavior Resistance after failure Time, behavioral fault Specify operating limits 35

SimMechanics Point On Curve Constraint, Spline Block Constrain frame to 2D or 3D curve Define curve relative to frame (Spline Block) Constrain frame to curve using Point on Curve Constraint Measure force required to keep frame on curve Try: >> sm_cam_flapping_wing 36

Simscape Colors on Block Icons, Rounded Connections R2015b Block icons have domain-specific colors Physical connections have rounded corners Domain colors on icon Rounded Corners Without Styling Improves readability as a multidomain schematic 37

Pressure, p Simscape Two-Phase Domain and Library Foundation Library for systems with working fluid part liquid, part vapor Use when phase changes are critical effect in system Vaporization Condensation Cavitation Try: >> ssc_refrigeration >> ssc_cavitation_two_phase_fluid >> ssc_fluid_vaporization_in_pipe Isothermal Liquid Thermal Liquid Liquid-Vapor Dome Gas Two-Phase Fluid Specific Enthalpy, h 38

Summary Modelling physical systems Why model a physical system? Network approach & Simscape Simscape MATLAB, Simulink Example: Aileron actuation system Using modelling to support system-level design Modelling brushless motors Matching model fidelity to the design task Level 1: energybased Level 2: ideal switching Level 3: FEM + nonlinear What s new in 15a and 15b 39