The text of a manual · part 7 of 16
M-Drive User Manual, pages 61 to 70
Pages 61 to 70 of 160
The original document is the PDF (1.8 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.
Filed in the catalog under the Fenner M-DRIVE-4 and Contrex M-DRIVE-4
Page 61
FOLLOWER FORMAT, NON-STANDARD PARAMETERS (SECONDARY MODE)
Example:
It is desired that the Setpoint and Tach reflect the flow ratio in gallons/minute of BtoA.
The Motor/Pump combination used for Component A delivers 10 gallons/minute at 1725 motor RPM.
The Motor/Pump combination used for Component B delivers 30 gallons/minute at 1800 motor RPM.
A 60-tooth gear is used for the Ext. Ref. (Component A). A 30-tooth gear is used for follower (Component B).
Both gears mount on the motor armature.
Calculations
1.
Code # Code Title
CP-62 CP-64 CP-37 CP-36
CP-21 CP-23 CP-31 CP-30
Determine the flow ratio that exists when both components are flowing at maximum rate.
30 Gal/Min (Component B) = 3.000 10 Gal/Min (Component A)
Data to be Entered Secondary Scaling Format 02 Secondary Display Format 02 Secondary RPM Feedback Max 1800
Secondary RPM External 1725 Reference Max
Secondary Setpoint Eng Units 3.000
Secondary Display Eng. Units 3.000 PPR Feedback 30 PPR External Reference 60
Page 5-11
FOLLOWER FORMAT, NON-STANDARD PARAMETERS (SECONDARY MODE)
Example:
It is desired that the Setpoint and Tach reflect the flow ratio in gallons/minute of BtoA.
The Motor/Pump combination used for Component A delivers 10 gallons/minute at 1725 motor RPM.
The Motor/Pump combination used for Component B delivers 30 gallons /minute at 1800 motor RPM.
A 60-tooth gear is used for the Ext. Ref. (Component A). A 30-tooth gear is used for follower (Component B).
Both gears mount on the motor armature.
Caiculation
1.
Code # Code Title
CP-62 CP-64 CP-37 CP-36
CP-21 CP-23 CP-31 CP-30
Determine the flow ratio that exists when both components are flowing at maximum rate.
30 Gai/Min (Component B) = 3.000 10 Gal/Min (Component A)
Data to be Entered Secondary Scaling Format 02 Secondary Display Format 02 Secondary RPM Feedback Max 1800
Secondary RPM External 1725 Reference Max
Secondary Setpoint Eng Units 3.000
Secondary Display Eng. Units 3.000 PPR Feedback 30 PPR External Reference 60
Page 5-11
Page 62
TUNING
Tuning refers to the procedure of setting the tuning parameters of the control algorithm to achieve stable and optimal performance. The default tuning parameters should provide for stable operation in the majority of applications. The tuning instructions below are provided for those applications which require additional M-Drive tuning.
TUNING PROCEDURE - SPEED LOOP 65 - GAIN
To set the Gain (Proportional Band), first set the Reset (66) and Rate (67) variable to zero and the Trim Authority (68) to 100. Reduce the Gain number until the system goes unstable (erratic). This is easily tested by moving between two wide spread setpoint values while in Master Scaling Mode. When instability is reached, increase the Gain number slightly until the system stabilizes.
66 - RESET (Integral)
Using only Gain, the system will exhibit a phenomenon called proportional droop, whereby the setpoint is never reached due to system losses. Reset should be added until overshoot is exhibited (move from large numbers to small to increase the reset). Overshoot occurs when the feedback goes over the desired setpoint before settling to the desired setpoint value. It is necessary to switch between setpoints to observe overshoot.
67 - RATE (Derivative) Rate is only required if the control is still too sluggish after setting the Gain and Reset parameters. Rate, like Gain, should be reduced up to the point of instability, then increased slightly until the system stabilizes.
To reduce Rate, move from larger to smaller numbers. To increase Rate, move from smaller to larger numbers.
Page 5-12
TUNING
Tuning refers to the procedure of setting the tuning parameters of the control algorithm to achieve stable and optimal performance. The default tuning parameters should provide for stable operation in the majority of applications. The tuning instructions below are provided for those applications which require additional M-Drive tuning.
TUNING PROCEDURE - SPEED LOOP 65 - GAIN
To set the Gain (Proportional Band), first set the Reset (66) and Rate (67) variable to zero and the Trim Authority (68) to 100. Reduce the Gain number until the system goes unstable (erratic). This is easily tested by moving between two wide spread setpoint values while in Master Scaling Mode. When instability is reached, increase the Gain number slightly until the system stabilizes.
66 - RESET (Integral)
Using only Gain, the system will exhibit a phenomenon called proportional droop, whereby the setpoint is never reached due to system losses. Reset should be added until overshoot is exhibited (move from large numbers to small to increase the reset). Overshoot occurs when the feedback goes over the desired setpoint before settling to the desired setpoint value. It is necessary to switch between setpoints to observe overshoot.
67 - RATE (Derivative) Rate is only required if the control is still too sluggish after setting the Gain and Reset parameters. Rate, like Gain, should be reduced up to the point of instability, then increased slightly until the system stabilizes.
To reduce Rate, move from larger to smaller numbers. To increase Rate, move from smaller to larger numbers.
Page 5-12
Page 63
68 - TRIM AUTHORITY
Trim Authority determines how much of the output is influenced by the Gain, Reset and Rate terms, and how much is determined by feedforward. If it is not possible to achieve stable operation with 100% Trim Authority, reduce this parameter and repeat the tuning procedure.
69 - RATE THRESHOLD
If erratic operation is exhibited only at very low feedback frequencies, the Rate Threshold can be increased slightly. This parameter determines the minimum amount of differential error required before the Rate term influences the control output.
TIMING
16 - ACCELERATION TIME
This parameter determines the acceleration rate of the setpoint. The number entered is the amount of time in seconds required to increase the setpoint from 0 to 2000 RPMs.
17 - DECELERATION TIME
This number determines the deceleration rate of the setpoint. The number entered is the amount of time in seconds required to decrease the setpoint from 2000 to 0 RPMs.
Page 5-13
68 - TRIM AUTHORITY
Trim Authority determines how much of the output is influenced by the Gain, Reset and Rate terms, and how much is determined by feedforward. If it is not possible to achieve stable operation with 100% Trim Authority, reduce this parameter and repeat the tuning procedure.
69 - RATE THRESHOLD
If erratic operation is exhibited only at very low feedback frequencies, the Rate Threshold can be increased slightly. This parameter determines the minimum amount of differential error required before the Rate term influences the control output.
TIMING
16 - ACCELERATION TIME
This parameter determines the acceleration rate of the setpoint. The number entered is the amount of time in seconds required to increase the setpoint from 0 to 2000 RPMs.
17 - DECELERATION TIME
This number determines the deceleration rate of the setpoint. The number entered is the amount of time in seconds required to decrease the setpoint from 2000 to 0 RPMs.
Page 5-13
Page 64
LIMITS AND ALARMS
The following parameters set up the control limits and alarms for the M-Drive.
10 - MINIMUM LIMIT This parameter sets the minimum level of RPMs for operation. It is possible to enter a setpoint below this level. However, the control will always attempt to maintain a speed at or above the minimum limit.
11 - MAXIMUM LIMIT This parameter sets the maximum level of RPMs for operation. It is possible to enter a setpoint above this limit. However, the contro! will always attempt to maintain a speed at or below the maximum limit.
12 - LOW ALARM
This parameter sets the RPM level at which the Low Alarm output is energized. The output will energize when the feedback RPMs are at or below this level.
13 - HIGH ALARM
This parameter sets the RPM level at which the High Alarm output is energized. The output will energize when the feedback is at or above this RPM level.
14 - ERROR ALARM 1 - RAMPED ERROR This parameter establishes the error band (Ramped Ref minus Feedback) in RPMs at which the Error Alarm 1 output is energized. Any positive or negative error at or above this level energizes the output.
15 - ERROR ALARM 2 - SCALED ERROR This parameter establishes the error band (Scaled Ref minus Feedback) in RPMs at which the Error Alarm 2 output is energized. Any positive or negative error at or above this level energizes the output.
NOTE: This alarm is useful for determining when the ultimate process speed has been reached - E.g., after an acceleration period.
Page 5-14
LIMITS AND ALARMS
The following parameters set up the control limits and alarms for the M-Drive.
10 - MINIMUM LIMIT This parameter sets the minimum level of RPMs for operation. It is possible to enter a setpoint below this level. However, the control will always attempt to maintain a speed at or above the minimum limit.
11 - MAXIMUM LIMIT This parameter sets the maximum level of RPMs for operation. It is possible to enter a setpoint above this limit. However, the contro! will always attempt to maintain a speed at or below the maximum limit.
12 - LOW ALARM
This parameter sets the RPM level at which the Low Alarm output is energized. The output will energize when the feedback RPMs are at or below this level.
13 - HIGH ALARM
This parameter sets the RPM level at which the High Alarm output is energized. The output will energize when the feedback is at or above this RPM level.
14 - ERROR ALARM 1 - RAMPED ERROR This parameter establishes the error band (Ramped Ref minus Feedback) in RPMs at which the Error Alarm 1 output is energized. Any positive or negative error at or above this level energizes the output.
15 - ERROR ALARM 2 - SCALED ERROR This parameter establishes the error band (Scaled Ref minus Feedback) in RPMs at which the Error Alarm 2 output is energized. Any positive or negative error at or above this level energizes the output.
NOTE: This alarm is useful for determining when the ultimate process speed has been reached - E.g., after an acceleration period.
Page 5-14
Page 65
PHASE CONTROL ZERO POSITION ERROR CONTROL
The M-Drive has the ability to reduce the long-term speed error to zero in Follower Scaling Mode. This is done by keeping track of the number of External Reference and Feedback pulses received. The inside speed control loop is then setpoint adjusted to reduce this error to zero.
The M-Drive Zero Error controlling parameters are defaulted to zero. Values for the following three parameters will need to be entered to invoke this feature of the M-Drive. For additional information concerning Zero Position Error Control, refer to Chapter 6, Theory of Operation.
18 - LAG PULSE LIMIT The Lag Pulse Limit sets a maximum pulse error count for the difference between the idealized Feedback pulses minus the actual Feedback pulses. It may not always be desirable to recover all of the position error lag. Set this parameter to the desired lag pulse limit.
19 - LEAD PULSE LIMIT The Lead Pulse Limit sets a maximum pulse error count when the Feedback pulses exceed the idealized Feedback pulse count. Set this parameter to the desired lead pulse limit.
29 - RECOVERY MULTIPLIER
The Recovery Multiplier determines the rate at which the pulse error is reduced to zero. This parameter multiplied by the pulse error count is the number by which the speed setpoint is adjusted every 100 milliseconds.
49 - PULSE ERROR COUNT (Monitor Variable)
Indicates the actual existing position error in feedback pulses.
NOTE: When the phase control feature is invoked (CP-29 does not equal zero), the Minimum Limit (CP-10) and Maximum Limit (CP-11) may be exceeded while attempting to recover position error.
Page 5-15
PHASE CONTROL ZERO POSITION ERROR CONTROL
The M-Drive has the ability to reduce the long-term speed error to zero in Follower Scaling Mode. This is done by keeping track of the number of External Reference and Feedback pulses received. The inside speed control loop is then setpoint adjusted to reduce this error to zero.
The M-Drive Zero Error controlling parameters are defaulted to zero. Values for the following three parameters will need to be entered to invoke this feature of the M-Drive. For additional information concerning Zero Position Error Control, refer to Chapter 6, Theory of Operation.
18 - LAG PULSE LIMIT The Lag Pulse Limit sets a maximum pulse error count for the difference between the idealized Feedback pulses minus the actual Feedback pulses. It may not always be desirable to recover all of the position error lag. Set this parameter to the desired lag pulse limit.
19 - LEAD PULSE LIMIT The Lead Pulse Limit sets a maximum pulse error count when the Feedback pulses exceed the idealized Feedback pulse count. Set this parameter to the desired lead pulse limit.
29 - RECOVERY MULTIPLIER
The Recovery Multiplier determines the rate at which the pulse error is reduced to zero. This parameter multiplied by the pulse error count is the number by which the speed setpoint is adjusted every 100 milliseconds.
49 - PULSE ERROR COUNT (Monitor Variable)
Indicates the actual existing position error in feedback pulses.
NOTE: When the phase control feature is invoked (CP-29 does not equal zero), the Minimum Limit (CP-10) and Maximum Limit (CP-11) may be exceeded while attempting to recover position error.
Page 5-15
Page 66
FEEDBACK AND EXT. REF. SOURCES OTHER THAN GEAR AND SENSOR
In certain applications, the Feedback and External Reference signals are not generated by gears or encoders. Two examples are voltage controlled oscillators and the clocking oscillators in inverters. The basic rule for making these substitutions is to use 60 for the PPR entry and the maximum frequency for the RPM entry. This works until the frequency exceeds 9999 HZ. For frequencies from 10K to 30K HZ, use 600 for the PPR entry and maximum frequency divided by 10 for the RPM entry.
Page 5-16
FEEDBACK AND EXT. REF. SOURCES OTHER THAN GEAR AND SENSOR
In certain applications, the Feedback and External Reference signals are not generated by gears or encoders. Two examples are voltage controlled oscillators and the clocking oscillators in inverters. The basic rule for making these substitutions is to use 60 for the PPR entry and the maximum frequency for the RPM entry. This works until the frequency exceeds 9999 HZ. For frequencies from 10K to 30K HZ, use 600 for the PPR entry and maximum frequency divided by 10 for the RPM entry.
Page 5-16
Page 67
THEORY OF OPERATION 6 THEORY OF OPERATION 6
INTRODUCTION INTRODUCTION Figure 6-1 below contains a function block diagram of M-Drive operation. This chapter Figure 6-1 below contains a function block diagram of M-Drive operation. This chapter is organized around this diagram, with a chapter section for each triangle enclosed is organized around this diagram, with a chapter section for each triangle enclosed number. number.
(MV-47) (MV-47) External External / Reference 4 cutpst A | Reference Output \ (MV-42)
Auxiliary Auxiliary Reference Reference
(Mv-43) (Mv-43) Feedback u Feedback u
Figure 6-1: M-Drive Operation Function Block Diagram Figure 6-1: M-Drive Operation Function Block Diagram
Page 6-1 Page 6-1
Page 68
SCALING 1
When in the "RUN" state, the M-Drive determines the active scaling format and calculates the required speed from the relevant variables such as setpoint, external reference, etc. Internally, this is formulated as the required feedback frequency. It is called the "Scaled Reference", and can be monitored at MV-45. This calculation is not subject to the Accel/Decel ramps and as such represents what the required feedback frequency will be when the Accel/Decel ramps have run their course.
Jogging is no different; however, when using the "Direct" scaling format, this routine is bypassed and "0" appears at MV-45.
RAMP 2
The Ramp routine calculates the ramped reference from the scaled reference. If the scaled reference is constant and the Accel/Decel ramps have run their course, the ramped reference is equal to the scaled reference. However, if the scaled reference changes, then the ramp routine determines (via the entries at CP-16 (Accel) and CP-17 (Decel)) the maximum allowable change in reference during 10 milliseconds:
oO if the new scaled reference is within this limit, it becomes the new ramped reference.
o If the new reference is outside the limit, then the new ramped reference is taken to be that imposed by the limit.
In addition, the following situations effect RAMP: 1. During R-Stop, the Ramped Reference ramps down at the rate specified by CP-17. The only exception is when Ramp Disable is invoked. Under this condition, the Ramped Reference is frozen.
2. During F-Stop, the Ramped Reference goes immediately to zero irrespective of the specified Decel rate or Ramp Disable.
3. When Jogged, the Ramped Reference increases to the Jog Speed (CP-5) according to the Accel Rate (CP-16). When the Jog State is terminated, the Ramped Reference ignores the specified Decel rate and goes immediately to zero.
4. When the Direct Scaling format is used, the Ramp routine is bypassed and a "0" appears in MV-46 (Ramped Reference).
5. Note that if the position loop is active, it can (under some circumstances) overpower the Ramp Routine. (See Position Loop discussion in this chapter.)
Page 6-2
SCALING 1
When in the "RUN" state, the M-Drive determines the active scaling format and calculates the required speed from the relevant variables such as setpoint, external reference, etc. Internally, this is formulated as the required feedback frequency. It is called the "Scaled Reference", and can be monitored at MV-45. This calculation is not subject to the Accel/Decel ramps and as such represents what the required feedback frequency will be when the Accel/Decel ramps have run their course.
Jogging is no different; however, when using the "Direct" scaling format, this routine is bypassed and "0" appears at MV-45.
RAMP 2
The Ramp routine calculates the ramped reference from the scaled reference. If the scaled reference is constant and the Accel/Decel ramps have run their course, the ramped reference is equal to the scaled reference. However, if the scaled reference changes, then the ramp routine determines (via the entries at CP-16 (Accel) and CP-17 (Decel)) the maximum allowable change in reference during 10 milliseconds:
oO if the new scaled reference is within this limit, it becomes the new ramped reference.
o If the new reference is outside the limit, then the new ramped reference is taken to be that imposed by the limit.
In addition, the following situations effect RAMP: 1. During R-Stop, the Ramped Reference ramps down at the rate specified by CP-17. The only exception is when Ramp Disable is invoked. Under this condition, the Ramped Reference is frozen.
2. During F-Stop, the Ramped Reference goes immediately to zero irrespective of the specified Decel rate or Ramp Disable.
3. When Jogged, the Ramped Reference increases to the Jog Speed (CP-5) according to the Accel Rate (CP-16). When the Jog State is terminated, the Ramped Reference ignores the specified Decel rate and goes immediately to zero.
4. When the Direct Scaling format is used, the Ramp routine is bypassed and a "0" appears in MV-46 (Ramped Reference).
5. Note that if the position loop is active, it can (under some circumstances) overpower the Ramp Routine. (See Position Loop discussion in this chapter.)
Page 6-2
Page 69
FEED FORWARD 3
The Feed Forward provides an output to the output summing junction as a percent of Ramped Reference. Unlike the PID routine, Feed Forward does not use the error or deviation in its calculations. Instead, Feed Forward is later summed with the PID output to provide the total output.
Feed Forward is used directly as the speed command when the M-Drive is operating Open Loop. When operating Closed Loop, Feed Forward is first adjusted by the PID routine before being applied to the drive output.
THE PID ROUTINE 4
When operating OPEN LOOP, the PID routine is bypassed. When operating Closed Loop, the PID routine generates from the error a correction to the Feed Forward calculation described above. This correction is composed of three parts: Proportional (P), Integral (!), and Differential (D). These components are described below.
PROPORTIONAL
The feedback frequency is subtracted from the Ramped Reference to produce the Proportional error. This value can be observed at MV-44 (Deviation). The Proportional Error is multiplied by a scaling constant and then divided by the quantity at CP-65 (Gain) to derive the proportional term. Thus, smaller entries at CP-65 result in greater responses to proportional errors.
INTEGRAL
The running accumulated total error is the Integrated Error. The Integrated Error is multiplied by a scaling constant and divided by the quantity at CP-66 (Reset) to derive the integral term. As this coefficient is also in the denominator, smaller entries result in faster response.
Page 63
FEED FORWARD 3
The Feed Forward provides an output to the output summing junction as a percent of Ramped Reference. Unlike the PID routine, Feed Forward does not use the error or deviation in its calculations. Instead, Feed Forward is later summed with the PID output to provide the total output.
Feed Forward is used directly as the speed command when the M-Drive is operating Open Loop. When operating Closed Loop, Feed Forward is first adjusted by the PID routine before being applied to the drive output.
THE PID ROUTINE 4
When operating OPEN LOOP, the PID routine is bypassed. When operating Closed Loop, the PID routine generates from the error a correction to the Feed Forward calculation described above. This correction is composed of three parts: Proportional (P), Integral (1), and Differential (D). These components are described below.
PROPORTIONAL
The feedback frequency is subtracted from the Ramped Reference to produce the Proportional error. This value can be observed at MV-44 (Deviation). The Proportional Error is multiplied by a scaling constant and then divided by the quantity at CP-65 (Gain) to derive the proportional term. Thus, smaller entries at CP-65 result in greater responses to proportional errors.
INTEGRAL
The running accumulated total error is the Integrated Error. The Integrated Error is multiplied by a scaling constant and divided by the quantity at CP-66 (Reset) to derive the integral term. As this coefficient is also in the denominator, smaller entries result in faster response.
Page 6-3
Page 70
DIFFERENTIAL
From the most recent value for error, subtract the preceding value. This yields the change in error or the differential error. The result is multiplied by a scaling constant and divided by the entry at CP-67 (Rate) to derive the differential term. As in the case of the other two components, this means that smaller figures in CP-67 have larger consequences.
DIFFERENTIAL THRESHOLD
Because of the inherent sensitivity of the differential factor, its response to such variables as the tooth to tooth angular error of the feedback gear can be objectionabie. This can be controlled by requiring the differential error to exceed some threshold before being recognized. This threshold value is entered at CP-69.
TRIM OUTPUT
The three components are then added together to give the net correction to be added to the Feed Forward calculation:
P(f1) + I(f2) + _D(f3) = Trim Output CP-65 CP-86 CP-67
(f1, f2 and #3 are constants)
This PID Routine correction is called the “Trim Output", and is a signed number which can be monitored at MV-48.
Page 64
DIFFERENTIAL
From the most recent value for error, subtract the preceding value. This yields the change in error or the differential error. The result is multiplied by a scaling constant and divided by the entry at CP-67 (Rate) to derive the differential term. As in the case of the other two components, this means that smaller figures in CP-67 have larger consequences.
DIFFERENTIAL THRESHOLD
Because of the inherent sensitivity of the differential factor, its response to such variables as the tooth to tooth angular error of the feedback gear can be objectionabie. This can be controlled by requiring the differential error to exceed some threshold before being recognized. This threshold value is entered at CP-69.
TRIM OUTPUT
The three components are then added together to give the net correction to be added to the Feed Forward calculation:
P(f1) + I(f2) + _D(f3) = Trim Output CP-65 CP-86 CP-67
(f1, f2 and #3 are constants)
This PID Routine correction is called the “Trim Output", and is a signed number which can be monitored at MV-48.
Page 64