+ All Categories
Home > Documents > Modeling Multidomain Physical Systems in Simulink · “Simulink®, SimMechanics, and Real-Time...

Modeling Multidomain Physical Systems in Simulink · “Simulink®, SimMechanics, and Real-Time...

Date post: 13-Mar-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
15
Modeling Multidomain Physical Systems in Simulink ® Terry Denery Principal Applications Engineer Motion Systems The MathWorks © 2006 The MathWorks, Inc.
Transcript
Page 1: Modeling Multidomain Physical Systems in Simulink · “Simulink®, SimMechanics, and Real-Time Workshop enabled us to autonomously go from an accurate CAD model of the MRO vehicle

Modeling Multidomain Physical Systems in Simulink®

Terry Denery Principal Applications Engineer Motion Systems The MathWorks

© 2

006

The

Mat

hWor

ks, I

nc.

Page 2: Modeling Multidomain Physical Systems in Simulink · “Simulink®, SimMechanics, and Real-Time Workshop enabled us to autonomously go from an accurate CAD model of the MRO vehicle

Antenna Pointing

2

Page 3: Modeling Multidomain Physical Systems in Simulink · “Simulink®, SimMechanics, and Real-Time Workshop enabled us to autonomously go from an accurate CAD model of the MRO vehicle

Mechanical Modeling in Simulink

� 3D Multi-Body Dynamics SimDriveline � Driveline Mechanics

SimMechanics

3

Page 4: Modeling Multidomain Physical Systems in Simulink · “Simulink®, SimMechanics, and Real-Time Workshop enabled us to autonomously go from an accurate CAD model of the MRO vehicle

Electrical Modeling in Simulink

� � �

Electrical Circuits Motors and Actuators Power Systems

SimPowerSystems

4

Page 5: Modeling Multidomain Physical Systems in Simulink · “Simulink®, SimMechanics, and Real-Time Workshop enabled us to autonomously go from an accurate CAD model of the MRO vehicle

Hydraulic Modeling in Simulink

�Hydraulic Circuits �Motors and Actuators �Power Systems

SimHydraulics

5

Page 6: Modeling Multidomain Physical Systems in Simulink · “Simulink®, SimMechanics, and Real-Time Workshop enabled us to autonomously go from an accurate CAD model of the MRO vehicle

Control Software and Physical System Come Together in Simulink

� Rich modeling environment – Physical – Behavioral – Data-driven

� Control system development tool – One environment for controller and plant – Code generation enables HIL testing – Easy access to control tools

6

Page 7: Modeling Multidomain Physical Systems in Simulink · “Simulink®, SimMechanics, and Real-Time Workshop enabled us to autonomously go from an accurate CAD model of the MRO vehicle

Physics-Based Modeling Methods Improve Control System Design

+ Controller yu

Electrical Mechanical

Device

Actuators

Sensors

Plant

� Multidomain systems (mechanical, electrical, hydraulic, chemical, . . .)

� Successful controller development requires thorough and accurate understanding of plant

7

Page 8: Modeling Multidomain Physical Systems in Simulink · “Simulink®, SimMechanics, and Real-Time Workshop enabled us to autonomously go from an accurate CAD model of the MRO vehicle

Simulation of Antenna Pointing

+

8

Page 9: Modeling Multidomain Physical Systems in Simulink · “Simulink®, SimMechanics, and Real-Time Workshop enabled us to autonomously go from an accurate CAD model of the MRO vehicle

Antenna System

+

Electrical-MechanicalMotion System

9

Page 10: Modeling Multidomain Physical Systems in Simulink · “Simulink®, SimMechanics, and Real-Time Workshop enabled us to autonomously go from an accurate CAD model of the MRO vehicle

Antenna System

+

Hydraulic-MechanicalMotion System

10

Page 11: Modeling Multidomain Physical Systems in Simulink · “Simulink®, SimMechanics, and Real-Time Workshop enabled us to autonomously go from an accurate CAD model of the MRO vehicle

Motion Platform

AccelerometerMeasurements

Real boat Simulation

11

Page 12: Modeling Multidomain Physical Systems in Simulink · “Simulink®, SimMechanics, and Real-Time Workshop enabled us to autonomously go from an accurate CAD model of the MRO vehicle

Reconstructing Motion

Three non-collinear points define position and orientation.

12

Page 13: Modeling Multidomain Physical Systems in Simulink · “Simulink®, SimMechanics, and Real-Time Workshop enabled us to autonomously go from an accurate CAD model of the MRO vehicle

Reading Motion Data into SimMechanics

13

Page 14: Modeling Multidomain Physical Systems in Simulink · “Simulink®, SimMechanics, and Real-Time Workshop enabled us to autonomously go from an accurate CAD model of the MRO vehicle

Hardware in the Loop (HIL)

Real-Time Workshop®

Generated CodeReal Controller

+ yu Controller

Mechanical Device

Actuators

Sensors

Plant

Model

14

Page 15: Modeling Multidomain Physical Systems in Simulink · “Simulink®, SimMechanics, and Real-Time Workshop enabled us to autonomously go from an accurate CAD model of the MRO vehicle

“Simulink®, SimMechanics, and Real-Time Workshopenabled us to autonomouslygo from an accurate CAD model of the MRO vehicle into C code that runs in real time.”

Jim Chapel,Lockheed Martin Space Systems

Lockheed Martin Space Systems Uses SimMechanics with a Real-Time Simulator to Automate Mars Reconnaissance Orbiter Development

The Challenge To develop the guidance, navigation, and control system for the Mars Reconnaissance Orbiter

The Solution Use MathWorks tools to accelerate control design and automate the development of accurate, real-time spacecraft simulations

The Results � Spacecraft pointing simulation modeled in days � Interorganization communication improved � Efficient code generated automatically

Artist rendition of Mars Reconnaissance Orbiter

(image courtesy of NASA).

“Simulink®, SimMechanics, and Real-Time Workshop enabled us to autonomously go from an accurate CAD model of the MRO vehicle into C code that runs in real time.”

Jim Chapel, Lockheed Martin Space Systems

15


Recommended