![]() |
Help Calculating time to recharge air tanks
This one is making me feel dumb:
I'm trying to optimize the performance of our (rookie team) pneumatics system. One basic parameter is how long it takes the KOP compressor to charge the tanks from the working pressure (60 psig) to the storage pressure (120 psig). I've tried estimating this a couple of different ways, but they all go pretty much like this: 1) Assuming temperature stays constant (not a fair assumption maybe): P1 * V1 = P2 * V1 (from the ideal gas law) So ending with a storage volume of 35 in^3 at 70 psig (84psia), to get to start with a larger volume at 60 psig (74 psia): V1 = P2/P1 * V1 V1 = 84 psia / 74 psi * 35 in^3 V1 = 39.73 in^3 2) and since we started with 35 in^3 of 60 psi air, we need to add: deltaV = 39.73 - 35 = 4.73 in^3 3) Looking up the performance values for the ViaAir 090c (http://www.viaircorp.com/90C.html#tabs-2), we get a flow rate at 60 psig of Vdot60 = 0.53 cfm = 15.26 in^3/s 4) So the time to bring the tank from 60 to 70 psig is: t60to70 = deltaV/Vdot60 t60to70 = 4.73 in^3 / 15.26 in^3/s = 0.3s 5) Repeating this for each 10 psig interval between 60 and 120, I get a total recharge time of about 1.7s per 35 in^3 tank. Here's my problem - we're seeing much longer recharge times on our robot. With three tanks at above 60 psig, the compressor runs for over 20 s before turning off :confused: Have I made a mistake in my arithmetic or assumptions? Should I have paid more attention in fluids class? Does ~2s per tank to recharge from 60 to 120 psi sound reasonable in other teams' experience? (note -I get pretty much the same answer if I just use the viaair flowrate at 60 psig and do the calculation in one interval between 60 and 120 psig) |
Re: Help Calculating time to recharge air tanks
I'm not entirely sure of how to do this myself, but I don't think your solution accounts for the fact that the amount of gas provided will decrease as the pressure in the chamber increases. The Ideal Gas Law also makes a lot of assumptions that generally don't hold true in the real world so there will be some deviance between the actual time to fill and the expected time to fill. Honestly, I would plot time and pressure in the tank and try to do a regression on it.
|
Re: Help Calculating time to recharge air tanks
I don't think you're accounting for the lower flow rate at higher pressures. If you plot how long it takes to make each 10psi increment you'll find that the higher ones take a lot longer.
Your experimental value of 20 seconds to run from 60 to 120 psi sounds close to what our experience has been in the past. Unfortunately we're not using pneumatics this year so I can't easily get you a comparison value. Hint for your compressor testing: put a fan on the heat sink. The approved compressors have a very low duty cycle and it's easy to overrun it during tests. |
Re: Help Calculating time to recharge air tanks
1 Attachment(s)
We see much longer recharge times than 0.3 or 2s as well.
I haven't done the calculus, but this is what the curve looks like if you want to play around with it. (It's not an excellent fit, but it's close. Ish.) |
Re: Help Calculating time to recharge air tanks
I would go through and check all the math, but I learned a long time ago that with air storage it is faster and easier to just plumb it up and try it with a stopwatch to get an accurate measurement of time. I want to say that when we run our systems they charge from empty to full pressure in around 30-40 seconds. That is with reasonable hose runs and 4 stainless clippard tanks. From 60-90 would probably be in the 5-10 second range and 90-120 is at least 10 seconds.
With that said:
|
Re: Help Calculating time to recharge air tanks
Quote:
|
Re: Help Calculating time to recharge air tanks
Quote:
Patrick has the curve for you. It's a calculus problem as he says: Take the integral of the time to fill each step based on the spec. I'm still a fan of the aforementioned stopwatch method. Or, go to Viair's page, look at the 0.5 gallon fill rates and divide by about 3.3 (0.5 gallon = 115.5 cu in). |
Re: Help Calculating time to recharge air tanks
Quote:
You've got volume/minute on the Y axis, and pressure on the X axis, so the integration will yield units of volume*pressure/time, or power (in the charming non-SI unit of inch-lbs/minute)--not time. |
Re: Help Calculating time to recharge air tanks
Okay, I think I've got it. Integrate the curve between the pressures whose charge time you want, set that equal to the difference in energy of the gas (delta-P*V) over time, and solve for time.
Yes? (Man, I need a nap.) |
Re: Help Calculating time to recharge air tanks
Quote:
A decent sanity check would be to take the compressors electrical power input, multiply by a conservative assumption of efficiency, and divide the difference in stored energy by this power to get time. OP - your initial approach makes too many optimistic assumptions such as no temperature change, constant flow rate vs pressure, etc. |
Re: Help Calculating time to recharge air tanks
Quote:
http://www.viaircorp.com/90C.html#tabs-2 lower right corner, "Performance Data" shows 0.34 cfm at 120 psi It's been my experience with FRC robotics, that if you need to worry about the refill rate of the storage tanks with this much detail, then you're probably using pneumatics for something that would be better handled with a more powerful motor, like a CIM. |
Re: Help Calculating time to recharge air tanks
Thanks for the responses so far.
Quote:
Quote:
Quote:
Quote:
|
Re: Help Calculating time to recharge air tanks
Quote:
Pro-tip: if your students don't yet know calculus, approximate the curve with a trapezoid (or several) to teach them the *idea* of calculus, and of using unit analysis on axes to determine the physical quantities yielded by integration. |
Re: Help Calculating time to recharge air tanks
I think the error you are making is that the CFM compressor performance values you are using are at the inlet to the compressor, not the discharge. The compressor does not put out 0.53 cfm @ 60 psi, it compresses 0.53 cfm of atmospheric air (14 psia) when the discharge is @60 psi.
Mike |
Re: Help Calculating time to recharge air tanks
Quote:
This method is actually how a great deal of engineering calcs are done. Before I knew what I was doing, I brute forced a lot of calculations this way after being inspired by JVN using the method in his drive design calc. Later one I learned better ways to do some calcs, but a lot are still easier to do numerically. With excel's easy method of repeating formulas, it can be done with plenty precision using small timesteps. Euler's Method is the simplest (could be wrong...), but there are other methods that can get a lot better, especially if the curve changes direction a lot. |
Re: Help Calculating time to recharge air tanks
Quote:
|
Re: Help Calculating time to recharge air tanks
Quote:
Quote:
If you did not account for the slowing, the time to fill a 35 in^3 tank from zero pressure would be based on the volume of this gas after it were returned to ambient. Since 120 = 15 * 8, we started with 8 x 35 in^3 = 280 in^3 = .162 ft^3 outside the tank, in the atmosphere. For a 1 cfm pump, this would take about 9.7 seconds to compress. I haven't measured it, but it seems that the sound of an air compressor drops about two octaves as it goes from zero to 120 psi. Assuming the same amount of air is compressed in each cycle, this means that at the end, it is pumping about 1/4 cfm, which would take 39 seconds to fill. Your time of 20 seconds to fill from 60 to 120 sounds about right. |
Re: Help Calculating time to recharge air tanks
Quote:
Kids always stress over the need to have ten tanks on the robot and then they complain that the compressor runs for the whole match. When we reduce it to three or four tanks, the compressor may run twice a match, but for only 15-20 seconds each time. Unless you need to dump 80 cubic inches of air at a time, you rarely need 80 cubic inches of storage. |
Re: Help Calculating time to recharge air tanks
Quote:
|
Re: Help Calculating time to recharge air tanks
Quote:
|
Re: Help Calculating time to recharge air tanks
Quote:
I believe some students on my team have some interesting graphs we made of "real-time" pressure at the cylinder inlet throughout the shot varying the amount of reservoir tanks both HP and LP side, but besides the point...::rtm:: |
Re: Help Calculating time to recharge air tanks
Quote:
Quote:
|
Re: Help Calculating time to recharge air tanks
Quote:
- that moment when you realize you need to make a big change, and it's almost week 5 :( |
Re: Help Calculating time to recharge air tanks
If you go to the link Mr Forbes provided you'll find another tab labeled refill rates. Of course those are only valid with the listed sizes and pressure ranges. Of course the listed pressure ranges are not exactly what we see in FRC and it is unlikely that you are using a .5 gallon tank. However you could probably use that data along with the CFM at the different pressures to derive how it would work with your tank size and pressure range.
The thing to keep in mind is that it is a piston type compressor. That piston has a set volume however you don't get to use all of that volume with each stroke. At zero psi the entire volume of the cylinder is discharged. As the pressure rises the initial portion of the stroke is used to reach the current tank pressure and no air flows out of the cylinder until the current pressure is met. The other thing is that at zero psi there is minimal load on the compressor's motor. As the pressure rises the load on the motor increases so it's rpm decreases. Not that the chart lists different current consumption at different pressures to reflect that change in load and rpm of the motor. The listed CFM in the chart is what flows out of the compressor when working against a given pressure but the air does cool and contract when it reaches the tank further complicating the calculations. |
Re: Help Calculating time to recharge air tanks
Quote:
When designing our pneumatic system this year, our first focus was on actual air usage - how often would our "ideal" system be able to actuate. From there, we worked backwards to determine how much air was required at working pressure. This helped to directly inform us of the required storage volume - how many times do you want to be able to activate your mechanism before you run out of storage? How much airflow do you need to support the system over the entire match? Can the compressor handle it? In the end, our math showed that we could handle the load at our theoretical top actuation speed (a speed we'll probably never actually hit, but it's good to have a bit of a cushion in these calculations). It also showed us the affect we would have if we had 2 tanks for storage, or 4, or 8. Doing the math to figure out how much the storage pressure drops with each activation is critical! |
Re: Help Calculating time to recharge air tanks
Quote:
|
Re: Help Calculating time to recharge air tanks
Quote:
|
Re: Help Calculating time to recharge air tanks
Quote:
|
Re: Help Calculating time to recharge air tanks
1 Attachment(s)
I'm not sure I trust Viair's CFM data...has anyone actually measured it. It doesn't jive mathematically if you look at the 0.5 gallon and 1.0 gallon performance...(assuming my calculation is right). If there's a math mistake please late me know.
|
Re: Help Calculating time to recharge air tanks
1 Attachment(s)
Quote:
I did the calculations based on constant temperature (not right, but probably closer), and came up with 2 minutes and 9 seconds for 0-120 on a 1 gallon tank. This is still shorter than Viair's 3 minutes, but a good bit closer. There does seem to be a disagreement between the "performance" and "fill rate" data. |
Re: Help Calculating time to recharge air tanks
Quote:
My assumption is isentropic compression, but I obviously have a mistake in my math somewhere. That's what happens when you take someone who was once pretty good at aerodynamics and thermo and give them a job dealing with spacecraft... |
Re: Help Calculating time to recharge air tanks
Is the compressor motor startup current at 100psi specified anywhere? Has anyone measured it with a current probe and a scope? |
Re: Help Calculating time to recharge air tanks
Quote:
|
Re: Help Calculating time to recharge air tanks
Quote:
|
Re: Help Calculating time to recharge air tanks
Quote:
|
Re: Help Calculating time to recharge air tanks
1 Attachment(s)
Quote:
-------edit after testing-------- We tested three compressors, using an oscilloscope and current probe to measure (1) initial peak surge current, (2) average current draw during charging, and (3) time to full charge. The test system capacity was 48 cubic inch (3x Clippard AVT 32-16). In each case the duration of the initial surge current was ~0.05 second, rising to its peak in about 0.005 second and decaying exponentially to steady value after that. I have attached a typical oscilloscope plot of the compressor current, 50 seconds full horizontal scale and +/- 40 Ampere full vertical scale. This plot is for the Thomas compressor; other plots are similar in form but differ in their initial peak surge, average current draw, and time to full charge as summarized below. Viair 90C: initial peak surge 18 Ampere, average current draw during charging 12 Ampere, time to full charge 40 seconds. Thomas 405ADC38/12: initial peak surge 32 Ampere, average current draw during charging 10 Ampere, time to full charge 36 seconds. Viair 250C-IG: initial peak surge 40 Ampere, average current draw during charging 9 Ampere, time to full charge 33 seconds. |
Re: Help Calculating time to recharge air tanks
Quote:
|
Re: Help Calculating time to recharge air tanks
We've run similar testing and found a wide variation sometimes between compressors of identical models.
For instance, a ViAir 90c that pulled ~6amps and a Thomas that pulled under 10amps while another Thomas pulled ~12 amps. I'd put the Thomas variations down to age and abuse, but I was surprised to see your ViAir 90C pulling so many more amps than some of ours. |
Re: Help Calculating time to recharge air tanks
How was the test system controlled? I'm curious what difference (if any) we would see controlling the compressor via a spike versus the new PCM. I'm particularly interested in the surge current for the PCM... Can we measure it both between the PCM and the compressor, and between the PCM and the PDP? The results of such a test may impact whether teams hook their PCM up through the dedicated port with a fuse, or go through a WAGO and a circuit breaker.
|
Re: Help Calculating time to recharge air tanks
Quote:
My test results above were made using the highly illegal method of series connecting a pressure switch to the compressor -- the opposite of soft-starting! Can someone try the tests Jon suggests using the PCM? We have already returned our beta hardware, and it may be a couple of days before we are ready to test this on our 2015 robot. |
Re: Help Calculating time to recharge air tanks
Quote:
|
Re: Help Calculating time to recharge air tanks
Quote:
Also, I would expect bigger differences in the compressor comparisons for 100-120 refill times, based on their published flow curves. BTW, the peak surge transient (50 msec) we observed would not trip a breaker or blow a fuse. |
Re: Help Calculating time to recharge air tanks
Quote:
Can anyone with a better understanding correlate the readings posted in this thread with the compressor breaker rule we've all been following for years? |
Re: Help Calculating time to recharge air tanks
1 Attachment(s)
Quote:
When recharging from ~100 to ~120 PSI, the compressor must start against load. As Mr. V pointed out above, this case is much more pertinent to actual FRC operation than the tests I reported earlier. The initial peak surge current observed using Viair compressors is relatively short duration (<0.1 sec), but the Thomas compressor's initial peak surge current is much longer duration (~0.5 sec). Comparing the Thomas surge against typical automotive fuse curves suggests an explanation for the "conventional wisdom" Jon mentioned above. The Thomas compressor has much less margin against blowing a 20A fuse during surge, and historically that is the compressor on which our FRC "conventional wisdom" is based. |
Re: Help Calculating time to recharge air tanks
Quote:
What people need to keep in mind is that a fuse and the type of circuit breakers that we use are thermal devices. When they reach a certain temp they will open. With a large overload it will open almost instantaneously. With a slight overload it will open but in a longer period. With intermittent medium overloads it can eventual heat to the point where it opens. So the old Thomas compressor if it starts multiple times during a match could certainly eventually heat up the fuse to the point it opens. I'm not sure why they choose the ATM form factor instead of the ATO/ATC form factor as used for the 20/30 amp circuits on the PDP, PDB and Spike. The ATM is not that much smaller than the ATO/ATC. |
Re: Help Calculating time to recharge air tanks
Quote:
I try the test. noting move may be because of the spike, I use defrent spike , nothing move. |
Re: Help Calculating time to recharge air tanks
Quote:
|
Re: Help Calculating time to recharge air tanks
Quote:
for testing Iconnect dirict itis working. My quation i you knowhow to use the spike as relay. I use Jumber, the output 0 [V] |
Re: Help Calculating time to recharge air tanks
1 Attachment(s)
Quote:
|
| All times are GMT -5. The time now is 08:48. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi