sim hydraulics

7
Modeling a Hydraulic Actuation System 7:01 Model a hydraulic actuation system. A double-acting hydraulic cylinder controlled by a four-way directional valve is modeled using SimHydraulics ® components. SimHydraulics Model and simulate hydraulic systems SimHydraulics ® provides component libraries for modeling and simulating hydraulic systems. It includes models of hydraulic components, such as pumps, valves, actuators, pipelines, and hydraulic resistances. You can use these components to model fluid power systems such as front-loader, power steering, and landing gear actuation systems. Fuel supply and water supply systems can also be modeled using SimHydraulics. SimHydraulics models can be used to develop control systems and test system-level performance. You can parameterize your models using MATLAB ® variables and expressions, and design control systems for your hydraulic system in Simulink ® . You can add electrical, mechanical, pneumatic, and other components to your hydraulic model using Simscape™ and test them in a single simulation environment. To deploy models to other simulation environments, including hardware-in-the-loop (HIL) systems, SimHydraulics supports C-code generation. Learn more about physical modeling. Key Features Pump models, including centrifugal, jet, and axial-piston pumps Directional valve models, including check valves and common configurations for 2-, 4-, and 6-way valves Flow and pressure control valve models, including ball, poppet, and pressure relief valves Translational and rotational actuator models, including optional friction and centrifugal forces Tank and pipe models with elevation effects for modeling fluid transportation systems Customizable library of common hydraulic fluids Ability to extend component libraries using the Simscape language Support for C-code generation SimHydraulics is used to optimize system-level performance and to create plant models for control design. The models you create support your entire development process, including hardware-in-the-loop simulations. 1

Upload: yuvionfire

Post on 14-Apr-2015

97 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Sim Hydraulics

Modeling a Hydraulic Actuation System 7:01Model a hydraulic actuation system. A double-acting hydraulic cylinder controlled by afour-way directional valve is modeled using SimHydraulics® components.

SimHydraulicsModel and simulate hydraulic systems

SimHydraulics® provides component libraries for modeling and simulating hydraulic systems. It includes modelsof hydraulic components, such as pumps, valves, actuators, pipelines, and hydraulic resistances. You can use thesecomponents to model fluid power systems such as front-loader, power steering, and landing gear actuationsystems. Fuel supply and water supply systems can also be modeled using SimHydraulics.

SimHydraulics models can be used to develop control systems and test system-level performance. You canparameterize your models using MATLAB® variables and expressions, and design control systems for yourhydraulic system in Simulink®. You can add electrical, mechanical, pneumatic, and other components to yourhydraulic model using Simscape™ and test them in a single simulation environment. To deploy models to othersimulation environments, including hardware-in-the-loop (HIL) systems, SimHydraulics supports C-codegeneration.

Learn more about physical modeling.

Key Features▪ Pump models, including centrifugal, jet, and axial-piston pumps

▪ Directional valve models, including check valves and common configurations for 2-, 4-, and 6-way valves

▪ Flow and pressure control valve models, including ball, poppet, and pressure relief valves

▪ Translational and rotational actuator models, including optional friction and centrifugal forces

▪ Tank and pipe models with elevation effects for modeling fluid transportation systems

▪ Customizable library of common hydraulic fluids

▪ Ability to extend component libraries using the Simscape language

▪ Support for C-code generation

SimHydraulics is used to optimize system-level performance and to create plant models for control design. Themodels you create support your entire development process, including hardware-in-the-loop simulations.

1

Page 2: Sim Hydraulics

Hydraulic circuit schematic of a system that contains a gas-charged accumulator and a double-acting cylinder (bottom left).The colored blocks in the associated SimHydraulics model (top right) correspond to the colored elements in the circuitschematic.

Modeling Hydraulic and Hydromechanical Networks

With SimHydraulics you build a model of a system just as you would assemble a physical system. The symbolsused in your model are based on the ISO 1219 fluid power standard. SimHydraulics employs a physical networkapproach to model building: components (blocks) corresponding to physical elements such as pumps, motors, andvalves, are joined by lines corresponding to the physical connections that transmit power. This approach lets youdescribe the physical structure of a system rather than the underlying mathematics.

From your model, which closely resembles a hydraulic schematic, SimHydraulics automatically constructsequations that characterize the behavior of the system. These equations are integrated with the rest of the Simulinkmodel.

SimHydraulics libraries provide more than 45 models of hydraulic and mechanical components, including modelsfor pumps, cylinders, accumulators, and hydraulic flow lines. You can easily represent most commerciallyavailable hydraulic components.

You can use the sensor blocks in Simscape to measure values for any hydromechanical variable, such as pressure,flow, position, velocity and force, and then pass these signals into standard Simulink blocks. Source blocks enableSimulink signals to assign values to any hydromechanical variable. Sensor and source blocks let you develop anentire control algorithm in Simulink and connect it with a SimHydraulics network.

Modeling Hydraulic Components

SimHydraulics includes spring-loaded and gas-charged accumulator models, as well as two pipeline models:

2

Page 3: Sim Hydraulics

▪ The standard pipeline block models pipelines with circular and noncircular cross sections and accounts forfrictional pressure loss and fluid compressibility.

▪ The segmented pipeline block accounts for frictional pressure loss, fluid compressibility, and fluid inertia andenables you to model phenomena, such as water hammer.

A library of local resistance blocks lets you include pressure loss associated with elbows, bends, andcross-sectional flow area changes.

SimHydraulics provides actuators and pumps that let you:

▪ Model hydraulic cylinders and rotary actuators, including effects such as cylinder friction

▪ Model hydraulic motors, fixed-displacement pumps, and variable-displacement, pressure-compensated pumpsfor power exchange with rotational mechanical components

The valves library lets you model:

▪ Directional valves, including 2-way, 3-way, 4-way, shuttle, check, and pilot-operated check valves

▪ Flow control valves, including ball, needle, poppet, and pressure-compensated flow control valves

▪ Pressure control valves, including pressure-reducing and pressure-relief types

The valves library also includes actuator models to simulate electromagnetic, discrete and proportional actuators,and servo-valves.

SimHydraulics model libraries of valves, accumulators, pipelines, pumps, motors, cylinders, and most standard components inhydraulic systems.

3

Page 4: Sim Hydraulics

Modeling a Custom Hydraulic Valve 9:46Model a custom four-way hydraulic valve and a hydraulic cylinder using SimscapeFoundation library blocks.

Simscape Language: Hydraulic Example 5:26Model custom mechanical components using the Simscape™ language. A fixed hydraulicorifice is defined using implicit equations.

Customizing Models

You can combine the blocks in the SimHydraulics libraries to create custom hydraulic models. In addition,Simscape (required by SimHydraulics) contains a foundation library that includes a set of basic building blocksfor different physical domains; these blocks define the pressure/flow relationship for basic physical effects, suchas fluid compressibility, fluid inertia, mechanical friction, energy transduction, and flow through fixed andvariable orifices. You can combine these building blocks with SimHydraulics blocks to model a component thatspans different physical domains. As with Simulink, you can then group this assembly of blocks into a subsystemand parameterize it to reuse and share the custom component.

The Simscape language enables you to extend the libraries of physical components. It is based on the MATLABprogramming language, well-known by engineers. Using this object-oriented modeling language, you can definecustom components, complete with parameterization, physical connections, and equations represented as acausalimplicit differential algebraic equations (DAEs). The Simulink block and dialog box for the component areautomatically created from the Simscape file.

SimHydraulics models can include physical signals that have units associated with them. You specify the unitsand parameter values in block dialogs, and Simscape performs the necessary unit-conversion operations whensolving a physical network. A Physical Signals block library in Simscape lets you perform math operations onphysical signals and graphically input equations inside the physical network. Physical signal ports are used inSimscape block diagrams to better integrate physical signals into your physical system, which increasescomputational speed.

4

Page 5: Sim Hydraulics

Cross-section illustration of a hydraulic cylinder with snubber (bottom left). The colored blocks in the SimHydraulics model (topleft) correspond to colored arrows in the cross-section illustration, which represent typical hydraulic flow paths. The graphs(right) track the velocity and position of the piston, and the pressure of the hydraulic fluid during the simulation.

Defining Fluid Properties

SimHydraulics employs efficient methods for defining density, viscosity, and bulk modulus—the fluid propertiesthat affect system behavior. SimHydraulics provides 18 commonly used hydraulic fluids, such as Skydrol LD-4,HyJet 4A, and Fluid MIL-F-83828. Properties for these fluids are automatically calculated when you input thetemperature and amount of trapped air. You can define a fluid by entering its fluid properties.

5

Page 6: Sim Hydraulics

Integrating Physical Systems and Controller 5:49Detect system integration issues in simulation. Mechanical, hydraulic, electrical, and controlsystems are gradually integrated into a full system model.

Dialog box for selecting a hydraulic fluid for a hydraulic loop. You can select commonly used hydraulic fluids, such as SkydrolLD-4, HyJet 4A, and Fluid MIL-F-83828. SimHydraulics automatically calculates key fluid properties from your specifiedvalues for trapped air and fluid temperature.

Extending Model Capabilities

You can generate a linear model (continuous or discrete time) from your nonlinear SimHydraulics model. You cananalyze the linear model’s behavior about a certain operating point, or you can create a controller by applyinglinear control theory to the system. You can also automatically calculate the steady-state solution of yourSimHydraulics model to remove unwanted transients at the start of simulation, thus reducing the amount of timeneeded to simulate your system.

Modeling the Plant and Controller in Simulink

As a physical modeling product built on Simscape, SimHydraulics provides expanded capabilities for modelinghydraulic systems. You can create your physical plant model using physical connections, and, through Simscapeinterface blocks, connect it directly to your control model built with signal flows in Simulink. As a result, you cantest your entire system within the Simulink environment.

6

Page 7: Sim Hydraulics

Product Details, Examples, and System Requirementswww.mathworks.com/products/simhydraulics

Trial Softwarewww.mathworks.com/trialrequest

Saleswww.mathworks.com/contactsales

Technical Supportwww.mathworks.com/support

Resources

Online User Communitywww.mathworks.com/matlabcentral

Training Serviceswww.mathworks.com/training

Third-Party Products and Serviceswww.mathworks.com/connections

Worldwide Contactswww.mathworks.com/contact

© 2012 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See www.mathworks.com/trademarks for a list ofadditional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders. 7