Go to Post FIRST is all about going past theoretical limits. - Foster [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-01-2012, 14:31
Ja3 Ja3 is offline
Registered User
FRC #3137
 
Join Date: Dec 2011
Location: Connetquot High School
Posts: 5
Ja3 is an unknown quantity at this point
Help with pneumatics

How would you use pneumatics to control a cylinder. I already know how to start a compressor, but now what do we do.
Reply With Quote
  #2   Spotlight this post!  
Unread 14-01-2012, 17:20
rudun's Avatar
rudun rudun is offline
Registered User
FRC #0496 (Royals)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2005
Location: Babylon
Posts: 42
rudun is an unknown quantity at this point
Well depends what you are doing. Do you mean a piston or accumulator? A piston you need a solenoid to control it. An accumulator is storage and will shut off when filled by the pressure switch.
Reply With Quote
  #3   Spotlight this post!  
Unread 14-01-2012, 17:24
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: Help with pneumatics

i work with ja3 so i'll answer for him...I'm assuming we need both (it wouldn't hurt to know both). It would be a piston because we are going to use a solenoid, but don't knwo if we need the accumulator
Reply With Quote
  #4   Spotlight this post!  
Unread 14-01-2012, 18:52
IrksomeZeus IrksomeZeus is offline
Electrical Team Leader
AKA: Austin Yates
FRC #3003 (Tan(x))
Team Role: Electrical
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Canandaigua, NY
Posts: 12
IrksomeZeus is an unknown quantity at this point
Re: Help with pneumatics

you will most likely need the accumulator unless you are using a very small piston or actuator to hold enough air in the system to completely move your piston. I dont know the code but you basically just tell the robot that when the pressure reaches 120psi (i think that is the max for everything before your working system i.e before your pressure regulator) that the compressor needs to turn off. you get the pressure from the pressure switch connected to the digital sidecar. For the solenoids all i now is that by sending electricity to one side versus the other it actuates it...you do this with the solenoid breakout on the cRio
Reply With Quote
  #5   Spotlight this post!  
Unread 14-01-2012, 19:42
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,995
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Help with pneumatics

The compressor increases the pressure of air, so it can perform work. You need to pipe this air to a Pneumatic Cylinder, so that it can move the Piston inside the cylinder, creating a mechanical motion of some sort.

Between those two things is a bunch of hardware.

First off, right out of the compressor is called the "high pressure side", because the air pressure is higher than allowed for Cylinders. You use the Primary (all black) Regulator to lower the pressure to a maximum of 60 PSI. (The regulator must be connected a very specific way for in and out - look it up.) You can see the pressure because you MUST install one Pressure Gauge in the "low side" after the regulator. The Low Side pressure is then distributed to one or more Solenoid Valves, which are switches to change where the air goes to make the Piston inside the Cylinder move.

On the High Side, you MUST install several components - read the rules. These include a pressure Gauge to see the high side pressure, a Pressure Switch to signal the cRio when to turn the compressor on and off, a Pressure Release Valve to vent all air pressure from the system, and a Pressure Relief (safety) valve, which you MUST calibrate to pop off (release pressure) at 120 PSI before using it.

Also on the high side, it is recommended to install one or more Accumulator Tanks. Your compressor can't move a lot of air quickly, so accumulators help by storing high-pressure air for later use. Not a lot, but 2 or 3 tanks is typical. The more air you use, the more tanks you will want. Note that there are accumulators made of plastic that are FRC legal, as well as the metal one you got in the kit.

There is a TON more info you need to build an effective pneumatic system, but this is the basic idea. FIRST has lots of info on their site that will help.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #6   Spotlight this post!  
Unread 14-01-2012, 19:45
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: Help with pneumatics

i need help with the programming part of it
Reply With Quote
  #7   Spotlight this post!  
Unread 15-01-2012, 02:02
vhcook's Avatar
vhcook vhcook is offline
Reader of Things
AKA: Victoria
FRC #1939 (Kuh-nig-its)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Kansas City, MO
Posts: 546
vhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond repute
Re: Help with pneumatics

What you do in software is going to depend on what you do electrically. You have several choices to make. You can either wire your solenoids to the solenoid breakout on a solenoid module in your cRIO, or you can use Spike Relays. A cRIO solenoid module can power either 12V or 24V solenoids, but not both at once. You need to pick one or the other and make every solenoid you connect to it is expecting that voltage .

I'm going to talk you through the simplest method to code, which uses the solenoid module.

Assume you have a piston that extends (forward) and retracts (reverse). You will need to connect a solenoid to each direction to control the airflow. For our purposes, you'll generally want the solenoid on the forward end to be set to the opposite of the reverse end. That is, if you're applying pressure on the forward end, you'll want the reverse end to be open to exhaust and vice versa. You may mechanically use a double solenoid or two single solenoids, but either option will use two solenoid ports on your solenoid breakout and they can both be coded the same way.

In Labview, start by defining the solenoid ports in Begin.VI. You'll use a Solenoid Open, and a Solenoid Set Reference. The easiest method is to call it a double solenoid (even if it really is two singles), and assign the correct Solenoid Port to each end. Give it a better name than in my example (attached) - you want something that describes what it does and that you can spell consistently.

Then when you want to use it, use the Solenoid Set VI (other example). Note that it's been two years since we used pneumatics, so I may have the following settings exactly backwards - test with care . Forward sets the Extend end to pressure and the Retract end to exhaust, Reverse does exactly the opposite. (Off and On, while present, are generally not settings you want. Off sets both to exhaust. On sets both to pressure.)
Attached Thumbnails
Click image for larger version

Name:	Compressor and Solenoid in Begin.png
Views:	44
Size:	21.4 KB
ID:	11382  Click image for larger version

Name:	Use Solenoid.png
Views:	28
Size:	12.1 KB
ID:	11383  
__________________


Reply With Quote
  #8   Spotlight this post!  
Unread 15-01-2012, 16:59
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Help with pneumatics

Quote:
Originally Posted by Ja3 View Post
How would you use pneumatics to control a cylinder. I already know how to start a compressor, but now what do we do.
Take a look at the provided examples. From the main LabVIEW FRC 2012 screen, click the Support tab, then click "Find FRC Examples..." In the "FRC Robotics" folder, you will see several examples in the "Pneumatics" subfolder. One or more of them should help you.
Reply With Quote
  #9   Spotlight this post!  
Unread 15-01-2012, 17:25
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: Help with pneumatics

i'm not sure, but it doesn't seem like you understand the task that we want to do. We have this catapult mechanism that we want to launch with a pneumatic system, so a quick burst of air, as opposed to a slow, strong air pressure.
Reply With Quote
  #10   Spotlight this post!  
Unread 15-01-2012, 18:23
Garrett.d.w's Avatar
Garrett.d.w Garrett.d.w is offline
Build Lead
FRC #2733 (The Pigmice)
Team Role: Alumni
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Portland
Posts: 318
Garrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to behold
Re: Help with pneumatics

Here (http://www.slideshare.net/oregonfirs...pneumatics2012) is a great resource for a beginner learning pneumatics. It explains the mechanical side of things and should give you an insight on what you need to do. If you need clarification on some of the points made in the slideshow, just ask
__________________
"A mind once stretched by a thought will never regain it's original dimensions."

Optimists think the glass is half full.
Pessimists think the glass is half empty.
Engineers realize it's twice as big as it needs to be.
Reply With Quote
  #11   Spotlight this post!  
Unread 16-01-2012, 01:25
PAR_WIG1350's Avatar
PAR_WIG1350 PAR_WIG1350 is offline
Registered User
AKA: Alan Wells
FRC #1350 (Rambots)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Rhode Island
Posts: 1,188
PAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond repute
Re: Help with pneumatics

Quote:
Originally Posted by tilky View Post
i'm not sure, but it doesn't seem like you understand the task that we want to do. We have this catapult mechanism that we want to launch with a pneumatic system, so a quick burst of air, as opposed to a slow, strong air pressure.
That can't be solved in programming, that problem is purely physical. We are limited in terms of valve orifice size and working pressure as well as the number of valves we can use per cylinder port (one, max). The only remaining way to do what you want to do would be either to use a spring assist, at which point the cylinder would actually slow you down, which isn't good, or you could use multiple small cylinders each fed off of its own solenoid valve.
__________________
Reply With Quote
  #12   Spotlight this post!  
Unread 16-01-2012, 13:57
ROBODOG2560's Avatar
ROBODOG2560 ROBODOG2560 is offline
Registered User
FRC #2560
 
Join Date: Jan 2011
Location: Grandview
Posts: 9
ROBODOG2560 is an unknown quantity at this point
Re: Help with pneumatics

we have a solenoid that worked last year and doesnt this year but in a weird way. when programmed as a double solenoid, the double solenoid does not work on any of the plug-ins. but programed as singles, only one side works. you switch the plug-ins of the two sides and the opposite side is the only one that works. is this a programming, wiring, or some other problem and any ideas on how to fix it? help would be appriciated
Reply With Quote
Reply


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 09:37.

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