Go to Post However, I am a firm believer in the theory that if you are pushing with a mecanum wheeled robot you are doing it wrong. - Andrew Schreiber [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-12-2016, 03:59
headlight headlight is offline
Registered User
no team
 
Join Date: May 2013
Rookie Year: 2012
Location: Rochester Hills, MI
Posts: 69
headlight is an unknown quantity at this point
Re: Exhaust in Solenoids

Quote:
Originally Posted by FTC Team CC View Post
We are using the solenoids from this link: http://www.wcproducts.net/pneumatics.

...

Our solenoids are 4 port solenoids. We have a picture attached for what our setup looks like.

Thanks,
Charging Champions

Looks good. We use that exact same setup on our FRC robot. How bad is the leak? I'm curious about what you have plugged into the B ports on the left side, and why there aren't corresponding tubes in the A ports. Also, are you feeding air into the threaded "P" port on the side of the manifold not shown in that picture?

Can you tell which exhaust the air is leaking out of? EA or EB? If you manually trigger each solenoid, does it switch which port it is leaking out of? This would be a way to narrow down which part of the circuit has the problem.

If I were trying to fix this I would unscrew each solenoid and wipe off the gasket and the mounting surface, then carefully re-mount them, alternately tightening the two screws to reduce the chance of the solenoid sitting crooked. We have also had the rare instance where the solenoid was leaking internally.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-12-2016, 16:32
FRC Team CC FRC Team CC is offline
Registered User
FRC #6560 (Charging Champions)
 
Join Date: Sep 2014
Rookie Year: 2012
Location: Southern California
Posts: 102
FRC Team CC is an unknown quantity at this point
Re: Exhaust in Solenoids

Quote:
Originally Posted by Owen Busler View Post
Arent pneumatics not allowed in ftc?
We are an FRC team. Its just that the account that we are using right now is the one we used last year when we were an FTC team . Sorry about the confusion.

Quote:
Originally Posted by headlight View Post
Looks good. We use that exact same setup on our FRC robot. How bad is the leak? I'm curious about what you have plugged into the B ports on the left side, and why there aren't corresponding tubes in the A ports. Also, are you feeding air into the threaded "P" port on the side of the manifold not shown in that picture?

Can you tell which exhaust the air is leaking out of? EA or EB? If you manually trigger each solenoid, does it switch which port it is leaking out of? This would be a way to narrow down which part of the circuit has the problem.

If I were trying to fix this I would unscrew each solenoid and wipe off the gasket and the mounting surface, then carefully re-mount them, alternately tightening the two screws to reduce the chance of the solenoid sitting crooked. We have also had the rare instance where the solenoid was leaking internally.
I'm not exactly sure if there is a leak. It seems that we are only able to control the A ports on the solenoid. We are not able to control the B ports, so the air keeps leaking out of there and makes the A ports useless.

Here is our code. Let us know where we are making a mistake:

Code:
package org.usfirst.frc.team6560.robot;

import edu.wpi.first.wpilibj.Compressor;
import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.Timer;

import edu.wpi.first.wpilibj.*;
import edu.wpi.first.wpilibj.smartdashboard.SendableChooser;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;

/**
* The VM is configured to automatically run this class, and to call the
* functions corresponding to each mode, as described in the IterativeRobot
* documentation. If you change the name of this class or the package after
* creating this project, you must also update the manifest file in the resource
* directory.
*/
public class Robot extends IterativeRobot {
   static final long TIME = 10000; // ms
   static final int SAMPLE_COMPRESSOR = 0;

   Compressor sample_compressor;
   long m_autoStartTime;
   long m_autoStartTime1;
   long m_autoStartTime2;

   Solenoid solenoid_0;
   Solenoid solenoid_1;
   Solenoid solenoid_2;
   Solenoid solenoid_3;

   public void robotInit() {
       sample_compressor = new Compressor(SAMPLE_COMPRESSOR);
       solenoid_0 = new Solenoid(0);
       solenoid_1 = new Solenoid(1);
       solenoid_2 = new Solenoid(2);
       solenoid_3 = new Solenoid(3);
   }

   public void autonomousInit() {
       m_autoStartTime = System.currentTimeMillis();

   }

   public void autonomousPeriodic() {
	   
	   solenoid_0.set(true);
	   solenoid_1.set(true);
	   solenoid_2.set(true);
	   solenoid_3.set(true);
       
   }

}
Thanks,
Charging Champions
__________________
The Charging Champions
FTC Team #8660
Facebook Page: https://www.facebook.com/chargingchampions
Follow us on Twitter: @FtcTeamCC
Google Plus: https://plus.google.com/112552147224383900922/posts
Youtube channel: https://www.youtube.com/channel/UCop...G3zsvQKCXF4ESQ
Blog: http://chargingchampionsblog.blogspot.com/
Reply With Quote
  #3   Spotlight this post!  
Unread 04-12-2016, 16:36
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,713
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Exhaust in Solenoids

For a single solenoid
if
solenoid_0.set(true); - seems to be activating your A port (B port off)
then
solenoid_0.set(false); - would switch to activate the B port (A port off)

P.S.
You want to watch what the individual indicator lights are doing on the Pneumatic Control Module (PCM).
If your software works correctly, the status light for each solenoid will be (could be the reverse of this):
  • lit=port A deactivated/port B activated
  • unlit= port A activated/port B deactivated
And you should be able to see them change as your code changes the solenoid from true to false to true.

Once you are sure your code is doing what it is supposed to be doing, then look at the plumbing on the manifold. But make sure your code is operating correctly first.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 04-12-2016 at 16:52.
Reply With Quote
  #4   Spotlight this post!  
Unread 04-12-2016, 16:56
headlight headlight is offline
Registered User
no team
 
Join Date: May 2013
Rookie Year: 2012
Location: Rochester Hills, MI
Posts: 69
headlight is an unknown quantity at this point
Re: Exhaust in Solenoids

Each solenoid only has two states.

State 1: Port A is connected to supply Pressure (P), Port B is connected to Exhaust B (EB).

State 2: Port B is connected to supply Pressure (P), Port A is connected to Exhaust A (EA).

With the solenoids you are using, one of these states will be the default. If you are using air cylinders that are powered in both directions by air you should have tubes running to both A and B ports. If you are using air cylinders that are not powered by air in both directions, then you should plug the unused port. I'm personally a fan of these plugs, but some people like these better. You can also get them from here.
Reply With Quote
  #5   Spotlight this post!  
Unread 04-12-2016, 17:24
FRC Team CC FRC Team CC is offline
Registered User
FRC #6560 (Charging Champions)
 
Join Date: Sep 2014
Rookie Year: 2012
Location: Southern California
Posts: 102
FRC Team CC is an unknown quantity at this point
Re: Exhaust in Solenoids

Quote:
Originally Posted by Mark McLeod View Post
For a single solenoid
if
solenoid_0.set(true); - seems to be activating your A port (B port off)
then
solenoid_0.set(false); - would switch to activate the B port (A port off)

P.S.
You want to watch what the individual indicator lights are doing on the Pneumatic Control Module (PCM).
If your software works correctly, the status light for each solenoid will be (could be the reverse of this):
  • lit=port A deactivated/port B activated
  • unlit= port A activated/port B deactivated
And you should be able to see them change as your code changes the solenoid from true to false to true.

Once you are sure your code is doing what it is supposed to be doing, then look at the plumbing on the manifold. But make sure your code is operating correctly first.
Does activated mean open or closed valve?
__________________
The Charging Champions
FTC Team #8660
Facebook Page: https://www.facebook.com/chargingchampions
Follow us on Twitter: @FtcTeamCC
Google Plus: https://plus.google.com/112552147224383900922/posts
Youtube channel: https://www.youtube.com/channel/UCop...G3zsvQKCXF4ESQ
Blog: http://chargingchampionsblog.blogspot.com/
Reply With Quote
  #6   Spotlight this post!  
Unread 04-12-2016, 17:49
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,713
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Exhaust in Solenoids

Quote:
Originally Posted by FTC Team CC View Post
Does activated mean open or closed valve?
You can think of the one solenoid as two valves that always do the opposite of each other, or as a single value with two positions.
In one position (deactivated), it is trying to fill one end of a cylinder (let's call it cylinder end A) by sending pressurized air out port A, simultaneously it is trying to empty the other end of the cylinder (let's call it cylinder end B) by releasing the other pressurized end out an exhaust port.

In the opposite position (activated), it reverses the cylinder action by sending pressurized air through port B to fill cylinder end B, while simultaneously emptying cylinder end A by connecting port A to an exhaust port.

__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 04-12-2016, 18:03
FRC Team CC FRC Team CC is offline
Registered User
FRC #6560 (Charging Champions)
 
Join Date: Sep 2014
Rookie Year: 2012
Location: Southern California
Posts: 102
FRC Team CC is an unknown quantity at this point
Re: Exhaust in Solenoids

Quote:
Originally Posted by Mark McLeod View Post
You can think of the one solenoid as two valves that always do the opposite of each other, or as a single value with two positions.
In one position (deactivated), it is trying to fill one end of a cylinder (let's call it cylinder end A) by sending pressurized air out port A, simultaneously it is trying to empty the other end of the cylinder (let's call it cylinder end B) by releasing the other pressurized end out an exhaust port.

In the opposite position (activated), it reverses the cylinder action by sending pressurized air through port B to fill cylinder end B, while simultaneously emptying cylinder end A by connecting port A to an exhaust port.

We tested it out, and we have no control over any of the valves, even though we used the same code mentioned above and the solenoids are lighting up...
__________________
The Charging Champions
FTC Team #8660
Facebook Page: https://www.facebook.com/chargingchampions
Follow us on Twitter: @FtcTeamCC
Google Plus: https://plus.google.com/112552147224383900922/posts
Youtube channel: https://www.youtube.com/channel/UCop...G3zsvQKCXF4ESQ
Blog: http://chargingchampionsblog.blogspot.com/
Reply With Quote
  #8   Spotlight this post!  
Unread 04-12-2016, 18:08
FRC Team CC FRC Team CC is offline
Registered User
FRC #6560 (Charging Champions)
 
Join Date: Sep 2014
Rookie Year: 2012
Location: Southern California
Posts: 102
FRC Team CC is an unknown quantity at this point
Re: Exhaust in Solenoids

Do we need to manually lock the solenoids to property use it (the lock mechanism is the blue screw)?
__________________
The Charging Champions
FTC Team #8660
Facebook Page: https://www.facebook.com/chargingchampions
Follow us on Twitter: @FtcTeamCC
Google Plus: https://plus.google.com/112552147224383900922/posts
Youtube channel: https://www.youtube.com/channel/UCop...G3zsvQKCXF4ESQ
Blog: http://chargingchampionsblog.blogspot.com/
Reply With Quote
  #9   Spotlight this post!  
Unread 04-12-2016, 18:18
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,713
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Exhaust in Solenoids

Quote:
Originally Posted by FTC Team CC View Post
Do we need to manually lock the solenoids to property use it (the lock mechanism is the blue screw)?
No, it must be unlocked to work.
You can temporarily press the blue button to test, but don't twist and lock it.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #10   Spotlight this post!  
Unread 04-12-2016, 18:22
headlight headlight is offline
Registered User
no team
 
Join Date: May 2013
Rookie Year: 2012
Location: Rochester Hills, MI
Posts: 69
headlight is an unknown quantity at this point
Re: Exhaust in Solenoids

No, the blue screw is a way to manually activate the solenoid valve. Unless it is pushed down or set in the lock position it shouldn't stop you from controlling it. A picture of your entire setup might be helpful.

Here is a link to the series catalog for your solenoid, it might give you some helpful information. http://content2.smcetech.com/pdf/SY3.5.7.9000.pdf
Reply With Quote
  #11   Spotlight this post!  
Unread 05-12-2016, 23:01
FRC Team CC FRC Team CC is offline
Registered User
FRC #6560 (Charging Champions)
 
Join Date: Sep 2014
Rookie Year: 2012
Location: Southern California
Posts: 102
FRC Team CC is an unknown quantity at this point
Re: Exhaust in Solenoids

Quote:
Originally Posted by headlight View Post
No, the blue screw is a way to manually activate the solenoid valve. Unless it is pushed down or set in the lock position it shouldn't stop you from controlling it. A picture of your entire setup might be helpful.

Here is a link to the series catalog for your solenoid, it might give you some helpful information. http://content2.smcetech.com/pdf/SY3.5.7.9000.pdf

Here is a picture of our setup:
http://imgur.com/a/Wwh4t
__________________
The Charging Champions
FTC Team #8660
Facebook Page: https://www.facebook.com/chargingchampions
Follow us on Twitter: @FtcTeamCC
Google Plus: https://plus.google.com/112552147224383900922/posts
Youtube channel: https://www.youtube.com/channel/UCop...G3zsvQKCXF4ESQ
Blog: http://chargingchampionsblog.blogspot.com/

Last edited by FRC Team CC : 06-12-2016 at 19:23.
Reply With Quote
  #12   Spotlight this post!  
Unread 06-12-2016, 07:53
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,555
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Exhaust in Solenoids

Quote:
Originally Posted by FTC Team CC View Post
Here is a picture of our setup:
First, though probably not your issue, the CAN bus is not properly terminated. There should either be CAN leading away to the next device (most likely a PDP with the terminator set) or a 120 ohm resistor on the currently empty pins.

I think I've figured out everything up to the pressure regulator. It looks like the output of the regulator is split, with one going to the manifold, another going underneath. Where does that connect?

Trying to work out the black tubing connected to the manifold outputs. I cannot tell if the two inputs to the cylinder are coming from corresponding A/B ports, or adjacent sets of ports.
In any case it appears that you have plumbed the three unused A ports together, and the three unused B ports together. If all three (or four) of the solenoids are in the same position, this shouldn't be a leak, but if any of them is different from the others, you will be in an exhaust condition - pressurized air coming in one branch of the T and right out through another.
If the cylinder is plumbed to different solenoid valves, The only way you can operate it in this setup without dumping air is to switch all four ports at the same time.

The real solution to this problem (more manifold positions than you have separate items to control) is to plug the holes individually (we have some plugs in our shop, but don't know whence they came) or to use a "Blank Station Kit" like Vex's 217-2949 for each unused control. Edit: I see it is also called a blank station kit with the same part number on the WCP link you provided.

Edit2: Found the plugs like we have on MSC.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.

Last edited by GeeTwo : 06-12-2016 at 08:04.
Reply With Quote
  #13   Spotlight this post!  
Unread 06-12-2016, 11:51
bobbysq bobbysq is offline
Registered User
FRC #4646 (Team ASAP)
Team Role: Leadership
 
Join Date: Apr 2016
Rookie Year: 2015
Location: Des Moines, IA
Posts: 269
bobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud of
Re: Exhaust in Solenoids

Quote:
Originally Posted by GeeTwo View Post
The real solution to this problem (more manifold positions than you have separate items to control) is to plug the holes individually (we have some plugs in our shop, but don't know whence they came) or to use a "Blank Station Kit" like Vex's 217-2949 for each unused control. Edit: I see it is also called a blank station kit with the same part number on the WCP link you provided.

Edit2: Found the plugs like we have on MSC.
You can also use smooth polycord of the same diameter as the tube. I don't know if this is any better/worse, but it's what we had on hand when we used pneumatics.
Reply With Quote
  #14   Spotlight this post!  
Unread 06-12-2016, 08:14
DaveL DaveL is offline
Registered User
FRC #2976
 
Join Date: Jan 2013
Location: WA
Posts: 173
DaveL is a jewel in the roughDaveL is a jewel in the roughDaveL is a jewel in the roughDaveL is a jewel in the rough
Re: Exhaust in Solenoids

Your set up is hard to follow. This is a problem for others trying to help, but more important its hard for you and your team to understand, troubleshoot and fix.

To make thinks easier for everyone, establish some color coding standards.
For example, you can use white tubing for the high pressure line. Then use green tubing for air that extends the piston and blue tubing to retract the piston.

That said there are way too many connectors and air lines.
Step 1. Simplify by only using 1 air tank.

Step 2. The regulator looks like it has 2 output pipes.
I have not seen this done. My suggestion is to cap the bottom opening.

Step 3. From what I can tell, air to push the piston is being sent from the 3rd valve (top) and air to retract the piston is being sent from the 2nd valve (bottom). You want to use one valve per cylinder.

To clean this up....
Remove all the tubes to the valves system except 1 providing air, 1 pushing the piston and 1 retracting the piston. All the other ports should be capped. Use a tee fitting and a loop of tubing to build the cap.

Flow limiting connectors can hide what is happening. I would replace these connectors with plain connectors. Once you understand how things work, try one before adding a second, as it might not be needed.

After you make these changes, take another picture but this time make sure all the tubes are visible, so we can help you trace their path.

Pneumatics is fun. Like programming, keep it simple to make it easy to understand.

Dave
Reply With Quote
  #15   Spotlight this post!  
Unread 06-12-2016, 10:17
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,713
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Exhaust in Solenoids

I agree with the others about not connecting port-to-port on the manifold.
You need to deadend each unused port using, either a plug you can purchase, or juryrig a simple plug like the attached.

Other than that the tubing seems to be correct for your one cylinder.
The supplied pressure of 35psi is good to activate the solenoids.

Try swapping the two end hoses of the cylinder to see if the activated side is being affected by those flow controls.

Test using the manual blue button to make sure the plumbing is right, but then look back at the electrical connections.
  1. Make sure the solenoid you expect (the second from the bottom or right in your photo) is wired to the correct PCM output. (The wires cross behind the regulator with another pair so they can't be traced from your photo)
  2. Are both the light on the solenoid itself and the LED below the PCM solenoid connection changing when you attempt to switch cylinder direction?
The photo doesn't show the back of the regulator well, so look for the flow arrow on the regulator and make sure your high-pressure line is going in the port directly opposite the flow arrow (on the side of the tail end of the arrow).
The regulator has one input high-pressure port and three regulated low-pressure output ports and all can be used.
We use one of the output ports for the low-side pressure gauge and the other two low-side outputs can be used or plugged as desired to direct the low-pressure outputs.
Attached Thumbnails
Click image for larger version

Name:	PneumaticPlug.jpg
Views:	11
Size:	47.1 KB
ID:	21339  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 06-12-2016 at 10:27.
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 22:06.

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