Go to Post You do realize that you all started jumping to conclusions without asking first which JVN he was talking about. - Jay H 237 [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-02-2013, 19:38
midway78224 midway78224 is offline
Registered User
AKA: Rudy
FRC #5572 (Rosbots)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2004
Location: San Antonio, Texas
Posts: 239
midway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to behold
Send a message via Yahoo to midway78224
Compressor Issue

We have a problem with our compressor going on and off during charge up. We have the spike connect to a relay output and the pressure switch to a digital output. Although it goes on and off it does charge all the way to 120 psi and cuts off like it should. We dont know what is causing it to go on and off like it is. We look and the wiring and is seems to be good. The only error we get is on the driver station with a code error 44002 44007. One of our mentors suggest it may be a watchdog error. We gone though our code and everything looks fine. We get no errors in the lines of code only on the driver station. We are using java by the way.

And if i didnt see it im sorry but i tried looking up this issue and couldnt find any post about this. Im sorry if i did miss it though.
__________________
[size="1"]
2004-2008 '11 457 Greasemonkeys
2012-2013 3997 Screaming Chickens
2014 3614 The Love Machine
2015-Present Rosbots

Last edited by midway78224 : 14-02-2013 at 19:40.
  #2   Spotlight this post!  
Unread 14-02-2013, 19:50
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,998
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: Compressor Issue

What is the light on the spike doing when it is working, and when it is not (but before 120 PSI)? Same question for the LED on the sidecar corresponding to that relay output?
__________________

I am N2IRZ - What's your callsign?
  #3   Spotlight this post!  
Unread 14-02-2013, 19:52
midway78224 midway78224 is offline
Registered User
AKA: Rudy
FRC #5572 (Rosbots)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2004
Location: San Antonio, Texas
Posts: 239
midway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to behold
Send a message via Yahoo to midway78224
Re: Compressor Issue

The light on the spike goes green then orange green then orange all the way up to 120 psi. Same thing on digital sidecar
__________________
[size="1"]
2004-2008 '11 457 Greasemonkeys
2012-2013 3997 Screaming Chickens
2014 3614 The Love Machine
2015-Present Rosbots
  #4   Spotlight this post!  
Unread 15-02-2013, 08:56
Cal578 Cal578 is offline
Passionate FIRST-er, CD donor
AKA: Gerry
FRC #0578 (Red Raider Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Rochester, NY
Posts: 256
Cal578 has a brilliant futureCal578 has a brilliant futureCal578 has a brilliant futureCal578 has a brilliant futureCal578 has a brilliant futureCal578 has a brilliant futureCal578 has a brilliant futureCal578 has a brilliant futureCal578 has a brilliant futureCal578 has a brilliant futureCal578 has a brilliant future
Re: Compressor Issue

What size circuit breaker on the PDB is the spike connected to? And what size circuit breaker is installed in the Spike? The compressor typically draws about 10A, and can draw more. A 5A, or even 10A, breaker will repeatedly trip and reset, causing the same symptoms you describe. I've seen it, because that's exactly what we did at a Fall workshop in which we were teaching all about pneumatics. The wonderful thing about non-build-season workshops is that mistakes don't hurt so much, so we can learn more from them.
__________________
Cal
R3: Red Raider Robotics (FRC Team 578)
Fairport, NY, USA
www.FairportRobotics.org
2016 Finger Lakes Regional: Semifinalist on Alliance 7 (1128, 2010, 578)
2016 NYC Regional: Finalist on Alliance 3 (3419, 578, 3017), 4th seed team, Team Spirit Award
2015 Finger Lakes Regional: 8-3-0 in qualification, 7th seed, Quarterfinalist
2014 NY Tech Valley Regional: 8-4-0 in qualification, 13th seed, Semifinalist
2013 Finger Lakes Regional: 4-5-0 in qualification, 26th seed, Alliance 6, 1-2 in tournament
2012 Buckeye Regional: Gracious Professionalism Award, 7-3-0, 14th seed
2011 Finger Lakes Regional: Engineering Inspiration Award
  #5   Spotlight this post!  
Unread 15-02-2013, 09:29
Vikingtech2054's Avatar
Vikingtech2054 Vikingtech2054 is offline
Registered User
FRC #5162 (The Big Red Theory)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Big Rapids, MI
Posts: 86
Vikingtech2054 is an unknown quantity at this point
Re: Compressor Issue

One thing our team has found out if you have the pressure switch right off of the compressor or near it, every time the compressor strokes it creates pulses of high pressure which cause the pressure switch to turn on and off when it reaches near 120. What we did this year was have two pressure tanks before the switch to ensure that the raise in pressure is not pulses from every time the compressor strokes.
__________________
Ferris State University-Manufacturing Engineering (BS)

FRC 2054: Student 2010-2013
FTC 6283: Mentor 2012-????
FTC 5980: Mentor 2012-????
FTC 7837: Mentor 2013-????
FRC 2054: Mentor 2013-????
FRC 5162: Mentor 2014-????
FRC 5448: Mentor 2016-????
FRC 5576: Mentor 2015
  #6   Spotlight this post!  
Unread 15-02-2013, 09:52
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,753
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Compressor Issue

A simple test to help you isolate the problem:

Take a screwdriver or a short piece of wire and short the pressure switch (connect the two terminals). This will completely take the switch out of the picture. You'll see one of two results:
1. The compressor runs constant until you remove the short (keep an eye on the pressure gauge, don't let it get too high!).
2. You continue seeing the same behavior you saw before.

In the case of situation 1, you now know that the code is fine, and the problem is the pressure switch. This is because you gave the Digital Sidecar a constant signal from the switch indicating that you were below pressure.

In the case of situation 2, you know the issue is in your code. Look for a possible path where the relay is being turned off and then back to forward. For example, something like this:

Code:
relay.set(Relay.Value.kOff);
if (pressureSwitch)
{
    relay.set(Relay.Value.kForward);
}
Also, please note that the commands don't have to be this close together... look at ALL commands sent to the relay and make sure you don't end up with a situation like this.
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
  #7   Spotlight this post!  
Unread 15-02-2013, 17:12
midway78224 midway78224 is offline
Registered User
AKA: Rudy
FRC #5572 (Rosbots)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2004
Location: San Antonio, Texas
Posts: 239
midway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to behold
Send a message via Yahoo to midway78224
Re: Compressor Issue

Sorry i could not answer sooner.

We have the spike on a 20 amp fuse on the PDB.

We also done the short out test to the pressure switch with a screwdriver and it works but does the same thing as if it was shorted out. The spike goes green then orange over and over til it hits 120 psi and then stops. We are going to try adjusting or replacing the relieve valve as soon people i have spoken to have sugguested that this may be the issue. We are going to try this on Sat. at our meeting. I will update if this doesnt work.
__________________
[size="1"]
2004-2008 '11 457 Greasemonkeys
2012-2013 3997 Screaming Chickens
2014 3614 The Love Machine
2015-Present Rosbots
  #8   Spotlight this post!  
Unread 15-02-2013, 18:35
kevin.li.rit's Avatar
kevin.li.rit kevin.li.rit is offline
Imaginary Friend
AKA: Kevin Li
FRC #0596 (SciClones)
Team Role: Student
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Hopkinton, Massachusetts
Posts: 936
kevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond repute
Send a message via Yahoo to kevin.li.rit
Re: Compressor Issue

What compressor are you using?
__________________
Kevin Li

596 - Sciclones
1405 - Finney Falcons
2262 - Holliston Panthers
  #9   Spotlight this post!  
Unread 15-02-2013, 18:40
midway78224 midway78224 is offline
Registered User
AKA: Rudy
FRC #5572 (Rosbots)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2004
Location: San Antonio, Texas
Posts: 239
midway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to behold
Send a message via Yahoo to midway78224
Re: Compressor Issue

the newer small compressor
__________________
[size="1"]
2004-2008 '11 457 Greasemonkeys
2012-2013 3997 Screaming Chickens
2014 3614 The Love Machine
2015-Present Rosbots
  #10   Spotlight this post!  
Unread 15-02-2013, 18:57
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,998
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: Compressor Issue

Quote:
Originally Posted by midway78224 View Post
The light on the spike goes green then orange green then orange all the way up to 120 psi. Same thing on digital sidecar
Quote:
Originally Posted by midway78224 View Post
We also done the short out test to the pressure switch with a screwdriver and it works but does the same thing as if it was shorted out.
The sidecar light says the code is turning the compressor on and off. It is not a problem between the cRio and compressor.
The shorted switch test shows that the switch is not "bouncing" as suggested by Vikingtech2054. Verify wiring is OK by shorting the pins at the Digital Sidecar. If you get the same behavior, the problem is not between the switch and the digital sidecar.

Check (replace) the 37-pin cable between sidecar and cRio. If this is OK, then the issue must be in the cRio

This would mean, 99.999%, that it is your code that is turning the compressor on and off until it reaches 120, which then shuts it off properly.

Try the sample code Jon Stratis suggested, or write your own, but your code is the issue.

It is much less than 0.001% chance, but the cRio or digital module can be bad, but this is extraordinarily rare.

That covers 100% of the possible failure scenarios.
__________________

I am N2IRZ - What's your callsign?
  #11   Spotlight this post!  
Unread 15-02-2013, 19:06
midway78224 midway78224 is offline
Registered User
AKA: Rudy
FRC #5572 (Rosbots)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2004
Location: San Antonio, Texas
Posts: 239
midway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to behold
Send a message via Yahoo to midway78224
Re: Compressor Issue

Quote:
Originally Posted by DonRotolo View Post
The sidecar light says the code is turning the compressor on and off. It is not a problem between the cRio and compressor.
The shorted switch test shows that the switch is not "bouncing" as suggested by Vikingtech2054. Verify wiring is OK by shorting the pins at the Digital Sidecar. If you get the same behavior, the problem is not between the switch and the digital sidecar.

Check (replace) the 37-pin cable between sidecar and cRio. If this is OK, then the issue must be in the cRio

This would mean, 99.999%, that it is your code that is turning the compressor on and off until it reaches 120, which then shuts it off properly.

Try the sample code Jon Stratis suggested, or write your own, but your code is the issue.

It is much less than 0.001% chance, but the cRio or digital module can be bad, but this is extraordinarily rare.

That covers 100% of the possible failure scenarios.

We will try out all this tomorrow at our next meeting. Thanks for all the help.
__________________
[size="1"]
2004-2008 '11 457 Greasemonkeys
2012-2013 3997 Screaming Chickens
2014 3614 The Love Machine
2015-Present Rosbots
  #12   Spotlight this post!  
Unread 15-02-2013, 21:31
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,753
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Compressor Issue

Don't try my code above - that was an example of what could be causing your problem. Instead, you should have code like this:

Code:
If (pressureSwitch)
{
    Relay.set(kForward);
}
Else
{
    Relay.set(kOff);
}
Note the difference between this and the code I posted above - above, the code would stop it, then start it every single time we read the value of the pressure switch. With this code, it will either star it or stop it, but can never do both at once.
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
  #13   Spotlight this post!  
Unread 15-02-2013, 21:40
midway78224 midway78224 is offline
Registered User
AKA: Rudy
FRC #5572 (Rosbots)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2004
Location: San Antonio, Texas
Posts: 239
midway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to beholdmidway78224 is a splendid one to behold
Send a message via Yahoo to midway78224
Re: Compressor Issue

I will give this code to our programmer and try it with the other sugguestion. I will post result tommrrow
__________________
[size="1"]
2004-2008 '11 457 Greasemonkeys
2012-2013 3997 Screaming Chickens
2014 3614 The Love Machine
2015-Present Rosbots
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


All times are GMT -5. The time now is 16:33.

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