|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
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. |
|
#17
|
|||||
|
|||||
|
Re: Spontaneous motor skipping?
Quote:
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 |
|
#18
|
|||
|
|||
|
Re: Spontaneous motor skipping?
Quote:
Last edited by TubaMorg : 29-03-2010 at 19:56. |
|
#19
|
||||
|
||||
|
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. |
|
#20
|
|||
|
|||
|
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 |
|
#21
|
||||
|
||||
|
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.
|
|
#22
|
|||
|
|||
|
Re: Spontaneous motor skipping?
So changing the power settings solved the Watchdog issues? Or is the Watchdog still cutting out?
|
|
#23
|
|||
|
|||
|
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:
Last edited by eugenebrooks : 29-03-2010 at 22:47. |
|
#24
|
||||
|
||||
|
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
. |
|
#25
|
|||
|
|||
|
Re: Spontaneous motor skipping?
I'm asking because I've been investigating the WD errors over the last four of five days. The problem is that even with Max Battery power settings, I can't get repeatable failures. I can see timing glitch differences, but not big enough to cause WD errors. I can repeatably cause other problems by setting power settings to that extreme -- this will be detailed soon.
If you have the time, can you stepwise back out the changes until the problem comes back? Clearly asking teams to make numerous BIOS changes has its risks, so I'm looking for the minimal changes, and ideally, the series of steps one can take to improve the timings. The tradeoff here is battery life. Let me know your observations. Thanks. Greg McKaskle |
|
#26
|
||||
|
||||
|
Re: Spontaneous motor skipping?
Yep, next chance I have I'll go back and set the BIOS to default and see if the WD errors come back.
|
|
#27
|
|||
|
|||
|
Re: Spontaneous motor skipping?
Quote:
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 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |