Texas Instruments DRV8899-Q1 Скачать руководство пользователя страница 5

www.ti.com

GUI Application

5

SLVUBR6A – October 2019 – Revised October 2019

Submit Documentation Feedback

Copyright © 2019, Texas Instruments Incorporated

DRV8899-Q1 EVM GUI User's Guide

3.3.1.1

Stepper Control Modes

The GUI allows the user to control the stepper motion profile in two modes – Speed Mode and Step Mode.
To toggle between the modes, use the toggle button at the top of the screen.

3.3.1.1.1

Speed Mode

Speed Mode allows the user to spin the stepper motor continuously at a desired speed. The user
configures the starting speed, stopping speed, acceleration rate, and target speed. Stepper controls are
enabled only when 'Motor Driver' control is enabled for example, DRVOFF pin is set to low. The ‘Start
Steps’ button is enabled only when ‘Driver Outputs' control is enabled for example, DRVOFF pin is set to
low. When the ‘Start Steps’ button is clicked, the motor begins spinning at the starting speed and
accelerates to the target speed according to the configured acceleration rate. The acceleration profile in
the microcontroller firmware accepts the starting-speed and target-speed PPS values and calculates the
appropriate PWM clock period to create the stepping signal on the STEP pin. When the ‘Start steps’
button is clicked, the PWM timer generates steps at a rate specified by the 'Starting Speed' PPS
parameter. When ‘Stop Steps’ is clicked, the motor starts decelerating at the ‘Acceleration Rate’
configured to reach the stopping speed and eventually stop. The configuration is visualized by the
embedded graph shown on the GUI screen (

Figure 5

).

When accelerating or decelerating, the PPS signal is adjusted every 32 ms based on the integer value of
PPSPS / 32 ms. Acceleration rates must be between 1 and 65,535 PPSPS. The step rate increases by
the calculated value until the target speed is reached.

The starting speed must be less than or equal to the target speed. If the starting speed and target speed
are equal, the EVM firmware will not perform an acceleration routine. The stopping speed must also be
less than or equal to the target speed. The target speed is limited to a range between 1 and 65,535 PPS.

The 'Start Steps' command computes how frequently automatic speed updates are issued and a second
timer is used to change the speed according to the programmed acceleration rate profile. Once clicked,
the motor will begin spinning according to the parameters set in the GUI.

When the target speed PPS value is reached, the acceleration profile ends, and the motor continues
running at the target speed until the 'Stop Steps' button is clicked. When the stepper is commanded to
stop, the controller performs the same actions as it did while accelerating, but in reverse order, to
decelerate until the stopping speed PPS value is reached. At this point, the motor fully stops.

Figure 5. Controls available for Speed Mode

Содержание DRV8899-Q1

Страница 1: ...M User s Guide Contents 1 Overview 2 2 Hardware and Software Setup 2 3 GUI Application 2 3 1 Installation 2 3 2 Getting Started with DRV8899 Q1EVM GUI 2 3 3 Use the DRV8899 Q1EVM GUI 2 List of Figures...

Страница 2: ...DRV8899 Q1 DRV8899 Q1 EVM Stepper motor Voltage supply from 4 5 V to 45 V This document only describes the installation and usage of the DRV8899 Q1 EVM GUI For additional details on hardware connectio...

Страница 3: ...COMxx 9600 Connected to Target message appears as shown in Figure 2 below Figure 2 Figure 2 DRV8899 Q1 EVM GUI Device Connection pane If the GUI fails to connect to the EVM the hardware connection st...

Страница 4: ...d with a green checkmark as shown in Figure 1 Click on the Stepper Motor button to open the stepper control page 3 3 1 Stepper Control Page The Stepper Control page shown in Figure 4 includes various...

Страница 5: ...ameter When Stop Steps is clicked the motor starts decelerating at the Acceleration Rate configured to reach the stopping speed and eventually stop The configuration is visualized by the embedded grap...

Страница 6: ...parameters have been added to properly control the limited number of steps actuation These parameters are described as follows Number of Steps This parameter is the number of steps that the controlle...

Страница 7: ...e stop speed is reached 3 Motor runs out of steps before reaching stop speed www ti com GUI Application 7 SLVUBR6A October 2019 Revised October 2019 Submit Documentation Feedback Copyright 2019 Texas...

Страница 8: ...tomotive Stepper Motor Driver datasheet 3 3 3 Fault Monitoring The fault monitor section at the right side of the screen allows the user to configure monitor the various device faults The LED staying...

Страница 9: ...e 9 DRV8899 Q1 EVM GUI Registers Page 3 3 5 Using Register Map 1 Configure desired motion profile in the GUI in Speed Mode The default values will be acceptable for immediate evaluation 2 Configure de...

Страница 10: ...Device The user can load the firmware out file onto the device by clicking this option For the firmware load to work MSP430 FET needs to be plugged into the J2 connector on the EVM board Load Save Reg...

Страница 11: ...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 thes...

Отзывы: