DCV_4_3_X $—$ Template for a directional control valve with 3 positions and four ports to be configured by the user

The DCV_4_3_X component is used to build your own model of a directional control valve with three positions (that is, 3 stable states) and four ports.

Enter the valve behavior in the Parameters $\to$ Spool Geometry section (found under the Inspector tab) by populating the six connection vectors (open_P_A, open_P_B, open_A_T, open_B_T, open_P_T, and open_A_B). Each vector has nine entries corresponding to the nine normalized spool positions [ -1 -0.75 -0.5 -0.25 0 0.25 0.5 0.75 1 ]. Enter a 1 for the spool position if the connection is open at that spool position; enter a 0 for the spool position if the connection is closed at that spool position.

The Example section on this page provides more detail on how to configure a custom spool, including information on setting the parameters for leakage and nominal flow rates between ports.

Connections

 Name Description Modelica ID ${\mathrm{port}}_{A}$ Port A, one of valve connections to actuator or motor port_A ${\mathrm{port}}_{B}$ Port B, one of valve connections to actuator or motor port_B ${\mathrm{port}}_{P}$ Port P, where oil enters the component from the pump port_P ${\mathrm{port}}_{T}$ Port T, where oil flows to the tank port_T $\mathrm{commandB}$ Command signal for valve commandB $\mathrm{commandA}$ Command signal for valve commandA $\mathrm{oil}$ oil

Parameters

General Parameters

 Name Default Units Description Modelica ID use volume A $\mathrm{true}$ If true, a volume is present at port_A useVolumeA use volume B $\mathrm{true}$ If true, a volume is present at port_B useVolumeB use volume P $\mathrm{true}$ If true, a volume is present at port_P useVolumeP use volume T $\mathrm{true}$ If true, a volume is present at port_T useVolumeT ${V}_{A}$ ${10}^{-6}$ ${m}^{3}$ Geometric volume at port A volumeA ${V}_{B}$ ${10}^{-6}$ ${m}^{3}$ Geometric volume at port B volumeB ${V}_{P}$ ${10}^{-6}$ ${m}^{3}$ Geometric volume at port P volumeP ${V}_{T}$ ${10}^{-6}$ ${m}^{3}$ Geometric volume at port T volumeT ${\mathrm{ΔT}}_{\mathrm{system}}$ $0$ $K$ Temperature offset from system temperature dT_system

Dynamic Parameters

 Name Default Units Description Modelica ID ${\mathrm{\tau }}_{\mathrm{opening}}$ $0.03$ $s$ Switching time to open valve 95 % tau_opening ${\mathrm{\tau }}_{\mathrm{closing}}$ $0.02$ $s$ Switching time to close valve 95 % tau_closing

Flow Parameters

 Name Default Units Description Modelica ID ${\mathrm{Δp}}_{\mathrm{nom}}$ $7.·{10}^{5}$ $\mathrm{Pa}$ Pressure drop at nominal flow rate qnom dpnom ${q}_{\mathrm{nom}\left(\mathrm{PA}\right)}$ $0.00158$ $\frac{{m}^{3}}{s}$ Nominal flow rate from P -> A qnom_P_A ${q}_{\mathrm{nom}\left(\mathrm{PB}\right)}$ ${q}_{\mathrm{nom}\left(\mathrm{PA}\right)}$ $\frac{{m}^{3}}{s}$ Nominal flow rate from P -> B qnom_P_B ${q}_{\mathrm{nom}\left(\mathrm{AT}\right)}$ ${q}_{\mathrm{nom}\left(\mathrm{PA}\right)}$ $\frac{{m}^{3}}{s}$ Nominal flow rate from A -> T qnom_A_T ${q}_{\mathrm{nom}\left(\mathrm{BT}\right)}$ ${q}_{\mathrm{nom}\left(\mathrm{PA}\right)}$ $\frac{{m}^{3}}{s}$ Nominal flow rate from B -> T qnom_B_T ${q}_{\mathrm{nom}\left(\mathrm{PT}\right)}$ $0$ $\frac{{m}^{3}}{s}$ Nominal flow rate from P -> T qnom_P_T ${q}_{\mathrm{nom}\left(\mathrm{AB}\right)}$ $0$ $\frac{{m}^{3}}{s}$ Nominal flow rate from A -> B qnom_A_B ${P}_{\mathrm{max}}$ $1.26·{10}^{5}$ $W$ Max. hydraulic power P_max ${\mathrm{coeff}}_{P}$ $10$ Influence of hydraulic power on flow rate coeff_P ${k}_{1}$ $10$ Laminar part of orifice model k1 ${k}_{2}$ $2$ Turbulent part of orifice model, ${k}_{2}=\frac{1}{{C}_{d}^{2}}$ k2

Spool Geometry Parameters

 Name Default Units Description Modelica ID ${\mathrm{spool}}_{x-\mathrm{axis}}$ [1] Normalized spool position spool_x_axis ${\mathrm{open}}_{\mathrm{PA}}$ [2] Open (1) and closed (0) path P -> A as function of normalized spool position open_P_A ${\mathrm{open}}_{\mathrm{PB}}$ [2] Open (1) and closed (0) path P -> B as function of normalized spool position open_P_B ${\mathrm{open}}_{\mathrm{AT}}$ [2] Open (1) and closed (0) path A -> T as function of normalized spool position open_A_T ${\mathrm{open}}_{\mathrm{BT}}$ [2] Open (1) and closed (0) path B -> T as function of normalized spool position open_B_T ${\mathrm{open}}_{\mathrm{PT}}$ [2] Open (1) and closed (0) path P -> T as function of normalized spool position open_P_T ${\mathrm{open}}_{\mathrm{AB}}$ [2] Open (1) and closed (0) path A -> B as function of normalized spool position open_A_B ${d}_{\mathrm{leak}}$ $1.67·{10}^{-5}$ $m$ Diameter of equivalent orifice to model leakage of closed valve; P -> A, P -> B,A -> T, B -> T dleak

[1] $\left[-1.,-0.750,-0.500,-0.250,0.,0.250,0.500,0.750,1.\right]$

[2] $\left[0.,0.,0.,0.,0.,0.,0.,0.,0.\right]$