NSC LMD18245_06

LMD18245
3A, 55V DMOS Full-Bridge Motor Driver
General Description
Features
The LMD18245 full-bridge power amplifier incorporates all
the circuit blocks required to drive and control current in a
brushed type DC motor or one phase of a bipolar stepper
motor. The multi-technology process used to build the device
combines bipolar and CMOS control and protection circuitry
with DMOS power switches on the same monolithic structure. The LMD18245 controls the motor current via a fixed
off-time chopper technique.
An all DMOS H-bridge power stage delivers continuous output currents up to 3A (6A peak) at supply voltages up to 55V.
The DMOS power switches feature low RDS(ON) for high
efficiency, and a diode intrinsic to the DMOS body structure
eliminates the discrete diodes typically required to clamp
bipolar power stages.
An innovative current sensing method eliminates the power
loss associated with a sense resistor in series with the motor.
A four-bit digital-to-analog converter (DAC) provides a digital
path for controlling the motor current, and, by extension,
simplifies implementation of full, half and microstep stepper
motor drives. For higher resolution applications, an external
DAC can be used.
n
n
n
n
n
n
n
n
n
n
DMOS power stage rated at 55V and 3A continuous
Low RDS(ON) of typically 0.3Ω per power switch
Internal clamp diodes
Low-loss current sensing method
Digital or analog control of motor current
TTL and CMOS compatible inputs
Thermal shutdown (outputs off) at TJ = 155˚C
Overcurrent protection
No shoot-through currents
15-lead TO-220 molded power package
Applications
n Full, half and microstep stepper motor drives
n Stepper motor and brushed DC motor servo drives
n Automated factory, medical and office equipment
Functional Block and Connection Diagram
(15-Lead TO-220 Molded Power Package (T) )
01187801
Order Number LMD18245T
See NS Package Number TA15A
© 2006 National Semiconductor Corporation
DS011878
www.national.com
LMD18245 3A, 55V DMOS Full-Bridge Motor Driver
March 2006
LMD18245
Connection Diagram
01187802
Top View
15-Lead TO-220 Molded Power Package
Order Number LMD18245T
See NS Package Number TA15A
Pinout Descriptions
Pin 12, SGND: Ground return node of all signal level circuits.
Pin 13, CS OUT: Output of the current sense amplifier. The
current sense amplifier sources 250 µA (typical) per ampere
of total forward current conducted by the upper two switches
of the power bridge.
Pin 14, DAC REF: Voltage reference input of the DAC. The
DAC provides an analog voltage equal to VDAC REF x D/16,
where D is the decimal equivalent (0–15) of the binary
number applied at M4 through M1.
Pin 15, OUT 2: Output node of the second half H-bridge.
(See Functional Block
and Connection Diagrams)
Pin 1, OUT 1: Output node of the first half H-bridge.
Pin 2, COMP OUT: Output of the comparator. If the voltage
at CS OUT exceeds that provided by the DAC, the comparator triggers the monostable.
Pin 3, RC: Monostable timing node. A parallel resistorcapacitor network connected between this node and ground
sets the monostable timing pulse at about 1.1 RC seconds.
Pin 5, PGND: Ground return node of the power bridge. Bond
wires (internaI) connect PGND to the tab of the TO-220
package.
Pins 4 and 6 through 8, M4 through M1: Digital inputs of
the DAC. These inputs make up a four-bit binary number
with M4 as the most significant bit or MSB. The DAC provides an analog voltage directly proportional to the binary
number applied at M4 through M1.
Pin 9, VCC: Power supply node.
Pin 10, BRAKE: Brake logic input. Pulling the BRAKE input
logic-high activates both sourcing switches of the power
bridge — effectively shorting the load. See Table 1. Shorting
the load in this manner forces the load current to recirculate
and decay to zero.
Pin 11, DIRECTION: Direction logic input. The logic level at
this input dictates the direction of current flow in the load.
See Table 1.
www.national.com
TABLE 1. Switch Control Logic Truth Table
BRAKE
DIRECTION
MONO
H
X
X
L
H
L
Source 2
L
H
H
Source 2, Sink 1
L
L
L
Source 1
L
L
H
Source 1, Sink 2
X = don’t care
MONO is the output of the monostable.
2
Active Switches
Source 1, Source 2
TO-220 (TA = 25˚C, Infinite Heatsink)
25W
TO-220 (TA = 25˚C, Free Air)
If Military/Aerospace specified devices are required,
please contact the National Semiconductor Sales Office/
Distributors for availability and specifications.
3.5W
ESD Susceptibility (Note 4)
1500V
Storage Temperature Range (TS)
DC Voltage at:
−40˚C to +150˚C
Lead Temperature (Soldering, 10 seconds)
OUT 1, VCC, and OUT 2
+60V
COMP OUT, RC, M4, M3, M2, M1, BRAKE,
+12V
Operating Conditions (Note 1)
DIRECTION, CS OUT, and DAC REF
DC Voltage PGND to SGND
Temperature Range (TJ) (Note 3)
± 400mV
Continuous Load Current
3A
Supply Voltage Range (VCC)
Peak Load Current (Note 2)
6A
CS OUT Voltage Range
Junction Temperature (TJ(max))
300˚C
−40˚C to +125˚C
+12V to +55V
0V to +5V
DAC REF Voltage Range
+150˚C
0V to +5V
MONOSTABLE Pulse Range
Power Dissipation (Note 3) :
10 µs to 100 ms
Electrical Characteristics (Note 2)
The following specifications apply for VCC = +42V, unless otherwise stated. Boldface limits apply over the operating temperature range, −40˚C ≤ TJ ≤ +125˚C. All other limits apply for TA = TJ = 25˚C.
Symbol
ICC
Parameter
Quiescent Supply Current
Conditions
DAC REF = 0V, VCC = +20V
Typical
Limit
Units
(Note 5)
(Note 5)
(Limits)
15
mA (max)
8
mA
POWER OUTPUT STAGE
RDS(ON)
Switch ON Resistance
ILOAD = 3A
0.3
ILOAD = 6A
VDIODE
Body Diode Forward Voltage
0.3
IDIODE = 3A
0.4
Ω (max)
0.6
Ω (max)
0.4
Ω (max)
0.6
Ω (max)
1.5
V(max)
1.0
V
Trr
Diode Reverse Recovery Time
IDIODE = 1A
80
ns
Qrr
Diode Reverse Recovery Charge
IDIODE = 1A
40
nC
tD(ON)
Output Turn ON Delay Time
tD(OFF)
tON
tOFF
Sourcing Outputs
ILOAD = 3A
5
µs
Sinking Outputs
ILOAD = 3A
900
ns
Sourcing Outputs
ILOAD = 3A
600
ns
Sinking Outputs
ILOAD = 3A
400
ns
Sourcing Outputs
ILOAD = 3A
40
µs
Sinking Outputs
ILOAD = 3A
1
µs
Sourcing Outputs
ILOAD = 3A
200
ns
Sinking Outputs
ILOAD = 3A
80
ns
Output Turn OFF Delay Time
Output Turn ON Switching Time
Output Turn OFF Switching Time
tpw
Minimum Input Pulse Width
Pins 10 and 11
2
µs
tDB
Minimum Dead Band
(Note 6)
40
ns
CURRENT SENSE AMPLIFIER
Current Sense Output
ILOAD = 1A (Note 7)
200
250
Current Sense Linearity Error
0.5A ≤ ILOAD ≤ 3A (Note 7)
175
µA (min)
300
µA (max)
325
µA (max)
±6
%
±9
3
µA (min)
%(max)
www.national.com
LMD18245
Absolute Maximum Ratings (Note 1)
LMD18245
Electrical Characteristics (Note 2)
(Continued)
The following specifications apply for VCC = +42V, unless otherwise stated. Boldface limits apply over the operating temperature range, −40˚C ≤ TJ ≤ +125˚C. All other limits apply for TA = TJ = 25˚C.
Symbol
Parameter
Conditions
Typical
Limit
Units
(Note 5)
(Note 5)
(Limits)
20
µA (max)
Resolution
4
Bits (min)
Monotonicity
4
Bits (min)
0.25
LSB (max)
0.5
LSB (max)
CURRENT SENSE AMPLIFIER
Current Sense Offset
ILOAD = 0A
5
µA
DIGITAL-TO-ANALOG CONVERTER (DAC)
Total Unadjusted Error
0.125
Propagation Delay
IREF
DAC REF Input Current
DAC REF = +5V
50
ns
−0.5
µA
± 10
µA (max)
COMPARATOR AND MONOSTABLE
Comparator High Output Level
6.27
V
Comparator Low Output Level
88
mV
Source
0.2
mA
Sink
3.2
mA
Comparator Output Current
tDELAY
Monostable Turn OFF Delay
(Note 8)
1.2
µs
2.0
µs (max)
PROTECTION AND PACKAGE THERMAL RESISTANCES
Undervoltage Lockout, VCC
TJSD
Shutdown Temperature, TJ
5
V (min)
8
V (max)
155
˚C
Package Thermal Resistances
θJC
Junction-to-Case, TO-220
1.5
˚C/W
θJA
Junction-to-Ambient, TO-220
35
˚C/W
LOGIC INPUTS
VIL
Low Level Input Voltage
VIH
High Level Input Voltage
IIN
Input Current
VIN = 0V or 12V
−0.1
V (min)
0.8
V (max)
2
V (min)
12
V (max)
± 10
µA (max)
Note 1: Absolute Maximum Ratings indicate limits beyond which damage to the device may occur. Electrical specifications do not apply when operating the device
outside the rated Operating Conditions.
Note 2: Unless otherwise stated, load currents are pulses with widths less than 2 ms and duty cycles less than 5%.
Note 3: The maximum allowable power dissipation at any ambient temperature is PMax = (125 − TA)/θJA, where 125˚C is the maximum junction temperature for
operation, TA is the ambient temperature in ˚C, and θJAis the junction-to-ambient thermal resistance in ˚C/W. Exceeding Pmax voids the Electrical Specifications by
forcing TJabove 125˚C. If the junction temperature exceeds 155˚C, internal circuitry disables the power bridge. When a heatsink is used, θJAis the sum of the
junction-to-case thermal resistance of the package, θJC, and the case-to-ambient thermal resistance of the heatsink.
Note 4: ESD rating is based on the human body model of 100 pF discharged through a 1.5 kΩ resistor. M1, M2, M3 and M4, pins 8, 7, 6 and 4 are protected to
800V.
Note 5: All limits are 100% production tested at 25˚C. Temperature extreme limits are guaranteed via correlation using accepted SQC (Statistical Quality Control)
methods. All limits are used to calculate AOQL (Average Outgoing Quality Level). Typicals are at TJ = 25˚C and represent the most likely parametric norm.
Note 6: Asymmetric turn OFF and ON delay times and switching times ensure a switch turns OFF before the other switch in the same half H-bridge begins to turn
ON (preventing momentary short circuits between the power supply and ground). The transitional period during which both switches are OFF is commonly referred
to as the dead band.
Note 7: (ILOAD, ISENSE) data points are taken for load currents of 0.5A, 1A, 2A and 3A. The current sense gain is specified as ISENSE/ILOAD for the 1A data point.
The current sense linearity is specified as the slope of the line between the 0.5A and 1A data points minus the slope of the line between the 2A and 3A data points
all divided by the slope of the line between the 0.5A and 1A data points.
Note 8: Turn OFF delay, tDELAY, is defined as the time from the voltage at the output of the current sense amplifier reaching the DAC output voltage to the lower
DMOS switch beginning to turn OFF. With VCC = 32V, DIRECTION high, and 200Ω connected between OUT1 and VCC, the voltage at RC is increased from 0V to
5V at 1.2V/µs, and tDELAY is measured as the time from the voltage at RC reaching 2V to the time the voltage at OUT 1 reaches 3V.
www.national.com
4
LMD18245
Typical Performance Characteristics
RDS(ON) vs Temperature
RDS(ON) vs Load Current
01187829
01187830
RDS(ON) vs
Supply Voltage
Current Sense Output
vs Load Current
01187831
01187832
Supply Current vs
Supply Voltage
Supply Current vs
Temperature
01187833
01187834
5
www.national.com
LMD18245
off-time. During the off-time, the source switch and the opposite upper diode short the winding, and the winding current recirculates and decays slowly towards zero (Figure 1b
and Figure 1e ). At the end of the off-time, the control circuitry turns back ON the sink switch, and the winding current
again increases rapidly towards VCC/R (Figure 1a and Figure 1d again). The above sequence repeats to provide a
current chopping action that limits the winding current to the
threshold (Figure 1g ). Chopping only occurs if the winding
current reaches the threshold. During a change in the direction of the winding current, the diodes provide a decay path
for the initial winding current (Figure 1c and Figure 1f ).
Since the bridge shorts the winding for a fixed period, this
type of chopper amplifier is commonly referred to as a fixed
off-time chopper.
Functional Descriptions
TYPICAL OPERATION OF A CHOPPER AMPLIFIER
Chopper amplifiers employ feedback driven switching of a
power bridge to control and limit current in the winding of a
motor (Figure 1). The bridge consists of four solid state
power switches and four diodes connected in an H configuration. Control circuitry (not shown) monitors the winding
current and compares it to a threshold. While the winding
current remains less than the threshold, a source switch and
a sink switch in opposite halves of the bridge force the
supply voltage across the winding, and the winding current
increases rapidly towards VCC/R (Figure 1a and Figure 1d ).
As the winding current surpasses the threshold, the control
circuitry turns OFF the sink switch for a fixed period or
www.national.com
6
LMD18245
Functional Descriptions
(Continued)
(a)
(c)
01187803
01187805
(b)
(d)
01187804
01187806
(e)
(g)
01187809
01187807
(f)
01187808
FIGURE 1. Chopper Amplifier Chopping States: Full VCCApplied Across the Winding (a) and (d), Shorted Winding (b)
and (e), Winding Current Decays During a Change in the Direction of the Winding Current (c) and (f), and the
Chopped Winding Current (g)
7
www.national.com
LMD18245
Functional Descriptions
switch drops (I x RDS(ON)) across the motor winding. While
the bridge remains in this state, the winding current increases exponentially towards a limit dictated by the supply
voltage, the switch drops (I x RDS(ON)), and the winding
resistance. However, the winding current exponential rate of
increase will end when the current chopping circuitry becomes active.
Subsequently turning OFF the sink switch causes a voltage
transient that forward biases the body diode of the other
source switch. The diode clamps the transient at one diode
drop above the supply voltage and provides an alternative
current path. While the bridge remains in this state, it essentially shorts the winding, the winding current recirculates and
decays exponentially towards zero at a rate that is defined
by the L/R time constant.
During a change in the direction of the winding current, both
the switches and the body diodes provide a decay path for
the initial winding current (Figure 3 ).
(Continued)
THE LMD18245 CHOPPER AMPLIFIER
The LMD18245 incorporates all the circuit blocks needed to
implement a fixed off-time chopper amplifier. These blocks
include: an all DMOS, full H-bridge with clamp diodes, an
amplifier for sensing the load current, a comparator, a
monostable, and a DAC for digital control of the chopping
threshold. Also incorporated are logic, level shifting and drive
blocks for digital control of the direction of the load current
and braking.
THE H-BRIDGE
The power stage consists of four DMOS power switches and
associated body diodes connected in an H-bridge configuration (Figure 2 ).
The time constant to charge or discharge any inductor, in this
case the motor windings, is defined as:
τ = L/R
During actual motor operation there are many variables that
can effect the motor winding magnetic behavior and performance. Resonance, eddy currents, friction, motor loading,
damping, temperature coefficients of the windings, are only a
few. These are all issues that are beyond the scope of the
this data sheet.
where L is the winding inductance, and R is the sum of the
series resistance in the current path including the winding
resistance.
Turning ON a source switch and a sink switch in opposite
halves of the bridge forces the full supply voltage less the
www.national.com
8
LMD18245
Functional Descriptions
(Continued)
01187810
01187811
FIGURE 2. The DMOS H-Bridge
9
www.national.com
LMD18245
Functional Descriptions
(Continued)
01187812
01187813
FIGURE 3. Decay Paths for Initial Winding Current During a Change in the Direction of the Winding Current
load current, the sense current develops one volt across a
4 kΩ resistor (the product of 250 µA per ampere and 4 kΩ).
Since chopping of the load current occurs as the voltage at
CS OUT surpasses the threshold (the DAC output voltage),
RS sets the gain of the chopper amplifier; for example, a
2 kΩ resistor sets the gain at two amperes of load current
per volt of the threshold (the reciprocal of the product of
250 µA per ampere and 2 kΩ). A quarter watt resistor suffices. A low value capacitor connected in parallel with RS
filters the effects of switching noise from the current sense
signal.
While the specified maximum DC voltage compliance at CS
OUT is 12V, the specified operating voltage range at CS
OUT is 0V to 5V.
THE CURRENT SENSE AMPLIFIER
Many transistor cells in parallel make up the DMOS power
switches. The current sense amplifier (Figure 5 ) uses a
small fraction of the cells of both upper switches to provide a
unique, low-loss means for sensing the load current. In
practice, each upper switch functions as a 1x sense device
in parallel with a 4000x power device. The current sense
amplifier forces the voltage at the source of the sense device
to equal that at the source of the power device; thus, the
devices share the total drain current in proportion to the
1:4000 cell ratio. Only the current flowing from drain to
source, the forward current, registers at the output of the
current sense amplifier. The current sense amplifier, therefore, sources 250 µA per ampere of total forward current
conducted by the upper two switches of the power bridge.
The sense current develops a potential across RSthat is
proportional to the load current; for example, per ampere of
www.national.com
10
(Continued)
The resulting typical DAC programmable current limit values,
for different values of RS, would be:
THE DIGITAL-TO-ANALOG CONVERTER (DAC)
The DAC sets the threshold voltage for chopping at
VDAC REF x D/16, where D is the decimal equivalent (0–15)
of the binary number applied at M4 through M1, the digital
inputs of the DAC. M4 is the MSB or most significant bit. For
applications that require higher resolution, an external DAC
can drive the DAC REF input. While the specified maximum
DC voltage compliance at DAC REF is 12V, the specified
operating voltage range at DAC REF is 0V to 5V.
THE COMPARATOR, MONOSTABLE AND WINDING
CURRENT THRESHOLD FOR CHOPPING
As the voltage at CS OUT surpasses that at the output of the
DAC, the comparator triggers the monostable, and the
monostable, once triggered, provides a timing pulse to the
control logic. During the timing pulse, the power bridge
shorts the motor winding, causing current in the winding to
recirculate and decay slowly towards zero (Figure 1b and
Figure 1e again). A parallel resistor-capacitor network connected between RC (pin #3) and ground sets the timing
pulse or off-time at about 1.1 RC seconds.
Chopping of the winding current occurs as the voltage at CS
OUT exceeds that at the output of the DAC; so chopping
occurs at a winding current threshold of about
(VDAC REF x D/16) ÷ ((250 x 10−6) x RS)) amperes.
The RS value required to set the winding current threshold at
the maximum rated current of the LMD18245, with D = 15
and VDAC REF of 5.00V would be:
(5.00V x 15/16) ÷ ((250 x 10−6) x 6.25 kΩ)) = 3.00A
D
RS =
18.75 kΩ
RS =
9.375kΩ
RS =
6.250 kΩ
0
0.00A
0.00A
0.00A
1
0.07A
0.13A
0.20A
2
0.13A
0.27A
0.40A
3
0.20A
0.40A
0.60A
4
0.27A
0.53A
0.80A
5
0.33A
0.67A
1.00A
6
0.40A
0.80A
1.20A
7
0.47A
0.93A
1.40A
8
0.53A
1.07A
1.60A
9
0.60A
1.20A
1.80A
10
0.67A
1.33A
2.00A
11
0.73A
1.47A
2.20A
12
0.80A
1.60A
2.40A
13
0.87A
1.73A
2.60A
14
0.93A
1.87A
2.80A
15
1.00A
2.00A
3.00A
FIGURE 4. D to A winding current thresholds for
VREF DAC = 5.00V
01187814
FIGURE 5. The Source Switches of the Power Bridge and the Current Sense Amplifier
11
www.national.com
LMD18245
Functional Descriptions
LMD18245
tance in the power supply line; therefore, the power supply
line must be properly bypassed at VCC for the motor driver to
survive an extended overcurrent fault.
Applications Information
POWER SUPPLY BYPASSING
In the case of a locked rotor, the inductance of the winding
tends to limit the rate of change of the fault current to a value
easily handled by the protection circuitry. In the case of a low
inductance short from either output to ground or between
outputs, the fault current could surge past the 12A shutdown
threshold, forcing the device to dissipate a substantial
amount of power for the brief period required to disable the
source switches. Because the fault power must be dissipated by only one source switch, a short from output to
ground represents the worst case fault. Any overcurrent fault
is potentially destructive, especially while operating with high
supply voltages (≥30V), so precautions are in order. Sinking
VCC for heat with 1 square inch of 1 ounce copper on the
printed circuit board is highly recommended. The sink
switches are not internally protected against shorts to VCC.
Step changes in current drawn from the power supply occur
repeatedly during normal operation and may cause large
voltage spikes across inductance in the power supply line.
Care must be taken to limit voltage spikes at VCC to less than
the 60V Absolute Maximum Rating. At a change in the
direction of the load current, the initial load current tends to
raise the voltage at the power supply rail (Figure 3) again.
Current transients caused by the reverse recovery of the
clamp diodes tend to pull down the voltage at the power
supply rail.
Bypassing the power supply line at VCC is required to protect
the device and minimize the adverse effects of normal operation on the power supply rail. Using both a 1 µF high
frequency ceramic capacitor and a large-value aluminum
electrolytic capacitor is highly recommended. A value of
100 µF per ampere of load current usually suffices for the
aluminum electrolytic capacitor. Both capacitors should have
short leads and be located within one half inch of VCC.
THERMAL SHUTDOWN
Internal circuitry senses the junction temperature near the
power bridge and disables the bridge if the junction temperature exceeds about 155˚C. When the junction temperature
cools past the shutdown threshold (lowered by a slight hysteresis), the device automatically restarts.
OVERCURRENT PROTECTION
If the forward current in either source switch exceeds a 12A
threshold, internal circuitry disables both source switches,
forcing a rapid decay of the fault current (Figure 6). Approximately 3 µs after the fault current reaches zero, the device
restarts. Automatic restart allows an immediate return to
normal operation once the fault condition has been removed.
If the fault persists, the device will begin cycling into and out
of thermal shutdown. Switching large fault currents may
cause potentially destructive voltage spikes across induc-
UNDERVOLTAGE LOCKOUT
Internal circuitry disables the power bridge if the power
supply voltage drops below a rough threshold between 8V
and 5V. Should the power supply voltage then exceed the
threshold, the device automatically restarts.
01187815
Trace: Fault Current at 5A/div
Horizontal: 20 µs/div
FIGURE 6. Fault Current with VCC = 30V, OUT 1 Shorted to OUT 2, and CS OUT Grounded
www.national.com
12
Figure 7 shows the typical application, the power stage of a
chopper drive for bipolar stepper motors. The 20 kΩ resistor
and 2.2 nF capacitor connected between RC and ground set
the off-time at about 48 µs, and the 20 kΩ resistor connected
between CS OUT and ground sets the gain at about 200 mA
01187816
FIGURE 7. Typical Application Circuit for Driving Bipolar Stepper Motors
ONE-PHASE-ON FULL STEP DRIVE (WAVE DRIVE)
To make the motor take full steps, windings A and B can be
energized in the sequence
A→B→A*→B*→A→ …,
the above sequence must be reversed. Figure 8 shows the
winding currents and digital control signals for a wave drive
application of the typical application circuit.
TWO-PHASE-ON FULL STEP DRIVE
To make the motor take full steps, windings A and B can also
be energized in the sequence
AB→A*B→A*B*→AB*→AB→ …,
and because both windings are energized at all times, this
sequence produces more torque than that produced with
where A represents winding A energized with current in one
direction and A* represents winding A energized with current
in the opposite direction. The motor takes one full step each
time one winding is de-energized and the other is energized.
To make the motor step in the opposite direction, the order of
13
www.national.com
LMD18245
per volt of the threshold for chopping. Digital signals control
the thresholds for chopping, the directions of the winding
currents, and, by extension, the drive type (full step, half
step, etc.). A µprocessor or µcontroller usually provides the
digital control signals.
The Typical Application
LMD18245
The Typical Application
ing currents and digital control signals for this application of
the typical application circuit, and Figure 10 shows, for a
single phase, the winding current and voltage at the output of
the associated current sense amplifier.
(Continued)
wave drive. The motor takes one full step at each change of
direction of either winding current. Figure 9 shows the wind-
01187817
Top Trace: Phase A Winding Current at 1A/div
Bottom Trace: Phase B Winding Current at 1A/div
Horizontal: 1 ms/div
*500 steps/second
01187841
BRAKE A = BRAKE B = 0
FIGURE 8. Winding Currents and Digital Control Signals for One-Phase-On Drive (Wave Drive)
www.national.com
14
LMD18245
The Typical Application
(Continued)
01187819
Top Trace: Phase A Winding Current at 1A/div
Bottom Trace: Phase B Winding Current at 1A/div
Horizontal: 1 ms/div
*500 steps/second
01187842
M4 A through M1 A = M4 B through M1 B = 1
BRAKE A = BRAKE B = 0
FIGURE 9. Winding Currents and Digital Control Signals for Two-Phase-On Drive
01187821
Top Trace: Phase A Winding Current at 1A/div
Bottom Trace: Phase A Sense Voltage at 5V/div
Horizontal: 1 ms/div
*500 steps/second
FIGURE 10. Winding Current and Voltage at the Output of the Associated Current Sense Amplifier
15
www.national.com
LMD18245
The Typical Application
although half stepping doubles the step resolution, changing
the number of energized windings from two to one decreases (one to two increases) torque by about 40%, resulting in significant torque ripple and possibly noisy operation.
Figure 11 shows the winding currents and digital control
signals for this half step application of the typical application
circuit.
(Continued)
HALF STEP DRIVE WITHOUT TORQUE
COMPENSATION
To make the motor take half steps, windings A and B can be
energized in the sequence
A→AB→B→A*B→A*→
A*B*→B*→AB*→A→ …
The motor takes one half step each time the number of
energized windings changes. It is important to note that
01187822
Top Trace: Phase A Winding Current at 1A/div
Bottom Trace: Phase B Winding Current at 1A/div
Horizontal: 1 ms/div
*500 steps/second
01187843
BRAKE A = BRAKE B = 0
FIGURE 11. Winding Currents and Digital Control Signals for Half Step Drive without Torque Compensation
www.national.com
16
natural resonant frequency or subharmonics thereof. Both of
these advantages are obtained by replacing full steps with
bursts of microsteps. When compared to full step drive, the
motor runs smoother and quieter.
Figure 13 shows the lookup table for this application of the
typical application circuit. Dividing 90˚electrical per full step
by two microsteps per full step yields 45˚ electrical per
microstep. α, therefore, increases from 0 to 315˚ in increments of 45˚. Each full 360˚ cycle comprises eight half steps.
Rounding |cosα| to four bits gives D A, the decimal equivalent of the binary number applied at M4 A through M1 A.
DIRECTION A controls the polarity of the current in winding
A. Figure 12 shows the sinusoidal winding currents.
(Continued)
HALF STEP DRIVE WITH TORQUE COMPENSATION
To make the motor take half steps, the windings can also be
energized with sinusoidal currents (Figure 12). Controlling
the winding currents in the fashion shown doubles the step
resolution without the significant torque ripple of the prior
drive technique. The motor takes one half step each time the
level of either winding current changes. Half step drive with
torque compensation is microstepping drive. Along with the
obvious advantage of increased step resolution, microstepping reduces both full step oscillations and resonances
that occur as the motor and load combination is driven at its
01187824
Top Trace: Phase A Winding Current at 1A/div
Bottom Trace: Phase B Winding Current at 1A/div
Horizontal: 2 ms/div
*500 steps/second
01187844
BRAKE A = BRAKE B = 0
90˚ ELECTRICAL/FULL STEP ÷ 2 MICROSTEPS/FULL STEP = 45˚ ELECTRICAL/MICROSTEP
FIGURE 12. Winding Currents and Digital Control Signals for Half Step Drive with Torque Compensation
17
www.national.com
LMD18245
The Typical Application
LMD18245
The Typical Application
(Continued)
α
|cos(α)|
DA
DIRECTION A
|sin(α)|
DB
DIRECTlON B
|
0˚
1
15
1
0
0
1
FORWARD
45˚
0.707
11
1
0.707
11
1
↓
90˚
0
0
0
1
15
1
135˚
0.707
11
0
0.707
11
1
180˚
1
15
0
0
0
0
0
↑
225˚
0.707
11
0
0.707
11
REVERSE
270˚
0
0
1
1
15
0
|
315˚
0.707
11
1
0.707
11
0
REPEAT
FIGURE 13. Lookup Table for Half Step Drive with Torque Compensation
www.national.com
18
LMD18245
The Typical Application
(Continued)
QUARTER STEP DRIVE WITH TORQUE
COMPENSATION
Figure 14 shows the winding currents and lookup table for a
quarter step drive (four microsteps per full step) with torque
compensation.
01187826
Top Trace: Phase A Winding Current at 1A/div
Bottom Trace: Phase B Winding Current at 1A/div
Horizontal: 2ms/div
*250 steps/second
90˚ ELECTRICAL/FULL STEP ÷ 4 MICROSTEPS/FULL STEP = 22.5˚ ELECTRICAL/MICROSTEP
α
|cos(α)|
DA
DIRECTION A
|sin(α)|
DB
|
0.0˚
1
15
1
0
0
1
FORWARD
22.5˚
0.924
14
1
0.383
6
1
↓
45.0˚
0.707
11
1
0.707
11
1
67.5˚
0.383
6
1
0.924
14
1
90.0˚
0
0
0
1
15
1
112.5˚
0.383
6
0
0.924
14
1
135.0˚
0.707
11
0
0.707
11
1
157.5˚
0.924
14
0
0.383
6
1
180.0˚
1
15
0
0
0
0
202.5˚
0.924
14
0
0.383
6
0
225.0˚
0.707
11
0
0.707
11
0
247.5˚
0.383
6
0
0.924
14
0
270.0˚
0
0
1
1
15
0
0
DIRECTION B
↑
292.5˚
0.383
6
1
0.924
14
REVERSE
315.0˚
0.707
11
1
0.707
11
0
|
337.5˚
0.924
14
1
0.383
6
0
REPEAT
BRAKE A = BRAKE B = 0
FIGURE 14. Winding Currents and Lookup Table for Quarter Step Drive with Torque Compensation
19
www.national.com
LMD18245
Test Circuit and Switching Time Definitions
01187828
www.national.com
20
LMD18245 3A, 55V DMOS Full-Bridge Motor Driver
Physical Dimensions
inches (millimeters) unless otherwise noted
15-Lead TO-220 Power Package (T)
Order Number LMD18245T
NS Package Number TA15A
National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves
the right at any time without notice to change said circuitry and specifications.
For the most current product information visit us at www.national.com.
LIFE SUPPORT POLICY
NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS
WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL COUNSEL OF NATIONAL SEMICONDUCTOR
CORPORATION. As used herein:
1. Life support devices or systems are devices or systems
which, (a) are intended for surgical implant into the body, or
(b) support or sustain life, and whose failure to perform when
properly used in accordance with instructions for use
provided in the labeling, can be reasonably expected to result
in a significant injury to the user.
2. A critical component is any component of a life support
device or system whose failure to perform can be reasonably
expected to cause the failure of the life support device or
system, or to affect its safety or effectiveness.
BANNED SUBSTANCE COMPLIANCE
National Semiconductor manufactures products and uses packing materials that meet the provisions of the Customer Products
Stewardship Specification (CSP-9-111C2) and the Banned Substances and Materials of Interest Specification (CSP-9-111S2) and contain
no ‘‘Banned Substances’’ as defined in CSP-9-111S2.
Leadfree products are RoHS compliant.
National Semiconductor
Americas Customer
Support Center
Email: [email protected]
Tel: 1-800-272-9959
www.national.com
National Semiconductor
Europe Customer Support Center
Fax: +49 (0) 180-530 85 86
Email: [email protected]
Deutsch Tel: +49 (0) 69 9508 6208
English Tel: +44 (0) 870 24 0 2171
Français Tel: +33 (0) 1 41 91 8790
National Semiconductor
Asia Pacific Customer
Support Center
Email: [email protected]
National Semiconductor
Japan Customer Support Center
Fax: 81-3-5639-7507
Email: [email protected]
Tel: 81-3-5639-7560