Go to Post Woody says that gracious professionalism is "acting how you would if you grandmother was watching you"... some people must have some really crazy grandmothers. (: - Cappeh [more]
Home
Go Back   Chief Delphi > Technical > Pneumatics
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 29-01-2015, 10:06
nuclearnerd's Avatar
nuclearnerd nuclearnerd is offline
Speaking for myself, not my team
AKA: Brendan Simons
FRC #5406 (Celt-X)
Team Role: Engineer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Hamilton, Ontario, Canada
Posts: 440
nuclearnerd has much to be proud ofnuclearnerd has much to be proud ofnuclearnerd has much to be proud ofnuclearnerd has much to be proud ofnuclearnerd has much to be proud ofnuclearnerd has much to be proud ofnuclearnerd has much to be proud ofnuclearnerd has much to be proud ofnuclearnerd has much to be proud ofnuclearnerd has much to be proud of
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

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)
  #2   Spotlight this post!  
Unread 29-01-2015, 10:15
eddie12390's Avatar
eddie12390 eddie12390 is offline
Registered User
AKA: Eddie
FRC #3260 (SHARP)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Pittsburgh
Posts: 285
eddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of light
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.
__________________
Any post that I make expresses only my opinions. I do not represent the opinions of my team or of any entity affiliated with my team.

As a Mentor:
2016 - Engineering Inspiration at Greater Pittsburgh Regional

As a Driver:
2014 - Winner of Greater Pittsburgh Regional

Last edited by eddie12390 : 29-01-2015 at 10:19.
  #3   Spotlight this post!  
Unread 29-01-2015, 10:17
MrRoboSteve MrRoboSteve is offline
Mentor
AKA: Steve Peterson
FRC #3081 (Kennedy RoboEagles)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Bloomington, MN
Posts: 565
MrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond repute
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.
__________________
2016-17 events: 10000 Lakes Regional, Northern Lights Regional, FTC Burnsville Qualifying Tournament

2011 - present · FRC 3081 Kennedy RoboEagles mentor
2013 - present · event volunteer at 10000 Lakes Regional, Northern Lights Regional, North Star Regional, Lake Superior Regional, Minnesota State Tournament, PNW District 4 Glacier Peak, MN FTC, CMP
http://twitter.com/MrRoboSteve · www.linkedin.com/in/speterson
  #4   Spotlight this post!  
Unread 29-01-2015, 10:17
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,290
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: Help Calculating time to recharge air tanks

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.)
Attached Thumbnails
Click image for larger version

Name:	Compressor Flow Rates.jpg
Views:	355
Size:	45.6 KB
ID:	18042  
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
  #5   Spotlight this post!  
Unread 29-01-2015, 10:20
MrBasse MrBasse is online now
Registered User
FRC #3572 (Wavelength)
Team Role: Coach
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Norton Shores, MI
Posts: 668
MrBasse has a reputation beyond reputeMrBasse has a reputation beyond reputeMrBasse has a reputation beyond reputeMrBasse has a reputation beyond reputeMrBasse has a reputation beyond reputeMrBasse has a reputation beyond reputeMrBasse has a reputation beyond reputeMrBasse has a reputation beyond reputeMrBasse has a reputation beyond reputeMrBasse has a reputation beyond reputeMrBasse has a reputation beyond repute
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:
  1. 2 seconds sounds fast to me, but when it is per tank it isn't as unreasonable.
  2. as the pressure increases the compressor has to work harder to fill the tank, thus working slower.
  3. compressed air is a tricky thing to measure with math, and fluid dynamics was never my friend
  4. you'll likely never see 120 PSI in FRC
__________________
Andrew Basse
Coach - FRC Team 3572 - Wavelength
  #6   Spotlight this post!  
Unread 29-01-2015, 10:24
Pratik Kunapuli's Avatar
Pratik Kunapuli Pratik Kunapuli is offline
Probably browning-out on Astro-Turf
FRC #1648 (G3 Robotics)(EWCP)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Atlanta, GA
Posts: 143
Pratik Kunapuli is a name known to allPratik Kunapuli is a name known to allPratik Kunapuli is a name known to allPratik Kunapuli is a name known to allPratik Kunapuli is a name known to allPratik Kunapuli is a name known to all
Re: Help Calculating time to recharge air tanks

Quote:
Originally Posted by pfreivald View Post
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.)
Using the function that Excel generated, the integral from 0-120 yields 88.332 seconds for a full charge from 0-120 psi.
__________________
Official Driving Record: 101-59-0
2012-2015 Student 341 Miss Daisy
2015-Current Mentor 1648 G3 Robotics
  #7   Spotlight this post!  
Unread 29-01-2015, 10:25
jee7s jee7s is offline
Texan FIRSTer, ex-frc2789, ex-frc41
AKA: Jeffrey Erickson
FRC #6357
 
Join Date: Nov 2007
Rookie Year: 1997
Location: Dripping Springs, TX
Posts: 298
jee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond repute
Re: Help Calculating time to recharge air tanks

Quote:
Originally Posted by nuclearnerd View Post
1) Assuming temperature stays constant (not a fair assumption maybe):

P1 * V1 = P2 * V1 (from the ideal gas law)
This is a bad assumption. The ideal gas law assumes that the energy in the system in constant. The compressor of course puts energy into the system, so that violates PV=PV.

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).
__________________

2013 Alamo Regional Woodie Flowers Finalist Award Winner
2012 Texas Robot Roundup Volunteer of the Year
Texas Robot Roundup Planning Committee, 2012-present
FRC 6357 Mentor, 2016-
FRC 2789 Mentor, 2009-2016 -- 2 Golds, 2 Silvers, 8 Regional Elimination Appearances

FRC 41 Mentor 2007-2009
FLL Mentor 2006
FRC 619 Mentor 2002
FRC 41 Student 1998-2000
  #8   Spotlight this post!  
Unread 29-01-2015, 10:31
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,290
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: Help Calculating time to recharge air tanks

Quote:
Originally Posted by Pratik341 View Post
Using the function that Excel generated, the integral from 0-120 yields 88.332 seconds for a full charge from 0-120 psi.
I'm tired and don't feel well, which is why I'm not doing the math myself, but something seems fishy to me about just integrating that curve and getting an answer because it's independent of the size of your storage tanks. The integration also doesn't yield time.

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.
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
  #9   Spotlight this post!  
Unread 29-01-2015, 10:35
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,290
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
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.)
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
  #10   Spotlight this post!  
Unread 29-01-2015, 10:42
JamesCH95's Avatar
JamesCH95 JamesCH95 is offline
Hardcore Dork
AKA: JCH
FRC #0095 (The Grasshoppers)
Team Role: Engineer
 
Join Date: Dec 2004
Rookie Year: 2001
Location: Enfield, NH
Posts: 1,798
JamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond repute
Re: Help Calculating time to recharge air tanks

Quote:
Originally Posted by pfreivald View Post
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.)
This is what I would do. Even this is slightly optimistic as the air will cool off as it flows into, and sits in, the storage tanks. Accurately modeling the compressors performance will be a bit more than trivial.

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.
__________________
Theory is a nice place, I'd like to go there one day, I hear everything works there.

Maturity is knowing you were an idiot, common sense is trying to not be an idiot, wisdom is knowing that you will still be an idiot.
  #11   Spotlight this post!  
Unread 29-01-2015, 10:43
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 5,937
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: Help Calculating time to recharge air tanks

Quote:
Originally Posted by MrRoboSteve View Post
I don't think you're accounting for the lower flow rate at higher pressures.
this.

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.
  #12   Spotlight this post!  
Unread 29-01-2015, 10:45
nuclearnerd's Avatar
nuclearnerd nuclearnerd is offline
Speaking for myself, not my team
AKA: Brendan Simons
FRC #5406 (Celt-X)
Team Role: Engineer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Hamilton, Ontario, Canada
Posts: 440
nuclearnerd has much to be proud ofnuclearnerd has much to be proud ofnuclearnerd has much to be proud ofnuclearnerd has much to be proud ofnuclearnerd has much to be proud ofnuclearnerd has much to be proud ofnuclearnerd has much to be proud ofnuclearnerd has much to be proud ofnuclearnerd has much to be proud ofnuclearnerd has much to be proud of
Re: Help Calculating time to recharge air tanks

Thanks for the responses so far.

Quote:
Originally Posted by Pratik341 View Post
Using the function that Excel generated, the integral from 0-120 yields 88.332 seconds for a full charge from 0-120 psi.
...I'm not sure you can just take the integral of that curve. The integral of flow(P) dP would give you something with units of volume/time*pressure (not just time). We would need a function for pressure(volume) for the units to come out right, which is what I was grabbing at (probably wrongly) with the ideal gas law

Quote:
Originally Posted by MrRoboSteve View Post
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.
I only showed the step from 60 to 70 psig. You would need to repeat the next step with the viaair flowrate at 70 psig and so forth for every increment up to 120 psig (where the flowrate is .34 cfm). In fact, the time to fill each increment of pressure goes *down* in my calculation because the pressure increases faster (for a given volume) than the flowrate decreases.

Quote:
Originally Posted by MrBasse View Post
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.
Yeah, when it comes down to it, that's what we'll have to do. I would prefer to have a theoretical grasp of it though, so we could make intelligent choices during the design stage about how many tanks to buy, or how often we can actuate our cylinders.

Quote:
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.
But it should work! (sigh).

Last edited by nuclearnerd : 29-01-2015 at 10:49.
  #13   Spotlight this post!  
Unread 29-01-2015, 10:45
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,290
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: Help Calculating time to recharge air tanks

Quote:
Originally Posted by JamesCH95 View Post
This is what I would do.
Hooray!

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.
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
  #14   Spotlight this post!  
Unread 29-01-2015, 11:07
Mike Bortfeldt Mike Bortfeldt is offline
Registered User
FRC #1126 (& 1511)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Rochester, NY
Posts: 119
Mike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud of
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
  #15   Spotlight this post!  
Unread 29-01-2015, 11:12
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,494
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Help Calculating time to recharge air tanks

Quote:
Originally Posted by pfreivald View Post
Hooray!

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.
Yup.

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.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 15:24.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi