|
AMIS-30421 Datasheet, PDF (21/41 Pages) ON Semiconductor – Micro-Stepping Stepper Motor Bridge Controller | |||
|
◁ |
AMISâ30421
transient behavior. This transient behavior (which is not the
BEMF) can be made visible or invisible on the SLAâpin by
means of SPI bit <SLAT>. When set to transparent
(<SLAT> = â1â), the coil voltage is sampled every PWM
cycle and updated on the SLAâpin (see Figure 19). When set
to notâtransparent (<SLAT> = â0â), only the last sample
(taken right before leaving the âcoil current zero crossingâ)
will be copied to the SLAâpin (see Figure 20).
Icoil
When working in notâtransparent mode (<SLAT> = â0â)
keep in mind that there is a delay between applying the NXT
pulse (to leave the âcoil current zero crossingâ) and the
updated voltage on the SLAâpin (see tSLA_DELAY in
Figure 20 and Table 5).
Icoil
t
t
Previous
Microstep
V NXT
Coil Current
Zero Crossing
Next
Microstep
t
Icoil
Current Decay
t
Previous
Microstep
VNXT
Coil Current
Zero Crossing
Next
Microstep
t
Icoil
Current Decay
t
Vcoil VBB + 0.6V
V SLA
Transparent
Bemf of previous
zero crossing
V BEMF
t
Vcoil VBB + 0.6V
VSLA
Notâtransparent Bemf of previous
zero crossing
VBEMF
t
Last sample before leaving
zero crossing is retained.
t
Remark: Vcoil is only drawn during the coil current zero crossing
Figure 19. Principle of BEMF Measurement in
Transparent Mode
The relationship between the voltage measured on the
SLAâpin and the coil voltage is:
VSLA = 0.6 + (0.6 x <SLA_OFFS>) + (Vcoil x <SLAG>)
SPI bit <SLA_OFFS> can be used to add an additional
offset of 0.6 V. Five different SLA gain values can be set by
means of SPI bits <SLAG[2:0]>.
AMISâ30421 has the ability to stretch the âcoil current
zero crossingâ. If NXT pulses are applied too fast itâs
possible that the âcoil current zero crossingâ is too short
making it impossible to measure the real BEMF (see
Remark: Vcoil is only drawn during the coil current zero crossing
tSLA _DELAY
t
Figure 20. Principle of BEMF Measurement in
NotâTransparent Mode
Figure 21). By using SPI bits <MIN_SLA_TIME[1:0]> one
can stretch the âcoil current zero crossingâ without changing
the speed of the motor (see Figure 21). AMISâ30421 will
ignore but keep track of the NXT pulses applied during the
âstretched coil current zero crossingâ and compensate the
ignored pulses when leaving the âcoil current zero
crossingâ.
More information on using the SLAâpin can be found in
application note AND8399. Although this application note
refers to AMISâ305xx, it is also valid for AMISâ30421.
http://onsemi.com
21
|
▷ |