# Dynamic Modeling and Analysis of a High Pressure Regulator

Authors: Muhammad Ramzan; Adnan Maqsood
Journal: Mathematical Problems in Engineering
 (2016)

---

## Abstract

Pressure regulator is a common device used to regulate the working pressure for plants and machines. In aerospace propulsion systems, it is used to pressurize liquid propellant rocket tanks at specified pressure for obtaining the required propellant mass flow rate. In this paper, a generalized model is developed to perform dynamic analysis of a pressure regulator so that constant pressure at outlet can be attained. A nonlinear mathematical model of pressure regulator is developed that consists of dynamic equation of pressure, temperature, equation of mass flow rate, and moving shaft inside regulator. The system of nonlinear and coupled differential equations is numerically simulated and computation of pressure and temperature is carried out for required conditions and given design parameters. Valve opening and mass flow rate are also found as a function of given inlet pressure and time. In the end, an analytical solution based on constant mass flow rate assumption is compared with nonlinear formulation. The results demonstrate a high degree of confidence in the nonlinear modeling framework proposed in this paper. The proposed model solves a real problem of liquid rocket propulsion system. For the real system under consideration, inlet pressure of regulator is decreased linearly from 150 bar to 60 bar and outlet pressure of nearly 15 bar is required from pressure regulator for the complete operating time of 19 s.


---

## Body

## 1. Introduction

Pressure regulator is normally a dynamic open valve that takes a high varying inlet pressure and converts it to a nearly constant and lower desired outlet pressure. It consists of set screw, working spring, main shaft, valve seat, inlet outlet chamber, sensing orifice, pressure chamber, rolling diaphragm plate, and return spring as shown in Figure1. Constant downstream pressure is obtained by variable valve opening area. This variable valve opening area is generated due to opposite force balancing between spring loading and pressure acting on diaphragm plate in pressure chamber. Rolling diaphragm moves upwards as downstream pressure increases and moves backward as downstream pressure decreases for maintaining constant outlet pressure.Figure 1
Cross-sectional view of pressure regulator and its components: three-dimensional view (a) and two-dimensional cross section (b).
(a) (b)Vujic and Radojkovic [1] studied the procedure of forming nonlinear dynamic model of gas pressure regulator. The model showed the self-exciting oscillations of systems with certain amplitude and frequency without the presence of outside disturbance. The results reported the effect of each design parameter for self-exciting oscillations and suggested methods to correct them. In the end, it was proposed that a linear model is sufficient for evaluation of stability and transient response if flow through valve is laminar, dry friction is negligible, and the motion of valve and diaphragm is not constrained. These sets of assumptions are significantly contradictory to actual operations. Specifically, mixing triggers a highly turbulent phenomenon inside pressure regulators and the situation further worsens under high pressure environments. Similarly, Sunil et al. [2] developed the linear mathematical model of pressure regulator for cryogenic application pressure regulator. The model was validated with the experimental test of cryogenic pressure regulator, developed by Liquid Propulsion Systems Centre (LPSC) of Indian Space Research Organization. The effect of cryogenic temperature was measured in the regulated pressure taking into account spring load variation, design changes, and fluid property. It is interesting to note that the pressure differential equation in regulator flow volume was considered without taking the valve clearance factor and assuming the constant temperature in all regulator volumes in both studies.Shahani et al. [3] studied the dynamic equation of pressure and temperature with the assumption of adiabatic process happening in high pressure regulator. The model was simulated using numerical tools and verified experimentally. It was found that as outlet volume increases, the stability of outlet pressure increases and as spring load increases, outlet pressure increases proportionally. The control spring stiffness and diaphragm area were two sensitive parameters identified that effect downstream pressure of regulator. It was suggested that, for the better control of outlet pressure of regulator, these two parameters should be designed and manufactured carefully.Zafer and Luecke [4] investigated the stability characteristics and showed the cause of vibration and possible design modification for eliminating the unstable vibrating model. A comprehensive linear dynamic model of self-regulating high pressure gas regulator was developed for stability analysis. Root locus technique was used to study the effect of variation of various design parameters on system dynamics. It was concluded that damping coefficient, the diaphragm area, and upper and lower volumes are most important design parameters that affect the stability. An improvement in stability was reported with the decrease in flow path between regulator body and lower pressure chamber. Similarly, Delenne and Mode [5] performed experimental and numerical simulation to identify the relative influence of several parameters on emergence and amplitude of oscillations. However, no discussion on regulator design and model parameters is made. Experimental work performed in various studies cannot be extended as they give results subject to specific geometric shape.Rami et al. [6] developed mathematical model, performed experimental analysis, measured performance, and found operating conditions that increase stability. The numerical and experimental results were in good agreement with respect to each other. It was concluded that oscillations in downstream pressure increase for small volumes and higher upstream pressure. The study showed that opening of valve and driving pressure have less effect on oscillation of downstream pressure. Moreover, the length of sensing lines from downstream chamber to damping chambers of regulator has only little influences on the oscillation of downstream pressure.With the advancement of Computational Fluid Dynamics (CFD), several studies are directed towards complex flow generation and visualization inside pressure regulator. Shipman et al. [7] carried steady and unsteady simulation for the analysis of gas pressure regulator for rocket feed system. Comparison of the numerical results and experimental data from NASA Stennis Space Center was found to be satisfactory. Ortwig and Hubner [8] worked on mechatronic pressure controller for Compressed Natural Gas (CNG) engines. CFD simulation for analysis of shock and vortices formation near the valve opening was performed and potential for the improvement in geometry with the help of CFD results was discussed. It was concluded that flow forces are dependent on pressure differential. Moreover, steady state flow forces are almost independent of valve opening. Saha [9] performed the numerical simulation of a pressure regulated valve to find out the characteristics of passive control circuit. Commercial software was used to analyze the flow forces on different interfaces of the moving shaft of regulator. A special User Defined Function (UDF) for varying inlet pressure and reducing the valve opening by delta amount for transient analysis of pressure regulator was written. Flow convergence was checked at each time step using UDF and calculation was allowed to move to next time step only after meeting the required criteria for convergence. Similarly, Du and Gao [10] carried numerical study of complex turbulent flow through valves in a steam turbine system. Their main aim was to understand the flow behavior through the complex configuration operating under different conditions, so as to derive the necessary information of optimizing the valve design. However, dynamic prediction cannot be performed using CFD simulations as they are very expensive and not practical in real-time environment. The model presented in this paper tries to fill this void.From operations perspective, Yanping et al. [11] discussed the dynamic model of pressure reducing valve. The dynamic processes of valve for pressurizing, startup, and different operating conditions by numerical simulations and experimental investigation were discussed. It was concluded that increasing the area of damping hole or decreasing the volume of damping cavity can not only reduce redressing time of the pressure regulating valve, but also reduce overshoot. Moreover, increasing the stiffness of the main spring can reduce the redressing time of the pressure regulating valve. From review of relevant studies, it is clear that a complex phenomenon occurs inside pressure regulator that includes compressibility, choking, turbulence, fluid structure interaction, flow expansion with recirculation, and flow separation.There is dearth of published literature which briefly discusses the dynamic simulation of high differential pressure regulator. In this study, a generalized nonlinear mathematical model is developed that computes regulator outlet pressure by incorporating at the same time the dynamic equation of valve clearance, differential equation of temperature in regulator volume, and equation of mass flow rate by finding pressure gradients in the inlet volume and outlet volume as a function of time. Model is simulated for two cases. For the first case, the inlet pressure of reservoir is increased from 60 bar to 150 bar at the rate of 4.74 bar/s. Results of pressure, temperature, mass flow rate, and valve opening are computed. The model is of utilitarian nature and is specifically simulated for particular application in rocket tank feed system for propulsion of rocket in second case. Specifically, the reservoir pressure is reduced from 150 bar to 60 bar at the rate of 4.74 bar/s and model is simulated for 19 s for controlling outlet pressure near 15 bar. Mass flow rate and valve opening are required as a function of time for maintaining 15-bar pressure at outlet port with respect to varying high inlet pressure. Initial parameters of regulator are set in a way that it gives initial valve opening of 2.3 mm. With the known value of constant mass flow rate for varying high inlet pressure and keeping constant temperature at inlet and outlet, an analytical solution is also proposed for dynamic equation of pressure with varying high inlet pressure as a function of time.


## 2. Geometric Description

A pressure regulator normally consists of tightening screw on its top to provide the load force on working spring. This load force controls the outlet pressure. Other main parts are inner moving shaft with valve whose basic function is to restrict the flow and provide a function of pressure drop.Overall flow volume of pressure regulator is divided into four regions and for each flow volume (Figure2), we developed mathematical model for pressure and temperature as a function of time. First-order forward differencing scheme is used for the discretization of dynamic equation of pressure and temperature. Equation of moving inner shaft is reduced to two sets of first order differential equations with initial conditions and computed numerically using Runge-Kutta method. Mass flow rate, valve opening, and outlet pressure are computed as a function of time and inlet pressure. An analytical solution is found for finding controlled outlet pressure as a function of time with some assumptions.Figure 2
Flow volumes of pressure regulator and corresponding quantities.HereVin is the inlet volume, V1 is intermediate volume, Vout or Vreg is outlet volume, and Vdam is the damping volume in cubic meter. P (bar) and T (Kelvin) are pressure and temperature in corresponding volumes. m˙in is the inlet mass flow rate (kg/s) from high pressurized compressed air cylinder to inlet volume and other mass flow rates correspond to flow from one volume to another volume (Figure 3).Figure 3
Force balance on various area of moving shaft.


## 3. Mathematical Modeling

For the development of dynamic equation of pressure we use the assumption of adiabatic and reversible process inside regulator ducts, so we can use the isentropic relation between pressure (P), density, and specific heat ratio (γ)(1)PVMγ=const.It is pertinent to note that the entire volume is divided into four subvolumes, Vin, V1, Vout, or Vreg and Vdam. Vin here is the inlet volume, V1 is intermediate volume, Vout or Vreg is outlet volume, and Vdam is damping volume. Differentiating with respect to time and after simplification, dynamic equation of pressure is found and is given in (2)dPdt=RγV∗Tinm˙in-Toutm˙out+Tsm˙s-γAPVx˙,where A is the valve clearance area, x is the valve clearance length in mm, R is the ideal gas constant, Tin is the inlet temperature, Tout is the outlet temperature, Ts is the temperature of damping orifice, and ms is the mass flow through damping orifice.Development of dynamic equation of temperature is carried out from first law of thermodynamics. Considering the density change is occurring in regulator duct, we can write sum of all energy added to ducts of pressure regulator by the energy equation as(3)ddtE+ddtW=ddtQ+Hin˙-Hout˙,where E represent total internal energy, W is the rate of change of work, and Q is heat transfer inside and outside of pressure regulator. Here we are assuming that no heat transfer is taking place. Hin˙ and Hout˙ are the inlet and outlet enthalpy of air mass in regulator ducts. After simplification of energy equation, following dynamic equation of temperature is found:(4)ddtT=RToutPoutVout2∗γTinTout-1m˙in-γ-1m˙out-γ-1PVoutAx˙.For the mass flow from one flow volume to other, following equation is used:ifPout/Pin<0.528(5)m˙=CA2γ+11/γ-12γγ+11RTinPin;ifPout/Pin>0.528(6)m˙=CA2γγ-11RTinPinPoutPin2/γ-PoutPinγ+1/γ,where C is the discharge coefficient and its value can be taken as 0.8, 0.9, or 1.A is the corresponding cross section area for mass flow from one volume to another. Equation of moving shaft is developed from Newton formulation based on its upward and downward motion and is given by(7)x¨=A11Pin-A1Pin-A2Preg-A3Preg+A4Preg+A5Preg+A6Preg-Fcsignx˙-Kcspringx-F0-Fvalve-KcvalvexM,x0=2.3mm,x˙0=0,where Kcspring and Kcvalve are the control springs and return spring rates. M is the mass of moving shaft and Pin is the inlet pressure. Preg is the regulated pressure or outlet pressure. F0 is the control spring preload or initial force set on spring. Fvalve is the return spring precompression. Fc is dry friction between shaft seal and regulator. It is also called lubricated or coulomb friction. Also here sign is a MATLAB® signum function which gives the moving shaft opposite direction by observing its velocity.For all four volumes, derivatives of pressure and temperature are replaced by their time differencing for computation of pressure and temperature. Here the discretized equation of pressure and temperature for outlet volume based on first-order forward differencing scheme is shown in (8) and (9), respectively:(8)Pregt+Δt=RγVreg∗Tintm˙int-Touttm˙outt+Ttsm˙st-γAsPtVregxt˙∗Δt+Pregt,(9)Tregt+Δt=RTout2tPouttVout∗γTintToutt-1m˙int-γ-1m˙outt-γ-1PtVoutAexitxt˙∗Δt+Tregt.


## 4. Simulation Results and Discussion

Above nonlinear and coupled differential equations of each flow volumes are simulated numerically by finite difference method. Second-order differential equation of moving shaft is converted to two sets of first-order differential equations and solved numerically by MATLAB built-in routineode45 based on Runge-Kutta method.Simulation results have been derived for two cases. In first case, we increase the inlet pressure of reservoir from 60 bar to 150 bar at the rate of 4.74 bar/s and note the outlet pressure of regulator. In second case, pressure in the reservoir or compressed air cylinder is reduced from 150 bar to 60 bar at the rate of 4.74 bar/s and overall regulator performance is checked corresponding to outlet pressure. For each case, outlet pressure, mass flow rate, temperature, and valve opening are computed.


### 4.1. Increasing Inlet Pressure from 60 bar to 150 bar

Load or control spring compression on pressure regulator is initially set in such a way that initial valve clearance of regulator is 2.5 mm. When the inlet valve of regulator is opened, high pressure fluids begin to flow from reservoir to different volume of regulator. Pressure in each volume of regulator begins to increase. The pressure in outlet volume is continuously checked in damping chamber through damping orifice. As the pressure in the outlet volume of regulator reaches above 15 bar, pressure creates a force on the diaphragm plate against the load force of spring which was set for a 15-bar pressure at the outlet. As a result, the main shaft of regulator moves upward and valve clearance reaches its minimum opening position. After that, the moving shaft of regulator oscillates up and down such that pressure of nearly 15 bar is maintained in outlet volume of regulator as shown in Figure4. The outlet pressure approaches to 15 bar around 0.8 s and valve opening reduces to its minimum level. Steady state oscillations of about 0.25 mm are observed afterwards. The magnitude of oscillation is about 0.1 mm which is negligible.Figure 4
Valve opening as a function of time for increasing inlet pressure.Initial pressure at outlet was 1 bar, near about 0.8 seconds, and outlet pressure reaches 15 bar and then a minor oscillation in outlet pressure is seen for whole simulation time in Figure5.Figure 5
Outlet pressure (N/m2) variation against inlet pressure (N/m2) and over entire simulation time.Initial valve clearance was 2.5 mm due to which high mass flow rate is seen initially form volumeV1 to volume Vout. As the pressure in volume Vout reaches 15 bar, the valve opening reduces and a sudden decrement in mass flow rate can be seen in Figure 6. Subsequently, mass flow rate value oscillates near about 0.24 kg/s for maintaining nearly 15 bar at outlet.Figure 6
Mass flow rate at valve opening as a function of time.Initial temperature of volumeVout was 290 K (standard atmosphere temperature). With the increase in pressure from 1 to 15 bar, temperature also increases. Due to compressibility effect, temperature does not decrease sharply but it decreases smoothly as shown in Figure 7.Figure 7
Temperature in outlet volume as a function of time.


### 4.2. Decreasing Inlet Pressure from 150 bar to 60 bar

This case corresponds to simulation of real problem of liquid propulsion system. Initial pressure and temperature in each flow volume are taken as 1 bar and 290 K. Time increment (Δt) is taken as 0.001 s. Valve opening (Figure 8) is 100% (2.3 mm) nearly for 0.7 s. Afterward outlet pressure reaches nearly 15 bar and valve opening reaches its minimum level. Valve clearance value oscillates with magnitude of 0.02 mm and increases as well with the decrement of inlet pressure to meet the mass conservation.Figure 8
Valve opening as a function of time.Initially pressure at outlet volume is 1 bar and after nearly 0.7 s, pressure at outlet reaches average value of 15 bar and control spring load force on diaphragm plate is balanced by pressure force on diaphragm plate in opposite direction. Thus a controlled pressure of nearly 15 bar is achieved as shown in Figure9.Figure 9
Outlet pressure for whole simulation time.Initially mass flow rate increases till about 0.7 s and pressure at outlet volume reaches 15 bar, valve clearance decreases, and suddenly mass flow rate also decreases as shown in Figure10.Figure 10
Mass flow rate as a function of time.Initial temperature was set to 290 K at outlet volume with pressure of 1 bar. Due to sudden increase of pressure in outlet chamber, average value of temperature suddenly increases for very short time and then steady state temperature reaches due to maintained pressure at outlet as shown in Figure11.Figure 11
Variation of temperature in outlet volume.


## 4.1. Increasing Inlet Pressure from 60 bar to 150 bar

Load or control spring compression on pressure regulator is initially set in such a way that initial valve clearance of regulator is 2.5 mm. When the inlet valve of regulator is opened, high pressure fluids begin to flow from reservoir to different volume of regulator. Pressure in each volume of regulator begins to increase. The pressure in outlet volume is continuously checked in damping chamber through damping orifice. As the pressure in the outlet volume of regulator reaches above 15 bar, pressure creates a force on the diaphragm plate against the load force of spring which was set for a 15-bar pressure at the outlet. As a result, the main shaft of regulator moves upward and valve clearance reaches its minimum opening position. After that, the moving shaft of regulator oscillates up and down such that pressure of nearly 15 bar is maintained in outlet volume of regulator as shown in Figure4. The outlet pressure approaches to 15 bar around 0.8 s and valve opening reduces to its minimum level. Steady state oscillations of about 0.25 mm are observed afterwards. The magnitude of oscillation is about 0.1 mm which is negligible.Figure 4
Valve opening as a function of time for increasing inlet pressure.Initial pressure at outlet was 1 bar, near about 0.8 seconds, and outlet pressure reaches 15 bar and then a minor oscillation in outlet pressure is seen for whole simulation time in Figure5.Figure 5
Outlet pressure (N/m2) variation against inlet pressure (N/m2) and over entire simulation time.Initial valve clearance was 2.5 mm due to which high mass flow rate is seen initially form volumeV1 to volume Vout. As the pressure in volume Vout reaches 15 bar, the valve opening reduces and a sudden decrement in mass flow rate can be seen in Figure 6. Subsequently, mass flow rate value oscillates near about 0.24 kg/s for maintaining nearly 15 bar at outlet.Figure 6
Mass flow rate at valve opening as a function of time.Initial temperature of volumeVout was 290 K (standard atmosphere temperature). With the increase in pressure from 1 to 15 bar, temperature also increases. Due to compressibility effect, temperature does not decrease sharply but it decreases smoothly as shown in Figure 7.Figure 7
Temperature in outlet volume as a function of time.


## 4.2. Decreasing Inlet Pressure from 150 bar to 60 bar

This case corresponds to simulation of real problem of liquid propulsion system. Initial pressure and temperature in each flow volume are taken as 1 bar and 290 K. Time increment (Δt) is taken as 0.001 s. Valve opening (Figure 8) is 100% (2.3 mm) nearly for 0.7 s. Afterward outlet pressure reaches nearly 15 bar and valve opening reaches its minimum level. Valve clearance value oscillates with magnitude of 0.02 mm and increases as well with the decrement of inlet pressure to meet the mass conservation.Figure 8
Valve opening as a function of time.Initially pressure at outlet volume is 1 bar and after nearly 0.7 s, pressure at outlet reaches average value of 15 bar and control spring load force on diaphragm plate is balanced by pressure force on diaphragm plate in opposite direction. Thus a controlled pressure of nearly 15 bar is achieved as shown in Figure9.Figure 9
Outlet pressure for whole simulation time.Initially mass flow rate increases till about 0.7 s and pressure at outlet volume reaches 15 bar, valve clearance decreases, and suddenly mass flow rate also decreases as shown in Figure10.Figure 10
Mass flow rate as a function of time.Initial temperature was set to 290 K at outlet volume with pressure of 1 bar. Due to sudden increase of pressure in outlet chamber, average value of temperature suddenly increases for very short time and then steady state temperature reaches due to maintained pressure at outlet as shown in Figure11.Figure 11
Variation of temperature in outlet volume.


## 5. Closed Form Solution of Pressure Equation

For quick analysis of outlet pressure without involving the full design parameters, an analytical solution of dynamic equation of pressure is obtained with some assumption of constant mass flow rate and different inlet and outlet temperature. For the development of analytical solution only two flow volumes are taken. Inlet volumeVin is the flow volume before the valve opening and outlet volume or regulated volume Vreg is the volume after the valve opening as shown in Figure 12.Figure 12
Two main flow volumes of pressure regulator used for analytical estimation.By assuming average value of mass flow rate and using mass flow rate equation, valve opening from 150 bar to 60 bar inlet pressure is found as function of time in (10) and is shown in Figure 13. Here valve opening for analytical solution is compared with numerical computed valve opening when outlet pressure reaches nearly 15 bar. The difference in results is due to use of variable mass flow rate with full design parameters in numerical computation and only constant average mass flow rate with different inlet and outlet temperature for analytical solution.(10)At=m˙Cdin2/γ+11/γ-12γ/γ+11/RTinPint.Figure 13
Comparison of valve opening as a function of time.Introduced in dynamic equation of pressure, a linear differential equation is obtained which is solved analytically and solution is given by(11)Prt=γRVrTinAstC1Pint∗e-Ae∗Tout∗C1+C∗e-Ae∗Tout∗C1,C1=2γ+1γ/γ-1∗2γRγ+1,C=Pr0-γRVrTinAs0C1Pin0∗eAe∗Tout∗C1.Outlet pressure from numerical computation is compared with analytical solution as shown in Figure14. Average constant mass flow rate used in valve opening in analytical solution does not provide any oscillation in mass flow rate so here outlet pressure smoothly reaches 15 bar in case of analytical solution for whole simulation time. This is because when the constant mass flow rate assumption is taken then valve opening is only the function of inlet pressure and inlet temperature. In this way we are here ignoring the equation of moving shaft and finding valve opening from the mass flow rate equation. The constant mass flow rate in steady state condition can be used just for quick analysis of some initial design parameters.Figure 14
Comparison of outlet pressure with time.


## 6. Conclusion

Mathematical model for flow inside a generic pressure regulator is developed and numerically simulated. Dynamic equation of pressure and temperature is developed based on the continuity and energy equation to capture the pressure and temperature change in regulator ducts as a function of time. Equation of moving shaft is developed by Newton second law of motion. First-order forward differencing technique is used to discretize the dynamic equations. Results include dynamic simulation of pressure, mass flow rate, temperature, and valve opening as a function of time and inlet pressure. Two scenarios are simulated. In the first case, inlet pressure is increased from 60 bar to 150 bar and 15 bar is maintained at outlet. In second case, inlet pressure is decreased from 150 bar to 60 bar while maintaining outlet pressure of 15 bar. Oscillating mass flow rate with average value of 0.4547 kg/s is found for outlet pressure of 15 bar. The analytical solution is presented in the end and satisfactory comparison is demonstrated with numerical results.



---

*Source: 1307181-2016-11-22.xml*