Go to Post I love how your suggestion for MCC is one of the most elite robots of the year, and one of the World Champions. I also love that I really can't argue with you. - JVN [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-12-2011, 16:28
kinganu123 kinganu123 is offline
Registered User
FRC #1747
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Piscataway, NJ
Posts: 243
kinganu123 is on a distinguished road
Problem with old bot

Was fixing up an old bot and encountered a weird problem. All directions work but when going backward the robot just stops responding and requires a disable-reenable to start moving again. It's most probably an electrical problem and all other movements work fine so I have no clue what it could be. Anyone have any ideas?
__________________
  #2   Spotlight this post!  
Unread 19-12-2011, 16:44
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: Problem with old bot

Quote:
Originally Posted by kinganu123 View Post
Was fixing up an old bot and encountered a weird problem. All directions work but when going backward the robot just stops responding and requires a disable-reenable to start moving again. It's most probably an electrical problem and all other movements work fine so I have no clue what it could be. Anyone have any ideas?
Check each wire between a speed controller and a drive motor. One of them is likely shorted to the frame, and there is probably another frame connection elsewhere. The big things to worry about are the cRIO case and the Axis camera.

Your drive motors aren't the biggest BaneBots, are they? Those are notorious for developing internal shorts between the case and one of the terminals, apparently due to debris left over from manufacturing.
  #3   Spotlight this post!  
Unread 19-12-2011, 18:18
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,798
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: Problem with old bot

Quote:
Originally Posted by kinganu123 View Post
Was fixing up an old bot
How old, please?
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #4   Spotlight this post!  
Unread 19-12-2011, 19:45
kinganu123 kinganu123 is offline
Registered User
FRC #1747
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Piscataway, NJ
Posts: 243
kinganu123 is on a distinguished road
Re: Problem with old bot

lol, sorry about that guys. Once again I had sent a freshman to do research, and I can almost guarantee you that they didn't search before posting (with my account).
But basically, we stripped the good 'ole 2010 robot and basically left the 4 CIM motors, the 4 mecanum wheels, the PD board, the cRIO, and the DS. It's all mounted on wood and the other parts (such as relays) are still mounted, just not connected to anything.
That being said, we can go forward, left, right, and spin properly, but once we go backward, the bot essentially stops working. I expected it to be motorsafety to be throwing it off, but alas, the freshman didn't do enough asking or researching and they assumed it to be electrical, because 224's programmers are never wrong XD. I'd also like to throw in that the joysticks and motorspeeds are programmatically correct, but i haven't had them check motorsafety yet.
However, I dare not eliminate electrical as the problem YET. I will make note to them to make sure that the robot is properly grounded.
Are there any other suggestions?
Thanks
__________________
  #5   Spotlight this post!  
Unread 19-12-2011, 20:04
Ninja_Bait's Avatar
Ninja_Bait Ninja_Bait is offline
Former Prez of Making Things Go
AKA: Jake Potter
FRC #0694 (StuyPulse)
Team Role: Alumni
 
Join Date: Apr 2010
Rookie Year: 2008
Location: New York
Posts: 650
Ninja_Bait has a reputation beyond reputeNinja_Bait has a reputation beyond reputeNinja_Bait has a reputation beyond reputeNinja_Bait has a reputation beyond reputeNinja_Bait has a reputation beyond reputeNinja_Bait has a reputation beyond reputeNinja_Bait has a reputation beyond reputeNinja_Bait has a reputation beyond reputeNinja_Bait has a reputation beyond reputeNinja_Bait has a reputation beyond reputeNinja_Bait has a reputation beyond repute
Re: Problem with old bot

Quote:
Originally Posted by kinganu123 View Post
224's programmers are never wrong XD.
Yeah, neither are ours.

I would go through the wires very carefully, looking for shorts and the like. However, since all the wheels work independently and the bot only crashes when they all drive backwards, I'd say it's safe to blame code. I can't think of any other reason that would cause the bot to act like that.
__________________
You can't fix something that isn't broken... but you can always break things that aren't fixed!

  #6   Spotlight this post!  
Unread 19-12-2011, 21:02
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: Problem with old bot

Quote:
Originally Posted by kinganu123 View Post
I will make note to them to make sure that the robot is properly grounded.
What does "properly grounded" mean to you? Absolutely nothing should be electrically connected to the frame of the robot, either accidentally or intentionally.
  #7   Spotlight this post!  
Unread 19-12-2011, 21:22
ratdude747's Avatar
ratdude747 ratdude747 is offline
Official Scorekeeper
AKA: Larry Bolan
no team
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Madison, IN
Posts: 1,064
ratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond repute
Re: Problem with old bot

What speed controllers? if victors, are they calibrated right?

if jags, PWM, serial CAN, or 2CAN?

also, if known, what programming language?
__________________
Dean's List Semi-finalist 2010
1747 Harrison Boiler Robotics 2008-2010, 2783 Engineers of Tomorrow 2011, Event Volunteer 2012-current

DISCLAIMER: Any opinions/comments posted are solely my personal opinion and does not reflect the views/opinions of FIRST, IndianaFIRST, or any other organization.
  #8   Spotlight this post!  
Unread 19-12-2011, 23:09
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,798
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: Problem with old bot

King,
Jaguars (old Tan color) were notorious for failing in one direction that year. When you say that the robot stops functioning, are you saying that the Crio reboots or the robot simply will not go in reverse? Are you using dual motor transmissions? If so are you absolutely sure of the wiring to each motor? It is possible that one of the motors is wired backwards. When you reverse you suddenly add a short (both motors go into stall) drawing upwards of 200 amps. Although unlikely, it is possible for the motors to be able to drive in one direction but not at full speed. Of course if you add a defective Jag that is open in forward but functions normally in reverse, this result is possible. I suggest you remove the wiring to one motor on each side and see if the robot moves in both directions. Note which direction the wheels turn for a forward movement on the joysticks. Then swap motors on both sides and try again. Do the motors cause the same direction of movement as the first test? I have also seen debris in a transmission that allows movement in one direction but locks the transmission in the other direction. You should be able to simulate this without power, moving the robot by hand.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #9   Spotlight this post!  
Unread 20-12-2011, 00:15
vhcook's Avatar
vhcook vhcook is offline
Reader of Things
AKA: Victoria
FRC #1939 (Kuh-nig-its)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Kansas City, MO
Posts: 546
vhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond repute
Re: Problem with old bot

Did you test on the floor or on blocks (or both)?
__________________


  #10   Spotlight this post!  
Unread 20-12-2011, 01:07
mesamb1's Avatar
mesamb1 mesamb1 is offline
Registered User
AKA: Sam Bacon
FRC #1466 (Webb Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Knoxville
Posts: 93
mesamb1 is just really nicemesamb1 is just really nicemesamb1 is just really nicemesamb1 is just really nice
Re: Problem with old bot

You said you can spin. With the mecanum wheels that sounds like the wheels can spin backwards, but not when the joystick tells it to go backwards. I would think code, but there could be a joystick short
  #11   Spotlight this post!  
Unread 20-12-2011, 13:05
LemmingBot's Avatar
LemmingBot LemmingBot is offline
FIRST's Official Cuddler
FRC #0365 (MOE)
Team Role: Electrical
 
Join Date: Dec 2010
Rookie Year: 2011
Location: Massachusetts
Posts: 121
LemmingBot has much to be proud ofLemmingBot has much to be proud ofLemmingBot has much to be proud ofLemmingBot has much to be proud ofLemmingBot has much to be proud ofLemmingBot has much to be proud ofLemmingBot has much to be proud ofLemmingBot has much to be proud ofLemmingBot has much to be proud ofLemmingBot has much to be proud of
Re: Problem with old bot

Check the C-rio, we just had a problem with our 2011 bot that sounds alot like yours, we think that it was a combination of inflicted damage and a slightly defective unit. Try swapping the rio out with a different one and see if that fixes it.
__________________
Typical kid in college: "I miss my family/house/bed/pet/friends."

FIRST alumni in college: "I miss my team/robots/tools."
  #12   Spotlight this post!  
Unread 27-12-2011, 15:33
kinganu123 kinganu123 is offline
Registered User
FRC #1747
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Piscataway, NJ
Posts: 243
kinganu123 is on a distinguished road
Re: Problem with old bot

Quote:
Originally Posted by Alan Anderson View Post
What does "properly grounded" mean to you? Absolutely nothing should be electrically connected to the frame of the robot, either accidentally or intentionally.
well, everything is mounted on wood and whatever isn't used isn't connected to the PD board
Furthermore, we put a multimeter to the frame and got a reading of 0.0
Quote:
Originally Posted by Ninja_Bait View Post
However, since all the wheels work independently and the bot only crashes when they all drive backwards, I'd say it's safe to blame code. I can't think of any other reason that would cause the bot to act like that.
I'm starting to think that too, but motorsafety isn't throwing any errors and everythings SEEMS to be fine in terms of code. all it is is creating a robotdrive, joystick, and driving via inputs from joystick
Quote:
Originally Posted by ratdude747 View Post
What speed controllers? if victors, are they calibrated right?

if jags, PWM, serial CAN, or 2CAN?

also, if known, what programming language?
Victors
what do you mean by "calibrated right"
and we are using Java
Quote:
Originally Posted by Al Skierkiewicz View Post
King,
Jaguars (old Tan color) were notorious for failing in one direction that year. When you say that the robot stops functioning, are you saying that the Crio reboots or the robot simply will not go in reverse? Are you using dual motor transmissions? If so are you absolutely sure of the wiring to each motor? It is possible that one of the motors is wired backwards. When you reverse you suddenly add a short (both motors go into stall) drawing upwards of 200 amps. Although unlikely, it is possible for the motors to be able to drive in one direction but not at full speed. Of course if you add a defective Jag that is open in forward but functions normally in reverse, this result is possible. I suggest you remove the wiring to one motor on each side and see if the robot moves in both directions. Note which direction the wheels turn for a forward movement on the joysticks. Then swap motors on both sides and try again. Do the motors cause the same direction of movement as the first test? I have also seen debris in a transmission that allows movement in one direction but locks the transmission in the other direction. You should be able to simulate this without power, moving the robot by hand.
we are using Victors and i THINK single transmissions
the cRIO doesn't reboot upon failing
i'll check everything else you've said, thanks!
Quote:
Originally Posted by vhcook View Post
Did you test on the floor or on blocks (or both)?
Both
Quote:
Originally Posted by mesamb1 View Post
You said you can spin. With the mecanum wheels that sounds like the wheels can spin backwards, but not when the joystick tells it to go backwards. I would think code, but there could be a joystick short
can't be the joystick because we tried our xbox and an older joystick
Quote:
Originally Posted by LemmingBot View Post
Check the C-rio, we just had a problem with our 2011 bot that sounds alot like yours, we think that it was a combination of inflicted damage and a slightly defective unit. Try swapping the rio out with a different one and see if that fixes it.
its a relatively new cRIO (we bought it a while ago, but it was only for show on a testboard that we later stripped), but I'll have the team replace it
__________________
  #13   Spotlight this post!  
Unread 27-12-2011, 19:35
Jim Wilks Jim Wilks is offline
Electrical Engineer
AKA: Jim Wilks
FRC #1360 (Orbit Robotics)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Oakville, ON
Posts: 1,186
Jim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond reputeJim Wilks has a reputation beyond repute
Re: Problem with old bot

Quote:
Originally Posted by kinganu123 View Post
well, everything is mounted on wood and whatever isn't used isn't connected to the PD board
Furthermore, we put a multimeter to the frame and got a reading of 0.0
Would that be a reading of 0.0 ohms = bad or 0.0 volts = good? A value without units is meaningless.
  #14   Spotlight this post!  
Unread 27-12-2011, 21:01
PAR_WIG1350's Avatar
PAR_WIG1350 PAR_WIG1350 is offline
Registered User
AKA: Alan Wells
FRC #1350 (Rambots)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Rhode Island
Posts: 1,190
PAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond repute
Re: Problem with old bot

Quote:
Originally Posted by kinganu123 View Post
Furthermore, we put a multimeter to the frame and got a reading of 0.0
The lack of units has already been mentioned, but I have another question.
You put a multimeter to the frame and what? If both probes were on the frame, the resistance would be 0.0, or close to 0.0, as would the voltage (due to the fact that the resistance is 0). The proper way to test for electrical continuity problems is to , with the meter set to measure in kOhms, place one probe on the frame while the other one is placed on the cRIO chassis, the back of the axis camera, motor controller outputs, and the PD board inputs (Make sure the robot is off, or preferably, the battery is out of the robot. ). If the meter displays infinity (usually a 1 at the far left of the display) in all cases described above, but 0.0 when the probes make contact with each other, then the electrical system is likely not shorted to the frame.
__________________
  #15   Spotlight this post!  
Unread 27-12-2011, 21:07
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Problem with old bot

My advice would be to spend more time debugging. Since the cRIO is modular, replacing the whole thing shouldn't be necessary in most cases. Spend a bit more time debugging and you can spend less swapping components in and out and winding up with a pile of parts that "may" be bad.

I'd start with the SW or HW split. If you have diagnostic errors due to watchdog timeouts or other configuration issues, fix those first. If the SW is not producing any errors, trace the pwm values to see if the SW is setting them to zero.

From there, if the SW is setting the correct values, but the SW isn't responding, you can isolate the speed controller, digital sidecar, and digital module.

Greg McKaskle
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 19:04.

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