My K-9 2.0 build is just about complete but I've come up against an unexpected issue. After running a couple of drive and script tests to reduce the overall top speed on my controller last week, I had to stop as the drive motors were losing power due to a dud battery. So I ordered a new one and it came today so back to testing. Well, not quite. What I thought to be a dud battery causing loss of power was not the cause as the new, fully charged battery does exactly the same thing. So here are a few details.
Two 12v motors powered by a 12v lead acid battery, now a new 11.1v LiPo.
Motors are the same used in kiddies ride in cars, and got plenty of horsepower left over after robots total weight.
Running through an L298 H-bridge, connected to an EZ-B4 (EZ-B running off its own 7.4 supply).
Using H-bridge with PWM control on EZ-Builder.
H-bridge Speed control connected to EZ-B4 via a 2 to 1 (Y) cable
Wheels go back and forward while HD servo does the steering.
During tests, going forwards and reverse at full speed everything is fine, even doing a few turns. But when I start to use variable speed using a joystick, after a few seconds the bot quickly, but gradually loses power until it comes to a complete stop. I wait 5 seconds and power is back for a couple of seconds then loses power again. But If wait 15 or 20 seconds, and at full speed, everything is fine until I drop the variable speed again and it happens all over again.
I jacked it off the ground and tried it and it never loses power. So, things I'm pretty certain about. I'm sure it's not the overall weight of the bot causing to much traction, as I mentioned before, the motors are made to power a child's ride on car. The bot doesn't weigh that much more than a kids car itself, without a child, so there's more than enough power. Besides, going in straight lines first off the bot goes very quickly (too quick in fact) for a long time.
I'm now positive it's not the battery, as it does the same thing with a brand new fully charged one.
So from what I can make out, it has to be the H-bridge doing something. Is this the case or am I missing something else? It is wired up correctly and connections are good. Has anybody else come across this in the past or can any of you lovely people advise me to what could be causing the temporary drop in power?
As always any help any of you guys can offer would really be appreciated, as this above all else is really bugging me. *mad*