Derivative Term; Error Term Mode; Derivative Action On Pv Bit; Combined Operation Of Error Term And Derivative Action Modes - GE PACSystems RX7i Cpu Programmer's Reference Manual

Hide thumbs Also See for PACSystems RX7i:
Table of Contents

Advertisement

Chapter 7. PID Built-In Function Block
7.4.1

Derivative Term

The Derivative Term is Kd (word 7 of the reference array) multiplied by the time rate of change of the
Error term in the interval since the last PID solution.
Derivative = Kd * Δ error / dt = Kd * (Error – previous Error) / dt
where
dt = Current controller time – controller time at previous PID solution.
Two bits in the Config Word (word 13 of the reference array) affect the calculation of Δ error: Error
Term Mode and Derivative Action. For additional information about the operation of these bits, refer
to
above.
Config Word
7.4.2

Error Term Mode

The sign of the Error term is determined by the value of a mode bit in the reference array for the PID
function.
In reverse acting mode, the change in the error term is:
Δ error = (Error – previous Error) = Δ SP – Δ PV
where
Δ PV = (PV – previous PV), and Δ SP = (SP – previous SP).
However, in direct acting mode, the error term is (PV – SP), the sign of the change in the error term is
reversed:
Δ error = (Error – previous Error) = = Δ PV – Δ SP.
7.4.3

Derivative Action on PV Bit

By default, the change in the error term depends on changes in both SP and PV. If SP is constant,
Δ SP = 0, and SP has no effect on the derivative term. When SP changes, however, it can cause large
transient swings in the derivative term and hence the output. Loop stability can be improved by
eliminating the effect of SP changes on the derivative term.
To calculate the Derivative based only on the change in PV, set bit 2 of the Config Word to 1. This
modifies the equations above by assuming SP is constant (Δ SP = 0).
7.4.4

Combined Operation of Error Term and Derivative Action Modes

Bit 0 of Config Word
Value
Error Term Mode
0
Reverse Acting (default)
1
Direct Acting
0
Reverse Acting (default)
1
Direct Acting
356
PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual
Bit 2 of Config Word
Value
Derivative Action
0
Δ SP included
0
Δ SP included
1
Δ SP ignored
1
Δ SP ignored
Error Term Value
Δ SP –Δ PV
Δ PV –Δ SP
–Δ PV
Δ PV
GFK-2950C

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pacsystems rx3iPacsystems rsti-ep

Table of Contents