Firmware And Gui Application; C2000 Instaspin Universal Gui; Motor Identification - Texas Instruments DRV8317HEVM User Manual

Table of Contents

Advertisement

www.ti.com

6 Firmware and GUI Application

The DRV8317HEVM can implement sensored, sensorless, or Field-oriented control for commutating a 3-phase
Brushless-DC motor. The supported firmware is a sensorless Field-oriented control algorithm adapted from
Texas Instruments'
MotorControl SDK
a sensorless FOC algorithm to spin the motor. The firmware uses the DRV8317HEVM InstaSPIN Universal GUI
to run the algorithm and includes tabs to read from and write to the DRV8317 SPI registers (DRV8317S only).
The steps below will describe how to identify useful motor parameters, spin the motor, and work with the
DRV8317S SPI registers. For more information on more advanced features of the C2000 InstaSPIN Universal
GUI such as torque and speed control, MTPA, or Field-weakening, consult the MotorControl SDK InstaSPIN Lab
Guide (in the
MotorControl Software Development Kit tool
User's
Guide.

6.1 C2000 InstaSPIN Universal GUI

1. Follow the instructions in
power supply is turned on to the DRV8317HEVM PCB.
2. Search for the GUI Composer Galllery through https://dev.ti.com/gallery/search/DRV8317xevm. You will
need to login with a myTI account in order to access the GUI.
3. Accept the readme if the readme message pops up.
4. Select the "InstaSPOIN-FOC" tab at the top right hand corner to go to the main page of the GUI. Check the
bottom left corner of the GUI to see if the GUI flashes the algorithm to the MCU as shown in
Once the device has completed flashing the algorithm, it should show "Hardware Connected" in the bottom
left corner.
Figure 6-1. C2000 InstaSPIN Universal GUI Downloading Program

6.2 Motor Identification

1. Check the "Enable System" box to enable the InstaSPIN algorithm and run preset calibrations. Wait for the
"OffsetCalc" button to uncheck automatically to finish calibrating board offsets.
2. Check the "Run" box to begin the motor identification algorithm as shown in
begin to spin and stop as it goes through many states to calculate and identify useful motor parameters for
sensorless Field-oriented control. This should take no more than a few minutes.
3. Once the motor identification process is complete, the "Motor Identified" indicator will light up, the "Run" box
will be automatically unchecked, and the values Rs, Rs Online, Ls-d, Ls-q, Flux, and Rr will update for that
motor as shown in
Figure
SLVUCL3 – DECEMBER 2022
Submit Document Feedback
Library of motor solutions. The firmware includes motor identification and
Section 5
and ensure the LAUNCHXL-F280049C is connected to the PC and the
6-3. These values will be automatically used for Field-oriented control.
Copyright © 2022 Texas Instruments Incorporated
page) and
InstaSPIN-FOC and InstaSPIN-MOTION
Figure
Firmware and GUI Application
Figure
6-1.
6-2. The motor will
DRV8317HEVM User's Guide
15

Advertisement

Table of Contents
loading

Table of Contents