User's Guide SLVU815 – November 2012 DRV8313EVM User’s Guide Contents INTRODUCTION ............................................................................................................ 2 1.1 Hardware Block Diagram ......................................................................................... 3 1.2 DRV8313 EVM Hardware Macro Blocks ........................................................................ 4 1.3 Jumper Configuration ...........................................................
INTRODUCTION 1 www.ti.com INTRODUCTION The medium voltage digital motor control (DMC) evaluation module (DRV8313EVM, Figure 1), provides a cost effective sensor-less solution to run a 3-phase BLDC motor in trapezoidal commutation. This document gives the complete detail of the EVM including its hardware details, jumper configuration, operating procedure to run the BLDC motor using GUI and in stand alone. The available GUI only supports sensor-less commutation.
INTRODUCTION www.ti.com WARNING This EVM is meant to be operated in a lab environment only and is not considered by TI to be a finished end-product fit for general consumer use. This EVM must be used only by qualified engineers and technicians familiar with risks associated with handling high voltage electrical and mechanical components, systems and subsystems.
INTRODUCTION 1.2 www.ti.com DRV8313 EVM Hardware Macro Blocks The motor control board is separated into functional groups that enable a complete motor drive system; these are referred to as macro blocks. Following is a list of the macro blocks present on the board and their functions: • DC bus connection at terminal block J2 • 3-phase motor connection at terminal block J3 • DRV8313 – This module includes the DRV8313 three phase PWM motor driver as well as all of the necessary external passive components.
INTRODUCTION www.ti.com JP2: 1. Close it for normal operation 2. Open it for programming J4: JTAG connection for 4-pin SPI-BY-WIRE Programming Manual Reset J7: 5-pin header for Hall-signal interface USB Connector for Speed control POT FTDI UART interface On-Board 5Vcc power supply for Hall-effect JP1: 3.
INSTALLING FTDI DRIVERS www.ti.com DRV8313EVM to enable motor operation. 2 INSTALLING FTDI DRIVERS Download the DRV8313EVM software and development package from the TI Web site: http://www.ti.com/tool/drv8313evm. Find and unzip Step 1 - INSTALL_USB_Driver into a separate folder. See instructions on how to install the FTDI USB driver on a Windows® based computer in the FTDI_Drivers_Install_Readme.pdf file.
INSTALLING Windows® APPLICATION www.ti.com Figure 5. Security Warning Click the ‘Install’ button. You should see the setup in action. Once done extracting the required files, the application will launch itself.
RUNNING THE APPLICATION 4 www.ti.com RUNNING THE APPLICATION For future use, the application can be opened from the following path: Start → All Programs → Texas Instruments Inc. → DRV8313EVM 4.1 Connecting the Hardware to GUI Once the application 'DRV8313EVM' is opened, it tries to connect to the hardware. During this attempt the connection status indicator starts blinking at the rate of ~1 sec. Figure 6.
RUNNING THE APPLICATION www.ti.com Figure 7. Connection Establishment After clicking 'Retry' the connection establishment is again attempted for 10 seconds.
RUNNING THE APPLICATION 4.2 www.ti.com Running the Hardware Once the connection is established as mentioned in first section, the motor parameters can be tuned with the ‘Main’ and ‘Settings’ tabs. Description of each component is given below. Figure 8. Main Tab DC Bus: The bar graph will indicate the DC Bus voltage. Motor Speed (RPM): The motor speed is indicated in the textbox. Flux Threshold: Flux threshold is the integration constant of the motor.
RUNNING THE APPLICATION www.ti.com 4.3 Enable Motor Once the parameters are set, clicking the checkbox should start the motor. Clicking the checkbox again will stop the motor. Figure 9. Settings Tab 4.3.1 Start-Up Process In order to start and run the BLDC motor, the control algorithm applies the “align and go” method. • Align State: The main aim of alignment is to align the rotor to a known position.
ROTATION REVERSAL RUNTIME 5 www.ti.com ROTATION REVERSAL RUNTIME The rotation of the motor can be reversed during runtime. The hardware will try to bring motor to the halt condition first from where it will start to rotate in another direction. During this period of halting the motor by the hardware, the GUI is kept disabled for entering other parameters. Figure 10.
FAULT CLEARING www.ti.com 6 FAULT CLEARING In case of overcurrent/short circuit and overtemperature faults at DRV8313, the fault Indicator turns red as shown below. Clicking on ‘Reset Fault’ at this time will clear the fault and attempt a fresh start and run. Figure 11.
RUNNING THE HARDWARE IN STAND-ALONE MODE 7 www.ti.com RUNNING THE HARDWARE IN STAND-ALONE MODE The firmware loaded by default in the MCU on board is a User Experience code. Using this firmware will need the GUI to run the motor. However, once motor parameters are tuned, the output of the GUI can be used to operate the hardware in a stand-alone mode (without GUI). These parameters are given by the GUI in form of the ‘config.c’ file which is further used to change the code inside the MCU on hardware.
www.ti.com RUNNING THE HARDWARE IN STAND-ALONE MODE Figure 13. CCS Imported Project Generated config.c file shall be added to the project and then GUI.c must be excluded from the project to create the firmware for the stand-alone mode. Figure 14.
www.ti.com Appendix A InstaSPIN-BLDC Implementation InstaSPIN-BLDC is TI’s one of the key flagship motor control technology targeted for cost sensitive sensor-less BLDC applications. This sensor-less technique uses traditional trapezoidal or 120° commutation and monitors motor flux by integrating back-EMF of non-energized phase to determine the commutation instances.
Appendix A www.ti.com InstaSPIN-BLDC method requires precise sensing of back-EMF of open-phase of motor to determine the commutation instant. As shown in Figure 15, for first 0 to 60 degree interval, PWM is applied only to phase-A top switch and in phase-C bottom switch is continuously ON, back-EMF of open-phase B is rising and can be measured and integrated to determine the commutation instant.
Tuning the Motor With Proper Flux Threshold A.1 www.ti.com Tuning the Motor With Proper Flux Threshold As shown in Figure 15, the commutation instance is derived by integrating back-emf of non-energized phase (obtain during each PWM on pulse) and comparing the integrated value to pre-defined threshold. This threshold is in fact equivalent to flux of the motor because it is compared with integrated value of back-emf.
Tuning the Motor With Proper Flux Threshold www.ti.com Symmetrical input waveforms Flat-top Non-Peaky current Figure 18.
www.ti.com Appendix B MSP430 Programming Using Code Composer Studio (V5) After opening Code Composer Studio, under the Project menu, select Import Existing CCS Eclipse Project. Figure 19.
Appendix B www.ti.com Browse to the directory containing the firmware. Check the CCS project found and click on the Finish button. You may choose to copy the project into workspace before this. Figure 20. Selecting CCS Eclipse Project Build the project by clicking on the title and then clicking the Build button as shown in the image below. Figure 21.
Appendix B www.ti.com Download the code onto the board by clicking the Debug button as shown in the following image. Figure 22. Debug Once the download is successful, click the Resume button as shown in the image below. Figure 23.
Compiling Without GUI.c www.ti.com B.1 Compiling Without GUI.c For stand-alone mode GUI.c can be excluded from the build and config.c can be added. Refer to the below screen shots for exclusion of GUI from the project build. Figure 24. Exclude from Build Figure 25.
Compiling Without GUI.c www.ti.com Figure 26.
EVALUATION BOARD/KIT/MODULE (EVM) ADDITIONAL TERMS Texas Instruments (TI) provides the enclosed Evaluation Board/Kit/Module (EVM) under the following conditions: The user assumes all responsibility and liability for proper and safe handling of the goods. Further, the user indemnifies TI from all claims arising from the handling or use of the goods.
FCC Interference Statement for Class B EVM devices This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications.
【Important Notice for Users of this Product in Japan】 】 This development kit is NOT certified as Confirming to Technical Regulations of Radio Law of Japan If you use this product in Japan, you are required by Radio Law of Japan to follow the instructions below with respect to this product: 1. 2. 3. Use this product in a shielded room or any other test facility as defined in the notification #173 issued by Ministry of Internal Affairs and Communications on March 28, 2006, based on Sub-section 1.
EVALUATION BOARD/KIT/MODULE (EVM) WARNINGS, RESTRICTIONS AND DISCLAIMERS For Feasibility Evaluation Only, in Laboratory/Development Environments. Unless otherwise indicated, this EVM is not a finished electrical equipment and not intended for consumer use.
IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve 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.