Go to Post Robotics for me though really is hard to beat. Though tiring and exhausting, the memories you build are priceless. - ShadowKnight [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 Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 14-01-2014, 19:05
Team 4457 Team 4457 is offline
Registered User
FRC #4457
 
Join Date: Jan 2013
Location: Portland Or.
Posts: 16
Team 4457 is an unknown quantity at this point
Arrow Robot Reboot?

Hello, We have been having a major problem with our robot's performance in competition. In last year (2013)'s competition as well as a local competition, we had the problem of our robot losing power on the field. When i go into the driver station log, it appears as if the voltage going to the cRIO is spiking and causing it to crash. But we have been told that the cRIO and/or the power going to it is probably not the main issue. In last year's competition it would mainly happen when we were driving our robot, then activated our shooting mechanism. But at the local competition, it would happen even though we were just driving (albeit with four motors). Does anyone know what is happening/ why its happening/ how to fix it? Thank you all!
__________________
~There are always choices, some are just harder to make than others.~
Reply With Quote
  #2   Spotlight this post!  
Unread 14-01-2014, 19:50
thursam's Avatar
thursam thursam is offline
Registered User
AKA: Sam
FRC #3336 (Zimanators)
 
Join Date: Feb 2013
Rookie Year: 2013
Location: United States
Posts: 57
thursam is just really nicethursam is just really nicethursam is just really nicethursam is just really nicethursam is just really nice
Re: Robot Reboot?

I asked one of our mentors, and he has not seen that problem, but he did suggest a few things;

1. Check all power connections to the cRIO.
-- All connections are torqued.
2. Use an external, handheld DMM while driving to see if there are any surges in voltage.
3. Note any error codes before the cRIO crashes.
-- And feed them back to NI, if possible.
__________________
"If you want your children to be intelligent, read them fairy tales." - Albert Einstein
Reply With Quote
  #3   Spotlight this post!  
Unread 14-01-2014, 21:31
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 Reboot?

Why do you think the robot is "losing power"? Does it eventually come back to life, and if so, after how long?

Just to get one simple thing out of the way, describe how your D-Link router is wired to the power distribution board. There are a couple of ways to do it wrong that will result in a long-lasting loss of control when battery voltage droops.
Reply With Quote
  #4   Spotlight this post!  
Unread 14-01-2014, 21:32
MrRoboSteve MrRoboSteve is online now
Mentor
AKA: Steve Peterson
FRC #3081 (Kennedy RoboEagles)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Bloomington, MN
Posts: 578
MrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond repute
Re: Robot Reboot?

Can you post a screen shot of your driver station log, showing an example of the problem?
__________________
2016-17 events: 10000 Lakes Regional, Northern Lights Regional, FTC Burnsville Qualifying Tournament

2011 - present · FRC 3081 Kennedy RoboEagles mentor
2013 - present · event volunteer at 10000 Lakes Regional, Northern Lights Regional, North Star Regional, Lake Superior Regional, Minnesota State Tournament, PNW District 4 Glacier Peak, MN FTC, CMP
http://twitter.com/MrRoboSteve · www.linkedin.com/in/speterson
Reply With Quote
  #5   Spotlight this post!  
Unread 14-01-2014, 22:18
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 Reboot?

Quote:
Originally Posted by MrRoboSteve View Post
Can you post a screen shot of your driver station log, showing an example of the problem?
Better yet, post the actual log file so we can look at it carefully.
Reply With Quote
  #6   Spotlight this post!  
Unread 16-01-2014, 20:37
Team 4457 Team 4457 is offline
Registered User
FRC #4457
 
Join Date: Jan 2013
Location: Portland Or.
Posts: 16
Team 4457 is an unknown quantity at this point
Re: Robot Reboot?

Not sure about posting the log files, as there are so many and i didn't keep track of the ones in which it happened, but as for the wiring of the Dlink, I think that is a good contender for what the problem may have been. It was wired into a 12 volt connection on the power distribution board, and i did some research and apparently a part that we could not identify was actually a 12 to 5 volt converter, who's purpose is for the Dlink. Am I wrong about that? Would that not be the problem?
__________________
~There are always choices, some are just harder to make than others.~
Reply With Quote
  #7   Spotlight this post!  
Unread 16-01-2014, 20:39
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Re: Robot Reboot?

Quote:
Originally Posted by Team 4457 View Post
Not sure about posting the log files, as there are so many and i didn't keep track of the ones in which it happened, but as for the wiring of the Dlink, I think that is a good contender for what the problem may have been. It was wired into a 12 volt connection on the power distribution board, and i did some research and apparently a part that we could not identify was actually a 12 to 5 volt converter, who's purpose is for the Dlink. Am I wrong about that? Would that not be the problem?
Definitely.

The 5V is specifically made for the D-link to make sure it doesn't lose power.
__________________
FTC Teams 5257, 6568 & FRC Team 3992
Eagles Robotics Xperience
2014 FTC WORLD CHAMPIONS
14 Trophies in 3 Years
Reply With Quote
  #8   Spotlight this post!  
Unread 16-01-2014, 20:40
geomapguy's Avatar
geomapguy geomapguy is offline
Centenary '18
AKA: Graham Maxwell
FRC #1818
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Alexandria, LA
Posts: 535
geomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud of
Re: Robot Reboot?

Quote:
Originally Posted by Team 4457 View Post
Not sure about posting the log files, as there are so many and i didn't keep track of the ones in which it happened, but as for the wiring of the Dlink, I think that is a good contender for what the problem may have been. It was wired into a 12 volt connection on the power distribution board, and i did some research and apparently a part that we could not identify was actually a 12 to 5 volt converter, who's purpose is for the Dlink. Am I wrong about that? Would that not be the problem?
OMG yes

The dlink is supposed to be powered through this http://www.andymark.com/product-p/am-0899.htm

Everyone receives one in the Kit of Parts

Also read this before doing any electrical workhttp://www.usfirst.org/sites/default...icalLayout.pdf
__________________
The Cowboys - FIRST Robotics Team #1818 2015-
The Bolton Bear Bots - FIRST Robotics Team #3666 2011-204 (30-26-0)
2014 Oklahoma Regional - 20/62 (6-4-0), 5/62 in OPR
2014 Arkansas Regional - 14/39 (8-7-0, Quarterfinalists with 1706 and 1939), 24/39 in OPR
2013 Lone Star Regional Dean's List Finalist!
2013 Lone Star Regional - 22/57 (6-5-0), 17/57 in OPR
2012 Bayou Regional - 16/49 (6-5-0)
2011 Dallas Regional - 10/52 (4-2-5, #6 Alliance Captain, Quarterfinalists with 2948 and 3350)
Reply With Quote
  #9   Spotlight this post!  
Unread 16-01-2014, 20:43
potatoshane potatoshane is offline
Registered User
FRC #2813
 
Join Date: Feb 2013
Location: San Jose
Posts: 33
potatoshane will become famous soon enough
Re: Robot Reboot?

Make sure your DC Converter to your D-Link is plugged into your dedicated 12V slot on your Power Distribution.

We had this problem on our off-season robot and it plagued us during Calgames, because there would not be enough power going to the DLink and it would just reboot itself
Reply With Quote
  #10   Spotlight this post!  
Unread 17-01-2014, 08:28
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 Reboot?

Quote:
Originally Posted by Team 4457 View Post
...the Dlink...was wired into a 12 volt connection on the power distribution board,...
The D-Link router is a 5 volt device. Connecting it to 12 volts will break it. It won't necessarily fail immediately, but it will fail.

Quote:
...and i did some research and apparently a part that we could not identify was actually a 12 to 5 volt converter, who's purpose is for the Dlink. Am I wrong about that? Would that not be the problem?
That would be a problem.

The robot rules specify the required electrical wiring for the router. The electrical layout Graham linked to will show you exactly how to do it.
Reply With Quote
  #11   Spotlight this post!  
Unread 17-01-2014, 09:43
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 Reboot?

Just to elaborate a bit on how the logged info can help identify the culprit.

The Log File Viewer should appear in your Start menu and can be launched from your DS on the Charts tab. After you experience a reboot, a dead bot, or some other confusing event on the robot, I'd encourage you to note the time of the event according to your DS laptop. Then you can locate the log file that contains the info.

In the log file, you'll see a plot of robot voltage. If the voltage dips at about the same time as the communications loss, it is a reasonable guess that they are related and worth investigating if low voltage condition was the cause. If you let the robot reconnect, the cRIO will actually tattle on the radio if it was up the whole time but also saw that the radio was unreachable. This shows up as a event marker when reconnection takes place. Hover your mouse over the events and their text will show up in the lower left text box. If the event doesn't exist, then it is likely that the cRIO was also rebooting due to low power. By the way, the cRIO also logs an event each time it boots, so that helps to determine if one, the other, or both devices rebooted.

It isn't always a problem with power, so the log will also show CPU usage. It is quite easy, especially with C++ to crash the cRIO, and all languages make it easy to get hung in a loop. If voltage is normal, the red CPU trace may offer insight into why the code wouldn't respond.

Finally, the green and blue plots are for communications quality. In some circumstances it isn't power or code, but external conditions like an arc welder, a microwave oven, or a super-crowded network. The cRIO doesn't reboot, it simply can't talk to the DS well enough to operate safely.

If you are struggling with issues like this, please ask. The tools can always be improved, and many folks do not know how to read the logs that we have.

Greg McKaskle

Last edited by Greg McKaskle : 17-01-2014 at 09:45. Reason: better summary
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


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