Directional Valve (4/3)
HydraulicsThe DirectionalValve block models a 4-port, 3-position proportional directional spool valve (P, T, A, B) for bidirectional actuation of a HydraulicCylinder. A normalized spool command routes supply pressure P to A (with B returning to T) for , or reverses the connection (P to B, A to T) for , with a closed center deadband around .
Modèle Mathématique
For spool command and deadband , the positive-stroke and negative-stroke openings are:
Opening scales the P → A and B → T orifice areas, while scales P → B and A → T via the sharp-edged turbulent/laminar orifice law.
Entrées & Sorties
| Direction | ID | Label | Type | Status |
|---|---|---|---|---|
| → In | P |
P | number | Required |
| → In | T |
T | number | Required |
| → In | in |
Spool | number | Optional |
| ← Out | A |
A | number | Output |
| ← Out | B |
B | number | Output |
Paramètres
| Paramètres | Label | Type | Défaut | Description |
|---|---|---|---|---|
diameter |
Orifice Diameter | number | 0.005 |
Equivalent fully-open spool orifice diameter |
discharge_coefficient |
Discharge Coefficient | number | 0.7 |
Orifice discharge coefficient Cd (0.6-0.7 for sharp edges) |
deadband |
Spool Deadband | number | 0.02 |
Normalized center-closed overlap deadband [0..0.9] |
spoolPosition |
Spool Position | number | 0 |
Default spool position [-1..1] when Spool input is unconnected |
leakage_fraction |
Leakage Area Fraction | number | 0.001 |
Residual leakage area fraction when centered or closed |
Exemples d'Utilisation
Bidirectional Hydraulic Cylinder Control
Connect a GearPump and ReliefValve to P, a FluidReservoir to T, and ports A/B to chamber_a/chamber_b of a HydraulicCylinder. Drive in (Spool) with a SignalGenerator or PIDController to extend and retract the cylinder.
Closed-Loop Position Servo
Feed the position output of a HydraulicCylinder into a PIDController whose normalized output drives in (Spool) of the DirectionalValve.
Remarques & Bonnes Pratiques
- Four-Quadrant Metering: Replaces four separate
HydraulicValveblocks in a bridge configuration with a single ISO 1219-1 4/3 spool element. - Fluid Properties: Requires a
HydraulicFluidblock on the hydraulic island (or uses the default ISO VG 46 oil).
Composants Associés
- HydraulicCylinder/docs.md" class="bw-link">HydraulicCylinder
- HydraulicAccumulator/docs.md" class="bw-link">HydraulicAccumulator
- HydraulicValve/docs.md" class="bw-link">HydraulicValve