Coils_X_2 $—$ Coil of a two-position directional control valve with first-order spool dynamics

The Coils_X_2 component describes the spool position of a directional control valve that has one coil.

The commanded opening of the valve is input at $\mathrm{commandB}$. The position of the spool ($\mathrm{spoolPos}$) is modeled as a first-order system.

When $\mathrm{commandB}=\mathrm{false}$, then $\mathrm{spoolPos}=0$.

When $\mathrm{commandB}=\mathrm{true}$, then $\mathrm{spoolPos}=1$.

Intermediate spool positions are also modeled.

The movement of the spool is described by a first-order system. This is appropriate for valves that are directly actuated by a spool. The time to shift from the neutral position to an end position (${\mathrm{\tau }}_{\mathrm{opening}}$) may be different than the time to shift to the neutral position (${\mathrm{\tau }}_{\mathrm{closing}}$).

 Equations $\mathrm{spoolPos}={\mathrm{spool}}_{\mathrm{position}}$ $\mathrm{tau_spool}=\left\{\begin{array}{cc}\frac{{\mathrm{\tau }}_{\mathrm{opening}}}{3}& \mathrm{commandB}\\ \frac{{\mathrm{\tau }}_{\mathrm{closing}}}{3}& \mathrm{otherwise}\end{array}\right\$ $\mathrm{tau_spool}{\partial }_{t}\left({\mathrm{spool}}_{\mathrm{position}}\right)+{\mathrm{spool}}_{\mathrm{position}}=\left\{\begin{array}{cc}1& \mathrm{commandB}\\ 0& \mathrm{otherwise}\end{array}\right\$

Connections

 Name Description Modelica ID $\mathrm{commandB}$ Command signal for valve commandB $\mathrm{spoolPos}$ spoolPos

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