The invention belongs to the field of
process equipment control, and provides a PID (
Proportion Integration Differentiation) controller optimization method (BCGSSA-PID) based on an improved
sparrow search algorithm in order to solve the problem that the
system temperature is difficult to control due to nonlinearity,
time lag and the like in the production process of a typical thermotechnical object
continuous stirred tank reactor (CSTR). According to the method, firstly, three parameters of a
PID controller are optimized through a BCGSSA
algorithm, an optimal parameter combination of a proportionality coefficient Kp, an
integral coefficient Ki and a
differential coefficient Kd is found, and then the optimal parameter combination is used for
temperature control of a CSTR
system. Compared with a traditional PID control method, the method can automatically select a better parameter combination, and avoids the problems that time and labor are consumed and an ideal
control effect cannot be achieved when parameters are selected manually depending on experience. According to the method, the high response speed is guaranteed, the overshoot suppression is higher, the
system can reach the
steady state more quickly, and the dynamic performance of the system is remarkably improved. Meanwhile, the method has high robustness and adaptivity, and the system temperature can be ideally controlled even under the condition that disturbance is introduced into the system and a
system model is mismatched.