simpack user meeting 2003 flexible implementation … · domains (mbs, simulink) ... output...
TRANSCRIPT
SIMPACK User Meeting 18.04.2003, Kett
SIMPACK User Meeting 2003
Flexible Implementation of Fluid Power Systems in SIMPACK using the
DSHplus Simulation Tool Chain (STC)
by
Ronald Kett, FLUIDON [email protected], www.fluidon.com
SIMPACK User Meeting 28.04.2003, Kett
Service Portfolio of FLUIDON
SIMPACK User Meeting 38.04.2003, Kett
Fluid Power System Design with DSHplus
• Libraries to hydraulics,pneumatics, mechanics/driveengineering, thermo-hydraulicand control technology
• Component orientedmodeling concept
• Simulation models withcircuit diagram analogy
• Parameterization is basedon catalog data
• Open source code ofthe simulation models
Program features
SIMPACK User Meeting 48.04.2003, Kett
Editable Source Code of the DSHplus Model
• Open source guaranties translucency of calculation
• Technology relevant data or calculations can be hidden in sub-functions
• Interfaces allow linking of measuring and control hardware (hardware in the loop)
• Convenient integration user defined calculation approaches or available C/C++ algorithms
• Interfaces allow the export of the model description into other simulation domains (MBS, Simulink)
SIMPACK User Meeting 58.04.2003, Kett
Classical Application of Fluid Power Simulation
Forging PressSimulation Modelof the Forging Press
SIMPACK User Meeting 68.04.2003, Kett
DSHplus for Hardware in the Loop Applications
Synthetic Model of the Plant
Real Controller Hardware
•The simulation generates synthetic sensor signals which are processed to new command signals for the simulation by the external controller hardware
SIMPACK User Meeting 78.04.2003, Kett
DSHplus -HIL with external Controller Hardware
The DSHplus-HIL-Box
The DSHplus-Interface to the HIL-Box
•Development of new controller routines and control concepts
• Inspection of safety routines by simulation of crucial operating states
•Presetting of controller parameters
SIMPACK User Meeting 88.04.2003, Kett
DSHplus -HIL to Test a Plant Main Control System
Catapult Systemfor the Drop Towerin Bremen Simulation Model
of the Catapult System
• Inspection of the safety routines of the plant main control system by simulation of crucial operating states
•Presetting system parameters
SIMPACK User Meeting 98.04.2003, Kett
Fluid Power Systems for Real Time Applications
©
SIMPACK User Meeting 108.04.2003, Kett
DSHplus Advanced Component Development (1)
©
SIMPACK User Meeting 118.04.2003, Kett
DSHplus Advanced Component Development (2)
©
SIMPACK User Meeting 128.04.2003, Kett
DSHplus Advanced Component Development (3)
Pump Torque
DSHplus Pump Model
MechanicalPump Model
DSHplus Piston Pressures
©
SIMPACK User Meeting 138.04.2003, Kett
DSHplus Historical Program Interfaces
Komplexes reales System
mit fluidtechnischem Subsystem
Komplexes Gesamtsimulationsmodell
...
Bildung eines Gesamtsimulators
Auswahl einesgeeigneten Simulations-
programms
Modellierung des fluid-technischen Systems
Modellierung z. B. desmechanischen Systems
Copyright 1995-2000 byAll rights reserved. Gesellschaft für Fluidtechnik mbH
DSH 3
Right from its beginning DSHplus offers a variety of easily usable Program Interfaces. The main objective of these interfaces is to provide the design engineer with options that enable a convenient integration of new or adaptation of existing functionality/component behavior into the simulation.
Matlab®/Simulink® InterfaceBesides the possibility to run Matlab® M-files or Simulink® models in the back ground of a DSHplus simulation it is also possible to export the complete DSHplus
simulation model into a Simulink® S-function.
Multi-Body Simulation Interface It is now possible to interface a DSHplus
model into SIMPACK® , MSC.ADAMS®, LMS.DADS® and a number of company specific multi-body simulation programs.Due to the open model approach of DSHplus
there are different possibilities to accomplish such an interface.
SIMPACK User Meeting 148.04.2003, Kett
The Idea of the DSHplus-STC
SIMPACK User Meeting 158.04.2003, Kett
Potentialities of the DSHplus –STCin a Multi Domain System Development
SIMPACK User Meeting 168.04.2003, Kett
Flexibility of the DSHplus -STC
• DSHplus-STC modules can be used wherever fluid power systems interfere with mechanical structures orcomplex controller set-ups.
• Examples are suspension,breaking and steering systems in automotive applications, construction vehicles,railway and aeronautic industry, transport technology, and mechanical and plan engineering wherepresses, elevators and machine parts are actuated by fluid power systems.
SIMPACK User Meeting 178.04.2003, Kett
The DSHplus Open Interface Functions
DSHplus model with signal inputand signal output components
DSHplus -OIF5 Functions which the customer can access with own
routinesWhat ever interface – to external programor hardware – is required
DSHplus InteraktiveSimulation Interface
DSHplus Hardware Interface
DSHplus Co-Simulation Interface
SIMPACK User Meeting 188.04.2003, Kett
The DSHplus-STC Module
DSHplus model with signal input and signal output components as a starting point for theDSHplus-STC model export
DSHplus-STC Module4 Functions over which the module can be linked into
other programs
what ever interface is required
SIMPACK User Meeting 198.04.2003, Kett
The Coupling Procedure
Co-Simulation or Embedded Mode
Stop
StartInitialization
Send initial values
Terminate calculation
Receive dataIndividual InterfaceSet-up
External Simulation
Environment
Send data
InitializationGet initial values
Terminate calculation
Send data
Receive data
DSHplus -OIFInterface to
DSHplus-Co-Simulation Dialog
DSHplus-STC Module
Flag to switch betweenCo-Simulation
or Embedded Mode
SIMPACK User Meeting 208.04.2003, Kett
Inter- & Extrapolation of Exchanged Values
Purpose: Avoidance of jump shaped value changes, decrease in CPU time
DSHplus
Co-Simulationor Embedded
Extern
1
2
3
4
IP IP
EP
IP
EP
Step 1 Step 2 Step 3
SIMPACK User Meeting 218.04.2003, Kett
DSHplus -STC-Dialog in SIMPACK
CoSimu (PC)
DSHplus
runsSIMPACK
runsSharedMemory
Routines
Embedded (PC, Workstation)
SIMPACKruns
f(x)
Routines DSHplus
Module
Co-Simulation Flag
SIMPACK User Meeting 228.04.2003, Kett
Co-Simulation of Cylinder Drive(Testing Environment)
Internal state vari-ables (pressures)
Interface variables in DSHplus
(stroke, force)
Position controlled cylinder drive
Mass with user defined force element
Interfacevariables in SIMPACK (stroke, force)
SIMPACK User Meeting 238.04.2003, Kett
Simulation of a Power Steering
Co-simulation interface dialog
Pressure amplification of the steering valvePower steering model
with interface ports for mechanical, hydraulic, and control values
Automotive plus car model