Make a simple ramp generator for stepper motors
Richard Brien, GSI Lumonics, Wilmington, MA -- 4/4/2002
Stepper motors are synchronous motors that step at the pulse rate of the driving signal. For the motor to move quickly, the stepping rate must be fast. However, because of motor and load inertia, the motor often cannot go from 0 rpm to the desired number of revolutions per minute in one step. Therefore, most stepper motors receive their drive from a pulse chain that starts out slowly and then increases in rate until the motor reaches the desired rate. To stop the motor, the drive signal must not abruptly stop; it must gradually decrease or ramp down to zero. Microprocessors can easily generate the needed ramp-up and then ramp-down signals, often called a trapezoidal profile, but in any circuit without a microprocessor, this ramp is difficult to generate.
The 555-based bistable circuit in Figure 1 can easily generate a pseudo-trapezoidal move profile. Note that the timing string of R1 and associated components does not connect to VCC, as it would in a normal circuit, but instead receives its power through a pushbutton switch.
When you push the button, capacitor C1 starts charging up to a point at which C2 can start charging. As C1 charges, the output frequency of the 555 starts off slowly and gradually increases to a frequency or pulse rate that's a function of all the components in the timing string. This final frequency is lower than the frequency the circuit would adopt, if C1 and R1 were not in the string. When you release the pushbutton, the 555 does not immediately stop running but ramps down in frequency until it finally stops (Figures 2a and 2b). The ramp frequencies generated do not follow a linear profile, but neither do those in most microprocessor-driven circuits. The ramp-frequency profile of the circuit should resemble that of Figure 2a, depending on the component values.
Is this the best Design Idea in this issue? Select at www.ednmag.com.
© 2009, Reed Business Information, a division of Reed Elsevier Inc. All Rights Reserved.

