Go to Post OK, repeat after me "FIRST is not about the robot". - Foster [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 09-02-2010, 18:11
ninjamonkey29 ninjamonkey29 is offline
Registered User
FRC #2523
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Vermont
Posts: 3
ninjamonkey29 is an unknown quantity at this point
Robot Crashes with voltage spike

Well, here it is week 4 and we are still having issues with running our robot....

Every time that we run our 4 wheels (with 4 motors, tank drive) in the required direction to turn in place to the left (left wheels back, right wheels forward) our robot crashes. The motors suddenly hit full speed, and then we can no longer control them. According to the Drivers Station, we are still enabled, and our program continues to print to the modual in wind river. The four jaguars go to their flashing orange light and will not allow control until it is re-enabled from the Driver Station or we reboot the robot. This happens both in Autonomous and Teleop. The speed of the motors does not influence whether or not it crashes. It also will sometimes happen when we move the right joystick forward or when we move the left stick backwithout moving the other, but will always happen if we do both at once. It does not happen when we turn in place to the right, only left. We have measued the output of the Jaguars. When running normally, at full speed they output 11.7-11.85v. When it crashes, it spikes to 12.05 before control is cut.

Here's what we have tried so far to find the source of the problem:
- It does this with LabView and C++, so we assume it is a hardware problem.
- Unplugging the motors from the jaguar motors doesn't make a difference.
- It will still crash when all but 1 jaguar has its pwm cable removed (We don't try all 4 as we then have no way to see if it has crashed or not).
- We have tried replacing the SideCar to no avail.

Any ideas why we are getting this crash + voltage spike?
  #2   Spotlight this post!  
Unread 09-02-2010, 21:57
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,792
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: Robot Crashes with voltage spike

Ninja,
What you describe is a classic example of all four CIM motors in stall causing the battery terminal voltage to fall to the point at which the Crio power supply no longer supplies the 24 volts and the Crio resets. You are using the +24 volt output on the Power Distribution board to feed the Crio right? Likewise you are also using the +12 volt output to feed the wireless adapter on the robot?
If I understand your question, you also experience the same problem with no motors connected? You don't have the Jaguar outputs cross connected do you? Have you checked to see if you have any electrical connections to the chassis? Try checking with a VOM by first removing the battery, then measure between the robot frame and the positive and then the negative lead on the PD. You should measure at least 10000 ohms depending on the humidity and in most cases well in excess of 1 meg ohm. It is possible that somewhere you have two outputs shorted to frame (perhaps through the camera mount) and under just the right conditions, you are shorting the battery.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #3   Spotlight this post!  
Unread 09-02-2010, 23:20
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,113
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: Robot Crashes with voltage spike

Quote:
Originally Posted by Al Skierkiewicz View Post
You don't have the Jaguar outputs cross connected do you?
Accidentally wiring the outputs of two different speed controllers to a motor causes some pretty bizarre behavior. Wiring the other outputs of those speed controllers to another motor can end up shorting the power supply when you try to run the two motors in specific directions. That does sound like a real possibility here. Make absolutely sure that you have the output of each Jaguar going to one and only one motor.
  #4   Spotlight this post!  
Unread 10-02-2010, 11:53
odyseus42 odyseus42 is offline
Registered User
FRC #2523
 
Join Date: Feb 2010
Location: vermont
Posts: 2
odyseus42 is an unknown quantity at this point
Re: Robot Crashes with voltage spike

I am part of the team having problems. Just a few more points. After having problems with shorts last year we have tried to keep all bolts and conncetions off of a possible connection. We have replaced some parts of the Crio, tightened wires, and checked connectins with no success. I will review all of our wiring today and connections that you have suggested and post another update but the more ideas the better right now.
  #5   Spotlight this post!  
Unread 10-02-2010, 15:43
odyseus42 odyseus42 is offline
Registered User
FRC #2523
 
Join Date: Feb 2010
Location: vermont
Posts: 2
odyseus42 is an unknown quantity at this point
Re: Robot Crashes with voltage spike

Well I have tested what you suggested and none of the ideas were the problem. As always any ideas are welcome and we still don't have a working bot. Sorry it didn't help.
  #6   Spotlight this post!  
Unread 10-02-2010, 15:53
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,792
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: Robot Crashes with voltage spike

Just to be sure, your original poster suggested the problem exists with the motors disconnected also?
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #7   Spotlight this post!  
Unread 10-02-2010, 16:41
mutantblond mutantblond is offline
Registered User
FRC #2523
 
Join Date: Sep 2008
Location: st. johnsbury, vt
Posts: 43
mutantblond is an unknown quantity at this point
Re: Robot Crashes with voltage spike

yes, the problem exists with the motors disconnected also. We did discover that the wires to the motors out of the power distribution board were not connected correctly, they were crosswired. We rewired them, problem still existed. Then we replaced the power distribution board, but we still get the same result as before.
  #8   Spotlight this post!  
Unread 10-02-2010, 17: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,792
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: Robot Crashes with voltage spike

OK,
This is not a failure mode we have seen before but I think one of your Jaguars is shorted. So here is a way to troubleshoot the offending circuit.
Connect everything as you would for a functioning robot. PWM wires, power supply wires and motors.
Remove all but one of the circuit breakers and try driving. If all is ok, then pull the first one out and put in another one. This test will show if one of the circuits is shorting the power supply. Then you will only have to check in one circuit. This should show that one of the four controllers is causing the problem. Check all your wiring in that branch. It is possible for a small strand to short across two terminals and cause this problem, so be sure of all connections. Take them apart and inspect each in a bright light. If you need to call I will be home for about an hour. I will PM you with my home phone.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #9   Spotlight this post!  
Unread 10-02-2010, 17:45
mutantblond mutantblond is offline
Registered User
FRC #2523
 
Join Date: Sep 2008
Location: st. johnsbury, vt
Posts: 43
mutantblond is an unknown quantity at this point
Re: Robot Crashes with voltage spike

we will try this, but just looking at the Jaguars, it's hard to imagine that there is a short in there. We did monitor the voltage from the battery, and when we put it into crash mode, the battery voltage dropped to 10 volts.

We've disconnected all the circuit breakers but one, so only one of the Jaguars is working. It does exactly as it's supposed to if we operate it with the right joystick, forward and back, with no response to left joystick. However, if we simultaneously put the right joystick hard forward and the left joystick hard back, operation stops (the user interface disables). The Jaguar just flashes yellow - standby mode.

With two circuit breakers connected, one right and one left motor connnected. we can put the joysticks in any configuration except the right one forward and the left back. Only this crashes the system.

We are using last year's CRIO, new Jaguars, which have been tested. We did replace the power distribution board with last years.
  #10   Spotlight this post!  
Unread 10-02-2010, 17:52
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,792
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: Robot Crashes with voltage spike

So you get the problem even without breakers in place? Is it possible that you have a shorted PWM cable? A slow flashing yellow indicates a loss of PWM. Try removing all four of the PWM cables from the sidecar and see if your condition still exists.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #11   Spotlight this post!  
Unread 10-02-2010, 17:53
mutantblond mutantblond is offline
Registered User
FRC #2523
 
Join Date: Sep 2008
Location: st. johnsbury, vt
Posts: 43
mutantblond is an unknown quantity at this point
Re: Robot Crashes with voltage spike

A correction here, the joysticks don't have to be hard forward and back for the crash to occur. If you move them into position slowly together, it actually happens when they are about 1/4 of the way from center. If you have one all the way forward or back, and ease the other one in the other direction, it crashes when it reaches 1/4 from center. This happens even when you switch the joysticks.
  #12   Spotlight this post!  
Unread 10-02-2010, 17:59
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: Robot Crashes with voltage spike

Quote:
Originally Posted by mutantblond View Post
yes, the problem exists with the motors disconnected also. We did discover that the wires to the motors out of the power distribution board were not connected correctly, they were crosswired. We rewired them, problem still existed. Then we replaced the power distribution board, but we still get the same result as before.
No wires should go directly from the power distribution board to the motors. Wires go from the PD board to the Jaguars' input and other wires go from the Jaguars' output to the motors.

If you reversed connected the input power to the Jaguars, they are most likely destroyed. When a power FET is destroyed, it will usually become a short circuit.

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...
  #13   Spotlight this post!  
Unread 10-02-2010, 18:19
ganchara ganchara is offline
Registered User
FRC #2523 (Hilltoppers)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2009
Location: vermont
Posts: 28
ganchara is an unknown quantity at this point
Re: Robot Crashes with voltage spike

Quote:
Originally Posted by Mike Betts View Post
No wires should go directly from the power distribution board to the motors. Wires go from the PD board to the Jaguars' input and other wires go from the Jaguars' output to the motors.
What they meant was a wire was crossed between PD board and jaguar. One PD board slot had a positive slot going to one jaguar and its negative going to another, while the negative of a second slot went to the first jaguar and its positive to the second jaguar.

I hope I didn't word that too oddly.
  #14   Spotlight this post!  
Unread 10-02-2010, 18:22
mutantblond mutantblond is offline
Registered User
FRC #2523
 
Join Date: Sep 2008
Location: st. johnsbury, vt
Posts: 43
mutantblond is an unknown quantity at this point
Re: Robot Crashes with voltage spike

the jaguars still work though - everything operates normally unless we put the joysticks in the configuration i mentioned before. i don't think they were reversed wired, what happened is that the positive and ground wires from the PDBoard for a particular Jaguar did not come from adjacent terminals from the PDB, for some strange reason. god knows how it got wired that way.
  #15   Spotlight this post!  
Unread 10-02-2010, 18:27
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,792
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: Robot Crashes with voltage spike

Have you tried taking the PWM cables out of the sidecar and try the joystick again?
I should have asked, are you tethered when this occurs?
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Festo Wiring with a spike drewjones13 Pneumatics 10 10-04-2008 07:29
Using a spike with a VEX controller? AdamHeard VEX 2 20-11-2007 10:26
Lowering the voltage on a spike Mr. E Programming 16 27-02-2007 17:41
using SPIKE relay module with Fisher Price motors 1574aviad Motors 4 27-01-2005 01:49
Window Motor With Spike/Victor supergrover Control System 9 30-01-2004 15:38


All times are GMT -5. The time now is 01:32.

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