![]() |
Serious Problem of Unknown Origin
Hi,
We have a problem of unknown origin. Everything was working fine with our robot. However, when we uploaded code for the timer, the motors no longer spun at full capacity. They spun about one-fiftieth of a revolution each half-second. We reverted our code (by commenting out all newly-written code) to a state in which it was working before. Unfortunately, this did not resolve the problem. The motors still spun at an infinitesimal fraction of the speed that they were spinning at before. We uploaded the default code from our backup, but the motors still behaved like before. Here are the symptoms and the results of various tests we conducted:
What could possibly be the problem? If anybody has experienced a similar condition, please respond. We have tried everything we could, but still have not been able to identify the cause or location of this problem. Thank you for your concern! - Team 865 |
Re: Serious Problem of Unknown Origin
Are you powering the robot with a fully charged 12v battery? or something else?
|
Re: Serious Problem of Unknown Origin
Our battery is not fully charged, but when we tested its output when connected to the robot controller, the voltmeter read 11 volts. We tested it with an AC to DC converter outputting 12 volts, but to no avail.
|
Re: Serious Problem of Unknown Origin
Charge the battery, then try it again. Really. I'm serious.
|
Re: Serious Problem of Unknown Origin
The repeated initialization message says that your program is causing the Robot Controller to reset repeatedly. squirrel probably has it pegged: the current draw from the motors drops the voltage to the point where the RC doesn't have enough to keep running.
But in case that's not the problem, which timer are you using? How long did you set it to run before causing an interrupt? Did you remember to reset the interrupt flag in the service routine? One more thing: are you using PWMs 13-16? Using the standard IFI code, those four outputs don't play nice with interrupts. |
Re: Serious Problem of Unknown Origin
Thank you, we will try out your suggestion and report back later (likely tomorrow). If there are any other suggestions, we are welcome to them.
|
Re: Serious Problem of Unknown Origin
Your robot controller is resetting due to low voltage whenever you see the
"IFI>IFI 2006 User Processor Initialized" message. Probably because your 12v battery is low (11v is a low reading when the robot is at rest), also because you don't have a fully charged backup battery connected. |
Re: Serious Problem of Unknown Origin
Mr. Anderson,
We've uploaded and are testing the default code where simply pwm01 is mapped to p1_y, etc, and no timer code is in use. The Victors are connected to PWM outputs 1 and 2. |
Re: Serious Problem of Unknown Origin
We connected a fully charged battery pack to the backup inputs on the RC, and we no longer got the "IFI>IFI 2006 User Processor Initialized" message. However, the motors are still not spinning at their normal speed.
|
Re: Serious Problem of Unknown Origin
Quote:
Quote:
|
Re: Serious Problem of Unknown Origin
Did you try connecting a fully charged big gray 12v battery to power the robot? A discharged battery will cause the symptoms you are describing, and it is very easy to try this first, and save yourself a lot of frustration.
I only offer this advice repeatedly because I have spent many hours of my life trying to fix similar problems that were caused by discharged batteries..... |
Re: Serious Problem of Unknown Origin
If the RC is switching to the backup battery to stay alive, all PWM outputs are disabled. Replace or recharge the main battery.
|
Re: Serious Problem of Unknown Origin
Hey, just fought I'd throw this out... Did you try to reset the IFI board on the robot? I know that we were having some crazy voltage trouble as well....we tried this and it pretty much worked!
|
Re: Serious Problem of Unknown Origin
Thanks everybody for the suggestion, we are going to try them tomorrow when our teacher is here to provide us with a fully charged gray battery/battery charger.
Mr. Anderson - We meant that reverting back to the default code did not resolve the problem. By "behaved like before" we mean that the motors still spun at a very low rate. |
Re: Serious Problem of Unknown Origin
Yes, we have tried resetting.
|
| All times are GMT -5. The time now is 14:17. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi