# What factors should i consider when selecting a motor for a free wheeled cart-pole balancing robot?

I'm developing a small scale cart-pole balancing robot consisting of two wheels driven by a single motor at the base (essentially like a unicycle, but with two wheels to constrain balance to a one dimensional problem).

I'm not sure what qualities to look for in that motor. I think the motor should be able to accelerate quickly in directions opposite of motion as dictated by the control system. However, i'm not sure if this rapid acceleration should correlate with higher torque motors or faster speed motors. I think higher torque motors would be too slow to react to control commands. In contrast, fast speed motors may not be able to overcome the momentum of the cart.

Are there any design equations or other calculations i can make based on my robot's dimensions and weight to determine the right specs needed for my robot's motor? How can i determine the right motor specs for this application without resorting to brute-force trial & error experiments?

• since rotational inertia is m* r^2, you can solve your speed issue without concern to the motors. just increase the pole's length if your motors can't cope with the speed. :) – Ryan Loggerythm Sep 14 '15 at 18:40

Lastly, you will need a transmission to obtain desired torque-velocity characteristics. For instance, if your motor is able to deliver 10 mNm at 1000 rpm, whereas you need 2 Nm at 5 rpm, then use a transmission ratio of $R=2000/10=200$.
Update your simulation model by including the motor's reflected inertia $R^2\,I_{rotor}$ and mass to check whether your motor is still capable of delivering sufficient power. If not, then you have to re-iterate motor selection. Also, check your electrical power source and motor controller. Are they capable of delivering the required voltage and current?