The text of a manual · part 16 of 30
SERCOS and Analog Motion Configuration and Startup User Manual, pages 151 to 160
Pages 151 to 160 of 297
The original document is the PDF (13 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley 1756-M08SE
Page 151
Axis properties
Appendix A
Parameter
Description
Integral (velocity)
This parameter is enabled for all loop types except Torque loop. At every servo update, the current Velocity Error is accumulated in a variable called the Velocity Integral Error. This value is multiplied by the Velocity Integral Gain to produce a component to the Servo Output or Torque Command that attempts to correct for the velocity error. The higher the Vel I Gain value, the faster the axis is driven to the zero Velocity Error condition. Unfortunately, I Gain control is intrinsically unstable. Too much I Gain results in axis oscillation and servo instability. In certain cases, Vel I Gain control is disabled. One such case is when the servo output to the axis’ drive is saturated. Continuing integral control behavior in this case would only exacerbate the situation. When the Integrator Hold parameter is set to Enabled, the servo loop automatically disables the integrator during commanded motion. Due to the destabilizing nature of Integral Gain, it is recommended that Position Integral Gain and Velocity Integral Gain be considered mutually exclusive. If Integral Gain is needed for the application, use one or the other. In general, where static positioning accuracy is required, Position Integral Gain is the better choice. The typical value for the Velocity Proportional Gain is ~15 mSec-2.
Velocity Feedforward Gain
Velocity Feedforward Gain scales the current Command Velocity by the Velocity Feedforward Gain and adds it as an offset to the Velocity Command. Hence, the Velocity Feedforward Gain allows the following error of the servo system to be reduced to nearly zero when running at a constant speed. This is important in applications such as electronic gearing, position camming, and synchronization applications, where it is necessary that the actual axis position not significantly lag behind the commanded position at any time. The optimal value for Velocity Feedforward Gain is 100%, theoretically. In reality, however, the value may need to be updated to accommodate velocity loops with non-infinite loop gain and other application considerations.
Acceleration Feedforward Gain
Acceleration Feedforward Gain scales the current Command Acceleration by the Acceleration Feedforward Gain and adds it as an offset to the Servo Output generated by the servo loop. With this done, the servo loops do not contribute much to the Servo Output and the Position and/or Velocity Error values are significantly reduced. Therefore, when used in conjunction with the Velocity Feedforward Gain, the Acceleration Feedforward Gain allows the following error of the servo system during the acceleration and deceleration phases of motion to be reduced to nearly zero. This is important in applications such as electronic gearing, position camming, and synchronization applications, where it is necessary that the actual axis position not significantly lag behind the commanded position at any time. The optimal value for Acceleration Feedforward is 100%, theoretically. In reality, however,the value may need to be updated to accommodate velocity loops with non-infinite loop gain and other application considerations.
Integrator Hold for Gains Tab - AXIS_SERVO
If the Integrator Hold parameter is: • Enabled, the servo loop temporarily disables any enabled position or velocity integrators while the command position is changing. This feature is used by point-to-point moves to minimize the integrator wind-up during motion. • Disabled, all active position or velocity integrators are enabled.
Manual Adjust
Manual Adjust for Gains tab
Opens the Manual Adjust dialog box to edit parameter settings.
Use the Gains tab of the Manual Adjust dialog box for online editing.
Manual Adjust is unavailable when Logix Designer application is in Wizard mode, and when offline edits to the parameters are not saved or applied. Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
151
Page 152
Appendix A
Axis properties
Gains Tab AXIS_SERVO_DRIVE
Use this tab to perform these offline functions for an axis type AXIS_SERVO_DRIVE. •
Adjust or tweak gain values that are automatically set by the tuning process (in the Tune tab of this dialog box)
•
Manually configure gains for the velocity and position loops
The drive module uses a nested digital servo control loop consisting of a position loop with proportional, integral, and feed-forward gains around an optional digitally synthesized inner velocity loop. The specific design of this nested loop depends upon the Loop Configuration selected in the Drive tab. For a discussion, including a diagram, of a loop configuration, select these loop configuration types: •
Motor Position Servo Loop
•
Auxiliary Position Servo Loop
•
Dual Position Servo Loop
•
Motor Dual Command Servo Loop
•
Auxiliary Dual Command Servo Loop
•
Velocity Servo Loop
•
Torque Servo Loop
Edit the parameters on this tab: •
By typing the parameter changes and selecting OK to save the edits.
•
Select Manual Adjust to open the Manual Adjust dialog box associated with this tab. See the Manual Adjust section.
When the controller is online and if the controller is set to Hard Run mode, or a Feedback On condition exists, the parameters on this tab are read-only.
152
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 153
Axis properties
Appendix A
When Logix Designer application is offline, edit these parameters and save the program. Use the Save command or select Apply. Re-download the edited program to the controller before running. Parameter
Description
Velocity Feedforward
Scales the current command velocity (derivative of command position) by the Velocity Feedforward Gain and adds it as an offset to the Velocity Command. Hence, the Velocity Feedforward Gain allows the following error of the servo system to be reduced to nearly zero when running at a constant speed. This is important in applications such as electronic gearing and synchronization applications, where it is necessary that the actual axis position not significantly lag behind the commanded position at any time. The optimal value for Velocity Feedforward Gain is 100%, theoretically. In reality, however,the value may need to be updated to accommodate velocity loops with non-infinite loop gain and other application considerations.
Proportional (Position) Gain
Position Error is multiplied by the Position Loop Proportional Gain, or Pos P Gain, to produce a component to the Velocity Command that ultimately attempts to correct for the position error. Too little Pos P Gain results in excessively compliant, or mushy, axis behavior. Too large a Pos P Gain can result in axis oscillation due to classical servo instability. To set the gain manually, first set the Torque scaling in the Output tab of this dialog box. If the desired loop gain in inches per minute per mil or millimeters per minute per mil is known, use this formula to calculate the corresponding P gain: Pos P Gain = 16.667 * Desired Loop Gain (IPM/mil) If the desired unity gain bandwidth of the position servo in Hertz is known, use this formula to calculate the corresponding P gain: Pos P Gain = Bandwidth (Hertz) * 6.28 The typical value for the Position Proportional Gain is ~100 Sec-1.
Integral (Position) Gain
The Integral (summation) of Position Error is multiplied by the Position Loop Integral Gain, or Pos I Gain, to produce a component to the Velocity Command that ultimately attempts to correct for the position error. Pos I Gain improves the steady-state positioning performance of the system. Increasing the integral gain generally increases the ultimate positioning accuracy of the system. Excessive integral gain, however, results in system instability. In certain cases, Pos I Gain control is disabled. For example, when the servo output to the axis drive is saturated. Continuing integral control behavior in this case only exacerbates the situation. When the Integrator Hold parameter is set to Enabled, the servo loop automatically disables the integrator during commanded motion. If employed, the Pos I Gain is typically established by the automatic servo tuning procedure (in the Tuning tab of this dialog box) The Pos I Gain value may also be set manually. However it is important to establish the Torque Scaling factor for the axis for the drive system (in the Output tab of this dialog box). Once complete, compute the Pos I Gain based on the current or computed value for the Pos P Gain using this formula: Pos I Gain = .025 * 0.001 Sec/mSec * (Pos P Gain)2 Assuming a Pos P Gain value of 100 Sec-1, this results in a Pos I Gain value of 2.5 ~0.1 mSec-1 - Sec-1.
Proportional (Velocity) Gain
This parameter is enabled only for external drives configured for Torque loop operation in the Servo tab. Velocity Error is multiplied by the Velocity Proportional Gain to produce a component to the Torque Command that ultimately attempts to correct for the velocity error, creating a damping effect. Thus, increasing the Velocity Proportional Gain results in smoother motion, enhanced acceleration, reduced overshoot, and greater system stability. However, too much Velocity Proportional Gain leads to high frequency instability and resonance effects. If the desired unity gain bandwidth of the velocity servo in Hertz is known, use this formula to calculate the corresponding P gain. Vel P Gain = Bandwidth (Hertz) / 6.28 The typical value for the Velocity Proportional Gain is ~250 mSec-1.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
153
Page 154
Appendix A
Axis properties
Parameter
Description
Integral (Velocity) Gain
This parameter is enabled only for external drives configured for Torque loop operation in the Servo tab. At every servo update the current Velocity Error is accumulated in a variable called the Velocity Integral Error. This value is multiplied by the Velocity Integral Gain to produce a component to the Torque Command that attempts to correct for the velocity error. The higher the Vel I Gain value, the faster the axis is driven to the zero Velocity Error condition. Unfortunately, I Gain control is intrinsically unstable. Too much I Gain results in axis oscillation and servo instability. In certain cases, Vel I Gain control is disabled. For example, when the servo output to the axis’ drive is saturated. Continuing integral control behavior in this case only exacerbates the situation. When the Integrator Hold parameter is set to Enabled, the servo loop automatically disables the integrator during commanded motion. Due to the destabilizing nature of Integral Gain, the recommendation is that Position Integral Gain and Velocity Integral Gain be considered mutually exclusive. If the application needs Integral Gain, use one or the other. In general, where static positioning accuracy is required, Position Integral Gain is the better choice. If employed, the Vel I Gain is typically established by the automatic servo tuning procedure (in the Tune tab of this dialog box). The Pos I Gain value may also be set manually. Before doing this, it is important to establish the Torque Scaling factor for the axis for the drive system in the Output tab. Once this is done, compute the Vel I Gain based on the current or computed value for the Vel P Gain using this formula: Vel I Gain = 0.25 * 0.001 Sec/mSec * (Vel P Gain)2 The typical value for the Velocity Proportional Gain is ~15 mSec-2.
Integrator Hold for Gains Tab - AXIS_SERVO_DRIVE
If the Integrator Hold parameter is: • Enabled, the servo loop temporarily disables any enabled position or velocity integrators while the command position is changing. Used by point-to-point moves to minimize the integrator wind-up during motion. • Disabled, all active position or velocity integrators are enabled.
Manual Adjust
Opens the Manual Adjust dialog box to edit parameter settings
Set Custom Gains
Opens the Custom Gain Attributes dialog box.
Manual Adjust for Gains tab
Use the Gains tab of the Manual Adjust dialog box for online editing.
Manual Adjust is unavailable when Logix Designer application is in Wizard mode, and when offline edits to the parameters were not saved or applied.
154
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 155
Axis properties
Set custom gains
Appendix A
Use the Custom Gain Attributes dialog box to edit the VelocityDroop attribute.
When a parameter transitions to a read-only state, any pending changes to parameter values are lost, and the parameter reverts to the most recently saved parameter value.
Output tab - AXIS_SERVO
Attribute
Description
VelocityDroop
This 32-bit unsigned attribute – also referred to as static gain – acts as a very slow discharge of the velocity loop integrator. VelocityDroop may be used as a component of an external position loop system where setting this parameter to a higher, nonzero value eliminates servo hunting due to load/stick friction effects. This parameter only has effect if VelocityIntegralGain is not zero. Its value ranges from 0 to 2.14748x10^12. This value is not applicable for Ultra3000 drives.
Use the Output tab for offline configuration for an axis of the type AXIS_SERVO that is configured in the General tab as a Servo drive. Use this tab to: •
Set the torque scaling value, which is used to generate gains.
•
Enable and configure the low-pass digital output filter.
Edit the parameters on this tab: •
Type the parameter changes and select OK to save the edits.
•
Select Manual Adjust to open the Manual Adjust dialog box to this tab. Use the spin controls to edit parameter settings. The changes are saved the moment a spin control changes any parameter value.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
155
Page 156
Appendix A
Axis properties
When the controller is online and the controller is set to Hard Run mode, or if a Feedback On condition exists, the parameters on this tab are read-only. When Logix Designer application is offline, edit these parameters and save the program. Use the Save command or select Apply. Re-download the edited program to the controller before running. Parameter
Description
Velocity Scaling
The attribute is used to convert the output of the servo loop into equivalent voltage to an external velocity drive. This has the effect of ‘normalizing’ the units of the servo loop gain parameters so their values are not affected by variations in feedback resolution, drive scaling, or mechanical gear ratios. The Velocity Scaling value is typically established by the servo’s automatic tuning procedure, but if necessary, calculate these values using these guidelines: If the axis is configured for a velocity external drive (in the Servo tab of this dialog box), the software velocity loop in the servo module is disabled. In this case, calculate the Velocity Scaling value using this formula: Velocity Scaling = 100% / (Speed @ 100%) For example, if this axis is using position units of motor revolutions (revs), and the drive is scaled such that with an input of 100% (for example, 10 Volts) the motor goes 5,000 RPM (or 83.3 RPS), the Velocity Scaling attribute value is calculated as: Velocity Scaling = 100% / (83.3 RPS) = 1.2% / Revs Per Second
Torque/Force Scaling
The Torque Scaling attribute is used to convert the acceleration of the servo loop into equivalent % rated torque to the motor. This has the effect of ‘normalizing’ the units of the servo loops gain parameters so their values are not affected by variations in feedback resolution, drive scaling, motor and load inertia, and mechanical gear ratios. Typically, the controller’s automatic tuning procedure establishes the Torque Scaling value. If necessary, manually calculate the value using these guidelines: Torque Scaling = 100% Rated Torque / (Acceleration @ 100% Rated Torque) For example, if this axis is using position units of motor revolutions (revs), with 100% rated torque applied to the motor, if the motor accelerates at a rate of 3000 Revs/Sec2, the Torque Scaling attribute value would be calculated as follows. Torque Scaling = 100% Rated / (3000 RPS2) = 0.0333% Rated/ Revs Per Second2 If the Torque Scaling value does not reflect the true torque to acceleration characteristic of the system, the gains also do not reflect the true performance of the system.
Direction Scaling Ratio
The ratio between the extend direction gain and the retract direction gain. Tip:
This field is disabled for the 1756-M02AE module.
Enable Low Pass Output Filter
Select this to enable the servo’s low-pass digital output filter. Clear this to disable this filter. During tuning, if the controller detects a high degree of tuning inertia, it enables the Low Pass Output Filter and calculates and sets a value for Low Pass Output Filter Bandwidth.
Low-pass Output Filter Bandwidth
When Enable Low-pass Output Filter is selected, this value sets the bandwidth, in Hertz, of the servo’s low-pass digital output filter. Use this output filter to filter out high frequency variation of the servo module output to the drive. All output from the servo module greater than the Filter Bandwidth setting is filtered and not sent to the drive. If the Low-pass Output Filter Bandwidth value is set to zero, the low-pass output filter is disabled. The lower the Filter Bandwidth value, the greater the attenuation of these high frequency components of the output signal. Because the low-pass filter adds lag to the servo loop, which pushes the system towards instability, decreasing the Filter Bandwidth value usually requires lowering the Position or Velocity Proportional Gain settings to maintain stability. The output filter is particularly useful in high inertia applications where resonance behavior can severely restrict the maximum bandwidth capability of the servo loop.
Manual Adjust
Opens the Manual Adjust dialog box to edit parameter settings
156
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 157
Axis properties
Manual Adjust for Output tab
Appendix A
Use the Output tab of the Manual Adjust dialog box for online editing.
Manual Adjust is unavailable when Logix Designer application is in Wizard mode, and when offline edits to the parameters were not saved or applied.
Output tab AXIS_SERVO_DRIVE
Use the Output tab for offline configuration for an axis of the type AXIS_SERVO_DRIVE that is configured in the General tab as a Servo drive. Use this tab to: •
Set the torque scaling value, which is used to generate gains.
•
Enable and configure the Notch Filter.
•
Enable and configure the low-pass digital output filter.
Edit the parameters on this tab: •
Type the parameter changes and select OK to save the edits.
•
Select Manual Adjust to open the Manual Adjust dialog box to this tab. Use the spin controls to edit parameter settings. Changes are saved the moment a spin control changes any parameter value.
When the controller is online and the controller is set to Hard Run mode, or if a Feedback On condition exists, the parameters on this tab are read-only.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
157
Page 158
Appendix A
Axis properties
When Logix Designer application is offline, edit these parameters and save the program. Use the Save command or select Apply. Re-download the edited program to the controller before running. Table Heading
Table Heading
Motor Inertia
Represents the inertia of the motor without any load attached to the motor shaft in Torque Scaling units.
Load Inertia Ratio
Represents the ratio of the load inertia to the motor inertia.
Torque/Force Scaling
Converts the acceleration of the servo loop into equivalent % rated torque to the motor. This has the effect of normalizing the units of the servo loops gain parameters so their values are not affected by variations in feedback resolution, drive scaling, motor and load inertia, and mechanical gear ratios. The Torque Scaling value is typically established by the controller’s automatic tuning procedure. If necessary, calculate the value manually using these guidelines: Torque Scaling = 100% Rated Torque / (Acceleration @ 100% Rated Torque) For example, if this axis is using position units of motor revolutions (revs), with 100% rated torque applied to the motor, if the motor accelerates at a rate of 3000 Revs/Sec2, the Torque Scaling attribute value is calculated: Torque Scaling = 100% Rated / (3000 RPS2) = 0.0333% Rated/ Revs Per Second2 If the Torque Scaling value does not reflect the true torque to acceleration characteristic of the system, the gains also do not reflect the true performance of the system.
Enable Notch Filter Frequency
Select to enable the drive’s notch filter. Clear to disable this filter.
Notch Filter Frequency
When Enable Notch Filter Frequency is selected, this value sets the center frequency of the drive’s digital notch filter. If the Notch Filter value is set to zero, the notch filter Frequency is disabled. Currently implemented as a 2nd order digital filter with a fixed Q, the Notch Filter provides approximately 40DB of output attenuation at the Notch Filter frequency. This output notch filter is particularly useful in attenuating mechanical resonance phenomena. The output filter is particularly useful in high inertia applications where mechanical resonance behavior can severely restrict the maximum bandwidth capability of the servo loop. This value is not applicable for Ultra3000 drives.
Enable Low Pass Output Filter
Select to enable the servo’s low-pass digital output filter. Clear to disable this filter. During tuning, if the controller detects a high degree of tuning inertia, the controller enables the Low Pass Output Filter and calculates and sets a value for Low Pass Output Filter Bandwidth.
Manual Adjust
Opens the Manual Adjust dialog box to edit parameter settings.
Manual Adjust for Output tab
Use the Output tab of the Manual Adjust dialog box for online editing of Torque/Force Scaling, the Notch Filter Frequency, and the Low-pass Output Filter parameters.
Manual Adjust is unavailable when Logix Designer application is in Wizard mode and when offline edits to the parameters were not applied. 158
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 159
Axis properties
Limits tab - AXIS_SERVO
Appendix A
Use the Limits tab for offline configuration for an axis of the type AXIS_SERVO configured in the General tab as a Servo drive. Configure these values. •
Enable and set maximum positive and negative software travel limits.
•
Configure Position Error Tolerance and Position Lock Tolerance.
•
Set the drive’s Output Limit.
Edit the parameters on this tab: •
Type the parameter changes and select OK to save the edits.
•
Select Manual Adjust to open the Manual Adjust dialog box to this tab and use the spin controls to edit parameter settings. The changes are saved the moment a spin control changes any parameter value.
The parameters on this tab are read-only and cannot be edited when the controller is online if the controller is set to Run mode, or if a Feedback On condition exists. When Logix Designer application is offline, edit these parameters and save the program. Use Save command or select Apply. Download the edited program to the controller before it can be run. Parameter
Description
Soft Travel Limit
Enables software overtravel checking for an axis when Positioning Mode is set to Linear (in the Conversion tab of this dialog box). If an axis is configured for software overtravel limits and if that axis passes beyond these maximum travel limits (positive or negative), a software overtravel fault is issued. The response to this fault is specified by the Soft Overtravel setting (in the Fault Actions tab of this dialog box). Software overtravel limits are disabled during the tuning process
Maximum Positive
Type the maximum positive position used for software overtravel checking, in position units. The Maximum Positive limit must be greater than the Maximum Negative limit.
Maximum Negative
Type the maximum negative position used for software overtravel checking, in position units. The Maximum Negative limit must be less than the Maximum Positive limit.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
159
Page 160
Appendix A
Axis properties
Parameter
Description
Position Error Tolerance
Specifies how much position error the servo tolerates before issuing a position error fault. This value is interpreted as a +/- quantity. For example, setting Position Error Tolerance to 0.75 position units means that a position error fault is generated whenever the position error of the axis is greater than 0.75 or less than -0.75 position units. This value is set to twice the following error at maximum speed based on the measured response of the axis during the autotuning process. In most applications, this value provides reasonable protection in case of an axis fault or stall condition without nuisance faults during normal operation. If it is necessary to change the calculated position error tolerance value, the recommended setting is 150% to 200% of the position error while the axis is running at its maximum speed.
Position Lock Tolerance
Specifies the maximum position error the servo module accepts to indicate the Position Lock status bit is set. This is useful in determining when the desired end position is reached for position moves. This value is interpreted as a +/- quantity. For example, specifying a lock tolerance of 0.01 provides a minimum positioning accuracy of +/- 0.01 position units.
Output Limit
Provides a method of limiting the maximum servo output voltage of a physical axis to a specified level. The servo output for the axis as a function of position servo error, with and without servo output limiting, is shown below. If using a drive in torque loop mode, can use the servo output limit as a software current or torque limit. The percentage of the drive’s maximum current that the servo controller ever commands is equal to the specified servo output limit. For example, if the drive is capable of 30 Amps of current for a 10 Volt input, setting the servo output limit to 5V limits the maximum drive current to 15 Amps. Can also use the servo output limit if the drive cannot accept the full ±10 Volt range of the servo output. In this case, the servo output limit value effectively limits the maximum command sent to the amplifier. For example, if the drive can only accept command signals up to ±7.5 Volts, set the servo output limit value to 7.5 volts.
Manual Adjust
Opens the Manual Adjust dialog box to edit parameter settings.
Manual Adjust for Limits tab
Use the Manual Adjust dialog box for online editing of the Position Error Tolerance, Position Lock Tolerance, and Output Limit parameters.
Manual Adjust is disabled when Logix Designer application is in Wizard mode, and when offline edits to the parameters were not saved or applied.
Limits tab AXIS_SERVO_DRIVE
Use the Limits tab to make these offline configurations for an axis of the type AXIS_SERVO_DRIVE configured as a Servo drive in the General tab of this dialog box. •
160
Enable and set maximum positive and negative software travel limits.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018