Go to Post KISS does not mean that your goals and capabilities are "simple", it means that the way you achieve them is simple. - jspatz1 [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 08-12-2016, 18:53
axton900's Avatar
axton900 axton900 is offline
Programming Co-Captain
FRC #1403 (Cougar Robotics)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: New Jersey USA
Posts: 45
axton900 has a spectacular aura aboutaxton900 has a spectacular aura aboutaxton900 has a spectacular aura about
Powering two compressors with one PCM

Hey guys!
I was wondering if it is possible to two compressors using only one PCM and if so, then how can it be done? We tried to solder the wires and power it but that seemed to cut the max PSI in half.
Thanks in advance!
__________________
Team 1403: Cougar Robotics (2015 - present)

Reply With Quote
  #2   Spotlight this post!  
Unread 08-12-2016, 18:58
EricH's Avatar
EricH EricH is online now
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,683
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Powering two compressors with one PCM

If this is for the competition robot, you may want to start by reading R79 of the 2016 Manual (and take a guess that it's likely to be the same for next year). Given that rule, I would find it highly unlikely that the PCM is designed to handle more than one compressor. (Short version: No more than one compressor on the robot.)


If it's for a non-competition robot, carry on. But you may need to consider the power draw through the PCM of that second compressor.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

Reply With Quote
  #3   Spotlight this post!  
Unread 08-12-2016, 20:00
cbale2000's Avatar
cbale2000 cbale2000 is offline
Registered User
AKA: Chris Bale
FRC #0703 (Phoenix)
Team Role: Leadership
 
Join Date: Apr 2006
Rookie Year: 2004
Location: Saginaw, MI
Posts: 927
cbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond repute
Re: Powering two compressors with one PCM

Quote:
Originally Posted by axton900 View Post
Hey guys!
I was wondering if it is possible to two compressors using only one PCM and if so, then how can it be done? We tried to solder the wires and power it but that seemed to cut the max PSI in half.
Thanks in advance!
Just hook the second compressor up to a spike relay (or, less ideally, any other speed controller if you don't have one) and toggle it in code using the pressure switch to turn it off.

As EricH mentioned though, not legal to have a second compressor on a competition bot.
Reply With Quote
  #4   Spotlight this post!  
Unread 08-12-2016, 21:32
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,531
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: Powering two compressors with one PCM

Not for competition, you could get an automotive relay large enough to handle two compressors' maximum current. Then, wire the PCM compressor outputs to the coil on the relay, and power the compressors IN PARALLEL through the relay with a separate breaker/fuse. (If you wire them in series, you will get much worse performance!)

Edit:
Quote:
Originally Posted by IndySam View Post
Even simpler just wire a relay (or two) through the pressure switch and avoid a PCM altogether.
Well, yes, that too. True story: Our rookie year, we wired the compressor directly through the pressure switch. Somehow the inspectors missed it, and we didn't realize it was illegal until I read the rules the next build season. As it was illegal and we won't do it again, I have never gone back to see what the current limit is on that pressure switch.
__________________

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 : 08-12-2016 at 23:18. Reason: moved apostrophe
Reply With Quote
  #5   Spotlight this post!  
Unread 08-12-2016, 21:41
Fusion_Clint's Avatar
Fusion_Clint Fusion_Clint is offline
Registered User
AKA: Clint Brawley
FRC #0364 (Fusion)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Gulfport MS
Posts: 222
Fusion_Clint has a reputation beyond reputeFusion_Clint has a reputation beyond reputeFusion_Clint has a reputation beyond reputeFusion_Clint has a reputation beyond reputeFusion_Clint has a reputation beyond reputeFusion_Clint has a reputation beyond reputeFusion_Clint has a reputation beyond reputeFusion_Clint has a reputation beyond reputeFusion_Clint has a reputation beyond reputeFusion_Clint has a reputation beyond reputeFusion_Clint has a reputation beyond repute
Re: Powering two compressors with one PCM

Quote:
Originally Posted by cbale2000 View Post
Just hook the second compressor up to a spike relay (or, less ideally, any other speed controller if you don't have one) and toggle it in code using the pressure switch to turn it off.
This is what we did for our T-Shirt Shooting robot.
__________________
Clint Brawley
USAF 1992-2013
Fusion 364, 2014 Season to present
Reply With Quote
  #6   Spotlight this post!  
Unread 08-12-2016, 22:55
IndySam's Avatar
IndySam IndySam is online now
Registered User
FRC #0829 (Digital Goats)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Indy
Posts: 3,346
IndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond reputeIndySam has a reputation beyond repute
Re: Powering two compressors with one PCM

Even simpler just wire a relay (or two) through the pressure switch and avoid a PCM altogether.
__________________
"Champions are champions not because they do anything extraordinary but because they do the ordinary things better than anyone else." —Chuck Knoll


2015 Indianapolis District Winner
2014 Boilermaker Regional Industrial Design Award
2013 Smoky Mountain Regional Industrial Design Award
2012 Boilermaker Engineering Excellence Award
2010 Boilermaker Rockwell Innovation in Control Award.
2009 Buckeye J&J Gracious Professionalism Award
2009 Boilermaker J&J Gracious Professionalism Award
2008 Boilermaker J&J Gracious Professionalism Award
2007 St Louis Regional Winners
Reply With Quote
  #7   Spotlight this post!  
Unread 09-12-2016, 06:35
axton900's Avatar
axton900 axton900 is offline
Programming Co-Captain
FRC #1403 (Cougar Robotics)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: New Jersey USA
Posts: 45
axton900 has a spectacular aura aboutaxton900 has a spectacular aura aboutaxton900 has a spectacular aura about
Re: Powering two compressors with one PCM

The issue that we are facing with the idea of just using a spike relay is the fact that the compressor class in wpilib only seems to be accepting the pcm as a parameter.
Could one of the teams who was able to use a relay share the code that they used for this situation?
Thanks in advance!
__________________
Team 1403: Cougar Robotics (2015 - present)

Reply With Quote
  #8   Spotlight this post!  
Unread 09-12-2016, 16:21
cbale2000's Avatar
cbale2000 cbale2000 is offline
Registered User
AKA: Chris Bale
FRC #0703 (Phoenix)
Team Role: Leadership
 
Join Date: Apr 2006
Rookie Year: 2004
Location: Saginaw, MI
Posts: 927
cbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond repute
Re: Powering two compressors with one PCM

Quote:
Originally Posted by axton900 View Post
The issue that we are facing with the idea of just using a spike relay is the fact that the compressor class in wpilib only seems to be accepting the pcm as a parameter.
Could one of the teams who was able to use a relay share the code that they used for this situation?
Thanks in advance!
Older default code (2014 and before) would have some basic examples, though it should be pretty easy to program yourself.

There should be a way to read the pressure sensors state from the PCM in code, and if you have that, then all you have to do is use the output of the pressure state to toggle the spike on or off. The pressure sensor is a switch that activates at ~120psi and deactivates at ~ 100-110psi, so simply using it as a Boolean to toggle the compressor state should make it operate the same as a PCM controlled compressor would.

You can query the pressure switch and compressor status from the PCM and simply mimic the state of the PCM controlled compressor with the code on the bottom half of this page: https://wpilib.screenstepslive.com/s...anual-id=13810


The second compressor, for the purposes of code, isn't a compressor, it's a Spike-controlled motor. Just make sure that the spike turns on and off at the appropriate times via the methods mentioned above.

Last edited by cbale2000 : 09-12-2016 at 16:26.
Reply With Quote
  #9   Spotlight this post!  
Unread 09-12-2016, 19:28
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,531
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: Powering two compressors with one PCM

Quote:
Originally Posted by cbale2000 View Post
The second compressor, for the purposes of code, isn't a compressor, it's a Spike-controlled motor. Just make sure that the spike turns on and off at the appropriate times via the methods mentioned above.
And don't try to put it in reverse! IIRC, we connected the black lead of our compressor directly back to the Power distribution board (through a splice), and just put the red lead to a spike output to ensure that we didn't apply reverse voltage. (I never found a rule AGAINST it.) While you can't use the other output on an FRC-legal robot (per 2016 R53, second sentence), for other projects, you can use that side to control something else, like a string of LEDs or other low-current-draw custom circuit.
__________________

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.
Reply With Quote
  #10   Spotlight this post!  
Unread 10-12-2016, 18:40
axton900's Avatar
axton900 axton900 is offline
Programming Co-Captain
FRC #1403 (Cougar Robotics)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: New Jersey USA
Posts: 45
axton900 has a spectacular aura aboutaxton900 has a spectacular aura aboutaxton900 has a spectacular aura about
Re: Powering two compressors with one PCM

So let me just get this clear? I just have to set the relay into forward mode in order to fill up the compressor?
__________________
Team 1403: Cougar Robotics (2015 - present)

Reply With Quote
  #11   Spotlight this post!  
Unread 10-12-2016, 22:03
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,531
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: Powering two compressors with one PCM

Quote:
Originally Posted by axton900 View Post
So let me just get this clear? I just have to set the relay into forward mode in order to fill up the compressor?
Yes, presuming the red wire on the compressor is connected to M+ and the black wire on the compressor is connected to M- (or back to the black wire coming from the breaker panel).
__________________

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.
Reply With Quote
  #12   Spotlight this post!  
Unread 12-12-2016, 08:44
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,763
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Powering two compressors with one PCM

To add to the above,
One and only one compressor on an FRC robot, please.
The PCM is not intended to handle the current of two compressors so a Spike or other relay is your only choice.
The pressure switch is a 3 amp device so it is not an alternative for powering a compressor. Even the smallest compressor teams will use, has a nearly 20 amp start and nearly 10 amps run current. The large Thomas type compressors have a 27 amp start and 12 amp run current.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #13   Spotlight this post!  
Unread 16-12-2016, 15:36
simpsonboy77 simpsonboy77 is offline
Registered User
AKA: Garrett Dicken
FRC #0041 (RoboWarriors)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: New Jersey
Posts: 87
simpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond repute
Re: Powering two compressors with one PCM

You can ignore the PCM entirely and use a Y cable to control 2 spikes. Not sure if this would be legal in 2017, depends if the PCM is required. Either way you need to have the pressure switch in somehow.

On a spike powering a compressor, you are allowed to replace the yellow single blow 20A fuse with a resettable 20A fuse. I recommend doing this as sometimes the fuse can blow from inrush current, or inductive kickback when it turns off.
__________________
2013 - Present MAR Control System Adviser and FTAA
2009 - Present Programming an Electrical Mentor Team 41
2005 - 2008 Team 41 Programmer
2008 NYC Regional Winner
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:35.

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