Texas Instruments C2000, DRV8412 Quick Start Manual

C2000™ Systems Applications Collateral
DRV8412 Digital Motor Control Kit Quick Start Guide
Jan 2011
The DRV8412 Digital Motor Control (DMC) kit (DRV8412-C2-KIT), provides a great way to learn and experiment with digital control of Brushed DC and Stepper motors.
The DRV8412 Digital Motor Control Kit contains:
F28035 controlCARD
DRV8412 DMC board with slot for the controlCARD
2 brushed DC motors, 8-wire bi-polar stepper motor
24V 2.5A DC Power Adapter
USB Cable, USB Stick with Quick Start GUI, Guide, and links to install controlSUITE (which includes all
documentation and source code) and CCStudio Integrated Development Environment
WARNING
This EVM should be used only by qualified engineers and technicians who are familiar with the risks associated with handling electrical and mechanical components, systems and subsystems. The EVM operates at voltages and currents that can result in electrical shock, fire hazard and/or personal injury if not properly handled or applied. Users must use the equipment with necessary caution and employ appropriate safeguards to avoid serious injury. Users must not touch any part of the EVM while energized.
Features of the DRV8412 Motor Control Board:
o Dual H-Bridge Power Stage capable of stepper motor control, dual brushed DC motor control
or control of a single larger DC motor with a parallel H-bridge configuration. 52.5V DC max input voltage and 6A* maximum current in the configuration shipped.
o Aux Power Supply Module 12V control voltage can be supplied externally or from DC bus. o Isolated SCI & JTAG o Quadrature Encoder Interface o Two PWM DAC’s to observe the system variables on an oscilloscope. o Hardware Developer’s Package which includes schematics & bill of materials. o Open source software available through controlSUITE
1
v2.0
C2000™ Systems Applications Collateral
The software available with the kit is pre-optimized for the included motors. The software is open source, and can be modified to tune and run a different motor. The following motors are available with the kit:
Bi-polar Stepper Motor
(4.2A/phase (parallel) , 8-wire, 1.8°/step)
Brushed DC Motor
(6-24V, 0.92A)
Hardware Overview
Below is a list of all the major functional blocks present on the board and a short description of its function, Fig 2, shows the location of these blocks on the motor control board and a few key connector locations.
ISO controlCARD socket: controlCARD slot; controlCARD has built-in isolated XDS100 emulator.  +12V Control Power Entry: Connectors to optionally provide an external 12V supply for logic and gate drive
power. The 12V supply can also be regulated on board from the DC bus depending on the setting of JP1.
DC Bus Power Entry: Connect the +24V AC/DC supply provided with the kit.  DRV8412: DRV8412 Dual Full Bridge PWM Motor Driver as well as external passive components.  Current Sense: Low-side shunt current sensing on each half-bridge. Reset Switch: Individual reset for each H-bridge, forced manually or through a GPIO from the MCU.
Mode Jumpers: Enable/disable c-by-c current limit, latched over-current and parallel or dual full-bridge mode.
Quadrature Encoder: Connections for an optional shaft encoder to interface to the MCU’s QEP peripheral.
Fig2: DRV8412-EVM Board Macros
2
v2.0
C2000™ Systems Applications Collateral
Quick Start GUI
The kit comes with a GUI which provides a convenient way to evaluate the functionality of the kit and the F28035 device without needing to learn and configure the underlying project software or install CCStudio. The interactive interface using knobs, sliders, buttons, textboxes and graphs enables easy demo of microstepping of bi-polar stepper motors as well as voltage and current control of brushed DC motors.
Hardware Setup
Note: Do not apply power to board before you have verified these settings!
The kit ships with the control card inserted and the jumper and switch settings pre-selected for connecting with the GUI. However the user must ensure that these settings are valid on the board.
1) Make sure nothing is connected to the board, and no power is being supplied to the board.
2) Insert the Control card into the J1 controlCARD connector if not already populated.
4) Make sure the following jumpers & connector settings are valid on the DRV8412 base board i.e. a. JP1 is in the VR1 position b. JP3 is in the ROCADJ position c. M1 is in the H position, M2 is in the L position and M3 is in the L position for dual axis Brushed
DC or Stepper motor. In order to run a single Brushed DC motor in parallel H-bridge mode the user must change the mode jumpers from their default setting. For this mode M1 is in the L position, M2 is in the H position and M3 is in the L position.
d. Switches S1 and S2 are in the middle position
5) Make sure that the following switches are set as described below on the F28035 controlCARD to enable
boot from flash and connection to the SCI
a. SW3: OFF (UP) position b. SW2: Position 1 = ON (UP), Position 2 = ON (UP)
6) Connect a USB cable from J1 on the controlCARD to the host computer. LD4 on the controlCARD will
light up indicating that the USB is powered. Windows will then search for a driver for the device. If the computer has CCSv4 or prior versions of it installed which supported XDS100 emulator, Windows should be able to find the driver successfully. If not you will be prompted to install the driver. Installing driver for USB to serial: Do not let Microsoft search for the driver, instead browse to the following location on the USB stick drive shipped with the kit <Drive Name:\XDS100 Drivers v1.0>, windows should now be able to find the driver and will install it. If Windows still does not find the driver, you may have to repeat the process and point to the location pointed out previously. You may have to reboot the computer for the drivers to come into effect. Once installed you can check if the installation was completed properly by browsing to ControlPanel-> System->Hardware->Device Manager and looking for USB Serial Port under Ports(COM&LPT). Note this port number down.
7) Connect the motor(s) you want to spin to the OUTA, OUTB, OUTC and OUTD terminals on the board.
The table below shows the connections for the motors included with the kit.
Terminal Dual Brushed DC Stepper
OUTA Motor 1 + Black,Orange/White OUTB Motor 1 - Orange, Black/White OUTC Motor 2 + Red, Yellow/White OUTD Motor 2 - Yellow, Red/White
8) Connect the included DC power supply to the PVDD and GND banana jacks.
9) Once the power is connected the board will power up and you will see that the LED1, LED2 and LED3
on the DRV8412EVM base board are green (indicating power), LD1 on the controlCARD is green (also indicating power) and LD3 (Red) on the controlCARD is blinking slowly indicating that code is runnin g.
Single Brushed DC
Parallel Mode
Motor + Motor +
Motor ­Motor -
Software Setup
The QSG GUI (DRV8412GUIvX.exe) can be located on the drive that is shipped with the kit or once controlSUITE is installed at the following location:
controlSUITE\developement_kits\DRV8412-EVM\~GUI\DRV8412GUIvX.exe
3
v2.0
Loading...
+ 6 hidden pages