This example shows how the Foundation Library pneumatic components can be used to model a controlled pneumatic actuator. The Directional 4-Way Valve, Double-Acting Pneumatic Actuator and Pipe blocks are masked subsystems created from Foundation Library blocks. The pipe and actuator components include a simple convection model of heat loss.
In the simulation, the spool of the directional valve is moved to its maximum positive displacement, and the actuator moves the load until it reaches the actuator end stop. The valve is then centered, and the load is held. Next the valve moves to its maximum negative displacement and the actuator retracts to its minimum length. The valve is then centered again, locking the load in position.