| Water is an important part of nature and the premise of human survival and reproduction and social prosperity and development.With the rapid development of our industry,the problem of water pollution has gradually been paid attention to and has become a stumbling block of the social economic development.The development of the Internet of Things enables the connection between items.In order to solve the problems of complex and low efficiency of traditional water quality monitoring methods,a simpler and more convenient monitoring method is provided by combining the Internet of Things and water quality monitoring.Meanwhile,an ARIMA-GRU water quality prediction model based on wavelet decomposition is proposed to improve the prediction accuracy of water quality index data.For water quality monitoring and prediction of water quality index data,the following researches are carried out.Firstly,water quality monitoring terminal collects the water quality index information of target water area,and then the data information is uploaded to the Internet of Things cloud platform through narrowband Internet of Things wireless communication technology,so as to realize real-time monitoring and historical query of the data.Finally,the data is processed.The WD-ARIMA-GRU combined prediction model based on wavelet decomposition was introduced to predict the future trend of water quality index.The water quality monitoring terminal collects data on temperature,p H,REDOX potential and total dissolved solids of the target water area.The hardware part of the monitoring terminal includes the main control module,each water quality sensing data acquisition module,LCD liquid crystal display module,and NB-IoT data transmission module.STM32F103ZET6 is the main control module chip,which not only has powerful functions but also supports a variety of low power modes.The sensor of temperature acquisition module is DS18B20,which has small volume,high precision and antiinterference.The p H acquisition module uses E-201 p H composite electrode combined with precision dual-channel operational amplifier to amplify the millivolt output voltage of the electrode.Parameters of total dissolved solids were collected by TDS probe.The REDOX potential acquisition module combines ORP composite electrode and signal conversion module to realize data acquisition by single chip microcomputer.The transmission of water quality monitoring data is realized by narrowband Internet of Things communication technology.BC26 is selected as the communication module,which has the characteristics of ultra-low power consumption,ultra-high sensitivity,wide support frequency band and good compatibility,and is suitable for remote monitoring.The master control module sends AT instructions to the Internet of Things communication module,connects the device to the network and realizes the upload of water quality collection data.The cloud platform of the Internet of Things successfully receives data and realizes the function of data display and query.When the monitoring data reaches the threshold,a warning will be issued.At the same time,the received data can be preprocessed and imported into the combined prediction model of WD-ARIMA-GRU for training,and the change trend of water quality index can be predicted by historical data,which is convenient for regulators to deploy in advance,find and solve problems. |