Go to Post In the encyclopedia of FIRST under the term Encyclopedia it says - See Joe Ross. - rees2001 [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-03-2016, 15:31
phurley67 phurley67 is offline
Programming Mentor
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Michigan
Posts: 63
phurley67 is an unknown quantity at this point
Ghost in the machine

At the Week 1 Standish-Sterling event we (862) had a very disturbing experience. Our robot while disabled and on the field decided to move. It did this 3 times after power cycles before we were disqualified for the match. We have now seen this behavior with 3 different motors including both PWM and CAN motor controllers -- so we are making the assumption that the issue lies with the RIO.

The problem seemed limited to immediately after a power cycle or when attaching either a USB or ethernet cable to to the RIO.

Given time constraints and an already rough start to our first outing we decided to try reformatting the RIO, which appears to have resolved the problem (we have not seen it since); however, we are a little nervous because this does not seem like the type problem that just reformatting should affect.

We have not done any low level coding or modification of the FPGA, WPIlib, etc. The code that was on the robot is labview code, that was put back on the robot after the reformat.

Wondering if anyone else had ever seen anything similar.

p.s. going into lunch after a very disappointing qualification outing, we were resigned to doing the swap, until a very gusty scouting job by our wonderful alliance partners 5488 and 6098 selected us (2nd from last in quals) and we managed to pull everything together and finish as finalists. Congratulations to 1918, 4377, 5166 look forward to playing with all of you later in the season.

Last edited by phurley67 : 06-03-2016 at 16:27.
Reply With Quote
  #2   Spotlight this post!  
Unread 07-03-2016, 20:35
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,748
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: Ghost in the machine

I don't think the reformat had any effect.

The times I've seen a robot move while disabled, it has been due to a PWM cable that would periodically short, resulting in a very short PWM glitch. I've almost always seen it with Y cables. If you carefully mash on the Y of the cable, you will see the occasional burst from the controller. Rolling it in between the thumb and finger was the most reliable way to make it happen.

I have also seen it in a robot that was shorting power and causing the motor controllers to reboot. On power up, the controllers would glitch and reboot again, rinse, repeat.

I have never seen this with a CAN controller. I'd like to hear details.

Reformatting the RIO is equivalent to formatting the hard drive on a linux computer. It is necessary when you have a corrupted file, which shouldn't really happen, and it is necessary at the beginning of the season to install a new set of files.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 07-03-2016, 21:27
engunneer's Avatar
engunneer engunneer is offline
Alumni turned Mentor
AKA: Branden Gunn
FRC #4761
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1996
Location: Reading, MA
Posts: 693
engunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond repute
Re: Ghost in the machine

One option with the (talon srx) can controllers is that they will actually respond to pm signals on the can wires. So if it was some kind of power glitch that the controller thought was a pwm pulse, it could maybe twitch the motors.
__________________
Student FRC23 (1996-1999), Mentor FRC246 (2000), Mentor FRC1318 (2007-2009), Mentor FRC93 (2011), Mentor FRC2151 (2012), Mentor FRC23 (2013), Mentor FRC4761 (2014-2016)
1998 - National Chairman's Award and Woodie Flowers Award (FRC23, Mike Bastoni ) | 2007 - PNW SF (488, 1595) | 2008 - Oregon RCA - Seattle #2 Seed, SF (488, 1696) | 2009 - Oregon #1 Seed, Winners (1983, 2635) - Seattle SF (945, 2865) - Galileo #2 Seed, SF (973, 25) | 2012 Midwest F (111, 71) | 2014 RIDE Winners (78, 125), Inspector - NEU #24, QF (3479, 3958) - NECMP #35 | 2015 Reading #11, SF (1058, 190), Inspector - RIDE #17, QF(4055, 5494), Inspector - NECMP #57 | 2016 Reading #4, SF (133, 4474), DCA, Inspector - Ride #22, SF (1735, 2067), Creativity, Inspector - NECMP #48, RCA - Archimedes
Reply With Quote
  #4   Spotlight this post!  
Unread 07-03-2016, 22:42
phurley67 phurley67 is offline
Programming Mentor
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Michigan
Posts: 63
phurley67 is an unknown quantity at this point
I agree the reformat was unlikely to have any real affect; however as we saw it multiple motors (connected to different motor controllers, including some controlled via PWM and others by CAN, it seems very unlikely we have that many defective motor controllers or that much bad wiring. And despite our team name, the robot was never struck by lightning.

Given all of that, the only option I can really buy is something defective with the RIO, but with the problem no longer happening (we ran 9 matches without seeing it again after the reformat), we are reluctant to spend all of our next unbag time rewiring our robot.
Reply With Quote
  #5   Spotlight this post!  
Unread 08-03-2016, 11:20
Ryan_Todd's Avatar
Ryan_Todd Ryan_Todd is offline
ye of little faith
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2006
Rookie Year: 2005
Location: Plymouth, MI
Posts: 114
Ryan_Todd has a reputation beyond reputeRyan_Todd has a reputation beyond reputeRyan_Todd has a reputation beyond reputeRyan_Todd has a reputation beyond reputeRyan_Todd has a reputation beyond reputeRyan_Todd has a reputation beyond reputeRyan_Todd has a reputation beyond reputeRyan_Todd has a reputation beyond reputeRyan_Todd has a reputation beyond reputeRyan_Todd has a reputation beyond reputeRyan_Todd has a reputation beyond repute
Re: Ghost in the machine

Quote:
Originally Posted by engunneer View Post
One option with the (talon srx) can controllers is that they will actually respond to pm signals on the can wires. So if it was some kind of power glitch that the controller thought was a pwm pulse, it could maybe twitch the motors.
I raised the possibility of a power glitch as a potential explanation for the PWM controllers' misbehavior, but I couldn't think of any way that the CAN controllers could be made to behave in the same way, so we haven't yet pursued that possibility very far.

Come to think of it, however, I believe that we are indeed running Talon SRX's for the CAN-controlled motors... After checking out the user guide for these controllers (link), I'm thinking that we should indeed reopen that branch of the investigation!
__________________
Reply With Quote
  #6   Spotlight this post!  
Unread 08-03-2016, 11:36
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Ghost in the machine

Check your motor controllers as well. I've come across instances where the controller fails on (Victor 88X). Mind you, it sounds like a different issue here.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
Reply With Quote
  #7   Spotlight this post!  
Unread 08-03-2016, 11:48
Ryan Caldwell's Avatar
Ryan Caldwell Ryan Caldwell is offline
217 Alum, 2851 Mentor
FRC #2851 (Crevolution)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2002
Location: Sterling Heights
Posts: 99
Ryan Caldwell has a brilliant futureRyan Caldwell has a brilliant futureRyan Caldwell has a brilliant futureRyan Caldwell has a brilliant futureRyan Caldwell has a brilliant futureRyan Caldwell has a brilliant futureRyan Caldwell has a brilliant futureRyan Caldwell has a brilliant futureRyan Caldwell has a brilliant futureRyan Caldwell has a brilliant futureRyan Caldwell has a brilliant future
Send a message via AIM to Ryan Caldwell
Re: Ghost in the machine

On a more supernatural level burning sage is suppose to clear evil spirits...
__________________
Insane and Insight are just about the same thing if you squint and turn your head ever so slightly

Reply With Quote
  #8   Spotlight this post!  
Unread 08-03-2016, 13:09
GreyingJay GreyingJay is offline
Robonut
AKA: Mr. Lam
FRC #2706 (Merge Robotics)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2015
Location: Ottawa, Canada
Posts: 737
GreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond repute
Re: Ghost in the machine

Just wanted to chime in and say that the team I was on last year saw ghost glitches and they too were eventually attributed to loose PWM wiring. Once we tightened all that up, everything was fine.
Reply With Quote
  #9   Spotlight this post!  
Unread 08-03-2016, 13:24
hardcopi hardcopi is offline
Registered User
AKA: Rich Lester
FRC #2959 (The Robotarians)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2013
Location: Coloma, MI
Posts: 271
hardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud ofhardcopi has much to be proud of
Re: Ghost in the machine

Last night we had a similar issue. Our robot during unbag time was powered on and the light started clicking and blinking as though it were in teleop. Turned out a metal shaving had fallen into one of the controllers.
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 21:22.

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