Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 8 of 20

M-Drive: M-Drive 6 Operation

Pages 55 to 60 of 148, from M-Drive

The original document is the PDF (4.1 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-TRIM-2 and Contrex M-TRIM-2

Page 55 read from a scan by OCR; it may hold reading errors

THEORY OF OPERATION 6

INTRODUCTION

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

y 1

J !

| Direct

!

| I

1 |

{ |

| Jog __!

\

| l

|

| Master |_|

|

(MV-41) (Mv=45) (MV~46 ) (MV~47) External > Feed Reference ,| Follower Ls RAMP A Forward A Limits ~ Output A - (mv-44) MVv~48 (Mv-42) L rR On ( )

Auxiliary Position/\ 4 id “en Reference Offset |_| om ‘ PID A

| I \

A (Mv-49)

(Mv-43) | 0 ~

Feedback

Figure 6-1: M-Drive Operation Function Block Diagram

Page 6-1

Page 56 read from a scan by OCR; it may hold reading errors

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.

Oo 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 57 read from a scan by OCR; it may hold reading errors

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 (I), 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 muttiplied 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 58 read from a scan by OCR; it may hold reading errors

DIFFERENTIAL

From the most recent vaiue 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 objectionable. 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(A) + A(f2) + _D(f3) = Trim Output CP-65 CP-66 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 6-4

Page 59 read from a scan by OCR; it may hold reading errors

POSITION LOOP 5

The M-Drive has the ability to maintain zero absolute error indefinitely via the Position Loop routine. The calculations for this technique are beyond the scope of this manual, but operationally it is straightforward and is controlled by the following variables:

CP-18 (Lag Pulse Limit)

CP-19 (Lead Pulse Limit)

CP-29 (Pulse Recovery Multiplier)

MV-49 (Pulse Error Count -- used to monitors Position Loop results)

The Position Loop feature is usable in the Follower Format only and works as follows: The total number of external reference pulses received together with the scaling and setpoint indicates how many feedback pulses should have been received. The difference between the number that should have been received and the number actually received is called the position or phase error and is displayed at MV-49. When Position Loop is active, this error is resolved to zero.

The quickness with which the error is reduced to zero is directly proportional to the entry at CP-29. Entries of "zero" will never remove the position error, while entries much larger than "10" typically result in motor instabilities. Obviously, a position error cannot be eliminated without temporarily deviating from the specified ratio setpoint.

The best example may be cases where the master is always running at or near full process speed but the follower is occasionally stopped and restarted (flying starts). When the follower is started and during its acceleration to line speed it accumulates a significant position deficit which can only be eliminated by the follower operating at speeds in excess of the specified ratio for a sustained period of time. This situation can be controlled by the use of CP-18 and CP-19. The entry at CP-18 is the maximum number of feedback pulses that the follower will regain when it falls behind. Conversely, CP-19 is the maximum number of feedback pulses that the follower will fall back when it gets ahead. The particulars of the application will suggest reasonable values for CP-18 and CP-19. That is, Lead and Lag errors which should be considered routine and recoverable. It should be emphasized that the position error is calculated ignoring the Accel and Decel ramps and the position routine will, in extreme situations, overpower the ramp routine. This makes it important that appropriate, reasonable values be chosen for CP-16, CP-17, CP- 18, CP-19 and CP-29.

Page 6-5

Page 60 read from a scan by OCR; it may hold reading errors

OUTPUT 6

The final result of the M-Drive calculations is the applied motor voltage that appears across J2 pins 3 and 4. This applied voltage is created by phase firing the AC line every half cycle. The number of degrees of phase firing is derived from the Feed Forward, Trim Output and Trim Authority calculations.

Page 6-6