background image

Stopping Speed

Starting Speed

Steps to Stop

Number of Steps

Acceleration Rate

Target Speed

www.ti.com

Introduction

The

Motion Control

frame gathers user information regarding stepping rate, or motor speed. An

acceleration profile is employed to start at a programmable speed and increase stepping rate until
reaching the programmable desired speed.

An internal 8-MHz timer is used to measure time and generate the steps on a timely manner. The GUI will
send the information to the microcontroller as PPS, and the microcontroller will transform it into the
respective clock cycles needed for the timer to generate accurate STEP pulse timing.

2.6.1

Start/Stop Steps

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 selected), the PWM timer generates steps at a rate specified by the start speed PPS parameter.

When accelerating or decelerating, PPS is adjusted every 32 ms, based on the integer value of PPSPS/32
ms. If a non-zero value of PPSPS is entered, a minimum value of 1 is used. The step rate is increased by
the calculated value until the target speed is reached.

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 (

Start/Stop Steps

button is selected again). When the stepper is

commanded to stop, the controller does exactly as it did while accelerating, but in reverse to decelerate
until the stop speed PPS is reached, in which case the motor fully stops.

A second motor actuation is provided by the

Move # of Steps

and

Reciprocate

commands 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 and when the motor actually stops
are a function of the

Steps to Stop

and deceleration rate parameters.

This second motor actuation is adjusted automatically for rising edge or rising and falling edge settings in
the STEP MODE.

The following figure shows the acceleration profile and the role each parameter plays during speed
computation:

2.6.2

Move Steps

If the user desires to move the stepper a certain number of steps, this can be 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:

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

When a deceleration profile is issued, the controller decreases the speed until reaching the stop speed
value. If the number of steps parameter is met before the deceleration profile is complete, then the motor
stops at the current speed. If the stop speed is met before all the number of steps is issued, then the
motor rotates at the stop speed value until all the steps are executed.

7

SLLU203A – June 2014 – Revised March 2015

DRV8846 Evaluation Module

Submit Documentation Feedback

Copyright © 2014–2015, Texas Instruments Incorporated

Содержание DRV8846EVM

Страница 1: ...2 2 1 Connectors 2 2 2 Test Points 3 2 3 Jumpers 4 2 4 Motor Outputs 4 2 5 Operation of the EVM 4 2 6 Motor Control Frame Includes Start Stop Steps and Move Steps 6 2 7 Schematic and Bill of Materials...

Страница 2: ...e the stepper motor by issuing the step commands at the desired rate The microcontroller firmware operates using internal index mode This user s guide details the operation of the EVM as well as the h...

Страница 3: ...e DRV8846 Table 1 Descriptions of the Connections Available on the J4 Header Header Label Description V3P3R 3 3 V after 33 resistor nFAULT Fault output nSLEEP Sleep Mode input RSVD Adaptive DECay inpu...

Страница 4: ...ction a Once the USB connection is established the Status LED will begin to blink 5 Apply 12 V to the VM and GND connections 6 Configure the current settings step and decay modes torque and pwm off ti...

Страница 5: ...te buttons The Start Stop Steps button is used to run the motor indefinitely The motor will accelerate to the target speed and run until the Start Stop Steps button is selected When the Start Stop Ste...

Страница 6: ...y using an acceleration profile which will be detailed later on A detailed explanation of each stepper control section follows This frame allows the configuration and running of the stepper with the d...

Страница 7: ...decelerate until the stop speed PPS is reached in which case the motor fully stops A second motor actuation is provided by the Move of Steps and Reciprocate commands in which a programmed number of s...

Страница 8: ...ue to the particular parameters being chosen stopping the motor at a speed very close to the stop speed is often good enough to ensure good motion quality and application performance The following fig...

Страница 9: ...2 F C3 1 2 J1 ED555 2DS nSLEEP nFAULT 4 99k R3 BOUT1 BOUT2 VM AISEN VINT VREF DIR I1 I0 M0 M1 TOFF_SEL nENBL STEP ADEC 0 25 R1 0 25 R2 GND 510 R4 1 2 J2 ED555 2DS 1 2 J3 ED555 2DS MSP_M1 MSP_TOFF_SEL...

Страница 10: ...P6 5 A5 4 P6 6 A6 5 P6 7 A7 SVSIN 6 VREF 7 XIN 8 XOUT 9 VEREF 10 VREF VEREF 11 P1 0 TACLK CAOUT 12 P1 1 TA0 13 P1 2 TA1 14 P1 3 TA2 15 P1 4 SMCLK 16 P1 5 TA0 17 P1 6 TA1 18 P1 7 TA2 19 P2 0 ACLK CA2...

Страница 11: ...re Technology ED555 2DS 3 J4 Header Male 18 pin 100mil spacing STD PEC18SAAN 1 J5 Header 100mil 7x2 Tin plated TH Sullins Connector Solutions PEC07DAAN 1 J6 Connector micro USB Type B Receptacle R A S...

Страница 12: ...d folder Application and move the folder DRV8846EVM_GUIv1 0 into the C ti guicomposer webapps directory Note if you chose a non default installation directory in Step 1 the C ti part will be different...

Страница 13: ...ing the warranty period to the address designated by TI and that are determined by TI not to conform to such warranty If TI elects to repair or replace such EVM TI shall have a reasonable time to repa...

Страница 14: ...transmitter has been approved by Industry Canada to operate with the antenna types listed in the user guide with the maximum permissible gain and required antenna impedance for each antenna type indic...

Страница 15: ...ified allowable ranges some circuit components may have elevated case temperatures These components include but are not limited to linear regulators switching transistors pass transistors current sens...

Страница 16: ...REMOVAL OR REINSTALLATION ANCILLARY COSTS TO THE PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES RETESTING OUTSIDE COMPUTER TIME LABOR COSTS LOSS OF GOODWILL LOSS OF PROFITS LOSS OF SAVINGS LOSS OF USE L...

Страница 17: ...sponsible for compliance with all legal regulatory and safety related requirements concerning its products and any use of TI components in its applications notwithstanding any applications related inf...

Отзывы: