User guide

32
6250 Servo Controller User Guide
Step 3 Tune the drive (iteratively) to achieve the desired response:
a. In the Data Acquisition display, select the Start button to trigger the short move and
the data collection function.
If you are not using Motion Architect:
Enter the following commands to create and execute a step velocity command:
Command De s c ri pt i on
> DEF STEPOUT Begin definition of the program called STEPOUT
- SGPØ,Ø Set the SGP gain to zero
- SGIØ,Ø Set the SGI gain to zero
- SGVØ,Ø Set the SGV gain to zero
- SGAFØ,Ø Set the SGAF gain to zero
- SGVFØ,Ø Set the SGVF gain to zero
- SMPERØ,Ø Disable checking the maximum allowable position error
- SOFFSØ.5 Set the command output to 0.5 volts
-T1 Wait for 1 second
- SOFFSØ Set the command output to zero volts (stopping the motor)
- SMPER4ØØØ,4ØØØ Re-enable checking the maximum allowable position error
- END End definition of the program called STEPOUT
> STEPOUT Execute the program called STEPOUT (the motor will move
for 1 second and then stop)
b. Observe the plot of the commanded velocity versus the actual velocity in the Captured
Velocity
graph (or on the oscilloscope).
Using the tuning methods specified in the drive's user documentation, tune the drive to
achieve a first-order response (no overshoot) as illustrated below—repeat Steps 3.a. and
3.b. as necessary.
Commanded Velocity
Actual Velocity
Velocity
Time
Step 4
Proceed to the Controller Tuning Procedure section to tune the 6250.
Motion Architect Automatic Gain Selection Feature
The drive scale factor and step response information gathered in the latest Drive Tuner
module session can be used in the Controller Tuner module to automatically select gains that
should greatly shorten the iterative nature of the controller tuning process. Use of this
feature is discussed in the
Controller Tuning Procedure
.
Controller Tuning Procedure
The Controller Tuning Procedure leads you through the following steps:
Launch Motion Architect's Controller Tuner module to tune the 6250.
Select the 6250's servo Sampling Frequency Ratios (SSFR).
Set up Motion Architect's data gathering functions.
Optimize the Proportional (SGP) and Velocity (SGV) gains.
An alternative would be to use Motion Architect's Automatic Gain Selection feature, which
automatically calculates SGP and SGV gains (and SGI, if so desired) based on the last drive tuning
session.
Use the Integral Feedback Gain (SGI) to reduce steady state error.
Use the Velocity Feedforward Gain (SGVF) to reduce position error at constant velocity.
Use the Acceleration Feedforward Gain (SGAF) to reduce position error during acceleration and
deceleration.