Go to Post ...remember RAID 0 is a trap. - Sperkowsky [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 24-08-2005, 17:24
scottish144's Avatar
scottish144 scottish144 is offline
Registered User
AKA: Scott
FRC #0623 (Ohmies)
Team Role: Programmer
 
Join Date: Jun 2005
Rookie Year: 2004
Location: Reston VA
Posts: 3
scottish144 is an unknown quantity at this point
Current reversed on compressor spike controller

For some odd reason, the spike controller that runs to our compressor continually blows its fuse when we are turning. All connections are sound, so we believe that the current on the spike is being reversed. However, we are unsure how this is happening. Is it possible that the motors could be producing feedback to the spike? They suffer a lot of mechanical stress while turning.
__________________
Scott Haney
Programmer, Team 623
Vienna VA
Reply With Quote
  #2   Spotlight this post!  
Unread 24-08-2005, 17:32
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Current reversed on compressor spike controller

Scott,

Last year's rules allowed you to replace the 20A fuse with a 20A self-resetting circuit breaker because everyone was having this problem.

The issue is that, as the battery voltage goes down, the current to the compressor goes up. The mechanical work that the compressor is attempting to do is independent from the drive system (or anything else) on the robot. If the mechanical power remains the same, the electrical power will remain the same (neglecting efficiency) and the current must go up as the voltage goes down.

Replace the fuse with a circuit breaker and move on...

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
Reply With Quote
  #3   Spotlight this post!  
Unread 24-08-2005, 18:34
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,510
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: Current reversed on compressor spike controller

While your at it, you should verify that your compressor is not running in reverse. Symptoms can include extreme heating (to the touch, it feels very hot after running for a little while) and a prolonged time to reach full pressure in the tanks. Running the compressor in reverse has the potential of drawing more current and it's efficiency goes way down. It could eventually lead to failure.

The reason I mention this is that I have seen it too often.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
Reply With Quote
  #4   Spotlight this post!  
Unread 25-08-2005, 00:04
mechanicalbrain's Avatar
mechanicalbrain mechanicalbrain is offline
The red haired Dremel gnome!
FRC #0623 (Ohm robotics)
Team Role: Electrical
 
Join Date: Apr 2005
Rookie Year: 2004
Location: Virginia
Posts: 1,221
mechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond repute
Send a message via AIM to mechanicalbrain Send a message via Yahoo to mechanicalbrain
Re: Current reversed on compressor spike controller

THIS IS A UPDATE. No nothing like that. I'm updating for Scott. We know its not the compressor (I got it running on a 9 volt) and its not the spike, battery, fuse, wire, or pressure sensor. The spike is literally not receiving a signal. In fact nothing connected to the relay is getting a signal. I'm wondering if their is a real easy way to test if the relay works. Chances are its not the code because the compressor stopped working after running fine with no changes to the code. Weird fact: we commented out the pressure sensor code and we got a response from the compressor but all that happened is the fan made a twitch (I'm guessing the motor switched polarity) once every second. I'm completely clueless. I tried switching out every part in the electronics but nothing changed!
__________________
"Oh my God! There's an axe in my head."
623's 2006 home page
random mechanicalbrain slogans

Reply With Quote
  #5   Spotlight this post!  
Unread 25-08-2005, 00:07
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,510
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: Current reversed on compressor spike controller

Try a new pwm cable and a new port on the rc (with code changed for that port). Also, if you can get your hands on an older Spike try that. We had problems with the 2005 ones too (not working, oscillating, etc).
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
Reply With Quote
  #6   Spotlight this post!  
Unread 25-08-2005, 00:30
mechanicalbrain's Avatar
mechanicalbrain mechanicalbrain is offline
The red haired Dremel gnome!
FRC #0623 (Ohm robotics)
Team Role: Electrical
 
Join Date: Apr 2005
Rookie Year: 2004
Location: Virginia
Posts: 1,221
mechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond repute
Send a message via AIM to mechanicalbrain Send a message via Yahoo to mechanicalbrain
Re: Current reversed on compressor spike controller

Quote:
Originally Posted by sanddrag
Try a new pwm cable and a new port on the rc (with code changed for that port). Also, if you can get your hands on an older Spike try that. We had problems with the 2005 ones too (not working, oscillating, etc).
We tried 3 diferent spikes (including older ones) , 4 pwm wires, and a number of ports. Im pretty frustrated! The light was a steady orange the entire time. I doupt it could be the code since it gave out on us while we were using it... One thing im going to try is to solder on sewing needles onto a PWM to make sure we get a connection.
__________________
"Oh my God! There's an axe in my head."
623's 2006 home page
random mechanicalbrain slogans


Last edited by mechanicalbrain : 25-08-2005 at 00:34.
Reply With Quote
  #7   Spotlight this post!  
Unread 25-08-2005, 01:00
sciguy125 sciguy125 is offline
Electrical Engineer
AKA: Phil Baltar
FRC #1351
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Sunnyvale, CA
Posts: 519
sciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond repute
Send a message via AIM to sciguy125 Send a message via MSN to sciguy125 Send a message via Yahoo to sciguy125
Re: Current reversed on compressor spike controller

Quote:
Originally Posted by mechanicalbrain
One thing im going to try is to solder on sewing needles onto a PWM to make sure we get a connection.
I hope you mean onto a cable and not the controller. I think the pins on the controller are gold plated (corrosion resistant). It would be a shame to get solder on them.

But I seriously think that you should try the meter first (if it's pulsing too fast, you might be better off with a scope). It'll tell you if you're even getting voltage/correct signals. If you're not getting anything at the end of the cable, you should try the pins directly on the controller.
__________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/S/P a-- e y-- r-- s:++ d+ h! X+++
t++ C+ P+ L++ E W++ w M-- V? PS+ PE+
5- R-- tv+ b+ DI+++ D- G
------END GEEK CODE BLOCK------
Reply With Quote
  #8   Spotlight this post!  
Unread 25-08-2005, 01:12
mechanicalbrain's Avatar
mechanicalbrain mechanicalbrain is offline
The red haired Dremel gnome!
FRC #0623 (Ohm robotics)
Team Role: Electrical
 
Join Date: Apr 2005
Rookie Year: 2004
Location: Virginia
Posts: 1,221
mechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond repute
Send a message via AIM to mechanicalbrain Send a message via Yahoo to mechanicalbrain
Re: Current reversed on compressor spike controller

Quote:
Originally Posted by sciguy125
I hope you mean onto a cable and not the controller. I think the pins on the controller are gold plated (corrosion resistant). It would be a shame to get solder on them.

But I seriously think that you should try the meter first (if it's pulsing too fast, you might be better off with a scope). It'll tell you if you're even getting voltage/correct signals. If you're not getting anything at the end of the cable, you should try the pins directly on the controller.
No deffinetely the wire. I need to check the multimeter for a signal though because i honestly can't remember what we got.
__________________
"Oh my God! There's an axe in my head."
623's 2006 home page
random mechanicalbrain slogans

Reply With Quote
  #9   Spotlight this post!  
Unread 25-08-2005, 00:21
sciguy125 sciguy125 is offline
Electrical Engineer
AKA: Phil Baltar
FRC #1351
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Sunnyvale, CA
Posts: 519
sciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond repute
Send a message via AIM to sciguy125 Send a message via MSN to sciguy125 Send a message via Yahoo to sciguy125
Re: Current reversed on compressor spike controller

Quote:
Originally Posted by mechanicalbrain
The spike is literally not receiving a signal.
If you haven't already tried another spike, do so. But, we had this problem too. It took us days to figure out. You're probably not putting the PWM connector in right. It might go all the way in, but the pins might not actually be in the connector. Sometimes, we would even get only one or two of the pins in.

Just to make sure though, pull the connector out of the spike. Test it for voltage between ground and the appropriate signal pin. It should be a solid 5V. If you have that right, then I probably found your problem.

Actually, I just reread your post...

Quote:
Originally Posted by mechanicalbrain
we got a response from the compressor but all that happened is the fan made a twitch (I'm guessing the motor switched polarity) once every second
Do the voltage test still to check your code. But also pay attention to the LED once you plug it back in. Orange is off, red is reverse, green is forward. I also think that the spike makes a clicking noise when it changes direction (I can't remember). You might also want to put in a meter instead of the compressor to make sure that it's getting a solid 12V.
__________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/S/P a-- e y-- r-- s:++ d+ h! X+++
t++ C+ P+ L++ E W++ w M-- V? PS+ PE+
5- R-- tv+ b+ DI+++ D- G
------END GEEK CODE BLOCK------
Reply With Quote
  #10   Spotlight this post!  
Unread 25-08-2005, 10:17
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Current reversed on compressor spike controller

Quote:
Originally Posted by mechanicalbrain
Weird fact: we commented out the pressure sensor code and we got a response from the compressor but all that happened is the fan made a twitch (I'm guessing the motor switched polarity) once every second.
What fan?

If you're using the standard programming, the compressor is supposed to be connected between the Spike "FWD" output and ground. Is that how you have it?
Reply With Quote
  #11   Spotlight this post!  
Unread 25-08-2005, 11:59
dez250 dez250 is offline
54... What a good number!
no team
 
Join Date: Dec 2002
Rookie Year: 2000
Location: Upstate NY / Manchester, NH
Posts: 1,721
dez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond repute
Send a message via AIM to dez250
Re: Current reversed on compressor spike controller

To state the obvious and make sure your using the right components below is a Victor Speed controller which has a fan on it:


and this is a Spike Relay Controller, which has NO fan attached:



One test you may want to do is to use a multimeter and check the continuity of the single wires of your PWM cables to make sure they aren't damaged. Also physically inspect the pins on the PWM cables to make sure they are not bent or loose. If you still haven't figured out the problem, drop me a pm or im and ill try to help you out more in depth.
__________________
#5

-Michael Dessingue
Reply With Quote
  #12   Spotlight this post!  
Unread 25-08-2005, 13:45
mechanicalbrain's Avatar
mechanicalbrain mechanicalbrain is offline
The red haired Dremel gnome!
FRC #0623 (Ohm robotics)
Team Role: Electrical
 
Join Date: Apr 2005
Rookie Year: 2004
Location: Virginia
Posts: 1,221
mechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond reputemechanicalbrain has a reputation beyond repute
Send a message via AIM to mechanicalbrain Send a message via Yahoo to mechanicalbrain
Re: Current reversed on compressor spike controller

Yes we used a spike! It would be.... interesting to try it with a speedcontroller. I was talking about the fan inside the compressor. I assure you we tested every piece betwean the control board and the compressor and every one works! We just can't get the spike to get a signal from the boards relays (Tried multiple (MANY multiple) pwm cables). Its unlikely its the code because it stoped running while we were using it. We have to ship the robot to Capitol Clash tomarrow. Any help will be really usefull.
__________________
"Oh my God! There's an axe in my head."
623's 2006 home page
random mechanicalbrain slogans

Reply With Quote
  #13   Spotlight this post!  
Unread 25-08-2005, 13:51
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Current reversed on compressor spike controller

Scott, Oz, et al,

You started off with a problem where you blew a fuse. Now it appears that nothing works at all. There is also confusion in your posts concerning Spikes versus Victors, LED indications, Polarity and (perhaps) PWM versus Relay outputs.

I'm going to ask you to take a step back and compose a description of your problem with some diagrams and/or pictures. Perhaps a code fragment as well.

You may have fallen into the trap of "breaking" several other things while trying to troubleshoot the fuse problem. As such, you may now have a multiple problem problem which is complicating your life.

The act of stepping back and documenting what you have can be very beneficial in these circumstances.

Regards,

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
Reply With Quote
  #14   Spotlight this post!  
Unread 25-08-2005, 14:19
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,363
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Current reversed on compressor spike controller

Does the compressor run if powered by 12 volts directly? Maybe your compressor is gone. If it runs check the amp draw.
Reply With Quote
  #15   Spotlight this post!  
Unread 25-08-2005, 15:24
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,770
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: Current reversed on compressor spike controller

A lot of info is passing through this thread and we do want you running for the weekend. If what follows doesn't get you help, ask for some of the teams to assist when you get to the Clash.
As to the first post, tripping the fuse while turning is a good indicator of the start current demands of the compressor. Although it is rated for 10 amps that is "run" current, start current is more than twice that amount and under certain conditions we have measured four times that amount. (For a very brief time during start.) When turning, currents are very high for the drive motors. Tank style steering (where no wheels turn but motion is accomplished by speed differences between the two sides) are the one of the highest current demand drives you can use. (Belt style tank being the worst.) As the battery tries to deliver power during these high demands, the terminal voltage can fall below the point at which the compressor continues running. So the effect is turn, compressor shutdown, compressor restart, turn, shutdown, restart, etc. Each restart of the compressor is accompanied by a high current pulse that heats up the fuse and failure is the result. Replace the fuse and continue beating up the spike and failure will result there as well. So that in a nutshell is the normal failure in this application. However, you may have a different problem altogether since you have replaced the spike and wiring multiple times. I have to ask if the location is very tight and other wiring had to be disturbed to make the changes. There is a distinct possibility that 1) the spike was rotated when replaced, 2) the wiring to the spike was exchanged with another component near it, (another relay or controller), 3) the compressor has shorted, or 4)in replacing the fuse and/or spike, the wiring from the pressure switch was broken and your software is no longer receiving a command to start the compressor. High on my list are #4 and #1. A simple check of the switch wiring and connection back to RC is very easy to do. Checking on the orientation of the spike is also very easy to do. My rule of thumb when troulbeshooting a working device is "go where the last person was" which will be the spike replacement.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Current Sensor Joshua May Programming 6 12-02-2004 10:48
Help On Coding 2K1 Controller GregTheGreat Programming 9 05-12-2003 18:35
serious problem found - robot controller resets when jarred! KenWittlief Electrical 23 19-03-2003 13:30
Current Monitoring system questions PyroPhin Technical Discussion 44 17-02-2003 15:34
What happens / why do motors stall? DanL Technical Discussion 19 21-11-2002 07:19


All times are GMT -5. The time now is 10: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