Chapter 7. PID Built-In Function BlockGFK-2950C February 2018 3577.4.5 CV Bias TermThe CV Bias term (word 9 in the reference array) is an additive term separate from the PID inputs. Itmay be useful if you are using only Proportional gain (Kp) and you want the CV to be a non-zero valuewhen the PV equals the SP and the Error is 0. In this case, set the CV Bias to the desired CV when thePV is at the SP. CV Bias can also be used for feed forward control where another PID loop or controlalgorithm is used to adjust the CV output of this PID loop.If a non-zero Integral rate is used, the CV Bias will normally be 0 as the integral term acts as anautomatic bias or reset. Just start up in Manual mode and use the Manual Command word (word 14of the reference array) to set the desired CV, and then switch to Automatic mode. This willimmediately calculate the required value for the integral term.7.4.6 CV Amplitude and Rate LimitsThe PID block does not send the calculated Output directly to CV. Both PID algorithms can imposeamplitude and rate of change limits on the output Control Variable. If the Minimum Slew Time (word12 of the reference array) is non-zero, the rate of change (slew rate) limit is determined by dividingthe maximum CV value (32,000) by the Minimum Slew Time. For example, if the Minimum Slew Timeis 100 seconds, the rate limit will be 320 CV counts per second. If the solution interval was 50 ms, thenew CV output cannot change more than 320*50/1000 or 16 CV counts from the previous CV output.The CV output is then compared to the CV Upper Clamp and CV Lower Clamp values (words 10 and11 of the reference array). If CV is outside either limit, the CV output is clamped to the appropriatelimit value. When the CV output is modified to impose either slew rate or amplitude limits (or both)the stored integral term would normally accumulate a large value over time. This phenomenon isknown as reset windup. Reset windup introduces errors in CV after the PID output no longer needs tobe limited. For example, windup would prevent the CV output from moving off a clamp valueimmediately.There are two optional methods for preventing reset windup. If the Anti-reset-windup Action bit (bit4) of Config Word (word 13 of the reference array) is zero (the default), the integral term is adjustedat each PID solution to match the error input and limited CV output exactly. When PV changes whileCV is clamped, or when CV is both rate and amplitude limited in a particular PID solution, this optionassures that a smooth transition will always occur after CV is no longer limited.If the Anti-reset-windup Action bit of Config Word is set, then the integral term stored on theprevious PID solution is simply retained as long as CV is limited. This option was added to assurecompatibility with existing PID applications when the default action described above was introduced.This option is not recommended for new applications.Finally, the PID block checks the Output Polarity (bit 2 of the Config Word) and changes the sign ofthe output if the bit is 1.CV = – (Clamped PID Output) if Output Polarity bit set, orCV= (Clamped PID Output) if Output Polarity bit cleared.If the block is in Automatic mode, the final CV is placed in the Manual Command (word 14 of thereference array). If the block is in Manual mode, the PID equation is skipped because CV is set by theManual Command, but the slew rate and amplitude limits are still checked. This assures that theManual Command cannot change the output above the CV Upper Clamp or below the CV LowerClamp, and the output cannot change faster than allowed by the Minimum Slew Time.