A
genetic algorithm optimization-based
fuzzy PID control method and apparatus, and a device. The method comprises: S1, acquiring a preset standard
electrode plate quality, a measured
electrode plate quality and a
system default
ray intensity, acquiring an ambient temperature parameter, retrieving a monitoring index, and monitoring the stability of a surface density measurement
system according to the monitoring index; S2, on the basis of a preset
system parameter of the surface density measurement system, setting a data sampling interval; S3, on the basis of the data sampling interval, continuously sampling a number N of pieces of data using a median average filtering
algorithm, removing extreme values, calculating the arithmetic mean value of the N-2 pieces of data, and eliminating sampling value deviation of the arithmetic mean value, to obtain surface density sampling data; S4, performing fuzzification
processing on the surface density sampling data, determining a
fuzzy rule, and performing optimization in real time according to the
fuzzy rule and by means of
fuzzy reasoning, to obtain applicable PID parameters; S5, on the basis of the applicable PID parameters, using a
genetic algorithm to control a
servo motor of the surface density measurement system. Thus, the technical problems of parameter tuning being difficult and the robustness of closed-
loop control being low are solved.