![]() |
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.
|
Re: Serious Problem of Unknown Origin
Ok well in that case what I would do is run the programing, and test your voltage everywhere in between the IFI board and the power source and the motors. Maybe the trouble is in the motors... have you driven the robot yet? Maybe there burned out?
|
Re: Serious Problem of Unknown Origin
In addition to what everyone else has been saying (charge your battery or swap it out for a freshly charged battery), your OI should report battery voltage > 12.4 volts for a nice happy robot. Once you get there, make sure your Victors are calibrated. Neutral is orange, max in one direction should produce a green led (at the Victor), max in the other direction should produce a red led (at the Victor).
|
Re: Serious Problem of Unknown Origin
Thank you for your suggestions so far.
Currently we are charging one of our 'big greys' and will see what happens when we try again with it. |
Re: Serious Problem of Unknown Origin
We've just tested our robot with a new battery, and the problem is resolved! The motors are now spinning at their normal speed. Thank you everybody for your prompt replies and "gracious professionalism".
|
Re: Serious Problem of Unknown Origin
I'm glad to be of help!
Do you understand why the robot behaved as it did when the battery was discharged? It might take some thinking to figure this out, but if you develop an understanding of how batteries work, specifically how the available voltage changes with charge state and current load, it should make sense. |
Re: Serious Problem of Unknown Origin
Do not ever set your battery on concrete.
I don't understand the chemistry/physics behind it, nor do I ever intend to delve into the science of why it happens but something about rebarb, concrete and long half-life radiation :confused: drains your battery if it's in close proximity to concrete. I saw it happen repeatedly at the VA State Fair with our robot and rather than trying to understand why I'll just accept the fact that it happens for now. What we saw was that the charger would say our battery was fully charged. We'd then transfer the battery to the robot and place it on the field. At the start of the match, the bot would move extremely slowly, and the OI would indicated ~7V on the battery. About 15 seconds into the match, the voltage would go UP and the robot would act normally. Who knows why :confused: ? What I do know is, we do not place batteries on concrete any more and we haven't seen the problem since. If you thought your batteries were charged and then you get these results, perhaps this is why. |
Re: Serious Problem of Unknown Origin
The battery on concrete thing likely has to do with temperature, since colder temperatures slow down the chemical reaction that releases electricity (that's my incomplete understanding of it)
|
Re: Serious Problem of Unknown Origin
Quote:
If your robot was moving slowly for the first 15 seconds of a match, I think it's much much more likely that there was a programming error in your autonomous mode that was causing some of your motors to fight each other and put a large load on the battery. Autonomous mode IS 15 seconds long, after all. |
Re: Serious Problem of Unknown Origin
Quote:
|
Re: Serious Problem of Unknown Origin
Quote:
|
Re: Serious Problem of Unknown Origin
Quote:
No, it was 15 seconds of teleoperated period (sorry for being unclear) and we'd literally see the OI Voltage Indictor go from 7 on up to 9, then trickle up to 12. It was wierd and unexplicable by everyone except our team lead, who said it was because we placed the batteries on concrete. We stopped putting the batteries on the ground, and the wierdness stopped happening. Who knows. |
Re: Serious Problem of Unknown Origin
Jessie,
This more likely from a dirty contact on the battery than anything else. There is no explanation other than extreme low temperature for the battery voltage rising during play. It is also possible that there was some veryhigh friction in the drive train that worked itself out during the match. Loose hardware is a good example. If one of the motors is running near stall the terminal voltage on the battery will read low. The battery internal impedance is .011 ohms. Using Ohm's Law and fudging a current draw of 200 amps you would expect to see 2.2 volts dropped just across the battery. However, the RC stops functioning when that battery voltage falls below 8 volts, so I think the 7 volt display you saw was in error. The battery on concrete was an issue long ago with car batteries and the case material and the fact that the battery was not sealed. Sneak paths through leaking electrolyte, minute caracks in the case and the concrete would serve to discharge a battery left in contact with the floor. A simple insulator like carboard usually prevented the discharge, which took several weeks. Our battery does not suffer from any of these issues. In fact most modern batteries have no problem sitting on concrete or steel for that matter. |
| All times are GMT -5. The time now is 01:00. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi