Cylinder drive with added vizualization components

This model shows the principle of pneumatic stroke cushioning. A typical cylinder drive can very easily be modeled with the cylinder models in the library. Note that there is a number of different models for the typically encountered cylinders. A note of caution: the reference port for the position should be fixed or only slowly moved. The models from the Blocks package of the Modelica Standard Library can be used to generate the control signals for the directional control valve.

Run the example and look at the pressure in chamber B (Cylinder2_1.Chamber_B.port_1.p), see figure 1 below. When the piston reaches the end of the barrel the stroke cushioning leads to a considerable pressure build up in chamber B to decelerate the piston (figure 2). The same behvior can be obeserved for chamber A, see figure 3 and 4. Note that the piston will be at the left end when Cylinder2_1.flange_a.s is at it´s the lowest value.

The value Cylinder2_1.C_cushion_B determines the way the pressure builds up and it´s maximum value. In the example the parameter chosen is very small and that leads to a rebounding piston. Set Cylinder2_1.C_cushion_B to a larger value or change the piston mass (Cylinder2_1.PistonMass) and observe the changes in the deceleration phase.