Fig. 4. Simulink model of 4-way directional valve. Port S retrieves the signal from the position task controller. The valve maximum cross-area and maximum opening, the flow discharge coefficient, the critical Reynolds number and the leakage area are set. The pressure relief valve, check valve and filter are also shown. The maximum pressure is set to 170bar.