| In recent years,with the rapid economic development,the pollution of the water environment has become increasingly serious.Water quality testing technology is gradually being valued in the increasingly severe water pollution environmental management and water quality testing,and the development of water quality testing related technologies appears to be particularly important.The research and innovation of water quality testing methods are of great significance to water quality monitoring.The subject mainly focuses on the problems of limited light source,long detection time,and few applicable detection parameters for water quality detection methods.Through the fusion of image recognition technology and flow sequential injection technology in water quality detection,a new water quality detection method is studied.This water quality detection method is less limited by the light source,has a fast detection speed,can detect a variety of parameters,and has high accuracy,strong reliability,and easy maintenance.First,the image recognition technology detection method is analyzed and researched,the water quality COD parameters are selected,combined with the water quality COD rapid digestion spectrophotometric detection principle,and a micro-reagent water quality detection method based on image recognition technology is proposed.At the same time,the principles of image detection of water quality parameters are elaborated,including chromaticity theory,color space,filtering processing,morphological processing and regression modeling methods.Secondly,with the permanganate index as the test parameter,a system platform was built to verify the feasibility of the method.It mainly includes detection tank design,digestion tank design,sequential injection platform design and detection process design.The image acquisition module includes an industrial camera,a light source,and a detection pool.The design of the detection pool improves the quality of image acquisition.The design of the digestion tank reduces the consumption of reagents,but also reduces the energy consumption of the entire system;the design of the sequential injection platform improves the accuracy of the system’s inflow and detection accuracy;based on the principle of spectrophotometry,an image is designed to detect water quality The parameter flow improves the detection efficiency.The software part includes embedded software design and vision system software design.The software design of the entire micro reagent system control is based on the STM32 main control board,and the operating system is μCOS-III real-time operating system;the software development of industrial camera control,host computer graphic interface display and image processing is completed using Python,Py Qt5 and Open CV.Finally,combined with the feasibility test data,in view of the problems in the experiment,analyze the main interference factors that affect the detection of water quality parameters,improve the light source intensity and collection distance during image collection,and optimize the platform sampling process and detection process.Analyze the principle of partial least squares regression modeling method of single dependent variable.The permanganate index is selected as the detection parameter to test the performance of the system,including accuracy,repeatability and detection limit.The results obtained are not significantly different from the national standard method.The system can be stably and efficiently analyzed in different water samples.Water quality parameters.Research on the method of in-situ water quality on-line monitoring of micro-reagents based on image recognition technology is helpful to improve the technical performance of water quality testing instruments and is suitable for testing a variety of water quality parameters. |