Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Limiting the amount of air sent to a solenoid (http://www.chiefdelphi.com/forums/showthread.php?t=112197)

Gmercer 27-01-2013 18:15

Limiting the amount of air sent to a solenoid
 
I need to limit the amount of air sent into a solenoid to 'lightly' push a frisbee into the shooter. At the moment the solenoid fires the frisbee out and gets it stuck in the middle of the two wheels. I would like to have it slowly move foreword, here is the current solenoid code i have:

inside my extend solenoid function

Code:

if (joy1.getRawButton(11)) {
        Arm3.extend();
}
else if (joy1.getRawButton(12) {
        Arm3.retract();
}

extend and recract functions:
Code:

public void extend()
{
        sol1.set(false);
        sol2.set(true);
}

public void retract()
{
        sol1.set(true);
        sol2.set(false);
}


ksafin 27-01-2013 18:17

Re: Limiting the amount of air sent to a solenoid
 
I suggest you put regulator valves on both ends of the pneumatic piston itself and mechanically adjust the amount of air going in.

I don't know of a way to do it via code, but this is the way I think most teams would do it.

Looks like this: http://www.andymark.com/product-p/am-2032.htm
The dial lets you adjust the speed of air coming through the valve

androb4 27-01-2013 18:18

Re: Limiting the amount of air sent to a solenoid
 
You cannot control the amount of flow to the solenoid as it just opens and closes.

One thing you can do to decrease the speed of the cylinder is to decrease the pressure either using the in-line pressure regulator, or using the regulator on the hose adapters that go on the pneumatic cylinders.

Cory 27-01-2013 18:19

Re: Limiting the amount of air sent to a solenoid
 
http://www.mcmaster.com/#4076K22

Speeder 27-01-2013 18:24

Re: Limiting the amount of air sent to a solenoid
 
Quote:

Originally Posted by ksafin (Post 1222906)
I suggest you put regulator valves on both ends of the pneumatic piston itself and mechanically adjust the amount of air going in.

I don't know of a way to do it via code, but this is the way I think most teams would do it.

Looks like this: http://www.andymark.com/product-p/am-2032.htm
The dial lets you adjust the speed of air coming through the valve

You want to put that valve on the exhaust side of the air cylinder. By doing that you can apply full pressure to utilize the power of the piston and the "cushion valve" controls the speed the piston moves by controlling back pressure. Also, that valve only restricts air flow in 1 direction so when the solenoid reverses the cylinder will retract at full speed.

Also keep in mind that many of the solenoid valves need >35PSI supply to operate. If you reduce the air pressure before the solenoid valve, it may not switch states when commanded.


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

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