LE3U PLC Analog and PID
LE3U PLC Analog and PID
T his inst ruct ion is used f or t he PID calculat ion program f or PID cont rol.
S1: t he set t arget value;
S2: current value (ret urned value);
S3: PID cont rol paramet er, occupying 10 consecut ive D regist ers st art ing f rom S3. S3 is
t he PID channel number; S3+1 is T he proport ional coefficient kp; S3+2 is t he int egral
t ime ki; S3+3 is t he diff erent ial t ime kd; S3+4 is t he t hreshold of t he error. When t he
value is less t han t his value, t he PID adjust ment is not perf ormed, and t he f requent
adjust ment causes t he oscillat ion t o be avoided when t he error is small; +5 Out put
upper limit value PMAX; S3+6 out put lower limit value PMIN; S3+7 is 0 is posit ion t ype
PID, 1 is increment al PID; S3+8 is st andby; S3+9 is int egral calculat ion t hreshold, only
When t he error is less t han t his value, PID is added t o t he int egral calculat ion. If it is
great er t han t his value, t i is 0; D: cont rol value out put ;
T he above △u(k) is t he cont rol quant it y increment , and t he "increment al PID" is direct ly
cont rolled by t his increment .
Not e: e(k) is t he current error value of PLC int ernal variable; e(k-1) last error, PLC
int ernal variable; e(k-2) earliest error, PLC int ernal variable;
When det ermining t he proport ional coefficient Kp, first remove t he int egral t erm and t he
derivat ive t erm of t he PID, and let T i=0 and T d=0 make it a pure proport ional
adjust ment . T he input set t ing is 60%~70% of t he maximum allowable out put of t he
syst em. T he proport ional coefficient Kp gradually increases f rom 0 unt il t he syst em
oscillat es. Conversely, t he proport ional coefficient Kp decreases gradually f rom t his t ime
unt il t he syst em oscillat ion disappears. Record t he proport ional coefficient Kp at t his
t ime and set t he proport ional coefficient Kp of t he PID t o 60%~70% of t he current
value.
Af t er t he scaling f act or Kp is det ermined, set a larger int egral t ime const ant T i, t hen
gradually decrease T i unt il t he syst em oscillat es, and t hen, in t urn, gradually increase T i
unt il t he syst em oscillat ion disappears. Record at t his t ime
T i, set t he int egral t ime const ant of t he PID T i t o be 150%~180% of t he current value.
T he diff erent ial t ime const ant T d is generally not set and is 0. At t his t ime, t he PID
adjust ment is convert ed t o PI adjust ment . If you need t o set it , it is t he same as t he
met hod of det ermining Kp, t aking 30% of it s value when it is not oscillat ing.
Fine-t une t he PID paramet ers unt il t he perf ormance requirement s are met .
www.lollet t e.com