Go to Post The 3 probably stands for the number of years this season will take off your life - JohnSchneider [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 14-09-2012, 05:29
Skehtb Skehtb is offline
Registered User
no team
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Israel
Posts: 11
Skehtb is an unknown quantity at this point
Communication lost

Every time we drive our robot, it suddenly stops moving and the communication sign on the computer (the one that tells if there is communication between the robot and the computer) turns red. It only happens when we are activating the drive train - "moving" (4 CIM motors). When we shoot, collect balls and any other thing except for drive - it doesn't happen!
I hope you understand the problem, we realy need your help (off-sesason event in 3 weeks!)

Thanks!!
  #2   Spotlight this post!  
Unread 14-09-2012, 06:47
dellagd's Avatar
dellagd dellagd is offline
Look for me on the field!
AKA: Griffin D
FRC #2590 (Nemesis) #2607 (The Fighting Robovikings)
Team Role: Mentor
 
Join Date: Sep 2011
Rookie Year: 2011
Location: PA
Posts: 890
dellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond repute
Re: Communication lost

Hey-

Are you using a 2CAN? We were, and we traced the problem to our 2CAN causing us very similar problems. Try using CAN over the serial port on the crio (bypassing the 2CAN).

This happened another time and was solved by this
__________________
Check out some cool personal projects in computers, electronics, and RC vehicles on my blog!

2016 MAR DCMP Engineering Excellence Award
2016 MAR Westtown Innovation in Control Award
2016 MAR Hatboro-Horsham Industrial Design Award
2015 Upper Darby District Winners - Thanks 225 and 4460!
2015 Upper Darby District Industrial Design Award
2015 Hatboro-Horsham District Winners - Thanks 2590 and 5407!
2014 Virginia Regional Winners - Thanks so much 384 and 1610, I will never forget that experience!
2014 Virginia Quality Award
2014 MAR Bridgewater-Raritan Innovation in Control Award
2014 MAR Hatboro-Horsham Gracious Professionalism Award
2013 MAR Bridgewater-Raritan Innovation in Control Award
2012 MAR Lenape Quality Award
  #3   Spotlight this post!  
Unread 14-09-2012, 07: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,766
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: Communication lost

Skehtb,
You don't elaborate on what other issues you are seeing so I will make some general statements.
If the robots stops functioning for something like 20-50 seconds, then you are drawing the battery voltage down to the point that the Crio is rebooting.
If the robot stops for ~50 seconds then the power supply to the radio is causing it to reboot.
If the robot just stops for about 3-4 seconds and you are using Jaguars, then you are faulting the Jags (probably to high current). If that is the case, the LED on the Jags will flash red during the 3-4 seconds.
As to what could be the cause, you could have batteries that are not fully charging or if they are old, may not have the capacity to drive the robot any longer. If you rule out the battery, then loose connections to the battery, the PD or the main breaker can also cause these issues. If the robot just stops but you can start driving almost immediately, the Crio has an inhibit function based on the battery connection you make to the analog module in slot 1. If that voltage falls to 5.5 volts, the Crio inhibits all output. Since you are in Israel, can we assume you made it to an event outside of Israel? If so, your drive train may have been damaged during transit and now has high friction due to the damage. Check the drivetrain by lifting the robot and moving the wheels by hand. If you are using a transmission that you can slip into neutral, the wheels should move very easy. Depending on your design, the friction could be caused by misaligned drive shafts, tight chain, bent wheel shafts or contact between drive components and robot chassis. In some case, stretched chain could be causing the drive train to bind or hang up on other parts.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #4   Spotlight this post!  
Unread 14-09-2012, 08:41
IndySam's Avatar
IndySam IndySam is offline
Registered User
FRC #0829 (Digital Goats)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Indy
Posts: 3,349
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: Communication lost

Great advice on this thread.

We also had a similar problem a couple of year back and traced it to the cRio not being isolated from the frame, a screw under it had worked loose. When we removed this screw the problem went away.

Since this event we have always made a large effort to make sure the cRio stays isolated.
__________________
"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
  #5   Spotlight this post!  
Unread 14-09-2012, 08:46
Brandon Zalinsky's Avatar
Brandon Zalinsky Brandon Zalinsky is offline
Roaming GeorgiaFIRST MC
AKA: The Mecanum Man
FRC #1058 (PVC Pirates)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2008
Location: Clemson, SC
Posts: 456
Brandon Zalinsky has a brilliant futureBrandon Zalinsky has a brilliant futureBrandon Zalinsky has a brilliant futureBrandon Zalinsky has a brilliant futureBrandon Zalinsky has a brilliant futureBrandon Zalinsky has a brilliant futureBrandon Zalinsky has a brilliant futureBrandon Zalinsky has a brilliant futureBrandon Zalinsky has a brilliant futureBrandon Zalinsky has a brilliant futureBrandon Zalinsky has a brilliant future
Re: Communication lost

We're having the exact same problem. Could it be the wireless bridge? We've already broken one this year.
__________________
This is our Robot. There are many like it, but this one is ours.
Measure twice, cut once, curse, buy more, and cut again.

2014- Excellence in Engineering (UNH), District Chairman's Award (NU), #8 Quarterfinalist (NECMP), Winner (Mainely Spirit)
2013- Semifinalists (Battlecry@WPI) Winner (Mainely Spirit)
2012- Regional Chairman's (GSR), Finalists as the #11 Alliance Captain (Battlecry@WPI)
2011-Xerox Creativity Award (GSR), Semifinalists (GSR) Innovation in Control (Virginia)
2010-Champion (GSR), Undefeated (Chesapeake), Coopertition Award (Chesapeake), Quarterfinalists (Galileo) 8th AC (IRI)
2008-Undefeated (GSR), Xerox Creativity Award (GSR)
  #6   Spotlight this post!  
Unread 14-09-2012, 11:13
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,766
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: Communication lost

Brandon,
It is really difficult to diagnose problems without more data. In your case, it is possible but watch the lights on the Dlink. The robot is talking to you, you must listen to find out what might be wrong.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #7   Spotlight this post!  
Unread 14-09-2012, 12:23
Skehtb Skehtb is offline
Registered User
no team
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Israel
Posts: 11
Skehtb is an unknown quantity at this point
Re: Communication lost

The Crio is isolated, but i'll check it again.

Quote:
Originally Posted by Al Skierkiewicz View Post
Skehtb,
You don't elaborate on what other issues you are seeing so I will make some general statements.
If the robots stops functioning for something like 20-50 seconds, then you are drawing the battery voltage down to the point that the Crio is rebooting.
If the robot stops for ~50 seconds then the power supply to the radio is causing it to reboot.
If the robot just stops for about 3-4 seconds and you are using Jaguars, then you are faulting the Jags (probably to high current). If that is the case, the LED on the Jags will flash red during the 3-4 seconds.
As to what could be the cause, you could have batteries that are not fully charging or if they are old, may not have the capacity to drive the robot any longer. If you rule out the battery, then loose connections to the battery, the PD or the main breaker can also cause these issues. If the robot just stops but you can start driving almost immediately, the Crio has an inhibit function based on the battery connection you make to the analog module in slot 1. If that voltage falls to 5.5 volts, the Crio inhibits all output. Since you are in Israel, can we assume you made it to an event outside of Israel? If so, your drive train may have been damaged during transit and now has high friction due to the damage. Check the drivetrain by lifting the robot and moving the wheels by hand. If you are using a transmission that you can slip into neutral, the wheels should move very easy. Depending on your design, the friction could be caused by misaligned drive shafts, tight chain, bent wheel shafts or contact between drive components and robot chassis. In some case, stretched chain could be causing the drive train to bind or hang up on other parts.
The problem appears with different batteries. We found out that the robot doesn't stop functioning when we drive it forward. It happens only when try to turn it (and I'm pretty sure it happens only when it truns to the left), drive it backwards, or stop it after driving forward. I'm not sure about how long the robot stops functioning, but its definetly more than 20 seconds. I'll check it.
I don't understand how high friction or bent wheel shafts can cause the problem. And if it changes anything - our drivetrain is 8wd and this season we did not participated in an event outside of Israel.
  #8   Spotlight this post!  
Unread 14-09-2012, 12:28
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Communication lost

Quote:
Originally Posted by Skehtb View Post
I don't understand how high friction or bent wheel shafts can cause the problem.
High friction or bent wheel will cause the motor(s) to stall. Stall draws tremendous current which could draw down the battery voltage or cause the Jaguars to cut off due to over current.
__________________

Last edited by mikets : 14-09-2012 at 12:31.
  #9   Spotlight this post!  
Unread 14-09-2012, 12:39
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,766
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: Communication lost

Mike is correct. However when the condition exists only on turns, I am going to guess you have sticky tires and are using a tank turning for steering. When this type of drive mechanism is used with high friction tires, the motors do tend to stall or get very near. A CIM motor stalls at 131 amps so with all four motors in stall, you are drawing so much current from the battery that the terminal voltage falls below the point that the power supplies in the PD can keep running. If both the Crio and the Dlink reboot, the Dlink takes longer to come back. Also, and I have to say this, if the Dlink is not powered from the dedicated +12 volt radio output on the PD, then small fluctuations in battery voltage will cause the Dlink to reboot.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #10   Spotlight this post!  
Unread 14-09-2012, 12:54
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: Communication lost

Quote:
Originally Posted by Skehtb View Post
We found out that the robot doesn't stop functioning when we drive it forward. It happens only when try to turn it (and I'm pretty sure it happens only when it truns to the left), drive it backwards, or stop it after driving forward. I'm not sure about how long the robot stops functioning, but its definetly more than 20 seconds. I'll check it.
Look for a shorted wire between one of the left side drive motors and its speed controller. You might be getting voltage on the frame when a motor drives backwards, and another shorted frame connection somewhere (likely a power return or "ground" wire) could be causing your D-Link or cRIO to reset. Or you might have cross-wired motor leads, with one motor connecting to two different speed controllers. That results in very weird symptoms that can sometimes match what you're describing.

You can start troubleshooting electrical issues by removing the circuit breaker from the power branch to one speed controller at a time and seeing if the problem can be narrowed down to one motor's circuitry.

Last edited by Alan Anderson : 14-09-2012 at 13:41.
  #11   Spotlight this post!  
Unread 14-09-2012, 13:00
philso philso is offline
Mentor
FRC #2587
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Houston, Tx
Posts: 938
philso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond repute
Re: Communication lost

An easy way to test what Al is suggesting is to put some blocks under your robot so that none of the wheels touch the ground then "drive" the same manouvers that cause the problem. You now have no traction so none of the motors should stall due to the choice of wheel tread. You may also find certain wheels that don't turn, or do not turn smoothly, due to high friction in gearboxes or some other issue.

Good luck.

Phil
  #12   Spotlight this post!  
Unread 14-09-2012, 14:00
Skehtb Skehtb is offline
Registered User
no team
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Israel
Posts: 11
Skehtb is an unknown quantity at this point
Re: Communication lost

When we tried to "drive" the robot while the wheels were "in the air" (not touching the ground), nothing happened - it worked smoothly. We lost communication only when we drove the robot on the ground.
  #13   Spotlight this post!  
Unread 14-09-2012, 14:11
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: Communication lost

Quote:
Originally Posted by Skehtb View Post
When we tried to "drive" the robot while the wheels were "in the air" (not touching the ground), nothing happened - it worked smoothly. We lost communication only when we drove the robot on the ground.
Watch the lights: the big orange Robot Signal Light, the ones on the D-Link router, the ones on the cRIO. They'll give you good clues as to what is going on with the robot when you lose control.

Your symptoms are starting to point more clearly to a power issue. One of the common problems teams have is connecting the robot radio incorrectly. Can you describe exactly how the D-Link is being powered? Specifically, where is it connected to the Power Distribution board, and what else is connected to its power input?
  #14   Spotlight this post!  
Unread 14-09-2012, 14:22
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,766
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: Communication lost

Quote:
Originally Posted by Skehtb View Post
When we tried to "drive" the robot while the wheels were "in the air" (not touching the ground), nothing happened - it worked smoothly. We lost communication only when we drove the robot on the ground.
This is pointing more and more to drivetrain friction. Either misalignment or turning frictions are high.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #15   Spotlight this post!  
Unread 14-09-2012, 14:42
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: Communication lost

Quote:
Originally Posted by Alan Anderson View Post
Your symptoms are starting to point more clearly to a power issue.
Quote:
Originally Posted by Al Skierkiewicz View Post
This is pointing more and more to drivetrain friction.
Al and I are not really disagreeing here. Excessive drivetrain friction will drag the battery voltage down, but that alone will only cause a momentary loss of control. It shouldn't cause a complete loss of communication. If things are properly wired, the control system is designed to shut down the motors before the voltage gets too low to maintain its operation. A robot that reboots when you try to turn on the ground, but works okay when up on blocks, has more than one thing wrong with it.
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 12:56.

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