modeling multidomain physical systems in simulink · “simulink®, simmechanics, and real-time...
TRANSCRIPT
Modeling Multidomain Physical Systems in Simulink®
Terry Denery Principal Applications Engineer Motion Systems The MathWorks
© 2
006
The
Mat
hWor
ks, I
nc.
Antenna Pointing
2
Mechanical Modeling in Simulink
� 3D Multi-Body Dynamics SimDriveline � Driveline Mechanics
SimMechanics
3
Electrical Modeling in Simulink
� � �
Electrical Circuits Motors and Actuators Power Systems
SimPowerSystems
4
Hydraulic Modeling in Simulink
�Hydraulic Circuits �Motors and Actuators �Power Systems
SimHydraulics
5
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
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
Simulation of Antenna Pointing
+
8
Antenna System
+
Electrical-MechanicalMotion System
9
Antenna System
+
Hydraulic-MechanicalMotion System
10
Motion Platform
AccelerometerMeasurements
Real boat Simulation
11
Reconstructing Motion
Three non-collinear points define position and orientation.
12
Reading Motion Data into SimMechanics
13
Hardware in the Loop (HIL)
Real-Time Workshop®
Generated CodeReal Controller
+ yu Controller
Mechanical Device
Actuators
Sensors
Plant
Model
14
“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