The DRV8300 is a gate driver IC for three-phase motor drive applications. It provides three high-accuracy trimmed and temperature compensated half-bridge drivers, each capable of driving high-side and low-side N-type MOSFETs.
Along with the hardware of the DRV8300, the TMS320F280049C microcontroller-based board has reference software that sends necessary signals to the DRV8300 to spin a 3-phase Brushless-DC motor. GuiComposer software allows the user to program settings, enable the motor to spin, and monitor the system from fault conditions.
This document is designed to be used as a startup guide to the DRV8300 EVM and LAUNCHXL-F280049C solution. This document is intended for the engineers involved in the design, implementation, and validation of DRV8300 + TMS320F280049C reference software.
The scope of this document is to provide the user with a guide to evaluate the DRV8300 device with a TMS320F280049C isolated board. This document covers the hardware connections required between boards and external motor/supplies. When the hardware connections are complete, the user is required to download the necessary tools and software to spin a motor.
The reference software is composed of GuiComposer software with sensored trapazoidal algorithm for BLDC motor control.
The following section describes the EVM hardware and connections to the external supply, hall sensors, PC via USB, and motor.
The DRV8300Dxxx-EVM must plug into the lower LAUNCHXL-F280049C Launchpad headers as shown below.
To minimize the risk of potential shock hazard and personal injury, remove all power connections and interfaces to the DRV8300Dxxx-EVM when not in use.
The DRV8300Dxxx-EVM is designed for an input supply from 6 VDC to 100 VDC and up to 25-A continuous drive current (software limited). The input connects to J4 with the noted polarity. PVDD_TP connects to the same node but must not be used for high current input. PVDD input is fused with a 30 A fuse and the input connector is rated for 32 A.
Hall sensors are connected to J7 including hall power and GND. The 3.3 VDC supply to the Hall sensors is supplied from the 3.3 V LDO on the EVM. External hall power can be input through the HALL_EXT test point if a different supply or voltage level is desired. To use the included 3.3 V LDO to power the halls, connect J3 on the right side to pins 1:2 as shown. To use HALL_EXT, connect J3 on the left side to pins 2:3. To insert or remove wires/terminals on J7, use a flat blade screwdriver to push down the respective tab on top of the J7 connector.
Motor Phase connections must match the hall sensor connection sequence. For example, MOTA must match HALL_A, MOTB must match HALL_B, MOTC must match HALL_C. The phases must also be in sequential order; A, then B, then C.
If the motor phases do not match the hall sensors or the connections are made out of order, the motor will not spin smoothly and current consumption will increase.
The three phase inputs of the motor connect to MOTA/MOTB/MOTC through connector J5.
The DRV8300 implements Bootstrap Undervoltage, GVDD Undervoltage, and Thermal Shutdown in case of overtemperature. See the DRV8300 Datasheet for more information on DRV8300 fault support.
The DRV8300Dxxx-EVM implements Overvoltage and Undervoltage on the PVDD and GVDD supplies as well as Gross Over-Current protection. Status LEDs for the 3.3 V, PVDD, GVDD, and FAULT are included and shown below.
The FAULT LED will light up if the EVM senses a fault due to the following conditions:
FAULT | Lower Limit | Upper Limit | Action Taken |
---|---|---|---|
PVDD | 6 V | 100 V | PWM Input forced to 0%. |
GVDD | 6 V | 20 V | PWM Input forced to 0%. |
Over-Current | -25 A | 25 A | PWM Input forced to 0%. |
The Faults can be reset in the GUI software using the CLEAR FAULTS button. More details on the GUI can be found in the Software section below.
The AREF Select jumper selects the offset for the Current Shunt Amplifiers on the EVM. The default position is to the left on pins 1:2 which configures the CSA for Bi-directional mode (offset 1.65 V) allowing the CSA input to sense positive or negative current. Placing the jumper to the right on pins 2:3 configures the CSA for Unidirectional mode (offset 0 V) which allows only positive currents to be measured. This does increase the measurement range of the CSA.
The GVDD Select jumper allows the user to use the built-in 12 V Buck Regulator to generate GVDD or input it externally through GVDD_EXT. The default position is to the left on pins 1:2 which configures the EVM for internal mode (GVDD from the buck regulator). Placing the jumper to the right on pins 2:3 configures the board for external GVDD mode (GVDD supplied into GVDD_EXT test point).
This section describes the steps to prepare the DRV8300Dxxx-EVM for first motor spin-up. This section assumes the default jumper positions mentioned above are used.
This section details the features of the EVM GUI Software. The GUI is written in GUI Composer and is available on the development software gallery at dev.ti.com/gallery. Once logged into the TI system, if you cannot find the GUI you may need to request access from your TI representative.
The GUI will Connect to and program the C2000 MCU on the LAUNCHXL-F280049C board when launched assuming the board is connected/powered.
The GUI includes the following indicators and controls:
Item # | Item Name | Item Description |
---|---|---|
1 | EVM Selection | Select the EVM connected to the PC, either DRGE or DIPW. |
2 | Output Enable |
This will enable or disable the Duty Cycle slider. When disabled, the Duty Cycle is automatically set to 0%. |
3 | Duty Cycle % | This controls the Duty Cycle % input sent to the DRV8300. Note that the PWM frequency is fixed at 20 kHz. |
4 | Acceleration Delay | Number of processing cycles to skip in each update of the PWM and GUI controls. Increase this for slower PWM update rate or decrease for faster PWM update rate. |
5 | CSA Bi-Directional Enable | Enabled by default, this controls the software offset for the CSA. This should match the selection of jumper J8. |
6 | Over-Current Limit | Software Over-Current limit for gross overcurrent detection and Fault. |
7 | Current Sense Resistor | Current sense resistor value populated on board, default is 0.003 ohms. |
8 | CSA Gain | CSA gain resistor setting, hardware resistor, default 10 V/V. |
9 | Fault Status LED | Indicator for overall Fault status. Logical OR of all faults. |
10 | CLEAR FAULTS | Click this button to clear the Fault warning. If the Fault persists, this control will not disable or clear the Faults. |
11 | PVDD Fault LED | Indicates a PVDD fault has occured, either overvoltage or undervoltage. |
12 | GVDD Fault LED | Indicates a GVDD fault has occured, either overvoltage or undervoltage. |
13 | Over-Current Fault LED | Indicates a gross Over-Current fault has occured. Limit is set by control (5). |
14 | PVDD Voltage Indicator | PVDD voltage sensed by the MCU. |
15 | GVDD Voltage Indicator | GVDD voltage sensed by the MCU. |
16 | Board Temperature | Temperature sensor on the bottom of the PCB located under the FETs. |
17 | Connection Status and Control | Displays if the GUI is connected to the hardware. |
Once the hardware is connected, the FAULT Status and Voltage Monitors should match the EVM. If these do not match then please remove EVM power and recheck the setup.
To spin the motor: