Logic Supply Voltage, V
Logic Input Voltage Range, V
t
> 30 ns........................–0.3 V to VDD + 0.3 V
W
t
< 30 ns..............................–1 V to VDD + 1 V
W
Sense Voltage, V
SENSE
Reference Voltage, V
Package Power Dissipation, P
Operating Temperature Range
Ambient, T
, Range S ...................–20°C to 85°C
A
Junction Temperature, T
Storage Temperature, T
*
Output current rating may be limited by duty cycle,
ambient temperature, and heat sinking. Under any set of
conditions, do not exceed the specified current rating or a
junction temperature of 150°C.
...................................35 V
BB
...................................... ±2.5 A
...............................7.0 V
DD
IN
.......................................0.5 V
......................................V
REF
S
.................See page 5
D
J(MAX)
.................... –55°C to 150°C
28
VBB1
27
SLEEP
26
ENABLE
25
OUT1B
24
23
22
21
20
19
18
17
16
15
CP2
CP1
VCP
PGND
VREG
STEP
OUT2B
RESET
SR
VBB2
Charge
Pump
Reg
.....................150°C
A3979
The A3979 is a complete microstepping motor driver with built-in
translator, designed as a pin-compatible replacement for the successful
A3977, with enhanced microstepping (1/16 step) precision. It is designed
to operate bipolar stepper motors in full-, half-, quarter-, and sixteenthstep modes, with an output drive capacity of up to 35 V and ±2.5 A. The
A3979 includes a fixed off-time current regulator that has the ability
to operate in Slow, Fast, or Mixed decay modes. This current-decay
control scheme results in reduced audible motor noise, increased step
accuracy, and reduced power dissipation.
The translator is the key to the easy implementation of the A3979. It
allows the simple input of one pulse on the STEP pin to drive the motor
one microstep, which can be either a full step, half, quarter, or sixteenth,
depending on the setting of the MS1 and MS2 logic inputs. There are no
phase-sequence tables, high-frequency control lines, or complex interfaces to program. The A3979 interface is an ideal fit for applications
where a complex microprocessor is unavailable or is overburdened.
Internal synchronous-rectification control circuitry is provided to
improve power dissipation during PWM operation. Internal circuit
protection includes: thermal shutdown with hysteresis, UVLO (undervoltage lockout), and crossover-current protection. Special power-on
sequencing is not required.
The A3979 is supplied in a low-profile (maximum height ≤ 1.20 mm),
28-pin TSSOP with exposed thermal pad. The package is available in a
lead (Pb) free version, with 100% matte tin leadframe plating.
*
FEATURES
±2.5 A, 35 V output rating
Low R
Automatic current decay mode detection/selection
3.0 to 5.5 V logic supply voltage range
DD
Slow, Fast or Mixed current decay modes
Home output
Synchronous rectification for low power dissipation
Internal UVLO and thermal shutdown circuitry
Crossover-current protection
Use the following complete part number when ordering:
stepping motor driver with a built-in translator for easy
operation with minimal control lines. It is designed to
operate bipolar stepper motors in full-, half-, quarter-, and
sixteenth-step modes. The currents in each of the two output
full-bridges (all of the N-channel MOSFETs) are regulated
with fixed off-time PMW (pulse width modulated) control
circuitry. At each step, the current for each full-bridge is
set by the value of its external current-sense resistor (R
or RS2), a reference voltage (V
), and the output voltage
REF
S1
of its DAC (which in turn is controlled by the output of the
translator).
At power-on or reset, the translator sets the DACs and the
phase current polarity to the initial Home state (shown in
figures 2 through 5), and the current regulator to Mixed
decay mode for both phases. When a step command signal
occurs on the STEP input, the translator automatically
sequences the DACs to the next level and current polarity.
(See table 2 for the current-level sequence.) The microstep
resolution is set by the combined effect of inputs MS1 and
MS2, as shown in table 1.
While stepping is occurring, if the next output level of the
DACs is lower than the immediately preceeding output
level, then the decay mode (Fast, Slow, or Mixed) for the
active full bridge is set by the PFD input. If the next DAC
output level is higher than or equal to the preceeding level,
then the decay mode for that full bridge will be Slow decay.
This automatic current-decay selection improves microstepping performance by reducing the distortion of the current
waveform due to back EMF of the motor.
low) sets the translator to a predefined Home state (shown
in figures 2 through 5), and turns off all of the DMOS outputs. The HOME output goes low and all STEP inputs are
ignored until the ¯R¯ ¯E¯ ¯S¯ ¯E¯ ¯T¯
input is set to high.
Home Output (HOME). The HOME output is a logic
output indicator of the initial state of the translator. At
power-on, the translator is reset to the Home state (shown in
figures 2 through 5).
Step Input (STEP). A low-to-high transition on the
STEP input sequences the translator and advances the motor
one increment. The translator controls the input to the DACs
and the direction of current flow in each winding. The size
of the increment is determined by the combined state of
inputs MS1 and MS2 (see table 1).
Microstep Select (MS1 and MS2). The input on
terminals MS1 and MS2 selects the microstepping format,
as shown in table 1. Any changes made to these inputs do not
take effect until the next rising edge of a step command signal
on the STEP input.
Direction Input (DIR).The state of the DIR input deter-
mines the direction of rotation of the motor. Any changes
made to this input does not take effect until the next rising
edge of a step command signal on the STEP input.
Internal PWM Current Control. Each full bridge is
controlled by a fixed–off-time PWM current-control circuit
that limits the load current to a desired value, I
a diagonal pair of source and sink MOS outputs are enabled
and current flows through the motor winding and the current
sense resistor, R
. When the voltage across R
Sx
DAC output voltage, the current-sense comparator resets the
PWM latch. The latch then turns off either the source MOSFETs (when in Slow decay mode) or the sink and source
MOSFETs (when in Fast or Mixed decay mode).
The maximum value of current limiting is set by the selection of R
and the voltage at the V
S
input with a transcon-
REF
ductance function approximated by:
I
max = V
TRIP
The DAC output reduces the V
/8R
REF
REF
S
output to the cur-
rent-sense comparator in precise steps (see table 2 for
% I
max at each step).
TRIP
= (% I
I
TRIP
max/100) I
TRIP
TRIP
It is critical that the maximum rating (0.5 V) on either the
SENSE1 and SENSE2 pins is not exceeded. For full stepping, V
because the peak sense value is 0.707 × V
modes, V
Fixed Off-Time. The internal PWM current-control cir-
cuitry uses a one-shot timer to control the duration of time
that the MOSFETs remain off. The one shot off-time, t
is determined by the selection of external resistors, R
capacitors, C
ground. The off-time, over a range of values of C
to 1500 pF and R
, connected from each RCx timing terminal to
Tx
= 12 kΩ to 100 kΩ is approximated by:
T
t
= RTCT
OFF
= 470 pF
T
OFF
Tx
,
, and
RC Blanking. In addition to the fixed off-time of the
PWM control circuit, the CTx component sets the comparator blanking time. This function blanks the output of the
current-sense comparators when the outputs are switched
by the internal current-control circuitry. The comparator
outputs are blanked to prevent false overcurrent detection
due to reverse recovery currents of the clamp diodes, or to
switching transients related to the capacitance of the load.
The blank time t
can be approximated by:
BLANK
t
BLANK
= 1400C
T
Charge Pump (CP1 and CP2). The charge pump is
used to generate a gate supply greater than that of VBB for
driving the source-side DMOS gates. A 0.22 μF ceramic
capacitor should be connected between CP1 and CP2 for
pumping purposes. In addition, a 0.22 μF ceramic capacitor
is required between VCP and VBB, to act as a reservoir for
operating the high-side DMOS gates.
V
(VREG). This internally-generated voltage is used to
REG
operate the sink-side DMOS outputs. The VREG pin must
be decoupled with a 0.22 μF capacitor to ground. V
REG
is
internally monitored, and in the case of a fault condition, the
DMOS outputs of the device are disabled.
enables all of the DMOS outputs. When set to a logic high,
the outputs are disabled. The inputs to the translator (STEP,
DIR, MS1, and MS2), all remain active, independent of the
¯E¯ ¯N¯ ¯A¯ ¯B¯ ¯L¯ ¯E¯ input state.
Shutdown. During normal operation, in the event of a
fault, such as overtemperature (excess T
) or an undervolt-
J
age on VCP, the outputs of the device are disabled until the
fault condition is removed.
At power up, and in the event of low V
, the undervoltage
DD
lockout (UVLO) circuit disables the drivers and resets the
translator to the Home state.
Sleep Mode ( ¯S¯ ¯L¯ ¯E¯ ¯E¯ ¯P¯ ). This active-low control input
is used to minimize power consumption when the motor is
not in use. It disables much of the internal circuitry including the output DMOS FETs, current regulator, and charge
pump. Setting this to a logic high allows normal operation,
as well as start-up (at which time the A3979 drives the
motor to the Home microstep position). When bringing the
device out of Sleep mode, in order to allow the charge pump
(gate drive) to stabilize, provide a delay of 1 ms before issuing a step command signal on the STEP input.
Percent Fast Decay Input (PFD). When a STEP
input signal commands a lower output current than the
previous step, it switches the output current decay to either
Slow, Fast, or Mixed decay mode, depending on the voltage
level at the PFD input. If the voltage at the PFD input is
greater than 0.6 × V
If the voltage on the PFD input is less than 0.21 × VDD , then
Fast decay mode is selected. Mixed decay mode is selected
when V
is between these two levels, as described in
PFD
the next section. This terminal should be decoupled with a
0.1 μF capacitor.
Mixed Decay Operation. If the voltage on the PFD input
is between 0.6 × V
in Mixed decay mode, as determined by the step sequence
(shown in figures 2 through 5). As the trip point is reached,
the device goes into Fast decay mode until the voltage
on the RCx terminal decays to the same level as voltage
applied to the PFD terminal. The time that the device operates in fast decay is approximated by:
tFD = RTCTln (0.6VDD/V
After this Fast decay portion, the device switches to Slow
decay mode for the remainder of the fixed off-time period.
cycle is triggered by an internal fixed–off-time cycle, load
current recirculates according to the decay mode selected
by the control logic. The A3979 synchronous rectification
feature turns on the appropriate MOSFETs during the decay
of the current, and effectively shorts out the body diodes
with the low R
driver. This reduces power dissipation
DS(On)
significantly and eliminates the need for external Schottky
diodes for most applications. The synchronous rectification
can be set to either Active mode or Disabled mode:
Applications Information
Layout. The printed circuit board on which the device is
mounted should have a heavy ground plane. For optimum
electrical and thermal performance, the A3979 should be
soldered directly onto the board.
The load supply terminals, VBBx, should be decoupled with
an electrolytic capacitor (>47 μF is recommended), placed
as close to the device as possible.
To avoid problems due to capacitive coupling of the high
dv / dt switching transients, route the bridge-output traces
away from the sensitive logic-input traces.
Always drive the logic inputs with a low source impedance
to increase noise immunity.
Grounding. The AGND (analog ground) terminal and the
PGND (power ground) terminal must be connected together
externally.
All ground lines should be connected together and be as
short as possible. A star ground system, centered under the
device, is an optimum design.
The copper ground plane located under the exposed thermal
pad is typically used as the star ground.
• Active Mode. When the SR input is logic low, Active
mode is enabled and synchronous rectification can occur.
This mode prevents reversal of the load current by turning
off synchronous rectification when a zero current level is
detected. This prevents the motor winding from conducting in the reverse direction.
• Disabled Mode. When the SR input is logic high, syn-
chronous rectification is disabled. This mode is typically used when external diodes are required to transfer
power dissipation from the A3979 package to the external
diodes.
Current Sensing. To minimize inaccuracies caused by
ground-trace IR drops in sensing the output current level,
the current-sense resistors, R
ground return to the star ground of the device. This path
should be as short as possible.
For low-value sense resistors, the IR drops in the printed circuit board sense resistor traces can be significant and should
be taken into account.
The use of sockets should be avoided as they can introduce
variation in R
due to their contact resistance.
Sx
Allegro MicroSystems recommends a value of R
RS = 0.5/I
Thermal Protection.
all drivers when the junction temperature reaches 165°C,
typical. It is intended only to protect the device from failures
due to excessive junction temperatures and should not imply
that output short circuits are permitted. Thermal shutdown
has a hysteresis of approximately 15°C.
Preliminary dimensions, for reference only
Dimensions in millimeters
U.S. Customary dimensions (in.) in brackets, for reference only
(reference JEDEC MO-153 AET)
Dimensions exclusive of mold flash, gate burrs, and dambar protrusions
Exact case and lead configuration at supplier discretion within limits shown
A
Terminal #1 mark area
B
Exposed thermal pad (bottom surface)
28X
28X
0.10 [.004]
M C A B
0.30
0.19
DMOS Microstepping Driver with Translator
9.8
.386
9.6
28
A
21
C0.10 [.004]
.012
.007
.378
5
.200
NOM
0.65 .026
B
A
3
NOM
.118
0.150.006
4.5
4.3
SEATING
PLANE
1.20
MAX
.000
B
.177
.169
6.6
.260
6.2
.244
C
.047
A3979
8º
0º
0.20
.008
0.09
.004
0.75
.030
0.45
.018
1
.039
REF
0.25 .010
SEATING PLANE
GAUGE PLANE
The products described here are manufactured under one or more U.S. patents or U.S. patents pending.
Allegro MicroSystems, Inc. reserves the right to make, from time to time, such de par tures from the detail spec i fi ca tions as may be
required to permit improvements in the per for mance, reliability, or manufacturability of its products. Before placing an order, the user is
cautioned to verify that the information being relied upon is current.
®
Allegro
products are not authorized for use as critical components in life-support devices or sys tems without express written approval.
The in for ma tion in clud ed herein is believed to be ac cu rate and reliable. How ev er, Allegro MicroSystems, Inc. assumes no re spon si bil i ty
for its use; nor for any in fringe ment of patents or other rights of third parties which may result from its use.