background image

The Windows Application

www.ti.com

18

SLVU701B – March 2012 – Revised July 2019

Submit Documentation Feedback

Copyright © 2012–2019, Texas Instruments Incorporated

DRV8834 Evaluation Module

4.1.2

External Microstepper Control

Figure 22. External Microstepper Control

While in this mode, the microcontroller treats the DRV8834 as a dual H-bridge driver with independent
current regulation, motor enablement and phase control. Different than the dual H-bridge control mode in
which two DC motors can be driving, while in this operation style, the microcontroller will recognize
commands to issue high resolution microstepping commutation into a bipolar stepper motor.

In this mode, the Windows application offers control to change motor rotation and select degrees of
microstepping resolution. The decay is programmed into the microcontroller high resolution microstepping
algorithm to follow sine wave shape generation (slow decay while on quadrants 1 and 3, and mixed decay
while on quadrants 2 and 4). Current is set 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 which allow the
stepper motor actuation in both continuous rotation as well as position control mode. The algorithms offer
accurate acceleration and deceleration profiles which help in the obtaining of better motion quality and
performance.

4.2

The CONFIG Control Signal

In this Windows application, the CONFIG control signal is not made available to the user. The application
will modify the control signal according to which TAB is selected. When the communications are made and
any tab gains focus, a serial command is sent to the microcontroller to set the CONFIG control signal
accordingly. If the COM Port is not open, the serial command pertaining to this configuration is not sent.

4.3

Configuring Switches

Although the proper setting of the CONFIG control signal is made automatically, the EVM switches must
still be properly configured if correct operation is to be observed. Failure to properly set these switches will
result in problems with the current regulation and stepper motor functioning.

Summary of Contents for DRV8834EVM

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: