AMIS30522, NCV70522
http://onsemi.com
16
DIR
DIR
NXT1
NXT2
NXT3
NXT4
Halfstep
endpos
1/4th Step
Change from lower to higher resolution
startpos
DIR
NXT1
NXT2
NXT3
DIR
endpos
Halfstep
Change from higher to lower resolution
startpos
Figure 11. NXTStepMode Synchronization
Left: change from lower to higher resolution. The lefthand side depicts the ending halfstep position during which a new step mode res-
olution was programmed. The righthand side diagram shows the effect of subsequent NXT commands on the microstep position.
Right: change from higher to lower resolution. The lefthand side depicts the ending microstep position during which a new step mode
resolution was programmed. The righthand side diagram shows the effect of subsequent NXT commands on the halfstep position.
NOTE: It is advised to reduce the microstepping resolution only at microstep positions that overlap with desired microstep positions
of the new resolution.
I
Y
I
X
I
Y
I
X
I
Y
I
X
I
Y
I
X
1/8th Step
Programmable PeakCurrent
The amplitude of the current waveform in the motor coils
(coil peak current = I
max
) is adjusted by means of an SPI
parameter “CUR[4:0]” (Table 14). Whenever this parameter
is changed, the coilcurrents will be updated immediately at
the next PWM period. Figure 12 presents the PeakCurrent
and Current Ranges in conjunction to the Current setting
(CUR[4:0]).
Peak Current
Ipeak (CUR[4:0] = 11111)
Ipeak (CUR[4:0] = 10110)
Ipeak (CUR[4:0] = 01111)
Ipeak (CUR[4:0] = 01000)
0 8 15 22 31 CUR[4:0]
Current Range 3
CUR = 23 > 31
Current Range 2
CUR = 16 > 22
Current Range 1
CUR = 9 > 15
Current
CUR = 0 > 8
Figure 12. Programmable PeakCurrent Overview
Range 0
Speed and LoadAngle Output
The SLApin provides an output voltage that indicates the
level of the Backe.m.f. voltage of the motor. This
Backe.m.f. voltage is sampled during every socalled “coil
current zero crossings”. Per coil, 2 zerocurrent positions
AMIS30522, NCV70522
http://onsemi.com
17
exist per electrical period, yielding in total 4 zerocurrent
observation points per electrical period.
Figure 13. Principle of Bemf Measurement
Current Decay
Zero Current
Voltage Transient
ZOOM
Previous
MicroStep
Coil Current Zero Crossing
Next
MicroStep
t
I
COIL
V
BEMF
I
COIL
V
COIL
V
BB
|V
BEMF
|
t
t
Because of the relatively high recirculation currents in
the coil during current decay, the coil voltage V
COIL
shows
a transient behavior. As this transient is not always desired
in application software, two operating modes can be selected
by means of the bit <SLAT> (see “SLAtransparency” in
Table 12). The SLA pin shows in “transparent mode” full
visibility of the voltage transient behavior. This allows a
sanitycheck of the speedsetting versus motor operation
and characteristics and supply voltage levels. If the bit
“SLAT” is cleared, then only the voltage samples at the end
of each coil current zero crossing are visible on the
SLApin. Because the transient behavior of the coil voltage
is not visible anymore, this mode generates smoother Back
e.m.f. input for postprocessing, e.g. by software.
In order to bring the sampled Back e.m.f. to a descent
output level (0 V to 5 V), the sampled coil voltage V
COIL
is
divided by 2 or by 4. This divider is set through a SPI bit
<SLAG>. (See Table 12)
The following drawing illustrates the operation of the
SLApin and the transparencybit. “PWMsh” and
“Icoil=0” are internal signals that define together with SLAT
the sampling and hold moments of the coil voltage.
AMIS30522, NCV70522
http://onsemi.com
18
PWMsh
SLAT
SLAPin
last
retained
retain last sample
previous output is
buf
Ssh Sh
Ch
Csh
SLAT
NOT (Icoil=0)
Icoil=0
PWMsh
SLAPin
div2
div4
t
t
Figure 14. Timing Diagram of SLAPin
SLAT = 1 => SLApin is “transparent” during
V
BEMF
sampling @ Coil Current Zero
Crossing. SLApin is updated “realtime”.
SLAT = 0 => SLApin is not “transparent”
during V
BEMF
sampling @ Coil Current Zero
Crossing. SLApin is updated when leaving
currentless state.
V
COIL
V
COIL
V
BEMF
sample
is
kept at SLA pin
Icoil=0
Warning, Error Detection and Diagnostics Feedback
Thermal Warning and Shutdown
When Junction temperature rises above T
TW
, the thermal
warning bit <TW> is set (Table 16 SPI Status Register 0). If
junction temperature increases above thermal shutdown
level, then the circuit goes in “Thermal Shutdown” mode
(<TSD>) and all driver transistors are disabled (high
impedance) (Table 16 SPI Status Register 2). The conditions
to reset flag <TSD> is to be at a temperature lower than T
TW
and to clear the <TSD> flag by reading it using any SPI read
command.
Overcurrent Detection
The overcurrent detection circuit monitors the load
current in each activated output stage. If the load current
exceeds the overcurrent detection threshold, then the
overcurrent flag is set and the drivers are switched off to
reduce the power dissipation and to protect the integrated
circuit. Each driver transistor has an individual detection bit
in the Table 16 SPI Status Registers 1 and SPI Status
Register 2 (<OVCXij> and <OVCYij>). Error condition is
latched and the microcontroller needs to clear the status bits
to reactivate the drivers.
Note: Successive reading the SPI Status Registers 1 and 2 in
case of a short circuit condition, may lead to damage to the
drivers.
Open Coil Detection
Open coil detection is based on the observation of 100%
duty cycle of the PWM regulator. If in a coil 100% duty cycle
is detected for longer than 32 ms the appropriate status bit in
the SPI status register is set (<OPENX> or <OPENY>).
(Table 16: SPI Status Register 0).
When the resistance of a motor coil is very large and the
battery voltage is low, it can happen that the motor driver is
not able to deliver the requested current to the motor. Under
these conditions the PWM controller duty cycle will be
100% and after 32 ms, the error pin and <OPENX>,
<OPENY> will flag this situation (motor current is kept
alive). This feature can be used to test if the operating
conditions (supply voltage, motor coil resistance) still allow
reaching the requested coilcurrent or else the coilcurrent
should be reduced.

AMIS30522C5222G

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
Motor / Motion / Ignition Controllers & Drivers 800MA STEPPER DRVR
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet