Go to Post Dr. Doom becomes Dr. Awesome! - Nick Lawrence [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 04-11-2011, 21:54
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Robot loosing communication when switching directions

All we know at this point is that you're losing communication.

This could be due to a physical problem like loose ethernet connections or power connections. It could also be an electrical problem like low battery voltage (or plugged in to the wrong port). You are using the transformer, correct?
  #2   Spotlight this post!  
Unread 04-11-2011, 23:17
dudefise dudefise is offline
Registered User
FRC #2637 (Panthers)
Team Role: College Student
 
Join Date: Feb 2011
Rookie Year: 2011
Location: CA
Posts: 92
dudefise is an unknown quantity at this point
Re: Robot loosing communication when switching directions

It's a problem with power distibution.The load spike caused by reversing the motors is causing the cRio or radio to lose power... use the protected 12 and 24 volt boost supplies on the bottom of the PD board.
__________________
2010 VRC 2453B - Team Captain
2011 FRC 2637 - Electrical - Las Vegas Regional Semifinalists with 1726 and 166
2012 FRC 2637 - Electronics Captain - Las Vegas Regional Semifinalists with 1661 and 2984
2013 FRC 2637 - Build Captain - Inland Empire Quarterfinalists with 3925 and 207
2014 FRC 2637 - College Mentor - Central Valley Quarterfinalists with 2085 and 5136 / LA Regional Semifinalists with 696 and 5102
2015 FRC 2637 - Lazy Schmuck - Couch Sitting Quarterfinalist
2016 FRC 2637 - College Mentor - SD Regional Finalist with 1572 and 2443, Excellence in Engineering, Wildcard
  #3   Spotlight this post!  
Unread 05-11-2011, 21:51
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,081
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Robot loosing communication when switching directions

A little more unlikely explanation, but still worth considering, is that when you reverse the directions, you are causing a spike (literally a spark jumping a gap) inside the motor which can mess with you Wi-Fi signals. You can sometimes see this with the Fisher-Price and other unsealed motors. It's unlikely, but it's still worth considering. Does the Wi-Fi re-lock after some time?
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #4   Spotlight this post!  
Unread 05-11-2011, 22: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,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 loosing communication when switching directions

This is exactly the result when the Crio chassis is electrically connected to the frame and a motor or other wiring also is connected with the frame. Typical of certain Banebots motors shipped after the beginning of build in 2011, was a case short. Even if you were sure you had adequate insulation under the Crio, check it again with a meter. When you reverse motors under this condition, the power going to the Crio is cut in half by the short. The result is a Crio reboot.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #5   Spotlight this post!  
Unread 06-11-2011, 09:34
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Robot loosing communication when switching directions

I second both James' and Al's suggestions, and have some tips to offer to help troubleshoot:

1) Al's suggestion: If it IS a cRIO reboot, you'll lose comm for about 1 minute, then it will come back. The time duration of your comm loss is a good indicator here. If you are running any Banebot 775s on your robot this is likely your problem, and you can check by taking a meter, disconnecting the motor from the speed controller, and measuring resistance between the positive terminal on the motor and the case of the motor. You will want to rotate the motor slightly as your measure. If at any point you see <100k ohm resistance, you have a defective motor which is causing the voltage to dip on your entire electrical bus. There are a few fixes for this that have been posted on CD. Try searching for "case short".

2) James' suggestion: As soon as you lose comm, have two people immediately check the status lights on robot. One person for the cRIO, the other for the radio. Both have telltale blinking-light sequences which are indicative that they've been reset recently. If only the radio looks like it's been reset, then James' suggestion is your best bet. Generally with radio-only resets, comm is re-established faster than 1 minute.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
  #6   Spotlight this post!  
Unread 06-11-2011, 11:57
Phalanx's Avatar
Phalanx Phalanx is offline
Formerly Team 1089 (Mercury)
AKA: Michael Reffler
FRC #5431 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jun 2005
Rookie Year: 1999
Location: Lewisville, TX (previously NJ)
Posts: 384
Phalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond repute
Re: Robot loosing communication when switching directions

I was working with / trying to help these guys yesterday at Brunswick Eruption. There were numerous problems being identified and we were trouble shooting them one at a time. This is as far as were able to get.

1) The ground wasn't firmly attached to the stud on the PD. Fixed
2) One Gear Box was loose and wobbling. Fixed
3) We measured the power drop between the studs on the PD with a multi-meter when they changed directions it went from 12volts to 8volts and lower.
We recommended fully charged batteries.
4) I didn't check if the CRIO rebooted, but the DLINK rebooted every time.
5) They also have the D-Link powered by a 20AMP circuit like James posted previously.
6) Lastly, I'm wondering if direct driving Mechanum Wheels using 4 - CIMPLE Boxes wasn't enough of a mechanical reduction and hence cause too much draw.
__________________
Don't just ask the experts, become one!
Leadership is not about ability. It's about responsibility!
Diagonally Parked in a Parallel Universe. It's okay we do Quantum Physics



Last edited by Phalanx : 06-11-2011 at 11:59.
  #7   Spotlight this post!  
Unread 06-11-2011, 12:58
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 loosing communication when switching directions

Quote:
Originally Posted by Phalanx View Post
5) They also have the D-Link powered by a 20AMP circuit like James posted previously.
Fixing that should take care of the communication dropout immediately. Then they can start working on the other electrical issues (battery charge/condition, connection reliability, etc.).
  #8   Spotlight this post!  
Unread 06-11-2011, 18:09
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Robot loosing communication when switching directions

Quote:
Originally Posted by Phalanx View Post
Lastly, I'm wondering if direct driving Mechanum Wheels using 4 - CIMPLE Boxes wasn't enough of a mechanical reduction and hence cause too much draw.
Yes. With 6" wheels, at least 1.8x more reduction would be appropriate. For 8" wheels, make that 2.4x additional reduction.


  #9   Spotlight this post!  
Unread 06-11-2011, 20:51
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,752
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: Robot loosing communication when switching directions

Quote:
If it IS a cRIO reboot, you'll lose comm for about 1 minute,
Can you time this to see what the actual number is? And if it is close to one minute, can you give language details?

Greg McKaskle
  #10   Spotlight this post!  
Unread 07-11-2011, 07: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 loosing communication when switching directions

The loose negative power supply lead and the improper wiring for the radio are enough of a smoking gun for me. The battery will regularly drop to eight volts in a complete direction reversal. All motors are going through excessive current draw so the voltage drop across the internal resistance of the battery and the wiring and breaker feeding the PD is enough to cause this in four motor drives. The three terminal regulator is only speced to maintain output voltage down to about seven volts input. It is for this reason, the voltage regulator must be wired to the 12 volt radio output of the PD. That output will maintain voltage down to about 4.5 volts on the battery input.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #11   Spotlight this post!  
Unread 09-11-2011, 11:51
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: Robot loosing communication when switching directions

I apologize for the lack of communication on my end. I actually had one of the members post this up for me and I never found the actual thread.
But yes, thanks to Mr. Reffler, we did do some troubleshooting, as he said.
Now, there ARE 3 Bane Bot Motors on the system, but I have no idea when they were ordered, but they were definitely before the 2011 season.
We are currently off of school for the week, but once we get in, I'll switch the radio over to the dedicated port and check our motors for the case short.
I'll update you guys once I can do the few tests and possible fix, now that I know where this thread is.
Thank You All Very Much For Your Help!
UPDATE
Now that I think about it, the Bane Bots Motors are the unlikely cause of the problem, because they aren't running when the radio resets itself. It's the CIM Motors that are the most probable cause.
@Ether, could you please explain to me what you mean by a 2.4X reduction? We are using 8" Mecs and I believe the ratio is 1:3 or some absurdly low number.
UPDATE
btw, to answer Mr. McKaskle's question, we do get connected back to the robot, but after a good 5 minutes. It's definitely a radio reset. Furthermore, we are using Java and running cRIO image version 28
__________________

Last edited by kinganu123 : 09-11-2011 at 11:59.
  #12   Spotlight this post!  
Unread 09-11-2011, 12:29
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,835
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Robot loosing communication when switching directions

Quote:
Originally Posted by kinganu123 View Post
btw, to answer Mr. McKaskle's question, we do get connected back to the robot, but after a good 5 minutes. It's definitely a radio reset. Furthermore, we are using Java and running cRIO image version 28
If your radio is taking 5 minutes to reconnect to the field, then it could be that the manual switch on the back of the DLink is in the Auto position rather than Bridge.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 09-11-2011 at 12:37.
  #13   Spotlight this post!  
Unread 09-11-2011, 12:46
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,580
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Robot loosing communication when switching directions

Have you rewired the robot since competition, or were you able to pass inspection twice with the radio wired to a PD breaker?
  #14   Spotlight this post!  
Unread 09-11-2011, 13:42
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Robot loosing communication when switching directions

Quote:
Originally Posted by kinganu123 View Post
@Ether, could you please explain to me what you mean by a 2.4X reduction? We are using 8" Mecs and I believe the ratio is 1:3 or some absurdly low number.
I said 2.4x additional reduction.

You said in an earlier post "I'm wondering if direct driving Mechanum Wheels using 4 - CIMple Boxes wasn't enough of a mechanical reduction and hence cause too much draw".

If you are direct-driving 8" wheels with nothing but a CIMPLE box for gear reduction, your motors are overloaded. CIMPLE box provides 4.67:1 reduction. You need more gear reduction. Preferably at least 2.4x more gear reduction. So, 2.4x4.67 = 11.2 total reduction from CIM shaft to wheel.





Last edited by Ether : 09-11-2011 at 13:53. Reason: added links
  #15   Spotlight this post!  
Unread 09-11-2011, 14:40
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Robot loosing communication when switching directions

Quote:
Originally Posted by Ether View Post
I said 2.4x additional reduction...
I think this should be treated as a separate issue, possibly in a separate thread. Incorrect motor reductions should be unable to cause the root issue, provided the electrical system is fine. They can definitely aggravate the issue, but they won't be the root cause. Even if the problem appears to go away after changing the reduction, it will still be lingering in the background (and harder to debug when it returns).

As many other have already said, move the radio to the dedicated radio power supply. Also, add a few things to your standard pre-flight checklist - electrical connector security, chassis fault, motor chassis fault.
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 05: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