| Water quality monitoring is an important part of the protection and utilization of water resources.It can supervise the pollution discharge of factories,ensure the implementation of environmental protection policies,provide early warning before the occurrence of water pollution events,provide the dynamic situation of water pollution during the event,and supervise the water pollution treatment after the event.At present,water quality monitoring points have been covered in key water areas in China,but there are many water areas in China that have not been effectively monitored.In view of the above problems,this paper designs a water quality online monitoring system based on Nb IOT,which is mainly composed of water quality monitoring terminal,Nb IOT module,cloud platform and web software.The circuit board is designed and made for the water quality monitoring terminal to realize the circuit connection between the core control unit and peripheral modules,and the corresponding embedded software is written to make the water quality monitoring terminal run stably.The water quality monitoring terminal can collect water quality data of temperature,p H,conductivity,TDS,turbidity and salinity.There are many kinds of collected data,which can grasp the basic situation of water quality.The circuit is designed with low power consumption and equipped with solar panels and batteries,which can realize long-term normal operation in the wild waters.The storage module is designed for the water quality monitoring terminal.When the communication is lost,the data will be saved locally to ensure that the data will not be lost,and the data can be uploaded again after the communication is restored.Based on the "manned" cloud platform to receive and store data in the cloud,the web software is developed by using the API interface of the cloud platform to realize the receiving,storage and display of water quality data.The remote control function is realized on the web side,and the button of changing the collection time is designed to realize the remote setting of the data collection interval of the collection terminal.In order to improve the system coverage and reduce the number of terminal nodes,this paper studies and improves the Kriging interpolation algorithm,and realizes the prediction of water quality data from known points to unmonitored points.Through the experimental analysis and field test,the system terminal can work independently in the field water environment for a long time,and upload the collected data to the cloud platform.The cloud platform can analyze and save data normally,the web software can display data and manage devices,the storage module can save data and retransmit data,and the function of changing the terminal collection time is normal.The results show that the improved Kriging interpolation algorithm is accurate and reliable for the prediction of the water quality of the unmonitored points.The system covers a wide range of monitoring,deployment is fast and easy,and has a certain practical application value. |