I have an andymark drive train (the one in the kit) that is powered by two cim motors on each side in a west coast style. The left motors are pulling more current (15 amps) than the right motors (14 amps). What could cause this, and how could I fix it?
The simple stuff:
-
With the bot off, do the sides turn by hand with the same amount of drag/friction?
-
Are the connections between the motors and controllers all robust connections?
There will be some internal variation between CIMs (or any motor). This particular case seems excessive and I would bet one side of your drive train has more friction.
If the two sides feel the same in terms of friction by hand, swap the speed controllers (the motor controllers originally on left side now running the right side motors and vice versa) and see if the problem follows the controllers or stays on the same side.
The spark maxes would be the motor controller right? I want to make sure I do it right.
Yeah, so the spark maxes (set up to run a brushed motor, like it sounds like you already have this working).
You would just plug the controller(s) that are normally for the right side into the left CIM(s) and vice versa.
Make sure you feel for consistent friction between the sides too. One test is to just push the bot directly from behind and see if it dramatically steers off course from a straight line.
If that doesnât work, how could I limit the current to the left side so they both draw 14 amps?
You donât want to limit it. That just means youâll need to limit the other side to even lower current, or youâll turn. Uneven current simply means itâs taking more energy to have one side to keep up with the other to drive straight. Friction is the most common cause of this.
To slightly misquote you, my team found that the forward and reverse directions of a single CIM were not identical.
And in your context of multiple motors, my team built a simple dynamometer to better select matching motors for the robot.
this too!
The discussions about friction are the place to start - not just in bearings and the like but tensions of belts and chains can impact how much energy is needed to run an assembly at a given speed.
Weight distribution can also come into play; the heavier side tends to draw more current, but IMO, 1A difference right to left at full speed (Iâm assuming thatâs when this measurement is taking place) isnât something that would bother me a lot (thatâs an average of 500mA difference for each motor) given all of the other things involved in getting a robot doing robot things.
For independent drive systems like swerve, chassis deflection or out of level assembly can cause drive current differentials but that happens along a diagonal (larger current draws on the LF and RR modules for example). This comes from the fact that the robot weight is primarily being carried by two diagonally opposing corners which are also providing most of the driving force (the other two motors are sort of along for the ride to some extent). Thatâs not what youâre seeing but it is a thing.
I would also agree to not mess with this via software - itâs a mechanical issue (Iâm considering the motors themselves as âmechanicalâ). If you need 15A on one side and 14A on the other to go straight, then do it so you can go straight.
15 vs 14 amps is negligible. Iâd do a cursory look around for anything off on assembly, then just send it.
True, there is a certain healthy level of âwell, this is how it isâ and move on, some things arenât a huge risk and arenât worth chasing.
Itâs also very possible things will wear in over an hour or two of run time and be almost equal.
If memory serves
The directionality difference is intentional, and about 8%. The âforwardâ direction is timed more effectively on purpose because the original design intent of the motor was in self-leveling RVs and powered 5th wheel âlanding gearâ assemblies. In this situation the motor drives really hard in one direction and then is under very little load when retracting the mechanism.
In this case OP is observing a ~7% difference, almost exactly what weâd expect.
The AM datasheet has different CW and CCW duty cycles that reflect the asymmetric design of the CIM. The FRC version has the now-ubiquitous 8mm keyed output shaft, but the original 2000s era Atwood-flavor had a gear profile cut into it.
Exemplary mechanisms:
I feel so oldâŚ
I honestly didnât know it was possible to bake that into the motor (but I am really not an electrical person). It makes sense though, playing with the timing to make one more efficient is a neat trick and is really cool.
That makes quite a bit of sense for why one direction on our RC bots always seems to be faster than the others, thanks for that!