At present,China is still a water-deficient country,and the per capita freshwater resources in Ningxia are only 1 / 40 th that of Tibet in China.Therefore,it is imperative to reduce the water required by plants through intelligent processes.On the other hand,the natural environment in many remote areas of China is relatively ugly.How to effectively improve the comprehensive utilization rate of agricultural planting land and water,promote the modernization and intelligentization of infrastructure modern agricultural engineering,and achieve better and sustainable development of modern infrastructure agriculture have become an important technical problem that China still needs to focus on.Aiming at the above problems,this paper proposes a solution that combines the Internet of Things technology,sensor technology and intelligent control technology to design an intelligent greenhouse control system.The subnodes of this system use the ISM band(industrial medical science band)wireless communication technology to communicate with the main control module.The main control module uses NB-IoT(narrowband Internet of Things)communication network technology to transmit data to the narrowband through the operator’s base station Internet of things communication platform,combined with tomato growth stage to comprehensively analyze the data situation.An algorithm is used to calculate the fan operating time.This article explains the system from the following aspects.(1)Data acquisition subnode based on 2.4G-2.5G(ISM band)wireless communication technology and main control module based on NB-IoT communication technology.NB-IoT communication technology works in the authorized frequency bands of the three major operators,and the communication is stable and reliable.The host computer’s main control module system uses NB-IoT to upload the real-time monitoring environment environmental monitoring data in real time through the MQTT(Message Queuing Telemetry Transport)communication protocol.And receive control instructions issued by the platform to control motors,fans and other equipment.(2)Design the hardware monitoring module of the lower computer.The lower computer is mainly composed of data acquisition subnodes and the lower computer main control module.The modules use nrf2401 wireless module for data transmission.The data acquisition subnodes use STC12 chip and are mainly responsible for the underlying data acquisition Transmission;the main control module of the lower computer uses the STM32 chip,which is mainly used to provide monitoring data upload and control the hardware in the facility to improve the control of the environment.(3)Design of Web and mobile data monitoring platform.NB-IoT sends the monitoring data to the Alibaba Cloud IoT platform through the operator’s base station,and the Alibaba Cloud IoT platform forwards the data to the server database.Design a web monitoring data website.Users can visually display the data through the PC’s web and mobile phones.After logging in,the data in the greenhouse can be monitored in real time.(4)A set of intelligent control algorithms are designed to control the changes in the ambient temperature and the humidity in the greenhouse.Taking temperature control as an example,this paper designs a fuzzy controller to intelligently control the greenhouse,making the control of the greenhouse system more intelligent.Finally,the hardware performance,software operation process,and real-time data of the PC-side web interface of the intelligent greenhouse system were tested in part and overall.The test results show that the intelligent greenhouse control system equipment has low power consumption and the control effect of the intelligent algorithm is obvious,which can fully meet the temperature and humidity control requirements of the greenhouse environment.At the end of the paper,the intelligent greenhouse system is summarized,the characteristics of the intelligent greenhouse control system are analyzed,and the existing design needs to be improved,and the research direction is provided for further improvement and optimization. |