Hi All,
I'm wiring up yet another attempt at a balancing robot (smoked a motor driver IC last time) and I just thought of something.
If I connect the motor driver to a 12V battery, then tweak my PID parameters, everything is going to go smoothly at first. But then when the 12V battery diminishes, to say 9V, the motors will be a bit less responsive, and then I'd have to go ahead and tweak the PID parameters again.
Of course I wouldn't go ahead and keep tweaking the PID for every millivolt drop, lol! But would the best course of action be to put the 12V battery into a voltage regulator to lower the output voltage to 9V. That way the motor will get a steady voltage for a longer period of time before acting up once the motor voltage gets too low.
Is this the best way to solve this issue? Or perhaps is this not an issue at all, and PID parameters at 12V will suit the motors even as the motor voltage drops? Any insights would be appreciated. Thanks once again for helping me out LMR community!
just over a year ago i was cutting foamboard to make the body of a first (failed) balancing robot. Since then, with the help of LMR, Im now on my 4th balancing robot, i keep improving the design with each iteration. This one will finally balance without smoking!