Designing a inline piston pressure regulator - Fluid statics math model
Posted: Sun Nov 07, 2021 8:55 am
Hello everyone!
I finally found some free time after finishing my undergraduate degree and I'm starting to get back into this hobby. One thing I always wanted to make is a pressure regulator to fill my creations from a external tank. Currently I have a 2l fire extinguisher to use for this purpose.
My fluid mechanics is a bit rusty and I've never solved problems with compressible fluids like this before, so I'm asking for help figuring this out. Basically I'm trying to set up a mathematical model of a regulator to find the appropriate spring, overall dimensions and working pressures. I'll be trying to shrink the design as much as possible, so knowing the forces and stresses will be important.
This will be used for my last build, the Barret M98b replica. Unfortunately I can't find the old showcase post, as if it's been deleted, so here are a few photos. Some of you might remember it
Initial regulator design will be based on the following image, posted years ago on Spudfiles. Forgive me I don't know the author
This is what I came up with:
Initial values are:
p1 = 15 bar -Inlet pressure from the external fire extinguisher tank
p2 = 6 bar -Outlet pressure, inside the onboard tank
d1 = 6 mm -Piston diameter, minimum value limited by the smallest available O ring (2x2mm)
d2 = 4 mm -O ring contact diameter
dr = 2 mm -Rod diameter
Forces acting on the piston:
Where:
F1 is the force due to pressure p1 that is closing the regulator
F2 is the force due to pressure p1 that is opening the regulator
F3 is the force due to pressure p2 that is closing the regulator
Fo is the spring force that is opening the regulator
Equilibrium equation and spring force:
If forces in the picture above are set up correctly, spring force that keeps this system in equilibrium is Fo=31,1N.
When I keep the spring force constant at Fo=31,1N and solve for pressure p2 while lowering inlet pressure p1, the math falls apart below p1=11bar. The results become nonsensical in that the outlet pressure p2 becomes greater than p1. I'm not sure if this is due to some error I made or the assumption of constant spring force is no longer valid when the spring elongates, opens the regulator and stops it from functioning.
My overall concern with this design is that outlet pressure p2 rises when inlet pressure p1 drops. I'd very much prefer it to be the other way around, if that is even possible. Also I'm not sure what effect friction will have or how to model it. Could anyone double check these equations? Any suggestions are welcome.
Please help if you're a mechanical engineer laughing at this simple problem
I finally found some free time after finishing my undergraduate degree and I'm starting to get back into this hobby. One thing I always wanted to make is a pressure regulator to fill my creations from a external tank. Currently I have a 2l fire extinguisher to use for this purpose.
My fluid mechanics is a bit rusty and I've never solved problems with compressible fluids like this before, so I'm asking for help figuring this out. Basically I'm trying to set up a mathematical model of a regulator to find the appropriate spring, overall dimensions and working pressures. I'll be trying to shrink the design as much as possible, so knowing the forces and stresses will be important.
This will be used for my last build, the Barret M98b replica. Unfortunately I can't find the old showcase post, as if it's been deleted, so here are a few photos. Some of you might remember it
Initial regulator design will be based on the following image, posted years ago on Spudfiles. Forgive me I don't know the author
This is what I came up with:
Initial values are:
p1 = 15 bar -Inlet pressure from the external fire extinguisher tank
p2 = 6 bar -Outlet pressure, inside the onboard tank
d1 = 6 mm -Piston diameter, minimum value limited by the smallest available O ring (2x2mm)
d2 = 4 mm -O ring contact diameter
dr = 2 mm -Rod diameter
Forces acting on the piston:
Where:
F1 is the force due to pressure p1 that is closing the regulator
F2 is the force due to pressure p1 that is opening the regulator
F3 is the force due to pressure p2 that is closing the regulator
Fo is the spring force that is opening the regulator
Equilibrium equation and spring force:
If forces in the picture above are set up correctly, spring force that keeps this system in equilibrium is Fo=31,1N.
When I keep the spring force constant at Fo=31,1N and solve for pressure p2 while lowering inlet pressure p1, the math falls apart below p1=11bar. The results become nonsensical in that the outlet pressure p2 becomes greater than p1. I'm not sure if this is due to some error I made or the assumption of constant spring force is no longer valid when the spring elongates, opens the regulator and stops it from functioning.
My overall concern with this design is that outlet pressure p2 rises when inlet pressure p1 drops. I'd very much prefer it to be the other way around, if that is even possible. Also I'm not sure what effect friction will have or how to model it. Could anyone double check these equations? Any suggestions are welcome.
Please help if you're a mechanical engineer laughing at this simple problem