I have a problem I can’t seem to troubleshoot and would love this great community’s input.
We have a 4 motor drivetrain, two motors grouped: Left, Right. While on the bench and up on blocks (in other words no load on the motors) giving a short forward input on the sticks causes the wheels to move as expected but the left side continues coasting a lot longer than the right side. Checking the device screen on the brain one can see the left motors turned for 4.5 revs while the right side only 4.08 revs. First thought was friction. But checking the mechanism revealed no apparent friction.
And checking the power graph for the four different motors, expecting to find increased power for the motors where friction might be present, revealed no apparent friction but something else.
At full stick deflection, the four motors were average about .5W ranging between .2-.7W. No appreciable difference in power draw-- however , depending on whether the stick was smoothly moved from neutral to full or whether it was slammed forward produced two very different results.
Slowly moving the stick forward the power draw would momentarily reach 1-3W before settling down to .5W. With rapid stick deflection the power would shoot up to as high as 14W (which is higher than I thought possible with 11W motors) before settling back down. While both sides saw this inrush current and power spike the left side, the one that costs for .5 rev consistently saw larger spikes.
When placed on the ground and slowly accelerated the bot would track straight. With rapid full stick deflection the bot would angle left before tracking straight and the same thing happened in reverse. NOTE the increase power and the coasting are confusingly happening on the left side-- but the robot is tacking left when full stick is applied-- meaning either the left motor group is going slower or the right motor group is going fast and this only happens with the full stick deflection.
To summarize:
- I have one side coasting (and I checked the very simple code, the two motors are handled identically)
- When applying full stick I get a large power spike in all motors but particularly large for two on the left)
- when accelerating slowly the robot tracks straight. when accelerating quickly it turns slightly left then tracks straight. But since a competition is almost all rapid starts and stops by the end of a 2 minute match one side of the drivetrain has 50% more revs than the other.
I’ve tried swapping the cables so that the left and right side are reversed and I get the exact same result.
Any ideas?