English
Language : 

AMIS-30421 Datasheet, PDF (14/41 Pages) ON Semiconductor – Micro-Stepping Stepper Motor Bridge Controller
AMIS−30421
PWM Current Control
A PWM comparator compares continuously the actual
winding current (measured over the external sense resistor)
with the requested current and feeds back the information to
a digital regulation loop. This loop then generates a PWM
signal, which turns on/off the current sources (Ion, Ioff) and
switches (SWon, SWoff). The switching points of the PWM
duty−cycle are synchronized to the on−chip PWM clock.
The frequency of the PWM controller is fixed and will not
vary with changes in the supply voltage. Also variations in
motor−speed or load−conditions of the motor have no effect.
There are no external components required to adjust the
PWM frequency.
For EMC reasons it’s possible to add jitter to the PWM by
means of the <PWMJ> bit.
Step Translator and Step Mode
The step translator provides the control of the motor by
means of the stepmode SPI bits <SM[2:0]>, the enable SPI
bit <MOTEN>, the direction SPI bit <DIRCTRL> and input
DIR−pin = high
Step 7
IY
Start = 0
DIR−pin = low
Step 1
Step 6
Step 5
Step 2
IX
Step 4
Step 3
pins DIR and NXT. It is translating consecutive steps in
corresponding currents in both motor coils for a given step
mode. One out of 8 possible stepping modes can be selected
through SPI bits <SM[2:0]>.
After power−up or clear (CLR−pin) the coil current
translator is set to position 0. For all stepping modes except
full step this means that the coil current is maximum in the
Y−coil and zero in the X−coil (see Table 7). If NXT pulses
are applied when the DIR−pin is pulled low, SPI bit
<DIRCTRL> is zero and SPI bit <MOTEN> is one, the coil
current translator will step through Table 7 from top till
bottom. If DIR−pin is pulled high or SPI bit <DIRCTRL> is
set to ‘1’, the coil current translator will step in opposite
direction through the table.
Figures 12 up to 15 gives another view on the different
stepping modes. The Y−coil current is plotted on the
Y−axes, the X−coil current on the X−axes. Notice that all
stepping modes from Table 7 can be plotted on a circle with
the exception of half step uncompensated and full step.
These are plotted on a square.
IY
DIR−pin = high
Start = 0
Step 15
Step 14
Step 13
Step 1
DIR−pin = low
Step 2
Step 3
Step 12
Step 11
Step 10
Step 9
Step 4
IX
Step 5
Step 6
Step 7
Step 8
Figure 12. Circular representation Half−step
Compensated
DIR−pin = high
Step7
IY
Start= 0
DIR−pin = low
Step 1
Figure 13. Circular representation 1/4
Microstepping
IY
DIR−pin = high
Start= 0
DIR−pin = low
Step 1
Step2
Step 6
IX
IX
Step5
Step4
Step 3
Step3
Step2
Figure 14. Square Representation Half−step
Uncompensated
Figure 15. Square Representation
Full−step
Remark:
♦ Positive coil current flows from MOTXP to MOTXN and MOTYP to MOTYN.
♦ In above figures SPI bit <DIRCTRL> is set to ‘0’. When set to ‘1’, rotation will be reversed.
http://onsemi.com
14