Highlights A greenhouse control model is established based on the switching mechanism. A model is designed for a complex and changeable parameter analysis using the fuzzy control method. The system of feedback control in a greenhouse enables the comprehensive and intelligent management of the crop growth environment. ABSTRACT. Greenhouses in China frequently use manual control curtains that are switched by experience. This approach is not just time consuming and laborious but lacks scientific control. Most existing agricultural greenhouse control systems use a single control mode for a specified variable but lacking an intelligent control system that can integrate several important parameters and operate accurately. This article proposes the greenhouse control system model based on the switch mechanism. The technique is used to employ a newly developed and versatile switch control algorithm as the basic structure to comprehensively consider greenhouse environmental parameters such as the outdoor temperature, outdoor light intensity, indoor humidity, indoor light intensity, indoor temperature and CO2 concentration and to control. A model is designed for a complex and changeable parameter analysis using the fuzzy control method, which can combine these estimates and produce the control intelligence. The system of feedback control in a greenhouse including the heater fan, humidifier, rolling machine, artificial light and CO2 gas cylinder control equipment enables the comprehensive and intelligent management of the crop growth environment. The results of an experimental analysis procedure are delivered to illustrate the proposed technique. The results show that the minimum temperature increases by 5℃ and the maximum temperature decreases by 4℃ within 24 h, causing the temperature to be closer to the expected range. The average air humidity reduces from 86.6% to 73.3%. The amount of CO2 consumed by crops and the effective illumination time increases. The system can effectively reduce the intensity of human labor and accurately and efficiently regulate the growth environment of crops in a greenhouse.