AMIS30523
http://onsemi.com
22
Direction
The direction of rotation is selected by means of following
combination of the DIR input pin and the SPIcontrolled
direction bit <DIRCTRL>. (see Table 15 SPI Control
Parameter Overview)
NXT input
Changes on the NXT input will move the motor current
one step up/down in the translator table (even when the
motor is disabled). Depending on the NXTpolarity bit
<NXTP> (see Table 15 SPI Control Parameter Overview),
the next step is initiated either on the rising edge or the
falling edge of the NXT input.
Translator Position
The translator position MSP[6:0] can be read in SPI Status
Register 3 (See Table 18 SPI Status Registers). This is a
7bit number equivalent to the 1/32
th
microstep from
Table 12 “Circular Translator Table”. The translator
position is updated immediately following a NXT trigger.
NXT
Update
Translator Position
Update
Translator Position
Figure 17. Translator Position Timing Diagram
Synchronization of Step Mode and NXT Input
When step mode is reprogrammed to another resolution
(Figure 18), then this is put in effect immediately upon the
first arriving “NXT” input. If the microstepping resolution
is increased, the coil currents will be regulated to the nearest
microstep, according to the fixed grid of the increased
resolution. If however the microstepping resolution is
decreased, then it is possible to introduce an offset (or phase
shift) in the microstep translator table.
If the step resolution is decreased at a translator table
position that is shared both by the old and new resolution
setting, then the offset is zero and microstepping is
proceeds according to the translator table.
If the translator position is not
shared both by the old and
new resolution setting, then the microstepping proceeds
with an offset relative to the translator table (See Figure 18
right hand side).
More information can be found in application note
AND8399/D.
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 18. 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]” (see Table 15 SPI Control Parameter
Overview). Whenever this parameter is changed, the
coilcurrents will be updated immediately at the next PWM
period. Figure 19 presents the PeakCurrent and Current
Ratings in conjunction to the Current setting CUR[4:0].
AMIS30523
http://onsemi.com
23
Peak Current
1.48 A
630 mA
325 mA
166 mA
0 8 15 22 31 CUR[4:0]
Current Range 3
CUR[4:0] = 23 > 31
Current Range 2
CUR[4:0] = 16 > 22
Current Range 1
CUR[4:0] = 9 > 15
Current
CUR[4:0] = 0 > 8
Figure 19. Programmable PeakCurrent Overview
Range 0
Speed and Load Angle 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, two zerocurrent positions
exist per electrical period, yielding in total four zerocurrent
observation points per electrical period.
Figure 20. 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
AMIS30523
http://onsemi.com
24
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 15 SPI Control Parameter Overview). 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 to 5 V), the sampled coil voltage V
COIL
is
divided by 2 or by 4. This divider is set through an SPI bit
<SLAG> (see Table 15 SPI Control Parameter Overview).
The following drawing illustrates the operation of the
SLApin and the transparencybit. “PWMsh” and “I
coil
= 0”
are internal signals that define together with SLAT the
sampling and hold moments of the coil voltage.
More information can be found in application note
AND8399/D.
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 21. 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 17 SPI Status registers
Address SR0). 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) (see Table 17 SPI Status registers
Address SR2). The conditions to reset flag <TSD> is to be
at a temperature lower than T
TW
and to clear the <TSD> flag
reading out Status Register 2.
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 (see Table 17 SPI Status registers Address SR1 and SR2:
<OVCXij> and <OVCYij>). Error condition is latched
and the microcontroller needs to clear the status bits (by
reading Status Register 1 or 2) to reactivate the drivers.

AMIS30523C5231G

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
Motor / Motion / Ignition Controllers & Drivers AMIS30523 MULTI-CHIP ST
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet