Go to Post Put on shows. Start new teams, FRC, FVC, or FLL. It doesn't matter. But I know that being on the robotics team has given me some of the best memories of my life, and I wouldn't want anybody else to miss out on that. - irishninja [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 29-03-2010, 17:46
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,770
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: Spontaneous motor skipping?

You are using the same Jaguar? Suspect that as well.
Are any of the lights on the PD winking out at the same time?
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #2   Spotlight this post!  
Unread 29-03-2010, 17:49
Damaku250's Avatar
Damaku250 Damaku250 is offline
Electromechaneumatics guy
AKA: Craig Hoo
FRC #3161 (H.T. Tronic Titans)
Team Role: Electrical
 
Join Date: Jan 2010
Rookie Year: 2010
Location: ON, Canada
Posts: 38
Damaku250 is an unknown quantity at this point
Re: Spontaneous motor skipping?

Quote:
Originally Posted by Al Skierkiewicz View Post
You are using the same Jaguar? Suspect that as well.
Are any of the lights on the PD winking out at the same time?
We have tried the motor with all 4 different jaguars mounted on our board. All jaguars experience an interruption at the same time.

The lights on the PDB are staying solid.

We have tried 5 different versions of code, all of which are not affecting the problem.
__________________

-Rookie All Star Award [WAT Regional 2010]
Electrical/Control systems, Mechanical and Pneumatics teams, Human player
  #3   Spotlight this post!  
Unread 29-03-2010, 17:54
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,770
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: Spontaneous motor skipping?

Craig,
Is this a new problem? Have you had this all season or just recently? It is possible that you have the dreaded watchdog issue. Someone posted last night that there is an issue with Classmate power settings as well. I believe the Classmate issue occurs at 15-20 second intervals while the watchdog is something longer.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #4   Spotlight this post!  
Unread 29-03-2010, 18:01
Azores's Avatar
Azores Azores is offline
Registered User
AKA: Andrew
FRC #3161 (Tronic Titans)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Toronto, Ontario
Posts: 40
Azores has a spectacular aura aboutAzores has a spectacular aura aboutAzores has a spectacular aura about
Re: Spontaneous motor skipping?

It is definitely not a 15-20 second cycle, we've had the CIM running for up to 1:30 before it skips before. It may be a Watchdog issue - I'll go run another test and keep an eye out for the Watchdog issue.

This is, as far as we know, a completely new issue however. We hadn't noticed this motor skipping problem for all of build season or all of the practice and seeding matches at Waterloo.
  #5   Spotlight this post!  
Unread 29-03-2010, 18:08
Azores's Avatar
Azores Azores is offline
Registered User
AKA: Andrew
FRC #3161 (Tronic Titans)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Toronto, Ontario
Posts: 40
Azores has a spectacular aura aboutAzores has a spectacular aura aboutAzores has a spectacular aura about
Re: Spontaneous motor skipping?

Quote:
Originally Posted by Azores View Post
It is definitely not a 15-20 second cycle, we've had the CIM running for up to 1:30 before it skips before. It may be a Watchdog issue - I'll go run another test and keep an eye out for the Watchdog issue.

This is, as far as we know, a completely new issue however. We hadn't noticed this motor skipping problem for all of build season or all of the practice and seeding matches at Waterloo.
Just ran the test. Watchdog is indeed cutting out...
  #6   Spotlight this post!  
Unread 29-03-2010, 18:29
TubaMorg TubaMorg is offline
Programmermechanicalelect ricalcoach
AKA: Dan
FRC #1480 (Robatos Locos)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Houston
Posts: 450
TubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond repute
Re: Spontaneous motor skipping?

Yes we had exactly the same symptoms early in our build season. At first it was manifested in a compressor that wouldn't go up to 120psi, then we noticed the intermittent Watchdog Not Fed error. It also caused the motors to hitch and jerk when they should just be running. We widened the setpoint for the watch dog to .4 seconds and made sure every bracketed piece of code feeds the dog and haven't had an issue since.
__________________
I don't need a signature.
  #7   Spotlight this post!  
Unread 29-03-2010, 18:42
Azores's Avatar
Azores Azores is offline
Registered User
AKA: Andrew
FRC #3161 (Tronic Titans)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Toronto, Ontario
Posts: 40
Azores has a spectacular aura aboutAzores has a spectacular aura aboutAzores has a spectacular aura about
Re: Spontaneous motor skipping?

Widened the setpoint? I'm not sure what you mean by this. A delay before first feeding it?

Last edited by Azores : 29-03-2010 at 19:08.
  #8   Spotlight this post!  
Unread 29-03-2010, 19:37
360skier 360skier is offline
RTFM!!
AKA: Eric A.
FRC #1334 (Red Devils)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Oakville, Ontario
Posts: 45
360skier is an unknown quantity at this point
Re: Spontaneous motor skipping?

The watchdog works like a timer. If it doesn't receive a feed command from your code every so often, it shuts down your output. This is to prevent you from setting your motors to full forward, and then lagging the classmate so you can't shut them off.

If you look at the watchdog methods (or blocks if you're using labview), there should be one something like SetPeriod which takes a float. This will allow you to specify the watchdog timeout, in seconds I believe. Making this slightly longer will hopefully stop causing the intermittent motor shutdown you've been seeing.
__________________
  #9   Spotlight this post!  
Unread 29-03-2010, 19:46
Leav's Avatar
Leav Leav is offline
Spud Gun Division
AKA: Leav Oz-Ari
FRC #3316 (D-Bug)
Team Role: Mentor
 
Join Date: Dec 2004
Rookie Year: 2005
Location: Technion, Haifa, Israel
Posts: 774
Leav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond repute
Send a message via ICQ to Leav Send a message via AIM to Leav Send a message via MSN to Leav
Re: Spontaneous motor skipping?

Quote:
Originally Posted by 360skier View Post
The watchdog works like a timer. If it doesn't receive a feed command from your code every so often, it shuts down your output. This is to prevent you from setting your motors to full forward, and then lagging the classmate so you can't shut them off.

If you look at the watchdog methods (or blocks if you're using labview), there should be one something like SetPeriod which takes a float. This will allow you to specify the watchdog timeout, in seconds I believe. Making this slightly longer will hopefully stop causing the intermittent motor shutdown you've been seeing.
NO!

I'm not an expert but from what the NI-Guy(tm) at our regional (Go Andrew!) told me, you are not supposed to change the watchdog timeout from it's default (0.5sec?).

That would be like putting a bigger bucket under a leak, instead of fixing the leak.

what you need to do is have a good look at your code, and find out what routine is bogging up the processor. I'm sure many people at the programming forum would have the capability to help you look over the code if you can't find the problem...

Good luck!
-Leav
__________________
"We choose to build robots this season and do the other things; Not because they are easy, but because they are hard."
-Paraphrasing JFK

Participated in FIRST as a student: 2005-2006 (But still learning every season!)
Mentor: 2008 - ? (Team 2630 2008-2011, and Team 3316 since 2013)
Engineer: 2011 - ? (B.Sc. and M.Sc. in Mech. Eng. from the Technion IIT)
FIRST Volunteer - 2007 - ? (MC, FTA, FIRST Aid etc.)
  #10   Spotlight this post!  
Unread 29-03-2010, 19:58
Azores's Avatar
Azores Azores is offline
Registered User
AKA: Andrew
FRC #3161 (Tronic Titans)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Toronto, Ontario
Posts: 40
Azores has a spectacular aura aboutAzores has a spectacular aura aboutAzores has a spectacular aura about
Re: Spontaneous motor skipping?

I was able to resolve the issue (it seems) by changing the power management settings on the Classmate as well as going into its BIOS and turning off SpeedStep and C-State or something like that (they just seem to reduce CPU power to lengthen battery life). We have a UPS to power the Classmate so battery life still shouldn't be an issue . And if it comes down to it, we have an inverter that works fine as well. I've gone over my code several times and had the other programmers on the team - although I'm the only one who wrote the robot code, we have others who are capable but were too busy with building the rest of the robot - look over it for errors and possible resource reduction possibilities and they couldn't come up with anything either.
  #11   Spotlight this post!  
Unread 29-03-2010, 20:18
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,751
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: Spontaneous motor skipping?

Do you know what the power settings were? Also, did you try only changing the power settings, or asked another way, was it necessary to change the BIOS?

Greg McKaskle
  #12   Spotlight this post!  
Unread 29-03-2010, 20:33
Azores's Avatar
Azores Azores is offline
Registered User
AKA: Andrew
FRC #3161 (Tronic Titans)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Toronto, Ontario
Posts: 40
Azores has a spectacular aura aboutAzores has a spectacular aura aboutAzores has a spectacular aura about
Re: Spontaneous motor skipping?

The power settings were already set pretty well by whoever did it before - while plugged it, everything was set to "Never." They had the battery settings as turning off the monitor and HDD's after 5 minutes of inactivity and everything else to "Never." I changed monitor shut down to 10 minutes and HDD to 15. So nothing really with the power management. I think it was the BIOS settings really that fixed the issue.
  #13   Spotlight this post!  
Unread 29-03-2010, 21:32
eugenebrooks eugenebrooks is offline
Team Role: Engineer
AKA: Dr. Brooks
no team (WRRF)
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Livermore, CA
Posts: 601
eugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond repute
Re: Spontaneous motor skipping?

Some instructions on how to get into the bios and change these
settings would be appreciated. Intermittent watchdog errors
are driving many teams nuts.

Edit: See http://www.chiefdelphi.com/forums/sh...d.php?p=945073

Eugene


Quote:
Originally Posted by Azores View Post
I was able to resolve the issue (it seems) by changing the power management settings on the Classmate as well as going into its BIOS and turning off SpeedStep and C-State or something like that (they just seem to reduce CPU power to lengthen battery life). We have a UPS to power the Classmate so battery life still shouldn't be an issue . And if it comes down to it, we have an inverter that works fine as well. I've gone over my code several times and had the other programmers on the team - although I'm the only one who wrote the robot code, we have others who are capable but were too busy with building the rest of the robot - look over it for errors and possible resource reduction possibilities and they couldn't come up with anything either.

Last edited by eugenebrooks : 29-03-2010 at 22:47.
  #14   Spotlight this post!  
Unread 29-03-2010, 23:59
Azores's Avatar
Azores Azores is offline
Registered User
AKA: Andrew
FRC #3161 (Tronic Titans)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Toronto, Ontario
Posts: 40
Azores has a spectacular aura aboutAzores has a spectacular aura aboutAzores has a spectacular aura about
Re: Spontaneous motor skipping?

Yes, changing the power management and SpeedStep/C-State settings (I did both at once before checking for Watchdog again) seems to have solved the issue. Like Eugene's linked thread says, reboot the Classmate and tap delete until you get into BIOS setup. I think it was under "CPU Settings" or something like that. Just disable the SpeedStep and first C-State option, then hit F10 to save and exit. Worked for us, hope it's so simple for you too .
  #15   Spotlight this post!  
Unread 30-03-2010, 15:34
Merle Merle is offline
FRC Mentor, FLL Coach
FRC #3146 (GRUNTS)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Granby, CT
Posts: 42
Merle has a spectacular aura aboutMerle has a spectacular aura aboutMerle has a spectacular aura about
Re: Spontaneous motor skipping?

Quote:
Originally Posted by eugenebrooks View Post
Some instructions on how to get into the bios and change these
settings would be appreciated.
While the Classmate is booting up press the DEL key to get into the BIOS screen. When in the BIOS screen click on ADVANCED then CPU CONFIGURATION. I turned both the SpeedStep option and the C-State option to disabled (both were enabled).

I have not tried any variations of these two options (example, one enabled and the other disabled). From the websites I've read and the symptoms I've seen in my testing, my suspicion is the SpeedStep is the one that needs to be disabled, I just took the shotgun approach and disabled the C-State option as well as our competition starts this week. Its working for us so far, more testing with the bits of our bot that we kept tonight.

Merle Yoder
The GRUNTS Team #3146
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Vex] Spontaneous channel switching/dying Joe G. VEX 2 15-04-2009 16:17
Motor speed sensing with the Jaguar motor controller? mminutto FRC Control System 5 13-01-2009 18:13
White Paper Discuss: Approx. Motor Spec for Taigene Motor Joe Johnson Motors 2 22-01-2005 16:36
External metal jacket on the Drill motor and FP motor, WHY? archiver 2001 3 24-06-2002 04:22
External metal jacket on the Drill motor and FP motor, WHY? Dennis Hughes Technical Discussion 1 04-06-2001 11:59


All times are GMT -5. The time now is 14:42.

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