SLOU537 June   2020

 

  1.   DRV8428E EVM GUI User's Guide
    1.     Trademarks
    2. 1 Overview
    3. 2 Hardware and Software Setup
    4. 3 GUI Application
      1. 3.1 Installation
      2. 3.2 Getting Started with DRV8428E EVM GUI
      3. 3.3 Use the DRV8428E EVM GUI
        1. 3.3.1 Motor Control Page
          1. 3.3.1.1 Control Modes
            1. 3.3.1.1.1 Speed Mode
            2. 3.3.1.1.2 Step Mode
        2. 3.3.2 Decay Mode and TOFF setting
        3. 3.3.3 Use the Side-Bar Menu
        4. 3.3.4 Menu Bar Options
          1. 3.3.4.1 File Menu
          2. 3.3.4.2 Options Menu
          3. 3.3.4.3 Tools Menu
          4. 3.3.4.4 Help Menu

Step Mode

Step Mode allows the user to move the stepper motor a configured number of steps. Stepper controls are enabled only when ‘Motor Driver' control is enabled. ‘Start Steps’ button is enabled only when ‘Driver Outputs' control is enabled for example, AEN and BEN pins are set to high. When the ‘Start Steps’ button is clicked, the motor starts spinning at the starting speed and accelerates at the rate configured to reach until the number of steps is reached after which it stops.

The acceleration and deceleration profiles work similarly as before, except when the deceleration routine starts and when the motor stops are a function of the 'Steps to Stop' and deceleration rate parameters.

The configuration can be visualized in the graph embedded in the GUI. If the "Reciprocate" button is enabled, the stepper will travel the set number of steps, then reverse direction. It will do this continuously until 'Stop Steps' is clicked. Figure 7 shows the controls available in Step Mode.

Figure_6_step_control_mode.pngFigure 7. Controls Available for Step Mode

The parameters from 'Speed Mode' are reused as well, and they operate the same as described in Section 3.3.1.1.1. Two new parameters have been added to properly control the limited number of steps actuation. These parameters are described as follows:

    Number of StepsThis parameter is the number of steps that the controller will issue.
    Steps to StopThe 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 the value of the 'Steps to Stop' parameter 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 value of the 'Stopping Speed' parameter. If the 'Number of Steps' parameter is met before the deceleration profile is complete, then the motor stops at the current speed. If the stopping 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.

Ideally, the system should resemble the case in which the controller executes all the commanded steps at a speed as close as possible to the stop speed. In the event this is not possible because of the particular parameters that were selected, stopping the motor at a speed very close to the 'Stopping Speed' parameter is often good enough to ensure good motion quality and application performance.

Figure_7_stop_2.gifFigure 8. Stop Conditions