The invention discloses a
genetic algorithm optimized
fuzzy PID flow control method in a variable-rate spraying
system and belongs to the technical field of
automatic control. The method includes the following steps that: actual
crop pest and
disease damage information is collected, such that required actual
drug dosage can be determined; deviation between set flow and actual flow is calculated; flow deviation and the change rate of the deviation are calculated; and optimization is performed on a fuzzy controller is through using a
genetic algorithm, wherein the optimization includes the steps of determining the optimized algebra,
crossover rate,
mutation rate and
fitness function of the computation of the
genetic algorithm, and optimizing the fuzzy controller according to
system index requirements; errors and the change rate of the errors are inputted to the
fuzzy PID controller optimized by the genetic
algorithm, and output after the computation is adopted as control quantity of the variable-rate spraying
system; and when the system has large errors, bang-bang control is adopted, and when the system has small errors, optimized
fuzzy PID control is adopted. With the genetic
algorithm optimized fuzzy PID flow control method of the invention adopted, a precise control method can be provided for a precise
agriculture drug application system, and agricultural agents can be effectively saved.