Main Content

Double-Acting Servo Cylinder

(To be removed) Hydraulic double-acting servo cylinder with spring-centered plunger

The Hydraulics (Isothermal) library will be removed in a future release. Use the Isothermal Liquid library instead. (since R2020a)

For more information on updating your models, see Upgrading Hydraulic Models to Use Isothermal Liquid Blocks.


Valve Actuators

  • Double-Acting Servo Cylinder block


The Double-Acting Servo Cylinder block models a hydraulic double-acting servo cylinder implemented as a spring-centered plunger.

Changing pressure at ports A and B shifts the spool from the neutral position in proportion to the pressure differential. Use the servo cylinder for control purposes.

The model of the cylinder uses the Double-Acting Hydraulic Cylinder (Simple), Translational Spring, Translational Damper, and Ideal Translational Motion Sensor blocks. The following figure shows the schematic diagram of the model.

The plunger is located initially in the middle of the stroke. The plunger displacement is computed with the following equations:


FHS={(xS/2)Kpvif x>S/2,v>0(x+S/2)Kpabs(v)if x<S/2,v<00otherwise


pA,pBPressures at port A and B, respectively
ASpool face area
kSpring rate
BDamping coefficient
FHSHard stop force
KpStop penetration coefficient
SPiston stroke
vPiston velocity
xPiston displacement

Connection P is a physical signal output port that outputs the plunger displacement from the central position. Connections A and B are hydraulic conserving ports. Pressure at port A moves the plunger in the positive direction.

Basic Assumptions and Limitations

  • Friction between moving parts is not taken into account.

  • Inertia effects are not taken into account.

  • Fluid compressibility is not taken into account.

  • Leakage flows are assumed to be negligible.

  • The hard stops are assumed to be fully inelastic. For details, see the Double-Acting Hydraulic Cylinder (Simple) block reference page.


Piston area

The face area of the piston. The default value is 1e-4 m^2.

Piston stroke

The full piston stroke, from one hard stop to another. The piston is located initially in the middle of the stroke and can travel half a stroke in the positive and negative direction. The default value is 0.005 m.

Spring rate

The spring rate of the centering springs. The default value is 1000 N/m.

Damping coefficient

The damping coefficient in the contact between the piston and the case. The default value is 150 N/(m/s).

Stop penetration coefficient

The penetration property of the piston hard stop. The hard stop is represented as absolutely inelastic, and the property is characterized by the penetration coefficient. The default value of the coefficient is 1e12 N/m/(m/s).


The block has the following ports:


Hydraulic conserving port associated with the cylinder chamber A.


Hydraulic conserving port associated with the cylinder chamber B.


Physical signal output port that outputs the piston displacement.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2013a

expand all