The text of a manual · part 13 of 14
SIMATIC TI560T/TI565T Technical Product Description: B Loop Operation, pages 109 to 116
Pages 109 to 116 of 122, from SIMATIC TI560T/TI565T Technical Product Description
The original document is the PDF (565 KB). 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 Texas Instruments 500-5008 and Siemens 500-5008
Page 109
Eliminating Proportional, Integral, or Derivative Action
It is not always necessary (or even desirable) for full three-mode PID control of a loop. Parts of the PID equation may be eliminated by choosing appropriate values for the gain (Kc ), reset Ti , and rate (Td ) thus yielding a P, PI, PD, I, and even an ID and a D loop. Eliminating Integral Action. The inner loops in a cascade strategy probably do not need the extra bit of slugglishness and inertia brought in by integral action, and often are specified as Proportional-only loops. The units on the integral term are Minutes per Repeat and so the larger the number entered the smaller the contribution of the integral term; T ·= 9999.99 means very little integral action, while 0.01 means a lot. Integral action may be eliminated, then, by entering a very large number for the integral time or by entering a value of zero (0.0). The controller tests for the special case of zero integral time and simply turns off the integral calculations in that case. Eliminating Derivative Action. The contribution to the output due to derivative action may be eliminated by setting Td = 0. Eliminating Proportional Action. The contribution to the output due to the proportional term may be eliminated by setting Kc = 0. Since (Kc ) is also normally a multiplier of the integral coefficient (Ki ) and the derivative coefficient Kr, the TI565T makes the computation of these values conditional on the value of (Kc ) as follows: - -
-
-
- -
-
-
SIMATIC TI560T/TI565T Technical Product Description
Loop Operation
B-9
Page 110
TI565T Loop Algorithms (continued) Velocity PID Equation
The standard PID equation computes the actual actuator position. An alternative form of the PID equation computes the change in actuator position rather than the actual position. This form of the equation is referred to as the velocity PID equation and is obtained by subtracting the equation at time “n” from the equation at time “n–1”. The velocity equation is given by
- The output of the velocity equation usually should not be sent as-is to a WY location to drive a valve directly. This algorithm calculates how much to change the value position and so may be fed through some time-proportioning logic to produce forward or reverse drive pulses to a motor-driven valve.
B-10
Loop Operation
SIMATIC TI560T/TI565T Technical Product Description
Page 111
B.2
Loop Alarms The TI565T allows the user to specify alarms conditions that are to be monitored for each loop. The alarms monitored are as follows: Broken Transmitter
This alarm occurs if the input Process Variable is outside of its valid range depending on the type of scaling performed (i.e., 0% offset, 20% offset, or bipolar).
High-High
This alarm occurs if the PV rises above the programmed High-High Alarm Limit.
High
This alarm occurs if the PV rises above programmed High Alarm Limit.
Low
This alarm occurs if the PV falls below the programmed Low Alarm Limit.
Low-Low
This alarm occurs if the PV falls below the Low-Low Alarm Limit.
Yellow Deviation
This alarm occurs if the PV is further than the programmed Yellow Deviation Alarm Limit from the Setpoint.
Orange Deviation
This alarm occurs if the PV is further than the programmed Orange Deviation Alarm Limit from the Setpoint.
Rate of Change
This alarm occurs if the PV changes faster than the programmed Rate-of Change Alarm Limit.
SIMATIC TI560T/TI565T Technical Product Description
Loop Operation
B-11
Page 112
Loop Alarms (continued) The TI565T also provides hysteresis on all alarms except the Rate-of-Change alarm to prevent them from chattering when the PV is near one of the alarm limits. This is done by allowing the user to specify an alarm deadband. The loop will not exit the alarm condition until the PV has come inside the alarm limit minus the deadband. This is shown graphically in the following diagram.
100% PV SCALE HIGH LIMIT ALARM DEADBAND
SP
ALARM DEADBAND
0% PV SCALE
LOW
LOW
LOW
YELLOW ORANGE YELLOW
HIGH
HIGH
HIGH
YELLOW ORANGE YELLOW
All alarm conditions are available to TI565T SF programs, to ladder logic, and to operator interface devices through task codes.
B-12
Loop Operation
SIMATIC TI560T/TI565T Technical Product Description
Page 113
The TI565T has three modes in which loops operate. (Actually there is a fourth state - loop is not operating - which the loop is in when the TI565T is in PROGRAM mode.) These modes are descri ed below. Manual
In this mode, the loop output is not calculated by the TI565T, but comes from the operator. While a loop is in MANUAL, the TI565T will still monitor the Broken Transmitter, High-High, High, Low, Low-Low, and Rate-of-Change alarms. The Yellow and Orange deviation alarms are not monitored.
Auto
In this mode, the TI565T computes the loop output. The setpoint (SP) for the loop comes from either an operator, SF Program, or from a RAMP/SOAK Table. RAMP/SOAK is discussed later in this document. All alarms are monitored.
Cascade
In this mode, the TI565T computes the loop output. The setpoint for the loop comes from a user specified location called the remote setpoint. For truly cascaded loops, the remote setpoint is the output of another loop. The TI565T also allows the remote setpoint to be some other variable in the TI565T. (Such loops are not truly cascaded but the same terminology is used. The TI565T does some things for truly cascaded loops that are not done for a simple remote setpoint. These differences will be discussed later.) All alarms are monitored. For cascaded loops, the loop whose output is used as the setpoint for another loop is called the outer loop; and the loop that uses the output of another loop for its setpoint is called the inner loop. It is possible to cascade loops more than two levels deep. If an inner loop of a cascade is placed in AUTO or MANUAL, then all of its outer loops must be placed in MANUAL to prevent reset windup. Similarly, an outer loop cannot be placed in AUTO until all inner loops are in CASCADE. This can become complicated, so the logic to handle opening and closing of cascades is built into the TI565T. Briefly, this is done as follows: 1.
If an inner loop is switched out of CASCADE then all of its outer loops are switched to MANUAL.
2.
A request to place an outer loop in AUTO or CASCADE is denied unless the inner loop is in CASCADE.
SIMATIC TI560T/TI565T Technical Product Description
Loop Operation
B-13
Page 114
Loop Modes (continued) If a loop is not truly cascaded but is simply using a remote setpoint, changes to and from CASCADE mode are allowed. Mode Changes
The TI565T allows the loop mode to be changed by an SF program, ladder logic, or an operator interface device using task codes. While the loop may be requested to enter any mode from any other mode, the TI565T actually only performs the following mode transitions: MANUAL
AUTO
AUTO
CASCADE
CASCADE
AUTO
AUTO
MANUAL
The other requests (MANUAL CASCADE and CASCADE MANUAL) are handled as transitions to AUTO and then to the final mode as follows:
B-14
Loop Operation
MANUAL
CASCADE is done as
MANUAL
AUTO
CASCADE
CASCADE
MANUAL is done as
CASCADE
AUTO
MANUAL
SIMATIC TI560T/TI565T Technical Product Description
Page 115
Bumpless Transfer of Control
The TI565T provides for bumpless mode changes (this means that the controller output does not change immediately after the mode change). This is described below. Position PID Algorithm MANUAL to AUTO. The Setpoint and Bias are initialized as follows.
AUTO to CASCADE. The remote Setpoint (i.e., the output of the outer loop) is initialized as follows.
Ą
Velocity PID Algorithm MANUAL to AUTO The Setpoint is initialized as follows.
AUTO to CASCADE. The Remote Setpoint (i.e., the output of the outer loop) is initialized as follows.
Ą
SIMATIC TI560T/TI565T Technical Product Description
Loop Operation
B-15
Page 116
B.3
Special Computations on Output, PV, or Error
Forward and Reverse Acting Loop
The TI565T allows a loop to be programmed as reverse acting. With a reverse acting loop, the output is driven in the opposite direction of the error. When a loop is programmed to be reverse acting, the TI565T performs the initial loop calculation as follows:
NOTE: Programming a loop to be reverse acting is equivalent to programming a negative proportional gain.
- Different manufacturers define forward and reverse acting controller responses in different ways. The definition used here describes the controller’s output response to a change in Set Point. A TI565T controller with the forward-acting option specified will respond to an increase in Set Point with an increase in its output. A negative-acting loop will decrease its output when the Set Point is increased. Square Root of the Process Variable
B-16
Loop Operation
The TI565T will let the user specify that the square root of the Process Variable is to be used instead of the raw process variable. This is useful when the input for the Process Variable is from a device (such as an orifice meter) that requires a square root calculation to determine the correct value to be used.
SIMATIC TI560T/TI565T Technical Product Description