background image

Target Speed

Starting Speed

Acceleration Rate

Number Of Steps

Steps To Stop

Stopping Speed

The Windows Application

www.ti.com

22

SLVU701B – March 2012 – Revised July 2019

Submit Documentation Feedback

Copyright © 2012–2019, Texas Instruments Incorporated

DRV8834 Evaluation Module

An internal 8-MHz timer is used to measure time and generate the steps on a timely manner. The
Windows application will transform the entered number of PPS and transform it into the respective clock
cycles needed for the timer to generate accurate STEP pulse timing.

The acceleration profile is coded inside of the microcontroller to accept both the starting speed PPS and
target speed PPS as a clock cycle number. When the start steps command is issued (Starts Steps button
is pressed), an interrupt service routine (ISR) generates steps at a rate specified by the start speed PPS
parameter.

The very same start steps command computes how frequent automatic speed updates are issued and a
second timer is used to change the speed according to the programmed acceleration rate profile.

Once the target speed PPS is reached, the acceleration profile ends and the motor stays running until the
stop stepper command is issued (Stop Steps button). When the stepper is commanded to stop, the
controller does exactly as it did while accelerating, but in reverse as to achieve deceleration until the stop
speed PPS is reached, in which case the motor fully stops.

A second motor actuation is provided by the move steps command in which a programmed number of
steps are issued and then the motor stopped. The acceleration and deceleration profiles work similarly as
before, except when the deceleration starts to happen and when the motor actually stops are a function of
the steps to stop and deceleration rate parameters.

Figure 29

shows the acceleration profile and the role each parameter plays during speed computation.

Figure 29. Acceleration Profile

The following controls are available within the motor control frame:

Start Speed PPS:

Number of pulses per second (or full steps per second) at which the motor will rotate at

the beginning of operation. The SW will only allow a number as small as 200 PPS and can be taken to a
number as large as 65535 PPS.

Target Speed PPS:

Number of pulses per second (or full steps per second) at which we want the motor

to operate. The acceleration profile will start from the start speed PPS and increase stepping rate until
reaching the desired speed PPS. The SW will only allow a number as small as 200 PPS and can be taken
to a number as large as 65535 PPS.

Acceleration Rate (0-5000):

A number from 0 to 5000 which acts as a stepping rate modifier to increase

the start speed PPS up to target speed PPS.

Stop Speed PPS:

Number of pulses per second (or full steps per second) at which the motor will stop

rotating after the stop stepper command is invoked and the deceleration profile is issued. The deceleration
profile modifies the stepper speed from the target speed and into the stop speed.

4.8

Move Steps Frame

If the user desires to move the stepper a certain number of steps, this can be easily accomplished by
using the move steps function. Parameters from the other frames are reused and its utilization is as
explained previously. Two new parameters have been added to properly control the limited number of
steps actuation.

Number of Steps:

Amount of steps the controller will issue.

Steps to Stop:

The controller is continuously monitoring the step being issued and when the current step

is equal to the steps to stop parameter, a deceleration profile is issued. If steps to stop is larger than the
number of steps, then the motor stops abruptly and without undergoing a deceleration profile.

Содержание DRV8834EVM

Страница 1: ...3 2 2 Test Stakes 3 2 3 Jumpers 4 2 4 Switches 4 2 5 Motor Outputs 4 3 GUI Software Installation 4 3 1 System Requirements 4 3 2 Installation Procedure 4 4 The Windows Application 15 4 1 Dual H Bridge...

Страница 2: ...en DAC resource can be implemented The EVM houses an MSP430 microcontroller and an USB interface chip The USB chip allows for serial communications from a PC computer where a Windows application is us...

Страница 3: ...t clips in parallel with the terminal block allows for the monitoring of the input power rail User must apply VM according to datasheet recommended parameters NOTE VDD for logic and microcontroller is...

Страница 4: ...e R2 potentiometer BVREF SEL Selects Reference Voltage B source to be same as VREFA used on internal indexer mode MSP430 DAC externally supplied or derived from the R7 potentiometer AVREF SEL Selects...

Страница 5: ...ion Module Figure 2 Setup_DRV8834_EVM exe 2 The screen shown in Figure 3 appears indicating installer initialization Click the Next button Figure 3 Installation Initialization 3 In the newly open inst...

Страница 6: ...valuation Module Figure 4 License Agreement 4 A screen as shown in Figure 5 appears displaying the license agreement of National Instruments Please read through the agreement carefully and enable the...

Страница 7: ...creen as shown in Figure 7 appears This screen is to select the components to install Select the Components to Install and Click Next to continue installation The LabVIEW RTE component checks out if t...

Страница 8: ...012 2019 Texas Instruments Incorporated DRV8834 Evaluation Module Figure 8 Configure Proxy 8 A screen as shown in Figure 9appears Click Next to begin the installation Figure 9 Ready to Install 9 If th...

Страница 9: ...ght 2012 2019 Texas Instruments Incorporated DRV8834 Evaluation Module Figure 10 Downloading RTE 10 Once the download completes LabVIEW begins with the self extraction as shown in Figure 11 Figure 11...

Страница 10: ...July 2019 Submit Documentation Feedback Copyright 2012 2019 Texas Instruments Incorporated DRV8834 Evaluation Module Figure 12 LabVIEW RTE Installation Initialization 12 A display as shown in Figure...

Страница 11: ...t 2012 2019 Texas Instruments Incorporated DRV8834 Evaluation Module Figure 13 Installation of LabVIEW RTE in Progress 13 Once the LabVIEW RTE 2014 is installed DRV 8834 EVM GUI component installs 14...

Страница 12: ...sed July 2019 Submit Documentation Feedback Copyright 2012 2019 Texas Instruments Incorporated DRV8834 Evaluation Module Figure 14 FTDI Installation Initialization 15 A screen as shown in Figure 15 ap...

Страница 13: ...Texas Instruments Incorporated DRV8834 Evaluation Module 16 The License Agreement appears on screen as shown below 17 Read through the License Agreement carefully and enable the I Accept this Agreemen...

Страница 14: ...t 2012 2019 Texas Instruments Incorporated DRV8834 Evaluation Module Figure 17 Driver Installation Completion 19 Figure 18 appears denoting the completion of DRV8834 EVM GUI Installation Click Finish...

Страница 15: ...ects the LabVIEW Run Time Engine version to be LabVIEW Run Time Engine 32 bit version 4 The Windows Application The DRV8834EVM Windows application is the software counterpart for the DRV8834 EVM It al...

Страница 16: ...lace the microcontroller and driver chip into one of the three operation modes The three tabs are described below 4 1 Dual H Bridge Mode See Figure 20 While in this mode the microcontroller treats the...

Страница 17: ...2 degrees of microstepping driver In this mode the Windows application offers control to ENABLE the driver change motor rotation select current regulation decay select degrees of microstepping resolut...

Страница 18: ...t to 1 5 A sine wave peak To change the maximum current the firmware s internal look up table must be modified The Windows application also offers access to the same series of sophisticated algorithms...

Страница 19: ...quired ADECAY MSP430 optional MSP430 optional MSP430 required BVREF MSP430 optional AVREF required MSP430 required AVREF MSP430 optional MSP430 optional MSP430 required 4 4 Menu Options Figure 23 File...

Страница 20: ...evel on the respective control signals 4 6 Updating DAC Output for Current Control VREF During evaluation the user may want to study the operation of the ITRIP regulation scheme Both MSP430F2617 MCU D...

Страница 21: ...ull step to 32 degrees of microstepping in internal indexer mode or half step to 512 degrees of microstepping on external indexer mode and number of steps the motor will move Motor motion can only hap...

Страница 22: ...top and deceleration rate parameters Figure 29 shows the acceleration profile and the role each parameter plays during speed computation Figure 29 Acceleration Profile The following controls are avail...

Страница 23: ...r rotates at the stop speed value until all the steps are executed Ideally the system must be tuned to resemble as much the case in which the controller executes all the commanded steps at a speed as...

Страница 24: ...UT1 AOUT1 1 TP5 AOUT2 AOUT2 1 TP6 AISEN AISEN 1 TP7 BOUT2 BOUT2 1 TP8 BOUT1 BOUT1 1 TP9 BISEN BISEN 1 TP12 DIR BPHASE DIR BPHASE 1 TP13 VREFO VREFO 1 TP14 BVREF BVREF 1 TP15 AVREF AVREF 1 TP16 VINT VI...

Страница 25: ...RST NMI 58 P6 1 A1 60 DVSS 63 P5 0 STE1 44 DVCC 1 P6 7 A7 DAC1 SVSIN 6 XIN 8 VREF VeREF 11 P1 2 TA1 14 P1 5 TA0 17 P2 0 ACLK 20 P2 3 CA0 TA1 23 P2 6 ADC12CLK DMAE0 26 P3 1 SIMO0 SDA 29 P3 4 UTXD0 32...

Страница 26: ...MM VERT 4POS PCB On Shore Technology Inc OSTTA044163 1 J6 CONN USB RT ANG RECPT TYPE B BLK Molex 67068 8000 USB B 1 J7 CONN HEADER 100 DUAL STR 14POS Sullins PBC07DAAN 14 Pos Header 1 JP1 JP3 Two Pin...

Страница 27: ...n Module DESIGNATOR DESCRIPTION MANUFACTURER MFG PART NUMBER VALUE QUANTITY TP24 TP25 TP26 TP27 Glass Beaded Test Point Kobiconn 151 103 RC BLACK 4 U1 Stepping and DC motor Driver Texas Instruments 1...

Страница 28: ...e resources are subject to 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 reprod...

Отзывы: