The invention belongs to the technical field of
intelligent control, and particularly relates to a
temperature control method for an agricultural production
greenhouse. According to the method, the actual temperature of a
greenhouse is collected, and a target temperature and a deviation threshold value are preset in the
crop growth stage; an improved
PID controller is constructed, and adaptive nonlinear proportional
gain, a variable-speed integration strategy and a differential
noise suppression and
trend prediction mechanism are adopted to improve control suitability and anti-interference capability; through improving a
cattle herd optimization
algorithm, controller parameters are optimized through dynamic grouping, adaptive step length and a variation mechanism, and an
optimal combination is quickly locked; and finally, real-time adaptive adjustment of the
greenhouse temperature is realized, and a control result is ensured to be stabilized within a preset deviation threshold value. According to the method, the problems of fixed parameters, adjustment
lag, large steady-state error and the like of an existing method are solved, and the precision, reliability and refinement level of
temperature control in the agricultural production greenhouse are improved.