China is a traditional agricultural country.With the improvement of living standards in recent years,people’s demand for pollution-free,high-quality,and safe vegetables is also increasing.With a gradual increase in population and a gradual decrease in the area of arable land,hydroponic vegetable technology can satisfies people’s needs well.In the rapid development of the Internet of Things technology,the application of the new communication technology of the narrowband Internet of Things to hydroponics,combined with intelligent monitoring technology,plays a great role in promoting the intelligent development of hydroponic agriculture.This paper designs a hydroponic intelligent monitoring system based on Narrow Band Internet of Things(NB-IoT)technology,which implements real-time monitoring of hydroponic environmental parameters and water quality parameters of nutrient solution,and at the same time,fuzzy controllers are used to automatically adjust the nutrient solution.The water quality parameters of the nutrient solution can be stably maintained within the range beneficial to crop growth during the crop growth cycle.This article mainly completed the following work:(1)A device terminal that can implement monitoring and control functions is designed.The NB-IoT core communication module was proposed and adopted to build a hydroponics monitoring network,benefiting from the low power consumption and wide coverage characteristics of NB-IoT,real-time data interaction between the equipment terminal and the communication server on the hydroponic site is implemented.The system hardware is designed in sub-modules,including the core microcontroller module and the NB-IoT-based wireless communication module.(2)The software design was completed according to the actual application requirements of the hydroponic system.It is mainly composed of two parts: embedded software design and cloud server design.The embedded software design implements the data interaction between the hydroponic environment and the cloud server as well as the control of the field equipment.In the design part of cloud server,the communication server was designed as a transfer station for data transmission between field devices and user interfaces as well as database,a My SQL database was built to store environmental parameters of hydroponic and water quality parameters of nutrient solution,and a user interface for viewing real-time data,querying historical data,and issuing manual control instructions is designed on the We Chat official account.(3)Aiming at the problem of large fluctuations in water quality parameters when adjusting the hydroponic nutrient solution in practical applications,two fuzzy controllers are designed to adjust the p H and EC parameters of the nutrient solution and deploy them in the microcontroller program of the device terminal.In this way,timely and stable regulation of the water quality parameters of the nutrient solution is implemented.(4)The installation and testing of the system have been completed.According to the requirements of design,the system was installed and verified.Tests show that: the use of NB-IoT for data transmission has good signal quality and strong stability;the hydroponic system can be monitored in time and accurately on the user interface of the We Chat official account;the parameters collected by the sensor have a smaller error compare with the actual value;the quality parameters are always kept within the range beneficial to plant growth during the growth cycle;compared with the lettuce grown in the soil during the same period,the hydroponic lettuce grows better and suffers cold weather has less impact.This system can meet the needs of intelligent monitoring of hydroponic plants. |