Go to Post Isn't FIRST robotics the answer to life, the universe, and everything? - weberr [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, 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: 7,011
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
  #2   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
  #3   Spotlight this post!  
Unread 15-01-2012, 02:02
vhcook's Avatar
vhcook vhcook is online now
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:	45
Size:	21.4 KB
ID:	11382  Click image for larger version

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


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 20:48.

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