| At present,due to the rapid development of industry,the discharge of production wastewater is increasing day by day,and river pollution has become the focus of people’s constant attention.The quality of water environment is very important for the survival of fish and people’s daily life.Therefore,it is of great research significance and application value to design and develop a monitoring system that can detect the real-time monitoring of river water quality and environmental conditions.In order to solve the problems of slow efficiency and imperfect functions of the current water quality detection methods,this paper designs a river water quality monitoring system based on NB-IoT.The system combines sensor technology,wireless transmission technology,photovoltaic power generation technology,Internet technology and Labview programming technology to build an integrated monitoring and management platform,which realizes data collection,long-distance transmission and intelligent management of information such as river water quality parameters and geographic locations..Monitoring personnel can obtain various water quality information in real time,remotely,quickly and efficiently,and analyze the water quality status.When the water quality is abnormal,they can quickly take control measures to improve it.The system is mainly divided into water quality collection terminal,data transmission part,and upper computer monitoring system.The main research contents of this paper are as follows:(1)Design the system acquisition terminal.The terminal can collect the water temperature,PH value,turbidity value,dissolved solids and water quality information of the river in real time and the geographical location information of water monitoring points in real time,and realize the remote transmission of data through the NB-IoT wireless communication module;by designing a photoelectric conversion circuit,to realize the solar energy to charge the terminal battery,which can effectively prolong the continuous monitoring time of the terminal.(2)Design the data transmission part of the system.Based on the CoAP transmission protocol,the data transmission protocol between the acquisition terminal and the cloud platform is designed,and its transmission format is defined to achieve efficient data transmission;through the temperature compensation algorithm,the error value of the acquired data is compensated to improve the data accuracy.(3)Design the monitoring part of the upper computer of the system.Based on the human cloud platform for secondary development,the platform equipment access,data query,configuration interface display,real-time positioning,and mobile phone alarm push functions are realized;combined with the HTTP protocol and the POST interaction method,based on the Labview programming technology,the water quality monitoring host computer is developed to realize User login,data query,data waveform display and threshold exceeding alarm functions.After testing,the system has basically achieved the expected effect,and can remotely monitor the water pollution status of the river in real time,which is convenient for monitoring personnel to deal with it in time. |