Professional Documents
Culture Documents
DRV8821 Dual Stepper Motor Controller and Driver: 1 Features 3 Description
DRV8821 Dual Stepper Motor Controller and Driver: 1 Features 3 Description
DRV8821
SLVS912J – JANUARY 2009 – REVISED JANUARY 2016
Simplified Schematic
An IMPORTANT NOTICE at the end of this data sheet addresses availability, warranty, changes, use in safety-critical applications,
intellectual property matters and other important disclaimers. PRODUCTION DATA.
DRV8821
SLVS912J – JANUARY 2009 – REVISED JANUARY 2016 www.ti.com
Table of Contents
1 Features .................................................................. 1 7.4 Device Functional Modes........................................ 14
2 Applications ........................................................... 1 8 Application and Implementation ........................ 16
3 Description ............................................................. 1 8.1 Application Information............................................ 16
4 Revision History..................................................... 2 8.2 Typical Application ................................................. 16
5 Pin Configuration and Functions ......................... 3 9 Power Supply Recommendations...................... 19
9.1 Bulk Capacitance .................................................... 19
6 Specifications......................................................... 4
6.1 Absolute Maximum Ratings ..................................... 4 10 Layout................................................................... 20
6.2 ESD Ratings.............................................................. 4 10.1 Layout Guidelines ................................................. 20
6.3 Recommended Operating Conditions....................... 5 10.2 Layout Example .................................................... 21
6.4 Thermal Information .................................................. 5 10.3 Thermal Considerations ........................................ 22
6.5 Electrical Characteristics........................................... 5 11 Device and Documentation Support ................. 24
6.6 Timing Requirements ................................................ 6 11.1 Documentation Support ....................................... 24
6.7 Dissipation Ratings ................................................... 6 11.2 Community Resources.......................................... 24
6.8 Typical Characteristics .............................................. 7 11.3 Trademarks ........................................................... 24
7 Detailed Description .............................................. 9 11.4 Electrostatic Discharge Caution ............................ 24
7.1 Overview ................................................................... 9 11.5 Glossary ................................................................ 24
7.2 Functional Block Diagram ....................................... 10 12 Mechanical, Packaging, and Orderable
7.3 Feature Description................................................. 10 Information ........................................................... 24
4 Revision History
NOTE: Page numbers for previous revisions may differ from page numbers in the current version.
• Added Pin Functions table, ESD Ratings table, Thermal Information table, Detailed Description section, Application
and Implementation section, Power Supply Recommendations section, Layout section, Device and Documentation
Support section, and Mechanical, Packaging, and Orderable Information section................................................................ 1
DCA Package
48-Pin HTSSOP
Top View
VM 1 48 BOUT1
VM 2 47 BISEN
AOUT2 3 46 BOUT2
AISEN 4 45 ABSTEP
AOUT1 5 44 ABUSM0
ABDECAY 6 43 ABDIR
CP1 7 42 ABENBLn
CP2 8 41 ABUSM1
VCP 9 40 ABRESETn
PGND 10 39 PGND
PGND 11 38 PGND
Solder these Solder these
PGND 12 37 PGND
pins to copper PGND 13 36 PGND
pins to copper
heatsink area PGND 14 35 PGND heatsink area
PGND 15 34 PGND
V3P3 16 33 CDSTEP
ABVREF 17 32 CDUSM0
CDVREF 18 31 CDDIR
CDDECAY 19 30 CDENBLn
DOUT2 20 29 CDUSM1
DISEN 21 28 CDRESETn
DOUT1 22 27 COUT1
VM 23 26 CISEN
VM 24 25 COUT2
Pin Functions
PIN
I/O (1) DESCRIPTION EXTERNAL COMPONENTS OR CONNECTIONS
NAME NO.
POWER AND GROUND
VM 1,2, Connect all VM pins together to motor supply voltage.
— Motor supply voltage (multiple pins)
(4 pins) 23, 24 Bypass each VM to GND with a 0.1-µF, 35-V ceramic capacitor.
V3P3 16 — 3.3 V regulator output Bypass to GND with 0.47-μF, 6.3-V ceramic capacitor.
GND 10-15,
— Power ground (multiple pins) Connect all PGND pins to GND and solder to copper heatsink areas.
34-39
CP1 7 IO
Charge pump flying capacitor Connect a 0.01-μF capacitor between CP1 and CP2
CP2 8 IO
VCP 9 IO Charge pump storage capacitor Connect a 0.1-μF, 16 V ceramic capacitor to VM
MOTOR AB
ABSTEP 45 I Motor AB step input Rising edge causes the indexer to move one step.
ABDIR 43 I Motor AB direction input Level sets the direction of stepping.
ABUSM0 44 I Motor AB microstep mode 0 USM0 and USM1 set the step mode - full step, half step, quarter
ABUSM1 41 I Motor AB microstep mode 1 step, or eight microsteps/step.
ABENBLn 42 I Motor AB enable input Logic high to disable motor AB outputs, logic low to enable.
Active-low reset input initializes the indexer logic and disables the H-
ABRESETn 40 I Motor AB reset input
bridge outputs for motor AB.
ABDECAY 6 I Motor AB decay mode Logic low for slow decay mode, high for mixed decay.
Motor AB current set reference
ABVREF 17 I Sets current trip threshold.
voltage
AOUT1 5 O Bridge A output 1 Connect to first coil of bipolar stepper motor AB, or DC motor
AOUT2 3 O Bridge A output 2 winding.
AISEN 4 — Bridge A current sense Connect to current sense resistor for bridge A.
6 Specifications
6.1 Absolute Maximum Ratings
over operating free-air temperature range (unless otherwise noted) (1) (2)
(1) Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings
only, which do not imply functional operation of the device at these or any other conditions beyond those indicated under Recommended
Operating Conditions. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
(2) All voltage values are with respect to network ground terminal.
(3) Input pins may be driven in this voltage range regardless of presence or absence of VM.
(4) Power dissipation and thermal limits must be observed.
(1) JEDEC document JEP155 states that 500-V HBM allows safe manufacturing with a standard ESD control process.
(2) JEDEC document JEP157 states that 250-V CDM allows safe manufacturing with a standard ESD control process.
(1) For more information about traditional and new thermal metrics, see the Semiconductor and IC Package Thermal Metrics application
report, SPRA953.
(1) The JEDEC Low-K board used to derive this data was a 76-mm x 114-mm, 2-layer, 1.6-mm thick PCB with no backside copper.
(2) The JEDEC Low-K board used to derive this data was a 76-mm x 114-mm, 2-layer, 1.6-mm thick PCB with 25-cm2 2-oz copper on back
side.
(3) The JEDEC High-K board used to derive this data was a 76-mm x 114-mm, 4-layer, 1.6-mm thick PCB with no backside copper and
solid 1-oz internal ground plane.
(4) The JEDEC High-K board used to derive this data was a 76-mm x 114-mm, 4-layer, 1.6-mm thick PCB with 25-cm2 1-oz copper on back
side and solid 1-oz internal ground plane.
2 3
xSTEP
xDIR, xUSMx
4 5
ABENBLn
& CDENBLn
6
5.20 5.20
5.00 5.00
Supply Current (mA)
4.60 4.60
-40°C
4.40 4.40
0°C
4.20 8V 4.20 25°C
4.00 24 V 70°C
4.00
27 V 85°C
3.80 3.80
-40°C 0°C 25°C 70°C 85°C 8V 24 V 27 V
Temperature (ƒC) C001 Supply Voltage (V) C002
Figure 2. Supply Current over Temperature Figure 3. Supply Current over Supply Voltage
45.00 45.00
40.00
40.00
Charge Pump Voltage (V)
Charge Pump Voltage (V)
35.00
35.00
30.00
30.00 8V 25.00
-40°C
25.00 24 V 20.00
0°C
27 V 15.00
20.00 25°C
10.00
15.00 70°C
5.00
85°C
10.00 0.00
-40°C 0°C 25°C 70°C 85°C 8V 24 V 27 V
Temperature (ƒC) C005
Supply Voltage (V) C006
Figure 4. Charge Pump Voltage over Temperature Figure 5. Charge Pump Voltage over Supply Voltage
600.00 600.00
500.00 500.00
400.00 400.00
Rdson (mŸ)
Rdson (mŸ)
300.00 300.00
200.00 200.00
8V 8V
100.00 24 V 100.00 24 V
27 V 27 V
0.00 0.00
-40°C 0°C 25°C 70°C 85°C -40°C 0°C 25°C 70°C 85°C
Temperature (ƒC) C007 Temperature (ƒC) C008
500.00 500.00
400.00 400.00
Rdson (mŸ)
Rdson (mŸ)
300.00 300.00
200.00 200.00
8V 8V
100.00 24 V 100.00 24 V
27 V 27 V
0.00 0.00
-40°C 0°C 25°C 70°C 85°C -40°C 0°C 25°C 70°C 85°C
Temperature (ƒC) C009 Temperature (ƒC) C010
Figure 8. HS RDSON AOUT2 over Temperature Figure 9. HS RDSON AOUT1 over Temperature
7 Detailed Description
7.1 Overview
The DRV8821 is a dual stepper motor driver solution for applications that require independent control of two
different motors. The device integrates four NMOS H-bridges, a microstepping indexer, and various fault
protection features. The DRV8821 can be powered with a supply voltage between 8 and 32 V, and is capable of
providing an output current up to 1.5-A full scale. Actual full-scale current will depend on ambient temperature,
supply voltage, and PCB ground size.
A simple STEP/DIR interface allows easy interfacing to the controller circuit. The internal indexer is able to
execute high-accuracy microstepping without requiring the processor to control the current level. The indexer is
cable of full step and half step as well as microstepping to 1/4 and 1/8.
The current regulation is configurable with two different decay modes; slow decay and mixed decay. The mixed
decay mode uses slow decay on increasing current steps and mixed decay on decreasing current steps, while
slow decay mode will always use slow decay regardless increasing or decreasing steps.
The gate drive to each FET in all four H-Bridges is controlled to prevent any cross-conduction (shoot through
current) during transitions.
CP1
Dig.
0.01µF
VCC Charge
Pump and 35V
CP2
V3P3 3.3V Gat e Drive +24
0.47µF Regulator Regulator
6.3V VCP
0.1µF +24
VGD VCP 16V
VM
· ·
0.1µF, 35V
ABVREF
PWM H-b ridge AOUT1
driver A
AOUT2 Step
Motor
ABSTEP
AISEN
ABDIR
+24
ABENBLn
ABUSM0 VM
·
0.1µF, 35V
ABUSM1
PWM H-bridge BOUT1
ABDECAY driver B
BOUT2
ABRESETn
BISEN
I ndexer
Logic
+24
CDSTEP
VM
·
CDDIR 0.1µF, 35V
PWM H-bridge COUT1
CDENBLn driver C
Step
CDUSM0 COUT2
Motor
CDUSM1 CI SEN
CD DEC AY +24
CDRESETn VM
·
0.1µF, 35V
DISEN
Thermal UVLO
OCP Shut down Oscillator RESET
GND
OC P VM
VM
VC P, VGD
A OU T1
From Indexer Logic
Pre- Step
AEN B L drive Motor
APH A SE
A OU T2
A BD EC A Y
PW M
OC P
A I[2:0]
3 A IS EN
-
+ A =5
A I[2:0]
DAC
3
A BVR EF
VM
OC P
VM
V CP, VGD
BOU T1
Pre-
drive
B EN BL B OU T2
BPH A SE PW M
OC P
B ISEN
-
+ A =5
B I[2:0]
DAC
3
Note that there are multiple VM motor power supply pins. All VM pins must be connected together to the motor
supply voltage.
5 (1)
Example:
If a 0.5-Ω sense resistor is used and the VREFx pin is 2.5 V, the full-scale (100%) chopping current is
2.5 V/(5 × 0.5 Ω) = 1 A.
The reference voltage is also scaled by an internal DAC that allows torque control for fractional stepping of a
bipolar stepper motor, as described in Microstepping Indexer.
The following table shows the relative current and step directions for different settings of xUSM1 and xUSM0. At
each rising edge of the xSTEP input, the indexer travels to the next state in the table. The direction is shown with
the DIR pin high; if the xDIR pin is low the sequence is reversed. Positive current is defined as xOUT1 = positive
with respect to xOUT2.
Note that the home state is 45 degrees. This state is entered at power-up, during sleep mode, or application of
xRESETn.
Motor AB and motor CD act independently, and their indexer logic functions identically.
VM
1 1 Drive current
The DRV8821 also supports a mixed decay mode. Mixed decay mode begins as fast decay, but after a period of
time (75% of the PWM cycle) switches to slow decay mode for the remainder of the fixed PWM period.
Mixed decay mode is only active if the current through the winding is decreasing (per the indexer step table); if
the current is increasing, then slow decay is always used.
Slow or mixed decay mode is selected by the state of the xDECAY pins - logic low selects slow decay, and logic
high selects mixed decay operation.
NOTE
Information in the following applications sections is not part of the TI component
specification, and TI does not warrant its accuracy or completeness. TI’s customers are
responsible for determining suitability of components for their purposes. Customers should
validate and test their design implementation to confirm system functionality.
where
• VM is the motor supply voltage.
• RL is the motor winding resistance. (4)
Figure 13. ½ Step Microstepping with Slow Decay Figure 14. 1/8 Step Microstepping with Slow Decay
Figure 15. 1/2 Step Microstepping with Mixed Decay Figure 16. 1/8 Step Microstepping with Mixed Decay
Figure 17. Example Setup of Motor Drive System with External Power Supply
The voltage rating for bulk capacitors should be higher than the operating voltage, to provide margin for cases
when the motor transfers energy to the supply.
10 Layout
10.3.2 Heatsinking
The PowerPAD™ package uses an exposed pad to remove heat from the device. For proper operation, this pad
must be thermally connected to copper on the PCB to dissipate heat. On a multi-layer PCB with a ground plane,
this can be accomplished by adding a number of vias to connect the thermal pad to the ground plane. On PCBs
without internal planes, copper area can be added on either side of the PCB to dissipate heat. If the copper area
is on the opposite side of the PCB from the device, thermal vias are used to transfer the heat between top and
bottom layers.
For details about how to design the PCB, refer to TI application report, PowerPAD™ Thermally Enhanced
Package SLMA002 and TI application brief, PowerPAD™ Made Easy, SLMA004 available at www.ti.com.
In general, the more copper area that can be provided, the more power can be dissipated. Figure 19 shows
thermal resistance vs. copper plane area for both a single-sided PCB with 2-oz copper heatsink area, and a 4-
layer PCB with 1-oz copper and a solid ground plane. Both PCBs are 76 mm x 114 mm, and 1.6 mm thick. It can
be seen that the heatsink effectiveness increases rapidly to about 20 cm2, then levels off somewhat for larger
areas.
Six pins on the center of each side of the package are also connected to the device ground. A copper area can
be used on the PCB that connects to the PowerPAD™ as well as to all the ground pins on each side of the
device. This is especially useful for single-layer PCB designs.
70
65
60
Thermal Resistance (RqJA) - °C/W
55
50
45
35
30
High-K PCB (4 layer with ground plane)
25
20
0 10 20 30 40 50 60 70 80 90
2
Backside Copper Area - cm
11.3 Trademarks
PowerPAD, E2E are trademarks of Texas Instruments.
All other trademarks are the property of their respective owners.
11.4 Electrostatic Discharge Caution
These devices have limited built-in ESD protection. The leads should be shorted together or the device placed in conductive foam
during storage or handling to prevent electrostatic damage to the MOS gates.
11.5 Glossary
SLYZ022 — TI Glossary.
This glossary lists and explains terms, acronyms, and definitions.
www.ti.com 6-Feb-2020
PACKAGING INFORMATION
Orderable Device Status Package Type Package Pins Package Eco Plan Lead/Ball Finish MSL Peak Temp Op Temp (°C) Device Marking Samples
(1) Drawing Qty (2) (6) (3) (4/5)
DRV8821DCA ACTIVE HTSSOP DCA 48 40 Green (RoHS NIPDAU Level-3-260C-168 HR -40 to 85 DRV8821
& no Sb/Br)
DRV8821DCAR ACTIVE HTSSOP DCA 48 2000 Green (RoHS NIPDAU Level-3-260C-168 HR -40 to 85 DRV8821
& no Sb/Br)
(1)
The marketing status values are defined as follows:
ACTIVE: Product device recommended for new designs.
LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect.
NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design.
PREVIEW: Device has been announced but is not in production. Samples may or may not be available.
OBSOLETE: TI has discontinued the production of the device.
(2)
RoHS: TI defines "RoHS" to mean semiconductor products that are compliant with the current EU RoHS requirements for all 10 RoHS substances, including the requirement that RoHS substance
do not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, "RoHS" products are suitable for use in specified lead-free processes. TI may
reference these types of products as "Pb-Free".
RoHS Exempt: TI defines "RoHS Exempt" to mean products that contain lead but are compliant with EU RoHS pursuant to a specific EU RoHS exemption.
Green: TI defines "Green" to mean the content of Chlorine (Cl) and Bromine (Br) based flame retardants meet JS709B low halogen requirements of <=1000ppm threshold. Antimony trioxide based
flame retardants must also meet the <=1000ppm threshold requirement.
(3)
MSL, Peak Temp. - The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature.
(4)
There may be additional marking, which relates to the logo, the lot trace code information, or the environmental category on the device.
(5)
Multiple Device Markings will be inside parentheses. Only one Device Marking contained in parentheses and separated by a "~" will appear on a device. If a line is indented then it is a continuation
of the previous line and the two combined represent the entire Device Marking for that device.
(6)
Lead/Ball Finish - Orderable Devices may have multiple material finish options. Finish options are separated by a vertical ruled line. Lead/Ball Finish values may wrap to two lines if the finish
value exceeds the maximum column width.
Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information
provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and
continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals.
TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release.
In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis.
Addendum-Page 1
PACKAGE OPTION ADDENDUM
www.ti.com 6-Feb-2020
Addendum-Page 2
PACKAGE MATERIALS INFORMATION
www.ti.com 14-Feb-2019
Pack Materials-Page 1
PACKAGE MATERIALS INFORMATION
www.ti.com 14-Feb-2019
Pack Materials-Page 2
IMPORTANT NOTICE AND DISCLAIMER
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE
DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS”
AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD
PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate
TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable
standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you
permission to use these resources only for development of an application that uses the TI products described in the resource. Other
reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third
party intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims,
damages, costs, losses, and liabilities arising out of your use of these resources.
TI’s products are provided subject to TI’s Terms of Sale (www.ti.com/legal/termsofsale.html) or other applicable terms available either on
ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable
warranties or warranty disclaimers for TI products.
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2020, Texas Instruments Incorporated