Dynamic
Systems |
|||||||||||||||||||
THE PID-CONTROLLER AND THE ON/OFF-CONTROLLER USED IN SYSLAB |
|||||||||||||||||||
Here is a preview of the user
interface of the controller used in SYSLAB.
Controller modesThe controller has the following two main operating modes:
Units used for the set-pointThe set-point has init of percent when it is used in the controller function. The set-point is however originally given in some physical unit, as degree Celsius or meter. To transform from the physical unit to percent, the measurement function must be used, as in the following:
PID-controllerThe controller function is
In Eq. 1, ed,f is the low-pass filtered derivative term given as follows:
where Tf is the filter-time, the value of which typically can be calculated as
where the ratio coefficient a typically is chosen as 0.1. In Eq. 2 the error term ed is given by
where wd is a reference weight which typically is set to 0 or 1 (the latter is the default). The PID-controller used in this lab is equipped with anti-windup, but this feature can be turned off. In the PID-controller the gain Kp can be given positive or negative sign (Kp is assumed to always have positive value). In the litterature positive sign is denoted "reverse action", while negative sign is denoted "direct action". The rule for choosing correct sign is: The sign must be positive if the process gain is positive. On/off-controllerThe on/off-controller function is
[SYSLAB] Updated October 21, 2000. Developed by Finn Haugen. E-mail: Finn@techteach.no |