@all
Attached please find translated versions of temperature control programs originally
published by knodelpa.
http://easy-forum.net/index.php?topic=2132.msg9548#msg9548PI-control with analogue outoutAs reference an example with analogue output is attached. In most cases the differential
part of PID is not used for temperature control.
The function block for PID-control (DC-block) is using a 12 bit output (0 to 4095) but the
analogue output QA1 is limited to 10 bits (0 to 1023). Therefore a recalculation is required
to transfer the DC output to QA1.
PI-control with PWM outputInstead of an analogue output a pulsed digital one may be used. The MFD is equipped with
two function blocks PW for pulse witdh modulation.
Caused by the switching frequency it is recommended to use the transistor output type
(MFD-Txx) together with solid state contactors instead of the relay output type (MFD-Rxx).
The PW – blocks are directly hardware related to outputs Q1 for PW1 and Q2 for PW2.
Therefore it is
not possible to simulate the outputs within EasySoft.
At this example PW1 (equalling output Q1) is used.
3 point stepping controlIn case two independent outputs are required – for example one valve to open and one
valve to close – a 3 point stepping control may be used.
The main difference compared to a PI-control with one output is, that only the proportional
part of DC-function block is used and that the operating mode is bipolar from -4096 to +4096.
- actual temperature = set-point temperature : both outputs off
- actual temperature < set-point temperature : "valve to open" is pulsing
- actual temperature > set-point temperature : "valve to close" is pulsing
Caused by the fact, that the PW-blocks are using positive values as input, the negative
values of control output have to be inverted for PW2.
As already mentioned above the PW – blocks are directly hardware related to outputs Q1
for PW1 and Q2 for PW2. Therefore it is
not possible to simulate the outputs within
EasySoft.
Hopefully my translation is correct and helpful.
Regards
Maikky