Go to Post Dave: THEY'RE NOT DOLLIES THEY'RE MY FRIENDS! - Dorienne [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 18-12-2002, 02:01
dlavery's Avatar
dlavery dlavery is offline
Curmudgeon
FRC #0116 (Epsilon Delta)
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Herndon, VA
Posts: 3,176
dlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond repute
Quote:
The sensor only weighs a couple of ounces. It is not going to cause your robot to be overweight. There are more signifacant things on your robot that will cause it to be overweight.
OK, all those that have had their robots arrive at inspection at 129.75 pounds, raise your hands!!!

An awful lot of teams spend an amazing amount of time carving out every extra ounce from their robots to allow them to just barely fit within the weight limits of the competition. Just take a look at the number of machines peppered with “lightening holes” that were obviously added in during the last few days of the build phase (or even at the competition site). So, if there is a way to avoid using a redundant sensors and saving four ounces on the robot, there are a lot of folks that will be interested in doing it.

Using one pressure sensor to detect when the system pressure drops below 110 psi, and firing the compressor for “X seconds” (where “X” is the time required for the compressor to increase system pressure from 110 psi to 120 psi) when the pressure drops below the set point is an acceptable algorithm.

The key is to have the compressor deliver a bolus of air for a fixed period of time – the shortest time sufficient to recharge the system under ideal conditions (as determined experimentally under optimal conditions with a fresh battery and no stress on the system), and not to try to extend the recharge period based on perceived system efficiency. Instead, just repeat the cycle as frequently as necessary – once each time the system pressure drops below 110 psi.

If, due to decreased battery output or other efficiency factors, the system is only charged to 115 psi instead of 120, we don’t really care – that is close enough, since what we are really concerned with is that the high pressure side of the system has enough pressure to recharge the low pressure (60 psi) side as air is used by the cylinders (note: 110 is not a magic number – this set point can be anywhere above 60 psi; based on how extensively your robot uses the pneumatics, adjust as necessary to ensure that pressure is maintained in the high pressure portion of the system to provide a constant reserve pressure to the low pressure side while not causing the pump to cycle continuously). If control system/battery/compressor efficiency drops, the recharge will just approach, but not meet or exceed the 120 psi limit. There is no concern about overcharging the accumulators.

For this set up to fail and cause any sort of unexpected energy release, there has to be at least a quadruple failure. The compressor needs to fail-on for an extended period of time to start to build up pressure in the system. The relief valve, set to 120 psi, has to fail to release at the design pressure. The compressor bypass seals need to fail to release at the overpressure level (if I remember the spec sheets correctly, around 140 psi). And finally, some element of the physical system (tubing, cylinder, or accumulator) needs to mechanically fail and release the pressure (assuming the compressor, which has a design output of 120 psi, is even capable of generating anything close to the 250 psi failure ratings of any of these components before it has a pressure lock and stalls out).

Although a constant-use system would probably not be designed this way, this approach is suitable for the low duty cycle, short lifetime applications like our competition robots.

-dave


p.s. If the boiler explosion referenced is the one that occurred at the Cuyahoga County Fair in July 2001, it actually was not caused by a safety valve failure. The boiler in question was in very poor condition, and had apparently been improperly maintained for several years. As a result, the crown sheet above the firebox was severely corroded. The corrosion in several places near the crown staybolts had reduced the crown sheet from a design thickness of 0.375” to less than 0.125”, and in some locations to less than 0.087”. Although it was later determined that the safety valve was inoperable (it was rusted shut, along with the inspection port and fusable plug), this explosion occurred because of a mechanical failure at a pressure well below the designed operating pressure of the boiler.

Letter excerpts from John D. Payton (Director, certified Boiler Engineers for the Commonwealth of Pennsylvania), who conducted an inspection of the damaged boiler at the request of County Sheriff Neil Hassinger and Chief Dean Jagger (Chief Boiler Inspector for the State of Ohio):

Quote:
“…the crown sheet failure started at the 0.087” thickness area, the weakest point in the crown sheet, and this is where the most bending damage is done to the sheet. The rest of the sheet shows signs of being peeled away much as peeling wallpaper off of a wall. This was caused by the massive expansion of released steam. It is my evaluation that because of the very poor condition of the crown sheet with the reduction of the original thickness from 0.375” to 0.087” leaving only 23% of the original thickness, this was insufficient metal to hold the pressure of the steam resulting in a mechanical failure of the boiler.”

“Computations using formulas ASME 1924 and ASME 1998 computed using a thickness of 0.087” indicated a failure at between 40 psi and 47 psi.”

“The inoperative safety valve had no direct bearing on the explosion as the valve was set for 125 psi and, with the condition of the crown sheet, it is doubtful that 125 psi. was attainable.”
--------------------------------------------

Y = AX^2 + BX + C

Last edited by dlavery : 18-12-2002 at 02:04.
  #17   Spotlight this post!  
Unread 18-12-2002, 14:07
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Quote:
Originally posted by dlavery
The key is to have the compressor deliver a bolus of air for a fixed period of time...
Bolus is a neat word, but this is the first time I've ever heard it applied to air.
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
  #18   Spotlight this post!  
Unread 18-12-2002, 17:14
dlavery's Avatar
dlavery dlavery is offline
Curmudgeon
FRC #0116 (Epsilon Delta)
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Herndon, VA
Posts: 3,176
dlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond repute
From Websters -

Bo"lus (?), n.; pl. Boluses (#) A rounded mass of anything, esp. a large pill.

It's my weird background showing through. When I used to work on ambulance crews, we referred to a "bolus" in the context of medications delivered as a supplemental I.V. charge. After a while, we tended to generalize it to mean anything running through a tube (and trust me, you don't want to know how it is appropriate to describe large masses of anything running back wards through tubes, particularly after eating college dining hall food!).


-dave

--------------------------------------------

Y = AX^2 + BX + C
  #19   Spotlight this post!  
Unread 18-12-2002, 18:14
Animator Animator is offline
Registered User
#0120
 
Join Date: Dec 2002
Location: Cleveland
Posts: 11
Animator is an unknown quantity at this point
David, True, that our little robot air system is unlikely to cause a catastrophic failure, but the purpose of the competition is to teach students proper building practices. I am a programmer, not a pneumatics expert, but using a relief valve as your high pressure sensor does not seem like proper building practices in the industry. Maybe you have some insight that I lack.

PS: Thanks for the correction. I was going off of what I heard in the news.
  #20   Spotlight this post!  
Unread 18-12-2002, 20:44
ChrisH's Avatar Unsung FIRST Hero
ChrisH ChrisH is offline
Generally Useless
FRC #0330 (Beach 'Bots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 1,230
ChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond repute
Animator,

I'm not a Pnuemattics expert either, but I do spend a lot of time around really big pressure vessels (15'x45' autoclaves), and some time running them.

You are correct in saying that it is not proper design to use a relief valve as a "pressure sensor", or even as a "control".

However, in Dave's system the relief valve should never need to do it's thing. By setting the system timing so that at optimal conditions it just barely reaches 120 psi from the threshold pressure, you pratically ensure that it never quite does so under competition conditions. What really happens is that when the pressure drops, the compressor runs for X seconds and then stops. The final pressure will be close to but always less than 120psi. Remember, we are less than optimal here. If at the end of the cycle, the pressure is less than your threshold then the compressor can restart and try again. If the pressure is greater than the threshold but less than 120, it will just sit there until something changes.

I think that part of Dave's point is that the extra psi or two you can get with two sensors probably won't make a difference. If you're drawing down the air system that far you don't have enough margin to start with.
__________________
Christopher H Husmann, PE

"Who is John Galt?"
  #21   Spotlight this post!  
Unread 19-12-2002, 17:54
Animator Animator is offline
Registered User
#0120
 
Join Date: Dec 2002
Location: Cleveland
Posts: 11
Animator is an unknown quantity at this point
Quote:
Originally posted by Jnadke
"Overfilling" the accumulators accomplishes nothing except stressing the compressor/breaker and wasting electricity.

1. The check valve begins to "leak" at 120PSI. Feel free to overfill, but it will only waste electricity and give our team an easier time. Rules indicate that this must be the first thing in the pneumatics line after the compressor.

The post was in response to this posting. You really should not feel free to overfill the accumulators.
  #22   Spotlight this post!  
Unread 03-01-2003, 13:28
Animator Animator is offline
Registered User
#0120
 
Join Date: Dec 2002
Location: Cleveland
Posts: 11
Animator is an unknown quantity at this point
1 Sensor Code

Here is some code that will allow you to use 1 sensor to control your pump if you need to save on weight.

Keep in mind, if you keep your executable code length short, your serin and serout commands will occur more frequently making your robot respond quicker to inputs and outputs.

Also, debug commands slow down the code execution. Comment them out after you're done with testing. If you want proof, watch the Basic Run light when the debug code is in the program and when it is out. That LED is controlled by:

Toggle 7 'Basic Run LED on the RC is toggled ON/OFF every loop.

in the default program. Everytime the code is executed, the LED is toggled. The faster it blinks. The faster your code is executing.

Sorry to go off the topic. Below is the code:

I tested it in RoboEmu 1.07

------------------------------------------------------------------
' Variables

Counter VAR w10
LowPres VAR rc_swA.bit1
PumpMan VAR oi_swA.bit2 'Aux input,
Pump VAR RelayA.bit0
Pump_rev VAR RelayA.bit1
Counterbit VAR Counter.bit0
CounterMax CON 501 'This number needs to be odd
Counter = CounterMax

MainProgram:

Serin...

'Pump Code for 1 sensor

LowPres = ~LowPres
Counter = ((LowPres) * (Counter + 2)) max CounterMax
LowPres = ~LowPres
Pump = ((LowPres | ~Counterbit) & ~PumpMan)
Pump_rev = 0

Serout...

----------------------------------------------------------------
  #23   Spotlight this post!  
Unread 04-01-2003, 19:16
Justin Stiltner's Avatar
Justin Stiltner Justin Stiltner is offline
The big guy
no team
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Blacksburg, Va.
Posts: 305
Justin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud of
Send a message via ICQ to Justin Stiltner Send a message via AIM to Justin Stiltner Send a message via MSN to Justin Stiltner Send a message via Yahoo to Justin Stiltner
Thanks for the backup Dave,
The primary reason for the delay isn't really to fill the tanks to 120psi, the reason is to get the pressure high enough so that the switch wont cycle on and off (take out the delay and you better have a huge box of fuses). Also yes this may make the code a fuzz longer, but if the competition ever comes down to where 10 lines of code worth of processor time could change the outcome I don't think I would be able to watch the match anyway
__________________
Justin Stiltner
Lead Robot Inspector, VCU Regional
Unmanned Systems Lab, Virginia Tech
KI4URQ
  #24   Spotlight this post!  
Unread 04-01-2003, 19:43
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
If anybody has looked throught the new Pneumatics manual, you'll see that the new pressure sensor is normally closed, like last year, and opens at 110(?) psi. The catch is, it won't close again until pressure drops below 95. Thus, you can safely run the pump whenever the switch is closed (1 in PBASIC).
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #25   Spotlight this post!  
Unread 04-01-2003, 19:49
Justin Stiltner's Avatar
Justin Stiltner Justin Stiltner is offline
The big guy
no team
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Blacksburg, Va.
Posts: 305
Justin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud of
Send a message via ICQ to Justin Stiltner Send a message via AIM to Justin Stiltner Send a message via MSN to Justin Stiltner Send a message via Yahoo to Justin Stiltner
hehe im still devouring the manual, however this does make this whole thread a moot point.

lol... we talked about this the first year that a hysterisis pressure switch would solve all the problems.
hehe.. tnx for pointing that out tho
__________________
Justin Stiltner
Lead Robot Inspector, VCU Regional
Unmanned Systems Lab, Virginia Tech
KI4URQ
  #26   Spotlight this post!  
Unread 05-01-2003, 16:50
nwagers nwagers is offline
Registered User
#0240 (Mach Vee)
 
Join Date: Oct 2001
Location: Monroe, MI
Posts: 88
nwagers is an unknown quantity at this point
Send a message via AIM to nwagers Send a message via Yahoo to nwagers
I haven't read the pneumatics manual yet, but according to the Kit of Parts (pg 36) the opening pressure is 115 psi, and like you said, the closing pressure is 95 psi
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does your team use the Default code. Jeff McCune General Forum 2 09-01-2003 14:46
What are pneumatics? Aignam Pneumatics 23 16-10-2002 21:17
Need help with 255 Variable Joseph F Programming 18 26-02-2002 14:49
Error found in programming for the pump and pressure switch sjharobotics Programming 4 06-02-2002 17:46
Pneumatics pump allowed on robot? bigqueue Pneumatics 5 06-01-2002 12:30


All times are GMT -5. The time now is 22:43.

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