Full-Bridge PWM Motor Driver
A4973
6
Allegro MicroSystems, Inc.
115 Northeast Cutoff
Worcester, Massachusetts 01615-0036 U.S.A.
1.508.853.5000; www.allegromicro.com
The operation of the circuit is as follows: when the PWM latch is
reset by the current comparator, the voltage on the RC terminal
will begin to decay from approximately 0.60VCC. When the
voltage on the RC terminal reaches approximately 0.22VCC, the
PWM latch is set, thereby enabling the driver(s).
RC Blanking. In addition to determining the fixed off-time of
the PWM control circuit, the CT component sets the comparator
blanking time. This function blanks the output of the comparator
when the outputs are switched by the internal current-control
circuitry (or by the PHASE, BRAKE, or ENABLE inputs).
The comparator output is blanked to prevent false over-current
detections due to reverse recovery currents of the clamp diodes,
and/or switching transients related to distributed capacitance in
the load.
During internal PWM operation, at the end of the tOFF time, the
comparator’s output is blanked and CT begins to be charged
from approximately 0.22VCC by an internal current source of
approximately 1 mA. The comparator output remains blanked
until the voltage on CT reaches approximately 0.60VCC.
When a transition of the PHASE input occurs, CT is discharged
to near ground during the crossover delay time (the crossover
delay time is present to prevent simultaneous conduction of
the source and sink drivers). After the crossover delay, CT is
charged by an internal current source of approximately 1 mA.
The comparator output remains blanked until the voltage on CT
reaches approximately 0.60VCC.
When the device is disabled, via the ENABLE input, CT is
discharged to near ground. When the device is re-enabled, CT is
charged by an internal current source of approximately 1 mA.
The comparator output remains blanked until the voltage on CT
reaches approximately 0.60VCC.
For 3.3 V operation, the minimum recommended value
for CT is 680 pF ± 5 %. For 5.0 V operation, the minimum
recommended value for CT is 470 pF ± 5%. These values
ensure that the blanking time is sufficient to avoid false trips
of the comparator under normal operating conditions. For
optimal regulation of the load current, the above values for CT
are recommended and the value of RT can be sized to determine
tOFF. For more information regarding load current regulation, see
below.
LOAD CURRENT REGULATION
WITH INTERNAL PWM
CURRENT-CONTROL CIRCUITRY
When the device is operating in slow current-decay mode,
there is a limit to the lowest level that the PWM current-
control circuitry can regulate load current. The limitation is the
minimum duty cycle, which is a function of the user-selected
value of tOFF and the minimum on-time pulse tON(min) max that
occurs each time the PWM latch is reset. If the motor is not
rotating (as in the case of a stepper motor in hold/detent mode, a
brush dc motor when stalled, or at startup), the worst case value
of current regulation can be approximated by:
{ [ VBB – (2 × I × RDS) ] × tON(min)max } – [1.05 (I × RDS + VF) × tOFF ]
1.05 × (tON(min)max + tOFF) × RLOAD
IAVE
where tOFF = RT x CT, RLOAD is the series resistance of the load,
VBB is the motor supply voltage and t ON(min)max is specified in
the Electrical Characteristics table. When the motor is rotating,
the back EMF generated will influence the above relationship.
For brush dc motor applications, the current regulation is
improved. For stepper motor applications, when the motor is
rotating, the effect is more complex. A discussion of this subject
is included in the section on stepper motors below.
The following procedure can be used to evaluate the worst-case
slow current-decay internal PWM load current regulation in the
system:
1. Set VREF to 0 volts. With the load connected and the PWM
current control operating in slow current-decay mode, use an
oscilloscope to measure the time the output is low (sink on) for
the output that is chopping. This is the typical minimum on time
(tON(min) typ) for the device.
2. The CT then should be increased until the measured value
of tON(min) is equal to tON(min) max as specified in the electrical
characteristics table.
3. When the new value of CT has been set, the value of RT should
be decreased so the value for tOFF = RT x CT (with the artificially
increased value of CT) is equal to the nominal design value.
4. The worst-case load-current regulation then can be measured
in the system under operating conditions.