Electronic – Are control systems and motors typically driven from the same source in robotics projects

batteriesmicrocontrollermotorpower

My control system is a simple microcontroller between 3.3V and 5V, but the stepper motors I require are 12V. I have ordered a 14.8V battery that I intend on regulating down to 12V to drive the motors, but should I also regulate down to 5V for the control system or use a separate power source?

In short, are the control systems and motor drives typically powered by the same source or are they independent? I know that high series resistance batteries can show significant output voltage drop when high current is drawn, but my question is really regarding common practice in power design.

Assuming the voltage drop from high current is low (not sufficient to affect the 5V regulated bus), would it be reasonable to use the same power source for both systems?

Using something like this, for example:
http://www.hobbyking.com/hobbyking/store/__24579__Turnigy_5V_6V_5A_Heli_UBEC_for_Lipoly_6_16V_.html

Best Answer

You'll usually have one main power source to the project. Having multiple sets of batteries (A batteries for the filaments, B batteries for the plates) went out of style decades ago.

You want LOTS of decoupling between the microcontroller supply lines and the stepper supply lines. Ditto the microcontroller and the stepper driver board supply lines. Stepping motor coils are good inductors (DUH!), and they throw BIG spikes back at the controller when they are switched. You do NOT want those big spikes to get back into your microcontroller supply. Bypass capacitors and filter capacitors, conservatively rated, are your FRIENDS.

Stepping motor driver design is a Black Art. It is not unusual to see a 12V stepping motor being driven from a 50V supply, as this allows creative design to minimize settling time. The old Airpax stepping motor catalog had some REALLY good design information on this.

In this day and age, decent quality cheap switching power converters are easy to come by. For a battery-powered system, these days, I'd look for one of these, in preference to the old 7800-series linear regulators, for the microcontroller supply.