background image

1

SLVA344C – July 2009 – Revised July 2019

Submit Documentation Feedback

Copyright © 2009–2019, Texas Instruments Incorporated

Laser and Motor Drives

User's Guide

SLVA344C – July 2009 – Revised July 2019

Laser and Motor Drives

This document is provided as a supplement to the

DRV8811

datasheet. It details the hardware

implementation of the DRV8811 customer evaluation module (EVM).

Contents

1

Introduction

...................................................................................................................

3

1.1

Block Diagram

.......................................................................................................

3

1.2

Power Connectors

..................................................................................................

3

1.3

Test Stakes

..........................................................................................................

3

1.4

Jumpers

..............................................................................................................

4

1.5

Motor Outputs

.......................................................................................................

4

2

Installing Drivers And Software

............................................................................................

4

2.1

Installing the FTDI USB Driver

....................................................................................

4

2.2

GUI Software Installation

..........................................................................................

4

2.3

Running the Windows Application Software

...................................................................

15

3

Windows Application

.......................................................................................................

15

3.1

Menu

................................................................................................................

17

3.2

DRV8811 GPIO Control Signals

................................................................................

18

3.3

Updating DAC Output for Current Control (VREF/DECAY)

.................................................

19

3.4

Updating DAC Output for Decay Control (DECAY)

...........................................................

19

3.5

Operating the Stepper Motor

....................................................................................

20

List of Figures

1

VREF SELECT Jumper

.....................................................................................................

4

2

DECAY SELECT Jumper

...................................................................................................

4

3

Setup_DRV8811_EVM.exe

.................................................................................................

5

4

Installation Initialization

.....................................................................................................

6

5

License Agreement

..........................................................................................................

6

6

NI License Agreement

......................................................................................................

7

7

Installation Directory Screen

...............................................................................................

7

8

Component Selection

.......................................................................................................

8

9

Configure Proxy

..............................................................................................................

8

10

Ready to Install

..............................................................................................................

9

11

Downloading RTE

...........................................................................................................

9

12

LabVIEW RTE Self Extraction

............................................................................................

10

13

LabVIEW RTE Installation Initialization

.................................................................................

10

14

Installation of LabVIEW RTE in Progress

...............................................................................

11

15

FTDI Installation Initialization

.............................................................................................

12

16

Driver Installation Wizard

..................................................................................................

12

17

License Agreement for FTDI Driver

......................................................................................

13

18

Driver Installation Completion

............................................................................................

14

19

Installation Complete

......................................................................................................

14

20

Readme Window

...........................................................................................................

15

21

DRV8811EVM-001_R1p0.exe Main Screen

............................................................................

16

Summary of Contents for DRV8811

Page 1: ...lication 15 3 1 Menu 17 3 2 DRV8811 GPIO Control Signals 18 3 3 Updating DAC Output for Current Control VREF DECAY 19 3 4 Updating DAC Output for Decay Control DECAY 19 3 5 Operating the Stepper Motor 20 List of Figures 1 VREF SELECT Jumper 4 2 DECAY SELECT Jumper 4 3 Setup_DRV8811_EVM exe 5 4 Installation Initialization 6 5 License Agreement 6 6 NI License Agreement 7 7 Installation Directory Scr...

Page 2: ...porated Laser and Motor Drives 22 File Menu 17 23 Debug Menu 17 24 Schematic 17 25 Help Menu 18 26 About Page 18 27 Signals Frame 19 28 Curent Control Frame 19 29 Current Control Frame 20 30 Step Rate 20 31 Speed Control Frame 21 32 Step Control Frame 21 Trademarks All trademarks are the property of their respective owners ...

Page 3: ...terprets serial commands from the PC and generates control signals to the driver device and the DRV8811 device with access to all signals for a complete evaluation 1 1 Block Diagram 1 2 Power Connectors The DRV8811 customer EVM uses a combination of terminal blocks and test clips for the application monitoring of power The only power rail the user must supply is VM for the device s power stage VDD...

Page 4: ... SELECT Jumper To configure the DECAY SELECT jumper Figure 2 a selects an analog voltage derived from VDD through a voltage divider implemented as a potentiometer R6 Figure 2 b selects an analog voltage derived from the MSP430 s digital to analog converter channel 1 DAC1 1 5 Motor Outputs There are three ways of connecting the bipolar stepper motor into the DRV8811 EVM four pin header J2 four posi...

Page 5: ... RTE 2014 and FTDI Driver along with the GUI 2 2 1 System Requirements Supported OS Windows 7 32 Bit 64 Bit The window text size should be Smaller 100 Default Recommended RAM 4 GB or higher Recommended CPU Operating Speed 3 3 GHz or higher 2 2 2 Installation Procedure The following procedure helps you install the DRV8811 GUI 1 Double click on the Setup_DRV8811_EVM exe as shown in Figure 3 Figure 3...

Page 6: ...ly open installation pop up window click Next The license agreement will be displayed Please read through it carefully and enable the I Accept the Agreement radio button and press Next Figure 5 License Agreement 4 A screen as shown in Figure 6 appears displaying the license agreement of National Instruments Please read through the agreement carefully and enable the I Accept the License Agreement r...

Page 7: ...lt directory for the GUI Installation and click Next Figure 7 Installation Directory Screen NOTE It is highly recommended to keep the default values as provided in the installer 6 A screen as shown in Figure 8 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 the LabVIEW RTE 20...

Page 8: ...tor Drives Figure 8 Component Selection 7 If LabVIEW RTE is selected as a component to install a screen appears as shown in Figure 9 Configure the proxy settings as required This screen is to download the LabVIEW RTE 2014 from ni com Click Next to continue the installation Figure 9 Configure Proxy 8 A screen as shown in Figure 10 appears Click Next to begin the installation ...

Page 9: ...019 Texas Instruments Incorporated Laser and Motor Drives Figure 10 Ready to Install 9 If the LabVIEW RTE 2014 is selected as a component to install LabVIEW RTE downloads and performs a silent mode installation Figure 11 Downloading RTE 10 Once the download completes LabVIEW begins with the self extraction as shown in Figure 12 ...

Page 10: ...019 Texas Instruments Incorporated Laser and Motor Drives Figure 12 LabVIEW RTE Self Extraction 11 A Screen appears as shown in Figure 13 It initializes the LabVIEW RTE Installation Figure 13 LabVIEW RTE Installation Initialization 12 A display as shown in Figure 14 appears which indicates the progress of LabVIEW RTE installation ...

Page 11: ...yright 2009 2019 Texas Instruments Incorporated Laser and Motor Drives Figure 14 Installation of LabVIEW RTE in Progress 13 Once the LabVIEW RTE 2014 is installed DRV 8811 EVM GUI component installs 14 After DRV8811 Installation FTDI Installation begins A screen as shown in Figure 15 appears click Extract to proceed ...

Page 12: ... Revised July 2019 Submit Documentation Feedback Copyright 2009 2019 Texas Instruments Incorporated Laser and Motor Drives Figure 15 FTDI Installation Initialization 15 A screen as shown in Figure 16 appears click Next to proceed Figure 16 Driver Installation Wizard ...

Page 13: ... Texas Instruments Incorporated Laser and Motor Drives 16 The License Agreement appears on screen as shown in Figure 17 17 Read through the License Agreement carefully and enable the I Accept this Agreement radio button and Click on Next Figure 17 License Agreement for FTDI Driver 18 Click Finish to complete the Driver Installation ...

Page 14: ...yright 2009 2019 Texas Instruments Incorporated Laser and Motor Drives Figure 18 Driver Installation Completion 19 Figure 19 appears denoting the completion of DRV8811 EVM GUI Installation Click Finish Figure 19 Installation Complete 20 A Readme window as shown in Figure 20 appears displaying the link for LV 2014 RTE ...

Page 15: ...32 bit version and it expects the LabVIEW Run Time Engine version to be LabVIEW Run Time Engine 32 bit version 2 3 Running the Windows Application Software To run the application search for the desktop shortcut of the application or search for the DRV8811EVM GUI in your Programs or its installation directory 3 Windows Application The DRV8811 Windows Application is the software counterpart for the ...

Page 16: ...ncorporated Laser and Motor Drives Figure 21 shows the GUI main screen It contains menu items to configure and enable disable the serial port frames with GPIO control for the DRV8811 control signals stepper motor control for start stop and speed and current decay control through the MSP430 DACs Figure 21 DRV8811EVM 001_R1p0 exe Main Screen ...

Page 17: ...e used for the following operations Figure 23 Debug Menu Demo By selecting the Demo in the submenu the GUI runs in simulation mode and by unselecting it the GUI runs in connected mode Log to File The log to file submenu is used to log the GUI activities to a log file that is specified Debug log The Debug log option enables to log all the activities of the user If that is not selected only the high...

Page 18: ... Clicking the About in the Help Menu Figure 25 Help Menu The About Page provides the details like the Name of the GUI GUI version Supported OS and Copyright Information Figure 26 About Page 3 2 DRV8811 GPIO Control Signals Once the application is communicating with the interface board the control signals can be actuated by checking or un checking check boxes on the Signals frame ...

Page 19: ...microcontroller interface JP1 is set to INT then the slider bar on the Current Control frame can be used to set the VREF voltage Figure 28 Curent Control Frame The MSP430F1612 12 bit DAC channel 0 is connected to the DRV8811 VREF analog input Changing the DAC digital value from 0 to 4095 changes the analog voltage at the VREF DECAY pin from 0 V to 2 5 V respectively See Equation 1 1 Where VREF is ...

Page 20: ...device Once all the control signals are configured accordingly ENABLEn LO SLEEPn HI RESETn HI DIR USM0 and USM1 can be HI or LO depending on preferred mode of operation SRn must be L if external diodes are not populated the motor is ready to be turned The DRV8811EVM 001 customer EVM allows for the possibility of coordinating step rates such that accelerating and decelerating profiles are achieved ...

Page 21: ...ifying the PPS text box and then pressing the Update Speed button The Update Speed button is disabled every time the motor is not turning because the stepping has been halted by pressing the Stepping button 3 5 2 Step by Step control The Step Control frame has a series of tools to control the stepping of the motor on a predetermined number of steps fashion The Pulse Step button allows for a single...

Page 22: ...o 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 these resources is prohibited No license is granted to any other TI intellectual property right or to any third party intellectual property right TI disclaims responsibility for and you will fully indemn...

Reviews: