beautypg.com

Hanna Instruments HI 21 Series User Manual

Page 11

background image

21

20

In HI 21 and HI 22 the proportional action is set directly as
“Deviation” in pH and mV units respectively. Relation be-
tween Deviation (D) and PB is:

D = Range * PB/100

Each setpoint has a selectable proportional band: PB1 for
setpoint1 and PB2 for setpoint2. Two further parameters must
be provided for both setpoints:

Ti = Kp/Ki, reset time, measured in minutes
Td = Kd/Kp, rate time, measured in minutes.

Ti1 and Td1 will be the reset time and rate time for setpoint1,
while Ti2 and Td2 will be the reset time and the rate time for
setpoint2.

TUNING A PID CONTROLLER

The proportional, integrative, derivative terms must be tuned,
i.e. adjusted to a particular process. Since usually the pro-
cess variables are not completely known, a “trial and error”
tuning procedure must be applied to get the best possible
control for the particular process. The target is to achieve a
fast response time and a small overshoot.

Many tuning procedures are available and can be applied
to HI 21. A simple and profitable procedure is reported in
this manual and can be used in almost all applications.

The user can vary five different parameters, i.e. the setpoint
(S1 or S2), the deviation (D1 or D2), the reset time, the rate
time and the proportional control mode period T

c

(from 1 to

30 minutes).

Note

User can disable the derivative and/or integrative action (for
P or PI controllers) by setting Td = 0 and/or Ti = MAX (Ti)
respectively through the setup procedure.

SIMPLE TUNING PROCEDURE

The following procedure uses a graphical technique of ana-
lyzing a process response curve to a step input.

Note

Connecting an external device (chart recorder or PC) to the
controller, the procedure is easier and doesn’t need the use
of hand plotting the process variable (pH or mV).

An example of how the response overshoot can be improved with
a proper rate action setting is depicted in the following graphic.

PID TRANSFER FUNCTION

The transfer function of a PID control is as follows:

Kp + Ki/s + s Kd = Kp (1 + 1/(s Ti) +s Td)

with Ti = Kp/Ki, Td = Kd/Kp,

where the first term represents the proportional action, the
second is the integrative action and the third is the derivative
action.

Proportional action can be set by means of the Proportional
Band (PB). Proportional Band is expressed in percentage of the
input range and is related to Kp according to the following:

Kp = 100/PB.

pH

RATE ACTION COMPENSATES FOR RAPID CHANGES

t

Error

100%

0

Proportional Band

Controller

output

This manual is related to the following products: