12V To 24V, 27A Brushed DC Motor Reference Design: TI Designs
12V To 24V, 27A Brushed DC Motor Reference Design: TI Designs
12V To 24V, 27A Brushed DC Motor Reference Design: TI Designs
Date: 8/26/2015
www.ti.com
TI Designs
Board Image
VREF
LMT86DCKT
ENABLE
Temperature ADC
PHASE
Sensor
SLEEPn
MSP430G2553 DRV8701 CSD1854Q5B
Switch MCU BDC
SO Gate Driver MOSFETs
FAULTn
ADC
BATTERY MONITOR
1 kΩ 14.4 kΩ
Battery
3.3V LDO Typical sustained 3.3 V supply measured on DVDD pin of DRV8701 3.3 V See Section 8.1
4.8 V LDO Typical sustained 4.8 V supply measured on AVDD pin of DRV8701 4.8 V See Section 8.1
Current Limiting Limiting current supplied to motor using VREF voltage measurement See Section 8.5
Forcibly injected settling time between when opposite signals on the
Dead Time
same side of the H-Bridge change state
380 ns See Section 8.3
Direction Switch Direction toggle switch routed through MSP430G2553 to debounce the state
Debounce change prior to being routed to the DRV8701
See Section 8.4
Sense Amplifier Amplifies the voltage drop across the sense resistor at the base of the H-Bridge
Voltage and is measured on SO pin of DRV8701
See Section 8.6
Thermal No motor load current of 2.85 Amps and maximum
Information load current of 27.47 Amps
36.6° C 127.7° C See Section 8.7
No load at 2.85 Amps and maximum load at 27.47
RMS Motor Power
Amps
28.25 W 343.4 W See Section 8.8
68 kΩ to AVDD Pin setting Source Current and Sink
IDRIVE
Current
150 mA 300 mA See Section 2.4
Texas Instruments MSP430G2553 programmed in circuit using a four wire SPI
Microcontroller
interface
See Section 4.7
Driver Texas Instruments DRV8701 Brushed DC Motor Driver See Section 4.6
2 System Description
Brushed motors are a relatively popular option for motor designs because of their low price and
simple control scheme. A brushed motor has a wire-wound rotor and permanent magnet stator.
The commutation of the motor is achieved using conductive rings that are connected to the rotor
using brushes that scrape against the commutator rings. This allows the direction of current
through the motor to change based on the orientation of the brushes and different commutation
rings. Utilizing an H-Bridge allows for easy direction and speed control changes to be applied
quickly and efficiently to the brushed DC motor.
An electronic drive is required to control the motor currents in a brushed DC motor. The
electronic drive circuit consists of:
A power stage with two-phase inverter meeting the required power capability
Microcontroller to implement the motor speed commands and fault handling
Current sensing for motor startup / stall protection
Gate driver for controlling the two-phase inverter
Power supply for microcontroller and other low voltage devices
The PWM signals used to control the motor are generated using the MSP430G2553. By
sampling the wiper voltage of the Speed potentiometer and comparing that sample to Timer_A
of the MSP430 a PWM signal with varying duty cycle and a constant switching frequency is
created as shown in Figure 3 below.
Pulse Width
Modulation
DVDD
V SPEED ADC
+
Switching
- Frequency
Timer A – Up Mode
TA1CCR0
Output
Low
V SPEED_SAMPLE
Output
High
Switching
Frequency
In the event that VSO is greater than or equal to VREF the output of the SNSOUT Pin is pulled low
to indicate a driver fault and the DRV8701 is current chopping the gate signals. While VSO is
less than VREF the output of the SNSOUT pin can be pulled logic high using an external pull up
resistor indicating that the device is operating in a typical drive current state. An example of a
driving current scheme with current chopping is shown in Figure 4 below.
In Figure 4 above the motor is being initially driven and the current draw from the supply
increases. Once the voltage measured across the sense resistor (VSO) is equal to or greater
than VREF the SNSOUT Pin is pulled low and the output gate signals are cut off for the
remainder of that PWM switching interval. On the next PWM switching interval the induction of
the motor still retains some of the current run through the motor on the last drive cycle resulting
TIDA-00620 - 8/26/2015 12V to 24V, 27A Brushed DC Motor Reference Design 5
in the driver spending a smaller amount of time driving the motor before VSO is equal to VREF and
the gate signals to the bridge are cut off.
2.3 IDRIVE
Using the DRV8701 to provide gate signals to the MOSFETs in the two-phase inverter allows
for the selection of ISINK and ISOURCE currents using the IDRIVE settings. The goal in controlling
ISOURCE and ISINK is to tune the amount of current supplied to the gates of the four MOSFETs in
the H-Bridge and achieve the desired slew rate between active and saturated regions without
supplying excess current to the device. If the slew rate of the MOSFETs is too low the device
will spend too much time in the Miller Region shown in Figure 5 below.
While the device is operating in the Miller region the RDS value of the MOSFET is changing from
RDS_OFF to RDS_ON while the current is kept constant. Having a higher resistance as a large
amount of current runs through the device results in the generation of heat for the period of time
the device is operated in the Miller region. Properly matching the ISINK and ISOURCE currents to
the gate capacitances of the selected MOSFETs generates a faster slew rate which results in
less time spent in the Miller region and less heat dissipated through the device.
TIDA-00620 - 8/26/2015 12V to 24V, 27A Brushed DC Motor Reference Design 6
3 Block Diagram
VREF
LMT86DCKT
ENABLE
Temperature ADC
PHASE
Sensor
SLEEPn
MSP430G2553 DRV8701 CSD1854Q5B
Switch MCU BDC
SO Gate Driver MOSFETs
FAULTn
ADC
BATTERY MONITOR
1 kΩ 14.4 kΩ
Battery
3.1.1 DRV8701ERGER
The DRV8701 is a single H-bridge gate driver that uses four external N-channel MOSFETs
oriented in a two-phase inverter to drive one bidirectional brushed DC motor. The Phase /
Enable (DRV8701E) control scheme allows simple interfacing to microcontroller circuits. An
internal sense amplifier allows for adjustable current control using an external sense resistor.
The gate driver includes the ability to control the winding current using fixed off-time PWM
current chopping. The DRV8701 drives both high- and low-side FETs with 9.5-V VGS gate drive
sourced from an integrated charge pump. The gate drive current for all external FETs can be
configured with a single external resistor on the IDRIVE pin.
3.1.2 MSP430G2553IPW20
The MSP430G2553 is an ultra-low-power microcontroller that consists of many different device
features. Some of these features include five different low-power modes, a 16-bit RISC CPU,
16-bit registers, and constant generators. Using the Digitally Controlled Oscillator (DCO) the
MSP430G2553 can wake up from low-power modes in less than 1 µs.
3.1.3 CSD18540Q5B
The CSD18540Q5B is a 60 V N-Channel MOSFET with an RDS rating of 1.8 mΩ. The device is
desired for power conversion applications because of its design for minimized losses and small
SON 5-mm × 6-mm footprint.
3.1.4 LMT86DCKT
The LMT86DCKT is a precision CMOS temperature sensor that utilizes an analog output
voltage that is linearly and inversely proportional to temperature. This device can operate down
to a 2.2 V supply with 5.4 µA making it an ideal device to use with battery operated applications.
The power stage takes up a large footprint on this board beause the copper planes on the PCB
are used to descipate the heat generated by the sense resistor and four power MOSFETs
instead of using an external finned heat sink. Each of these planes has a large number of vias
linking the top plane with the bottom plane to help with curernt flow and move heat to the bottom
plane to help with dissipation. The four NexFET MOSFETs have a RDS_ON of 1.8 mΩ and the
maximum amount of sustained current drawen in testing this PCB design was 27.47 Amps.
Using equation 2 and 3 below each active MOSFET was dissipating approximately 1.358 Watts
of power while the sense resistor was dissipating approximately 3.773 Watts.
tSTARTUP = - (ln (VZENER / VM)) * R25 * C16 = -(ln(3.3 V /18 V)) * 1 kΩ * .47 µF = 797.33 µs (4)
During this time the DVDD LDO is turned on in the DRV8701 driver allowing for the
MSP430G2553 to be powered on. As soon as the MSP430G2553 is powered on the GPIO pin
connected to SLEEPn is pulled high for the duration of the devices operation.
4.5 H-Bridge
The N-Channel NexFET MOSFETs are used in each of the four switching positions in the H-
Bridge as shown in Figure 11 below. 0 Ω resistors are placed between the gate of each
MOSFET and gate drive pins of the DRV8701 to allow for each MOSFET to be disconnected
from the driver by quickly removing the resistor. Connections to the sense amplifier pins of the
DRV8701 are tied to the drain and source of each corresponding MOSFET within the bridge to
aid the driver in measuring VDS of each of the four MOSFETs. RSENSE also has a dedicated
sense amplifier that allows the DRV8701 to monitor the voltage drop across RSENSE and use this
value to monitor the motor current. By measuring VDS of each MOSFET the DRV8701 can
protect against over current events and will flag a fault condition when VDS is above 800 mV.
4.6 DRV8701
The DRV8701 schematic below in Figure 12 illustrates the placement of stabilization capacitors
connected to the outputs of each LDO regulator and the DRV8701 supply voltage VM. Both the
3.3 V and 4.8 V internal regulators are Low-Dropout (LDO) regulators which result in switching
transients that need to be properly stabilized in order for the output voltage rail to be usable by
other devices. The supply voltage VM is tied to both a large bulk capacitor C5 and a smaller
capacitor C4. This rail requires a large bulk capacitance close to the DRV8701 because it is
shared with the switching components of the H-Bridge, meaning it is susceptible to possible
voltage drooping that could damage the driver.
4.7 MSP430G2553
Shown below in Figure 13 is the schematic for the MSP430G2553 placement. Two capacitors
are placed on the power pin DVCC_MSP to allow for adequate transiant filtering prior to the
input pin of the device. This allows for any sudden and momentary drop in supply voltage to be
filtered out of the rail prior to being supplied to the MSP430G2553. This configuration of the
device does not need to utilize any external crystal oscillators or other peripheral timing
connections. The supply voltage for the MSP430G2553 is sourced from the 3.3 V LDO of the
DRV8701 and the devices are connected together using a 0 Ω resistor allowing for quick
disconnection of the power rail in the event that the user wants to externally power the
MSP430G2553.
#include <msp430g2553.h>
int Speed;
int Temp;
int Battery_Voltage;
void Speed_Pole();
void Temp_Monitor();
void Battery_Monitor();
void main(void)
{
WDTCTL = WDTPW + WDTHOLD; // Stop Watch Dog Timer
TA1CCR0 = 255; // PWM Period, maximum value for Timer A1(8 MHz/255 = 31.372 kHz)
TA1CCTL1 = OUTMOD_7; // CCR1 reset/set
TA1CTL = TASSEL_2 + MC_1; // Chooses SMCLK and Up Mode
If the battery voltage for this design is dipped below 10.08 V or above 28.8 V the MSP430 will
pull the SLEEPn pin of the DRV8701 low, thus disabling the 3.3 V LDO and shutting down the
entire control / driver system. The board can be restarted by reapplying the correct voltage
based on the above calculations.
void Battery_Monitor(void)
{
if((P1IN & BIT3) == BIT3){ // If P1.3 is pulled high then pull Pin 2.5 high
P2OUT |= BIT5; // Set State of Pin 2.5 as high
}
else{ // If P1.3 is initially pulled low then pull Pin 2.5 low
P2OUT &= (~BIT5); // Set state of Pin 2.5 as low
}
Battery_Monitor();
Speed_Pole();
Temp_Monitor();
TA1CCR1 = (Speed/4); // Normalize 10BitADC Speed Value to 8Bit Timer A Register and
// write to TA1CCR1 Register
}
TIDA-00620 - 8/26/2015 12V to 24V, 27A Brushed DC Motor Reference Design 22
7 Test Setup
HC785LP-012
DC Brake Torque Sensor BDC
DRV8701
Variable DC
Digital Multi-Meter MSP430G2553
Power Supply
NexFET H Bridge
18 Volt DC Power
Supply
The motor shaft is connected to a DC brake through a torque sensor. The brushed DC
Motor is rated to deliver a shaft torque of 148.10 mNm at 19.99 Amps and 18310 RPM.
The motor is loaded by means of a DC brake controlled by a variable DC supply. The
speed of the motor is kept constant and the voltage supplied to the variable DC brake
was incrementally increased to adjust the load needed to be produced by the DC motor.
The motor supply current was incremented in 1 Amp intervals and the resulting torque
reading from the torque sensor as well as maximum PCB temperature measured using a
thermal camera were recorded. The RMS power delivered to the motor was also
recorded by measuring the RMS current supplied to the motor and multiplying that by
the RMS voltage measured across the motor terminals. The supply voltage (VM) for the
driver was kept at a constant 18 Volts. No exhaust fans or heat sinks were used for the
maximum PCB temperature measurements.
8 Test Data
Figure 24. Complimentary High Side and Low Side Gate Signals
107.4
119.7
131.3
141.3
155.0
170.8
183.8
194.5
207.4
221.2
236.1
250.8
256.0
274.2
287.1
296.1
306.7
326.0
343.4
RMS Power Delivered to Motor (Watts)
Figure 38. RMS Powered Delivered to Motor vs. Max PCB Temp
The device testing stopped at 127.6° C after the last 10 second interval because the
recommended maximum temperature for operation is 125.0° C so the device was raised above
this threshold for a very short period of time at the end of the last load test. If the device were to
be operated at a higher power range it could safely deliver a larger power output if it the amount
of time it was operated for were significantly decreased.
The voltage and current delivered to the motor are represented as RMS values because the H-
Bridge is supplying PWM signals to the motor, meaning a peak value for either voltage or
current would only should how the supply is operating during a driving period of each PWM
frame. A more realistic figure for power delivered to the motor is the RMS value which is
reported showing the average power delivered over the 10 second test interval.
9 Design Files
9.1 Schematics
9.1.1 MSP430G2553
9.1.2 DRV8701
9.1.3 H-Bridge
9.1.4 Protection
9.1.11 IDrive
Bill of Materials
TIDA-00620
Manufacturer PCB
Item Qty Reference Value Part Description Manufacturer
Part Number Footprint
1 1 !PCB Printed Circuit Board Any TIDA-00620
CAP, CERM, 0.1uF, 10V, +/-
2 1 C1 0.1uF
10%, X7R, 0603
Kemet C0603C104K8RACTU 0603
27 2 R10, R11 10.0k RES, 10.0 k, 1%, 0.1 W, 0402 Panasonic ERJ-2RKF1002X 0402
RES, 0.005, 1%, 6 W,
28 1 R16 0.005
4320_WIDE
Susumu Co Ltd KRL11050-C-R005-F-T1 4320_WIDE
29 2 R17, R18 330 RES, 330, 1%, 0.1 W, 0603 Yageo America RC0603FR-07330RL 0603
Thumbwheel
30 2 R21, R22 200k Trimmer, 200 K, 0.5 W, TH Bourns 3352P-1-204LF
Trimmer
RES, 13.3 k, 1%, 0.063 W,
31 1 R23 13.3k
0402
Vishay-Dale CRCW040213K3FKED 0402
RES, 1.0 k, 5%, 0.063 W,
32 1 R24 1.0k
0402
Vishay-Dale CRCW04021K00JNED 0402
RES, 1.00 k, 1%, 0.063 W,
33 1 R25 1.00k
0402
Vishay-Dale CRCW04021K00FKED 0402
Switch, SPDT, On-On, 2 Pos, Switch,
34 1 S1
TH
E-Switch 200USP1T1A1M2RE
7x4.5mm
16 MHz Mixed Signal
Microcontroller with 16 KB
Flash, 512 B SRAM and 24
35 1 U1
GPIOs, -40 to 85 degC, 20-
Texas Instruments MSP430G2553IPW20 PW0020A
pin SOP (PW), Green (RoHS
& no Sb/Br)
H-Bridge Gate Driver,
36 1 U2
RGE0024F
Texas Instruments DRV8701ERGER RGE0024F
TOP SILKSCREEN
TOP LAYER
BOTTOM LAYER
BOTTOM SILKSCREEN
MECHANICAL DIMENSIONS
Texas Instruments Incorporated ("TI") reference designs are solely intended to assist designers (“Buyers”) who are developing systems that
incorporate TI semiconductor products (also referred to herein as “components”). Buyer understands and agrees that Buyer remains
responsible for using its independent analysis, evaluation and judgment in designing Buyer’s systems and products.
TI reference designs have been created using standard laboratory conditions and engineering practices. TI has not conducted any
testing other than that specifically described in the published documentation for a particular reference design. TI may make
corrections, enhancements, improvements and other changes to its reference designs.
Buyers are authorized to use TI reference designs with the TI component(s) identified in each particular reference design and to modify the
reference design in the development of their end products. HOWEVER, NO OTHER LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL
OR OTHERWISE TO ANY OTHER TI INTELLECTUAL PROPERTY RIGHT, AND NO LICENSE TO ANY THIRD PARTY TECHNOLOGY
OR INTELLECTUAL PROPERTY RIGHT, IS GRANTED HEREIN, including but not limited to any patent right, copyright, mask work right,
or other intellectual property right relating to any combination, machine, or process in which TI components or services are used.
Information published by TI regarding third-party products or services does not constitute a license to use such products or services, or a
warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual
property of the third party, or a license from TI under the patents or other intellectual property of TI.
TI REFERENCE DESIGNS ARE PROVIDED "AS IS". TI MAKES NO WARRANTIES OR REPRESENTATIONS WITH REGARD TO THE
REFERENCE DESIGNS OR USE OF THE REFERENCE DESIGNS, EXPRESS, IMPLIED OR STATUTORY, INCLUDING ACCURACY OR
COMPLETENESS. TI DISCLAIMS ANY WARRANTY OF TITLE AND ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT, QUIET POSSESSION, AND NON-INFRINGEMENT OF ANY THIRD PARTY
INTELLECTUAL PROPERTY RIGHTS WITH REGARD TO TI REFERENCE DESIGNS OR USE THEREOF. TI SHALL NOT BE LIABLE
FOR AND SHALL NOT DEFEND OR INDEMNIFY BUYERS AGAINST ANY THIRD PARTY INFRINGEMENT CLAIM THAT RELATES TO
OR IS BASED ON A COMBINATION OF COMPONENTS PROVIDED IN A TI REFERENCE DESIGN. IN NO EVENT SHALL TI BE
LIABLE FOR ANY ACTUAL, SPECIAL, INCIDENTAL, CONSEQUENTIAL OR INDIRECT DAMAGES, HOWEVER CAUSED, ON ANY
THEORY OF LIABILITY AND WHETHER OR NOT TI HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, ARISING IN
ANY WAY OUT OF TI REFERENCE DESIGNS OR BUYER’S USE OF TI REFERENCE DESIGNS.
TI reserves the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per
JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue. Buyers should obtain the latest relevant
information before placing orders and should verify that such information is current and complete. All semiconductor products are sold
subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms
and conditions of sale of semiconductor products. Testing and other quality control techniques for TI components are used to the extent TI
deems necessary to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not
necessarily performed.
TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products and
applications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provide
adequate design and operating safeguards.
Reproduction of significant portions of TI information in TI data books, data sheets or reference designs is permissible only if reproduction is
without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for
such altered documentation. Information of third parties may be subject to additional restrictions.
Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements
concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support
that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards that
anticipate dangerous failures, monitor failures and their consequences, lessen the likelihood of dangerous failures and take appropriate
remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use of any TI components in
Buyer’s safety-critical applications.
In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to
help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and
requirements. Nonetheless, such components are subject to these terms.
No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties
have executed an agreement specifically governing such use.
Only those TI components that TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use in
military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components that
have not been so designated is solely at Buyer's risk, and Buyer is solely responsible for compliance with all legal and regulatory
requirements in connection with such use.
TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of
non-designated products, TI will not be responsible for any failure to meet ISO/TS16949.IMPORTANT NOTICE
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2015, Texas Instruments Incorporated