# Pressure-Compensated 3-Way Flow Control Valve

(To be removed) Hydraulic pressure compensating 3-way valve

**The Hydraulics (Isothermal) library will be removed in a
future release. Use the Isothermal Liquid library instead. (since R2020a)**

**For more information on updating your models, see Upgrading Hydraulic Models to Use Isothermal Liquid Blocks.**

## Library

Flow Control Valves

## Description

The Pressure-Compensated 3-Way Flow Control Valve block represents a 3-way pressure-compensated flow control valve as a data-sheet-based model. The valve model includes a variable orifice and a normally closed pressure-control valve, connected in parallel with the orifice. The purpose of the pressure-control valve is to maintain a preset pressure differential across the orifice by diverting some flow from port A to the tank (port R) if the pressure differential exceeds the preset value. Port C controls the orifice opening, as shown in the following figure.

Depending on data listed in the manufacturer's catalogs or data sheets for your particular valve, you can choose one of the following model parameterization options:

`By maximum area and opening`

— Use this option if the data sheet provides only the orifice maximum area and the control member maximum stroke.`By area vs. opening table`

— Use this option if the catalog or data sheet provides a table of the orifice passage area based on the control member displacement.`A=A(h)`

In the first case, the passage area is assumed to be linearly dependent on the control
member displacement, that is, the orifice is assumed to be closed if the initial orifice
opening is set to zero and the control member position also equals zero. The maximum
orifice opening takes place at the maximum displacement. In the second case, the passage
area is determined by one-dimensional interpolation from the table
* A=A(h)*.

The pressure-control valve representation does not account for inertia, friction, or hydraulic forces. The valve has the following area-pressure differential relationship:

$${A}_{pc}=\{\begin{array}{ll}{A}_{leak}\hfill & \text{for}p{p}_{set}\hfill \\ \left(p-{p}_{set}\right)\frac{{A}_{\mathrm{max}\_pc}}{{p}_{reg}}\hfill & \text{for}{p}_{set}\le p\le \left({p}_{set}+{p}_{reg}\right)\hfill \\ {A}_{\mathrm{max}\_pc}\hfill & \text{for}p\left({p}_{set}+{p}_{reg}\right)\hfill \end{array}$$

where

A_{pc} | Pressure-control valve passage area |

p | Pressure differential across the orifice |

p_{set} | Preset pressure differential |

p_{reg} | Regulation range |

A_{max_pc} | Pressure-control valve maximum area |

A_{leak} | Closed orifice leakage area for pressure compensator |

Both for the variable orifice and the pressure compensator, a small leakage area is assumed to exist even after the orifice is completely closed. Physically, it represents a possible clearance in the closed valve, but the main purpose of the parameter is to maintain numerical integrity of the circuit by preventing a portion of the system from getting isolated after the valve is completely closed. An isolated or “hanging” part of the system could affect computational efficiency and even cause failure of computation.

After the area has been determined, the block computes the flow rate for both the orifice and the pressure compensator according to the following equations:

$$q={C}_{D}\cdot A\sqrt{\frac{2}{\rho}}\cdot \frac{p}{{\left({p}^{2}+{p}_{cr}^{2}\right)}^{1/4}}$$

$$A=\{\begin{array}{ll}{A}_{pc}\hfill & \text{forpressurecompensator}\hfill \\ {A}_{or}\hfill & \text{forvariableorifice}\hfill \end{array}$$

$${A}_{pc}=\{\begin{array}{ll}h\xb7{A}_{\mathrm{max}}/{h}_{\mathrm{max}}+{A}_{leak}\hfill & \text{for}h0\hfill \\ {A}_{leak}\hfill & \text{for}h=0\text{}\hfill \end{array}$$

*h* = *x*_{0} +
*x*

$$p=\{\begin{array}{ll}{p}_{A}-{p}_{R}\hfill & \text{forpressurecompensator}\hfill \\ {p}_{A}-{p}_{B}\hfill & \text{forvariableorifice}\hfill \end{array}$$

$${p}_{cr}=\frac{\rho}{2}{\left(\frac{{\mathrm{Re}}_{cr}\cdot \nu}{{C}_{D}\cdot {D}_{H}}\right)}^{2}$$

$${D}_{H}=\sqrt{\frac{4A}{\pi}}$$

where

q | Flow rate |

p | Pressure differential |

p_{A},
p_{B},
p_{R} | Gauge pressures at the block terminals |

C_{D} | Flow discharge coefficient |

A | Instantaneous orifice passage area |

A_{max} | Orifice maximum area |

A_{leak} | Closed orifice leakage area |

h_{max} | Control member maximum displacement |

x_{0} | Initial opening |

x | Control member displacement from initial position |

h | Orifice opening |

ρ | Fluid density |

ν | Fluid kinematic viscosity |

p_{cr} | Minimum pressure for turbulent flow |

Re_{cr} | Critical Reynolds number |

D_{H} | Instantaneous orifice hydraulic diameter |

Connections A, B, and R are the conserving hydraulic ports associated with the valve inlet, outlet, and return, respectively. Connection C is a physical signal port through which the orifice opening is controlled. The block positive direction is from port A to port B. Positive signal at port C opens the valve.

## Assumptions and Limitations

Fluid inertia and pressure compensator loading are not taken into account.

## Parameters

### Variable Orifice Tab

**Orifice parameterization**Select one of the following methods for specifying the orifice:

`By maximum opening and area`

— Provide values for the maximum orifice area and the maximum orifice opening. The passage area is linearly dependent on the control member displacement, that is, the orifice is closed at the initial position of the control member (zero displacement), and the maximum opening takes place at the maximum displacement. This is the default method.`By orifice area vs. orifice opening table`

— Provide tabulated data of orifice openings and corresponding orifice areas. The passage area is determined by one-dimensional table lookup. You have a choice of two interpolation methods and two extrapolation methods.

**Orifice maximum area**The area of a fully opened orifice. The parameter value must be greater than zero. The default value is

`1e-4`

m^2. This parameter is used if**Orifice parameterization**is set to`By maximum opening and area`

.**Orifice maximum opening**The maximum displacement of the control member. The parameter value must be greater than zero. The default value is

`0.005`

m. This parameter is used if**Orifice parameterization**is set to`By maximum opening and area`

.**Tabulated orifice openings**Vector of input values for orifice openings, specified as a one-dimensional array. The input values vector must be strictly increasing. The values can be nonuniformly spaced. The minimum number of values depends on the interpolation method: you must provide at least two values for linear interpolation, at least three values for smooth interpolation. The default values, in mm, are

`[-6, 0, 1, 3, 6, 9, 15]`

. This parameter is used if**Orifice parameterization**is set to`By orifice area vs. orifice opening table`

.**Tabulated orifice openings**values will be used together with**Tabulated orifice area**values for one-dimensional table lookup.**Tabulated orifice area**Vector of orifice areas, specified as a one-dimensional array. The vector must be the same size as the orifice openings vector. All the values must be positive. The default values, in cm^2, are

`[1e-7, 1e-6, 0.08, 0.145, 0.96, 1, 1.001]`

. This parameter is used if**Orifice parameterization**is set to`By orifice area vs. orifice opening table`

.**Interpolation method**This parameter is used if

**Orifice parameterization**is set to`By orifice area vs. orifice opening table`

. Select one of the following interpolation methods for approximating the output value when the input value is between two consecutive grid points:`Linear`

— Select this option to get the best performance.`Smooth`

— Select this option to produce a continuous curve with continuous first-order derivatives.

For more information on interpolation algorithms, see the PS Lookup Table (1D) block reference page.

**Extrapolation method**This parameter is used if

**Orifice parameterization**is set to`By orifice area vs. orifice opening table`

. Select one of the following extrapolation methods for determining the output value when the input value is outside the range specified in the argument list:`Linear`

— Select this option to produce a curve with continuous first-order derivatives in the extrapolation region and at the boundary with the interpolation region.`Nearest`

— Select this option to produce an extrapolation that does not go above the highest point in the data or below the lowest point in the data.

For more information on extrapolation algorithms, see the PS Lookup Table (1D) block reference page.

**Orifice initial opening**Orifice initial opening. The parameter can be positive (underlapped orifice), negative (overlapped orifice), or 0 for zero-lap configuration. The default value is

`0`

.**Orifice flow discharge coefficient**Semi-empirical coefficient that is used in the computation of flow rate through the orifice. Its value depends on the geometrical properties of the orifice and usually is provided in textbooks or manufacturer data sheets. The default value is

`0.6`

.**Orifice laminar transition specification**Select how the block transitions between the laminar and turbulent regimes:

`Pressure ratio`

— The transition from laminar to turbulent regime is smooth and depends on the value of the**Orifice laminar flow pressure ratio**parameter. This method provides better simulation robustness.`Reynolds number`

— The transition from laminar to turbulent regime is assumed to take place when the Reynolds number reaches the value specified by the**Orifice critical Reynolds number**parameter.

**Orifice laminar flow pressure ratio**Pressure ratio at which the flow transitions between laminar and turbulent regimes. The default value is

`0.999`

. This parameter is visible only if the**Orifice laminar transition specification**parameter is set to`Pressure ratio`

.**Orifice critical Reynolds number**The maximum Reynolds number for laminar flow. The value of the parameter depends on the orifice geometrical profile. You can find recommendations on the parameter value in hydraulics textbooks. The default value is

`12`

. This parameter is visible only if the**Orifice laminar transition specification**parameter is set to`Reynolds number`

.**Orifice leakage area**The total area of possible leaks in the completely closed orifice. The main purpose of the parameter is to maintain numerical integrity of the circuit by preventing a portion of the system from getting isolated after the valve is completely closed. The parameter value must be greater than 0. The default value is

`1e-9`

m^2.

### Pressure Compensator Tab

**Pressure differential across orifice setting**Pressure difference that must be maintained across the variable orifice by the pressure compensator. The default value is

`6e5`

Pa.**Pressure differential regulation range**Pressure increase over the preset level needed to fully open the pressure compensator orifice. The lower the value of the range, the higher the valve sensitivity. The default value is

`0.5e5`

Pa.**Pressure compensator maximum area**The area of a fully opened pressure compensator. The parameter value must be greater than zero. The default value is

`1e-4`

m^2.**Pressure compensator flow discharge coefficient**Semi-empirical coefficient that is used in the computation of flow rate through the pressure compensator. The default value is

`0.6`

.**Pressure compensator laminar transition specification**Select how the block transitions between the laminar and turbulent regimes:

`Pressure ratio`

— The transition from laminar to turbulent regime is smooth and depends on the value of the**Pressure compensator laminar flow pressure ratio**parameter. This method provides better simulation robustness.`Reynolds number`

— The transition from laminar to turbulent regime is assumed to take place when the Reynolds number reaches the value specified by the**Pressure compensator critical Reynolds number**parameter.

**Pressure compensator laminar flow pressure ratio**Pressure ratio at which the flow transitions between laminar and turbulent regimes. The default value is

`0.999`

. This parameter is visible only if the**Pressure compensator laminar transition specification**parameter is set to`Pressure ratio`

.**Pressure compensator critical Reynolds number**The maximum Reynolds number for laminar flow. The value of the parameter depends on the orifice geometrical profile. You can find recommendations on the parameter value in hydraulics textbooks. The default value is

`12`

. This parameter is visible only if the**Pressure compensator laminar transition specification**parameter is set to`Reynolds number`

.**Pressure compensator leakage area**The total area of possible leaks in the completely closed orifice. Must be greater than 0. The main purpose of the parameter is to maintain numerical integrity of the circuit by preventing a portion of the system from getting isolated after the valve is completely closed. The default value is

`1e-9`

m^2.

## Global Parameters

Parameters determined by the type of working fluid:

**Fluid density****Fluid kinematic viscosity**

Use the Hydraulic Fluid block or the Custom Hydraulic Fluid block to specify the fluid properties.

## Ports

The block has the following ports:

`A`

Hydraulic conserving port associated with the valve inlet.

`B`

Hydraulic conserving port associated with the valve outlet.

`R`

Hydraulic conserving port that connects with the tank.

`C`

Physical signal control port.

## Extended Capabilities

## Version History

**Introduced in R2013b**