Electrical – Using a DC-DC boost converter to run a stepper motror through a chopper drive

dc/dc converterdecoupling-capacitorstepper motor

I am attempting to use a DC-DC boost converter to step up a 7.2V battery to 24V to run a stepper motor, however, I am unsuccessful in doing so.

I have tested my stepper using a DC power supply set at 24V, and it runs beautifully. Yet the moment that I hook up the converter, my motor begins to skip steps left and right,even at very low speeds. I am watching the voltage output from my converter the whole time, and the needle never budges from 24V. I have the recommended electrolytic caps on both of them.

I did notice that the motor ran better (skipped less steps) when I put small ceramic decoupling caps across the motor driver. I suspect that interfering frequencies from the boost converter output and the chopper drive are causing my problems.

The components are an A4988 stepper driver on the breakout board from Pololu set at its max current of 2A and a LM2588 boost converter from TI, using a schematic designed by TI's Webbench software.

Best Answer

The stepper motor will act as an alternator when spinning and generate a voltage opposite to the drive voltage proportional to the angular velocity. To counter this voltage known as back-electromotive force (back-EMF) and keep the torque, which is proportional to the current, high, the driver ramps up the voltage as the motor speed increases. To allow for this voltage headroom, the motor is designed to have a winding resistance lower than what would allow only the nominal current (e.g. 1A) to flow at rest when given 24 V.

The pololu driver is fairly autonomous and actually has current feedback to counter this: it can adjust the motor voltage (via pulse-width modulation) in order to keep the current within limits at any speed. The board will function with motor currents up to 2 A per phase, so 4 A total.

If you set the driver to its maximum current of 2 A per phase (as you stated) and the winding resistance is 12 ohms or less, it will draw 4 A at 24 V DC (96 W!) in the worst case. Powered from a 6.7 V (7.4 V - BJT forward voltage) source, the boost converter low side switch would have to conduct a peak current of 4*(24/6.7)*2 = 28.7 A. The low side transistor of the LM2588 boost converter IC has an absolute maximum current rating of just 5A, so the 24 V will most likely brown out immediately when the motor is driven.

You can set the current setpoint by adjusting the little trimmer pot on the PCB. You should set the current limit to 400 mA per phase or less, or you will operate the boost converter out of specification.