Water quality index detection early warning method based on deep learning algorithm
The water quality indicator detection and early warning method based on deep learning algorithms solves the existing problems of manual water quality detection, high cost, and long cycle, realizes automatic detection and early warning of water quality indicators, and improves the efficiency and accuracy of water quality monitoring.
Patent Information
- Application Number
- CN202410583616.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-11
- Publication Date
- 2024-09-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing water quality testing methods rely on labor, have high costs, long cycles, and low detection efficiency. They cannot meet the detection needs of rapid changes in water quality and random pollution, resulting in insufficient early warning capabilities for water quality emergencies.
A water quality indicator detection and early warning method based on deep learning algorithms is used to obtain historical water quality data through an automatic detection unit, train a water quality indicator early warning model, and realize multi-factor water quality detection of water samples to be detected and automatic processing of early warning signals.
It improves the accuracy and efficiency of water quality detection, realizes automatic detection and early warning of water quality indicators, and enhances the early warning capability of water quality emergencies.
Smart Images

Figure CN118609703A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field related to water quality detection, and specifically to a water quality indicator detection and early warning method and system based on a deep learning algorithm. Background Art
[0002] Water is the source of life and an indispensable natural resource for maintaining ecological balance and the development of human society. However, with the acceleration of industrialization and urbanization, water pollution is becoming increasingly serious, and water quality safety has become a global focus. In order to protect public health and the safety of the ecological environment, real-time monitoring and early warning of water bodies are required to promptly detect and respond to potential water quality problems.
[0003] The existing water quality detection methods can only detect part of it, and a large number of tests still rely on manual labor, which is costly and time-consuming, and cannot meet the detection needs of rapid changes in water quality and random pollution. At the same time, the early warning capacity of water quality emergencies is insufficient, and the existing water quality monitoring and early warning system is not perfect, and it is unable to respond to water quality emergencies in a timely and effective manner. Summary of the invention
[0004] This application provides a water quality index detection and early warning method and system based on deep learning algorithm, aiming to solve the technical problems that the existing water quality detection and early warning methods rely on manual labor, have high costs, long cycles, low detection efficiency, and incomplete and inaccurate detection data, resulting in insufficient early warning capabilities for water quality emergencies.
[0005] In view of the above problems, an embodiment of the present application provides a water quality indicator detection and early warning method and system based on a deep learning algorithm.
[0006] The first aspect disclosed in the present application provides a water quality index detection and early warning method based on a deep learning algorithm, including: obtaining a historical water quality index detection data set through an automatic detection unit, wherein the historical water quality index detection data set includes multiple detection indicators; based on the multiple detection indicators, the historical water quality index detection data set is trained based on a deep learning algorithm to obtain a water quality index early warning model, wherein the water quality index early warning model includes multiple water quality index early warning channels; obtaining a water sample to be detected from a sample library, performing pre-processing on the water sample to be detected through a pre-processing unit to obtain a water sample to be loaded on the machine; performing a sampling operation on the water sample to be loaded on the machine through an automatic sampling unit and entering the automatic detection unit; performing a multi-factor water quality detection on the water sample to be loaded on the machine through the automatic detection unit to obtain multiple water sample detection results; respectively inputting the multiple water sample detection results into the multiple water quality index early warning channels of the water quality index early warning model to obtain a water quality index early warning signal, and sending the water quality index early warning signal to the post-processing unit for early warning.
[0007] Another aspect disclosed in the present application provides a water quality indicator detection and early warning system based on a deep learning algorithm, including: a module for obtaining historical water quality data: used to obtain a set of historical water quality indicator detection data through the automatic detection unit, wherein the set of historical water quality indicator detection data includes multiple detection indicators; a module for obtaining an indicator early warning model: used to train the set of historical water quality indicator detection data based on a deep learning algorithm to obtain a water quality indicator early warning model, wherein the water quality indicator early warning model includes multiple water quality indicator early warning channels; a module for obtaining water samples to be tested: used to obtain water samples to be tested from a sample library through the The pre-processing unit performs pre-processing on the water sample to be tested to obtain the water sample to be loaded; the sampling operation module is used to perform sampling operation on the water sample to be loaded through the automatic sampling unit and enter the automatic detection unit; the multi-factor water quality detection module is used to perform multi-factor water quality detection on the water sample to be loaded through the automatic detection unit to obtain multiple water sample detection results; the water quality indicator early warning module is used to input the multiple water sample detection results into the multiple water quality indicator early warning channels of the water quality indicator early warning model respectively, obtain the water quality indicator early warning signal, and send the water quality indicator early warning signal to the post-processing unit for early warning.
[0008] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0009] A water quality index detection and early warning method based on a deep learning algorithm is adopted, which is applied to a water quality index detection and early warning system including a pre-processing unit, an automatic sampling unit, an automatic detection unit, and a post-processing unit. Its characteristics are that the historical water quality index detection data is obtained through the automatic detection unit, and a water quality index early warning model containing multiple early warning channels is obtained by training with a deep learning algorithm. In practical applications, the water sample to be tested is obtained from the sample library, and after pre-processing, automatic sampling, and multi-factor water quality testing, the test results are input into different channels of the early warning model, and the early warning signal is obtained and sent to the post-processing unit for early warning. This method realizes the automatic detection and early warning of water quality indicators, and improves the accuracy and efficiency of early warning.
[0010] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 A schematic diagram of a water quality indicator detection and early warning method based on a deep learning algorithm is provided for an embodiment of the present application;
[0012] Figure 2A schematic diagram of a process for obtaining a water quality indicator warning model in a water quality indicator detection and warning method based on a deep learning algorithm is provided for an embodiment of the present application;
[0013] Figure 3 A structural schematic diagram of a water quality indicator detection and early warning system based on a deep learning algorithm is provided for an embodiment of the present application.
[0014] Explanation of the reference numerals: module for obtaining historical water quality data 11, module for obtaining indicator warning model 12, module for obtaining water samples to be loaded onto the machine 13, sampling operation module 14, multi-factor water quality detection module 15, and water quality indicator warning module 16. DETAILED DESCRIPTION
[0015] The overall idea of the technical solution provided by this application is as follows:
[0016] The embodiments of the present application provide a water quality index detection and early warning method and system based on a deep learning algorithm, which is used to solve the technical problems that the existing water quality detection and early warning methods rely on manual labor, have high costs, long cycles, low detection efficiency, and incomplete and inaccurate detection data, thereby resulting in insufficient early warning capabilities for water quality emergencies.
[0017] After introducing the basic principles of the present application, various non-limiting implementation methods of the present application will be specifically described below in conjunction with the drawings in the specification.
[0018] Embodiment 1
[0019] like Figure 1 As shown, the embodiment of the present application provides a water quality indicator detection and early warning method based on a deep learning algorithm, the method is applied to a water quality indicator detection and early warning system, the water quality indicator detection and early warning system includes a pre-processing unit, an automatic sampling unit, an automatic detection unit, and a post-processing unit including:
[0020] S100: Acquire a historical water quality index detection data set through the automatic detection unit, wherein the historical water quality index detection data set includes multiple detection indicators;
[0021] Specifically: a historical water quality index detection data set is obtained through an automatic detection unit. The automatic detection unit is an important component of the water quality index detection and early warning system. Its working principle is mainly based on sensor data acquisition, data processing and analysis, as well as remote monitoring and alarm system functions to achieve automatic detection and monitoring of water quality indicators, and collect water quality parameter data by using sensors and probes installed in the water body; wherein, the historical water quality index detection data set includes multiple detection indicators, such as pH value index, dissolved oxygen concentration index, turbidity index, chloride ion concentration index, etc.
[0022] The method provided in the embodiment of the present disclosure also includes:
[0023] The multiple detection indicators include but are not limited to pH value indicator, dissolved oxygen concentration indicator, turbidity indicator, and chloride ion concentration indicator.
[0024] Specifically: Multiple detection indicators play a vital role in the automatic water quality detection unit. They can comprehensively reflect the chemical, physical and biological characteristics of the water body, and provide comprehensive and objective data for subsequent water quality warnings. Among them, the pH value indicator: the pH value is an important parameter for measuring the acidity and alkalinity of water quality, which can determine the acid-base balance of water quality; dissolved oxygen concentration index: dissolved oxygen is a substance necessary for aquatic organisms to respire; turbidity index: turbidity is an indicator of the suspended matter content in water, which reflects the clarity of the water body and provides a basis for water quality management; chloride ion concentration index: chloride ion is one of the common ions in water. Changes in its concentration may indicate the pollution status of the water body, which can promptly detect and respond to potential water quality problems.
[0025] S200: training the historical water quality index detection data set based on a deep learning algorithm to obtain a water quality index early warning model, wherein the water quality index early warning model includes a plurality of water quality index early warning channels;
[0026] Specifically: the deep learning algorithm is a convolutional neural network. In water quality testing, the convolutional neural network can be used to automatically detect and classify various indicators in water, such as pH value, dissolved oxygen, total nitrogen, total phosphorus, etc. Through the convolution operation of water quality data, the convolutional neural network can extract features related to water quality conditions and accurately classify and predict.
[0027] The water quality indicator early warning model includes multiple water quality indicator early warning channels, which can realize independent monitoring and early warning of different water quality indicators. Each early warning channel targets a specific water quality indicator, including: pH value indicator, dissolved oxygen concentration indicator, turbidity indicator, chloride ion concentration indicator, etc., and is responsible for receiving real-time data, processing and analyzing data, and triggering early warning when necessary, realizing special monitoring, parallel processing, independent early warning and comprehensive analysis of multiple water quality indicators, improving the efficiency and accuracy of water quality detection, and laying the foundation for subsequent timely and accurate water quality early warning.
[0028] like Figure 2 As shown, the method provided in the embodiment of the present disclosure also includes:
[0029] Obtaining a first detection index and a first historical water quality index detection data set;
[0030] Performing water quality grade identification on the first historical water quality index detection data set to obtain a first water quality grade identification result set;
[0031] Based on a deep learning algorithm, the first historical water quality index detection data set is used as input data, and the first water quality grade identification result set is used as output data to construct a first water quality grade identifier;
[0032] Obtaining a preset warning level, and constructing a first water quality warning device based on the preset warning level;
[0033] Connecting the first water quality grade identifier and the first water quality early warning device to obtain a first water quality indicator early warning channel;
[0034] The first water quality indicator warning channel is added to the multiple water quality indicator warning channels, and the water quality indicator warning model is obtained by integration.
[0035] Specifically: First, according to actual needs and refer to relevant standards and specifications, including: refer to national and local water quality standards and specifications to understand the requirements and restrictions on different water quality indicators. In this way, the water quality indicators that need to be monitored are determined. The water quality standards can be pH indicators, dissolved oxygen concentration indicators, turbidity indicators, chloride ion concentration indicators, etc. It is used as the basis for model training and early warning. Collect historical detection data on the water quality indicator over a period of time. It should contain enough samples so that the model can learn the patterns and laws of water quality changes.
[0036] Furthermore, the historical test data is divided into water quality grades according to relevant water quality standards and specifications. This usually involves converting continuous water quality index data into discrete grade labels, such as "excellent", "good", "average", "poor", etc. Then, a first water quality grade identification result set is obtained, wherein the first water quality grade identification result set refers to the result set obtained after dividing the historical water quality data of the first test indicator into water quality grades. This set corresponds the historical water quality data to the corresponding water quality grades, providing labeled data for subsequent model training.
[0037] The process of building the first water quality grade identifier based on the deep learning algorithm is a supervised learning process, which uses the first historical water quality indicator detection data set (input data) and the corresponding first water quality grade identification result set (output data or label) to train the model. It includes: data preprocessing, model selection, model architecture selection, and model training.
[0038] Data preprocessing refers to the preprocessing of the first historical water quality index detection data set, including data cleaning (removing outliers, missing values, etc.), normalization or standardization (making the data conform to a specific distribution to facilitate model processing) and possible feature engineering (extracting meaningful features or performing feature transformation).
[0039] Model selection refers to choosing a suitable deep learning model based on the nature of the problem and the characteristics of the data. For tasks such as water quality grade identification, convolutional neural networks are used.
[0040] Model architecture selection includes: determining the structure of the input layer, hidden layer (and its number, number of neurons, activation function, etc.) and output layer. The number of neurons in the output layer usually corresponds to the number of water quality levels, and a softmax activation function is used to output the probability distribution of each level.
[0041] Model training includes: taking the preprocessed first historical water quality index detection data set as input, the corresponding first water quality grade identification result set as label, and calculating the output of the model through forward propagation. Use loss function (such as cross entropy loss) to measure the difference between model output and true label. Calculate the gradient of loss function to model parameters through back propagation algorithm, and use optimizer (such as gradient descent, Adam, etc.) to update model parameters to minimize loss function.
[0042] Repeat the above steps multiple times (i.e., perform multiple training iterations or cycles) until the performance of the model on the validation set reaches a satisfactory level without overfitting, thereby obtaining the first water quality grade identifier. When new water quality index data is input, the water quality grade identifier will be able to automatically identify and output the corresponding water quality grade.
[0043] Furthermore, one or more thresholds are set according to the preset warning level. When the water quality level is lower than a certain threshold, the early warning device will trigger an early warning signal. The early warning device logic judgment module receives the output of the water quality level identifier and makes a judgment according to the preset threshold.
[0044] The trained water quality grade identifier is connected to the early warning device to form a complete water quality indicator early warning channel. When other water quality indicator detection data is input, the identifier will first determine its water quality grade, and then the early warning device will determine whether to trigger an early warning based on the grade.
[0045] Integrate multiple water quality indicator warning channels: Repeat the above steps for multiple water quality indicators that need to be monitored, and build corresponding water quality grade identifiers and warning devices for each indicator. Integrate all warning channels together to form a comprehensive water quality indicator warning model, which includes multiple water quality indicator warning channels.
[0046] The method provided in the embodiment of the present disclosure also includes:
[0047] Obtain historical detection environment data records and extract a set of environmental characteristic information, wherein the environmental characteristic information includes environmental temperature and environmental humidity;
[0048] Obtaining a set of environmental impact coefficients for water quality index detection under the set of environmental characteristic information;
[0049] Based on a deep learning algorithm, the environmental feature information set is used as input data, and the environmental impact coefficient set is used as output data to construct an environmental impact coefficient analyzer;
[0050] The environmental impact coefficient analyzer is embedded in the first water quality grade identifier.
[0051] Specifically, the historical detection environmental data records refer to the environmental data corresponding to the time and location of the above-mentioned historical water quality index detection data, including key environmental parameters such as temperature and humidity. They can be obtained from environmental monitoring stations, sensor records or existing databases. Characteristic information such as environmental temperature and environmental humidity is extracted from the collected historical environmental data records. These characteristic information will serve as the basis for analyzing the impact of the environment on water quality indicators.
[0052] For each set of environmental characteristic information (such as a specific temperature and humidity combination), the corresponding water quality index detection data is collected. These data are analyzed to determine the variation pattern of water quality indicators under different environmental characteristics, and the corresponding environmental impact factors are calculated. The environmental impact factors reflect the direct or indirect impact of environmental characteristics on the water quality index detection results.
[0053] The environmental impact coefficient analyzer is constructed based on a neural network, and the corresponding environmental impact coefficient is predicted according to the input environmental feature information (environmental temperature, environmental humidity, etc.). The environmental impact coefficient analyzer is trained using the previously extracted environmental feature information set as input data and the corresponding environmental impact coefficient set as output data. Through continuous training and optimization, the environmental impact coefficient analyzer can accurately predict the environmental impact coefficient according to the environmental characteristics.
[0054] In the first water quality grade identifier that has been constructed, the environmental impact coefficient analyzer that has just been constructed is introduced. When there is a new water quality index detection task, the environmental impact coefficient is first calculated by the environmental impact coefficient analyzer based on the current environmental characteristic information. Then these coefficients are input into the first water quality grade identifier together with the water quality index data, and then the output of the grade identifier is corrected based on the environmental impact coefficient to obtain more accurate data. In order to more accurately identify the water quality grade.
[0055] S300: Acquire a water sample to be tested from a sample library, and pre-process the water sample to be tested by the pre-processing unit to obtain a water sample to be loaded on the machine;
[0056] Specifically: take out the water sample to be tested from the sample library, which usually stores water samples from different sources, different time periods, and different treatment conditions for subsequent testing and analysis. When selecting the water sample to be tested, its representativeness, timeliness, and integrity need to be considered to ensure the accuracy and reliability of the test results. Through the pre-treatment unit, the water sample is subjected to necessary pre-treatment, such as filtration, dilution, etc. The purpose of pre-treatment is to remove interfering substances in the water sample, adjust the pH or ionic strength of the water sample, concentrate or dilute the water sample, etc., so that subsequent detection and analysis can be carried out more accurately.
[0057] The specific method of pre-treatment varies according to the characteristics of the water sample and the detection requirements, and may include filtration, centrifugation, dilution, concentration, digestion and other operations. For example: if the water sample has a lot of sediment, it may need to be filtered, filtered, centrifuged, etc.; if the water sample is clear, it may not need to be filtered, and only other operations such as centrifugation are required. For another example: the requirements for drinking water are high, and its pre-treatment requirements may include filtration, centrifugation, dilution, concentration, digestion, and pH value and hardness adjustment to meet drinking standards; while the requirements for agricultural water pre-treatment are lower, and may only include: filtration.
[0058] Based on the above steps, a water sample suitable for on-machine testing is obtained. The water sample refers to a water sample that has removed interfering substances and adjusted appropriate physical and chemical properties, and is ready for subsequent instrument testing. At this point, the water sample can be sent to the corresponding testing instrument for analysis and determination of water quality indicators. This ensures the representativeness of the water sample and the accuracy of the test results, providing a reliable basis for subsequent water quality assessment and management.
[0059] The method provided in the embodiment of the present disclosure also includes:
[0060] The pre-treatment unit includes a filtering device, a centrifugal device, and a solution preparation device;
[0061] Performing an automatic filtering operation on the water sample to be tested by the filtering device to obtain the filtered water sample to be tested;
[0062] Automatically centrifuge the filtered water sample to be tested by the centrifugal device to obtain a centrifuged water sample to be tested;
[0063] The solution preparation device is used to dilute the centrifuged water sample to be tested, and / or to prepare a spare testing reagent in the testing process, so as to obtain the water sample to be loaded onto the machine.
[0064] Specifically: The main function of the filtering device is to remove large particles of impurities and insoluble substances in the water sample, making the water sample clearer and reducing interference in the subsequent detection process. The automatic filtering operation can ensure the accuracy and consistency of the operation and improve the processing efficiency. The centrifugal device is used to automatically centrifuge the filtered water sample to be tested. The centrifugal operation can separate suspended particles, colloidal substances, etc. in the water sample, further purify the water sample, and obtain the centrifuged water sample to be tested. The automatic centrifugal device can accurately control the centrifugal speed and time, thereby ensuring the stability and reliability of the centrifugal effect.
[0065] The solution preparation device dilutes the centrifuged water sample to be tested after centrifugation, or prepares the spare test reagents required in the test process. The dilution operation can adjust the concentration of the water sample to meet the requirements of the test instrument. At the same time, the preparation of the spare test reagents can ensure that the reagent supply is sufficient during the test process, avoiding the impact of insufficient reagents on the test progress. The solution preparation device can realize the precise preparation and mixing of reagents to ensure the accuracy of the test results.
[0066] After the above pretreatment steps, the water samples to be loaded have removed most of the interfering substances, adjusted the appropriate concentration and physical and chemical properties, and are ready for subsequent instrument testing. Such a pretreatment process ensures the purity and stability of the water samples, lays the foundation for obtaining accurate and reliable test results, and thus improves the accuracy and reliability of water quality warnings.
[0067] S400: The water sample to be loaded is injected into the automatic sampling unit to enter the automatic detection unit;
[0068] Specifically: the water sample to be loaded is sampled by the automatic sampling unit, which is usually equipped with a precise sampling mechanism and control system, and can automatically absorb and accurately inject the water sample to be loaded into the automatic detection unit according to the preset program and parameters. The automatic detection unit integrates a variety of sensors, analyzers and data processing systems, and can realize multi-parameter simultaneous detection of water samples, and transmit the detection results to the data processing system in real time for analysis and recording. This makes the detection process more efficient and comprehensive, and provides strong data support for water quality assessment and management.
[0069] The water sample to be loaded onto the machine is introduced into the automatic detection unit through the automatic sampling unit, which realizes the automation and precision of water sampling, provides a reliable sample source for subsequent water quality testing, and ensures the accuracy and reliability of the test results.
[0070] The method provided in the embodiment of the present disclosure also includes:
[0071] The automatic sampling unit comprises a sample injector, a sample tray, and a sample injection control unit;
[0072] The injection control unit sends the water sample to be loaded in the sample tray to the automatic detection unit through the injector based on a preset injection process.
[0073] Specifically: the automatic sampling unit includes an injector, a sample tray, and an injection control unit; wherein the injector is responsible for taking the water sample to be loaded from the sample tray and accurately sending it to the automatic detection unit, and has a precise motion control system to ensure accuracy and stability during sampling and sample delivery. The sample tray is used to store the water samples to be loaded, and usually adopts a rotary or mobile design so that the injector can easily access each sample. Each position on the sample tray corresponds to a water sample, and the injection control unit can select the corresponding position for sampling as needed. The injection control unit is responsible for injection process control and the operation of the injector and sample tray. The injection control unit can automatically select the correct sample position according to the detection requirements, and control the injector to perform sampling and sample delivery operations.
[0074] The injection control unit sends the water sample to be loaded in the sample tray to the automatic detection unit through the injector based on a preset injection process, wherein the preset injection process is a series of pre-set operating steps and parameters, which is intended to ensure that the water sample to be loaded can be sent to the automatic detection unit in a predetermined order and manner.
[0075] When the injection control unit receives the injection instruction, it determines the position of the water sample to be loaded in the sample tray according to the preset injection process. Through precise positioning and identification technology, the injection control unit can accurately find the target sample and instruct the injector to go to that position for sampling. After receiving the instruction, the injector will move to the specified position and absorb the water sample to be loaded through an appropriate sampling mechanism (such as a pipette needle, pipette, etc.). At the same time, the injection control unit will monitor the status of the injector to ensure that it works normally and samples accurately. Once the sampling is completed, the injection control unit will further control the movement of the injector and send the water sample to be loaded to the automatic detection unit. During this process, the injection control unit will accurately control the speed and path of the injector to ensure that the water sample can enter the detection instrument smoothly and accurately.
[0076] Through the precise control and coordination of the sampling control unit, the automatic sampling unit can efficiently and accurately complete the sampling task of the water sample to be loaded on the machine. This not only improves the detection efficiency, but also reduces the errors and interference of human operation, providing reliable support for water quality detection work.
[0077] S500: Performing a multi-factor water quality test on the water sample to be loaded onto the machine by the automatic detection unit to obtain a plurality of water sample test results;
[0078] Specifically: the automatic detection unit performs multi-factor water quality detection on the water samples to be put on the machine to obtain multiple water sample detection results, wherein multi-factor water quality detection means that during the water quality detection process, the automatic detection unit will analyze the water samples to be put on the machine one by one according to preset detection items and parameters. The detection items may include water quality factors such as pH value, turbidity, conductivity, dissolved oxygen, etc., depending on the detection requirements and purposes.
[0079] For each test item, the automatic detection unit will use the corresponding sensor or analytical instrument to measure and analyze, thereby obtaining multiple water sample test results. For example, pH value can be measured by a pH meter, turbidity can be detected by a turbidity meter, and heavy metal content may need to be analyzed by advanced instruments such as atomic absorption spectrometer or inductively coupled plasma mass spectrometer.
[0080] The automatic detection unit can not only detect each water quality factor individually, but also perform multi-parameter detection simultaneously. That is, in a single detection process, multiple water quality factors can be measured simultaneously, which greatly improves the detection efficiency and speed. After completing the detection, the automatic detection unit will transmit the measurement results to the data processing system for processing and analysis. The data processing system will clean, calibrate and calculate the raw data to obtain accurate and reliable water sample detection results. These results are usually presented in the form of numerical values, charts or reports, which are convenient for users to view and interpret.
[0081] Through multi-factor water quality testing, we can obtain the specific values and changes of each water quality factor in the water sample to be put into the machine, and then fully understand the water quality of the water sample. It provides reliable data support for water quality early warning and improves the efficiency of water quality testing.
[0082] S600: Input the multiple water sample detection results into the multiple water quality indicator warning channels of the water quality indicator warning model respectively, obtain a water quality indicator warning signal, and send the water quality indicator warning signal to a post-processing unit for warning.
[0083] Specifically: after a series of tests and analyses of water samples, data results of multiple water quality indicators will be obtained, such as pH value, dissolved oxygen, ammonia nitrogen content, etc. These data results are input into the corresponding multiple water quality indicator warning channels in the water quality indicator warning model. If one or some water quality indicators exceed the safe range, the model will generate corresponding water quality indicator warning signals. The water quality indicator warning signal refers to the signal obtained when one or some water quality indicators exceed the preset range to indicate whether the water quality is in a safe state or whether there is a potential risk of pollution.
[0084] The obtained water quality indicator warning signal is further sent to the post-processing unit for further processing and response. The post-processing unit is a system or device specifically responsible for receiving, analyzing and responding to warning signals. It can take corresponding measures according to the received warning signal, such as issuing an alarm, recording data, initiating emergency response, etc. In the post-processing unit, different warning response mechanisms can be triggered according to the received water quality indicator warning signal. These responses may include sending notifications to relevant personnel, initiating water quality improvement measures, adjusting monitoring frequencies, etc., to ensure timely and effective response to water quality problems. Real-time monitoring and early warning of water quality conditions are achieved, potential water pollution risks are discovered and responded to in a timely manner, and the safety and sustainable use of water resources are guaranteed.
[0085] The method provided in the embodiment of the present disclosure also includes:
[0086] After the water quality test is completed, the test equipment is transferred to the automatic cleaning unit;
[0087] Cleaning the detection instrument by an automatic cleaning device of the automatic cleaning unit;
[0088] Drying the cleaned detection instrument through the automatic drying device of the automatic cleaning unit;
[0089] The dried detection equipment is transferred to the detection equipment storage area through the automatic transfer device of the automatic cleaning unit.
[0090] Specifically: After the water quality test is completed, the testing equipment (such as test tubes, measuring cups, etc.) will be automatically or manually transferred to the automatic cleaning unit. The automatic cleaning device will clean the testing equipment according to the preset program and parameters. This includes using detergent, deionized water or other appropriate cleaning liquids to remove dirt and residues on the surface of the equipment by spraying, flushing or soaking. After cleaning, the testing equipment will be transferred to the automatic drying device. Use hot air, infrared or other efficient drying technologies to quickly remove moisture from the surface of the equipment. After drying, the testing equipment will be transferred to the testing equipment storage area through an automatic transfer device (such as a conveyor belt or a robotic arm). This area is usually a special shelf or cabinet for storing cleaned and dried testing equipment.
[0091] Through the above steps, the cleaning efficiency and cleanliness of the detection equipment can be greatly improved, manual intervention and potential cross-contamination risks can be reduced, and the accuracy of water quality detection can be further improved. Automated cleaning also improves the efficiency of water quality detection.
[0092] In summary, the water quality index detection and early warning method and system based on deep learning algorithm provided in the embodiments of the present application have the following technical effects:
[0093] 1. Use the water quality indicator early warning model and automatically detect and warn water samples. First, obtain a set of historical water quality indicator detection data containing multiple detection indicators through the automatic detection unit; then, train these data based on the deep learning algorithm to obtain a water quality indicator early warning model containing multiple warning channels; then, obtain the water sample to be tested from the sample library, and obtain the water sample to be loaded on the machine after processing by the pre-processing unit; perform the sampling operation through the automatic sampling unit, enter the automatic detection unit for multi-factor water quality detection, and obtain multiple water sample detection results; finally, input these test results into each warning channel of the early warning model, obtain the water quality indicator early warning signal, and send it to the post-processing unit for early warning. The automatic and intelligent detection and early warning of water quality indicators are realized, and the technical effect of improving the efficiency and accuracy of water quality monitoring is improved.
[0094] 2. First, obtain the first detection indicator and its corresponding historical water quality indicator detection data set. Then, identify the water quality grade of these historical data to form a first water quality grade identification result set. Then, using the deep learning algorithm, with the first historical water quality indicator detection data set as input and the first water quality grade identification result set as output, construct a first water quality grade identifier. At the same time, according to the preset warning level, construct a first water quality early warning device. Subsequently, connect the first water quality grade identifier and the first water quality early warning device to form a first water quality indicator early warning channel. Finally, add this early warning channel to multiple water quality indicator early warning channels, and integrate them to obtain a complete water quality indicator early warning model. This process makes full use of deep learning algorithms and historical data, realizes intelligent early warning of water quality indicators, and improves the reliability and accuracy of water quality monitoring.
[0095] Embodiment 2
[0096] Based on the same inventive concept as the water quality indicator detection and early warning method based on deep learning algorithm in the aforementioned embodiment, Figure 3 As shown, the embodiment of the present application provides a water quality index detection and early warning system based on a deep learning algorithm, and the system includes:
[0097] The module for obtaining historical water quality data 11 is used to obtain a historical water quality index detection data set through the automatic detection unit, wherein the historical water quality index detection data set includes multiple detection indicators;
[0098] Obtaining indicator warning model module 12: used to train the historical water quality indicator detection data set based on a deep learning algorithm to obtain a water quality indicator warning model, wherein the water quality indicator warning model includes multiple water quality indicator warning channels;
[0099] The module 13 for obtaining water samples to be tested is used to obtain water samples to be tested from the sample library, and to perform pre-processing on the water samples to be tested by the pre-processing unit to obtain the water samples to be tested;
[0100] The sampling operation module 14 is used to perform the sampling operation on the water sample to be loaded into the machine through the automatic sampling unit and enter the automatic detection unit;
[0101] Multi-factor water quality detection module 15: used to perform multi-factor water quality detection on the water sample to be loaded onto the machine through the automatic detection unit to obtain multiple water sample detection results;
[0102] The water quality indicator warning module 16 is used to input the multiple water sample detection results into the multiple water quality indicator warning channels of the water quality indicator warning model respectively, obtain water quality indicator warning signals, and send the water quality indicator warning signals to the post-processing unit for warning.
[0103] Furthermore, the system also includes:
[0104] The multiple detection indicators include but are not limited to pH value indicator, dissolved oxygen concentration indicator, turbidity indicator, and chloride ion concentration indicator.
[0105] Furthermore, the system also includes:
[0106] Obtaining a first detection index and a first historical water quality index detection data set;
[0107] Performing water quality grade identification on the first historical water quality index detection data set to obtain a first water quality grade identification result set;
[0108] Based on a deep learning algorithm, the first historical water quality index detection data set is used as input data, and the first water quality grade identification result set is used as output data to construct a first water quality grade identifier;
[0109] Obtaining a preset warning level, and constructing a first water quality warning device based on the preset warning level;
[0110] Connecting the first water quality grade identifier and the first water quality early warning device to obtain a first water quality indicator early warning channel;
[0111] The first water quality indicator warning channel is added to the multiple water quality indicator warning channels, and the water quality indicator warning model is obtained by integration.
[0112] Furthermore, the system also includes:
[0113] Obtain historical detection environment data records and extract a set of environmental characteristic information, wherein the environmental characteristic information includes environmental temperature and environmental humidity;
[0114] Obtaining a set of environmental impact coefficients for water quality index detection under the set of environmental characteristic information;
[0115] Based on a deep learning algorithm, the environmental feature information set is used as input data, and the environmental impact coefficient set is used as output data to construct an environmental impact coefficient analyzer;
[0116] The environmental impact coefficient analyzer is embedded in the first water quality grade identifier.
[0117] Furthermore, the system also includes:
[0118] The pre-treatment unit includes a filtering device, a centrifugal device, and a solution preparation device;
[0119] Performing an automatic filtering operation on the water sample to be tested by the filtering device to obtain the filtered water sample to be tested;
[0120] Automatically centrifuge the filtered water sample to be tested by the centrifugal device to obtain a centrifuged water sample to be tested;
[0121] The solution preparation device is used to dilute the centrifuged water sample to be tested, and / or to prepare a spare testing reagent in the testing process, so as to obtain the water sample to be loaded onto the machine.
[0122] Furthermore, the system also includes:
[0123] The automatic sampling unit comprises a sample injector, a sample tray, and a sample injection control unit;
[0124] The injection control unit sends the water sample to be loaded in the sample tray to the automatic detection unit through the injector based on a preset injection process.
[0125] Furthermore, the system also includes:
[0126] After the water quality test is completed, the test equipment is transferred to the automatic cleaning unit;
[0127] Cleaning the detection instrument by an automatic cleaning device of the automatic cleaning unit;
[0128] Drying the cleaned detection instrument through the automatic drying device of the automatic cleaning unit;
[0129] The dried detection equipment is transferred to the detection equipment storage area through the automatic transfer device of the automatic cleaning unit.
[0130] Any step of the method described above can be stored as a computer instruction or program in an unlimited computer memory, and can be called and recognized by an unlimited computer processor to implement any method in the embodiments of the present application, without any unnecessary restrictions.
[0131] Furthermore, the first or second mentioned above may not only represent an order relationship, but may also represent a specific concept, and / or refer to multiple elements that can be selected individually or in full. Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application intends to include these modifications and variations.
Claims
1. A water quality index detection and early warning method based on deep learning algorithm, It is characterized in that The method is applied to a water quality indicator detection and early warning system, which includes a pre-processing unit, an automatic sampling unit, an automatic detection unit, and a post-processing unit. The method includes: Acquire a historical water quality index detection data set through the automatic detection unit, wherein the historical water quality index detection data set includes multiple detection indicators; The historical water quality index detection data set is trained based on a deep learning algorithm to obtain a water quality index early warning model, wherein the water quality index early warning model includes multiple water quality index early warning channels; Obtain a water sample to be tested from a sample library, and pre-process the water sample to be tested by the pre-processing unit to obtain a water sample to be loaded on the machine; Performing a sampling operation on the water sample to be loaded into the machine through the automatic sampling unit and entering the automatic detection unit; Performing a multi-factor water quality test on the water sample to be loaded onto the machine by the automatic detection unit to obtain multiple water sample detection results; The multiple water sample detection results are respectively input into the multiple water quality indicator warning channels of the water quality indicator warning model to obtain water quality indicator warning signals, and the water quality indicator warning signals are sent to a post-processing unit for warning.
2. The method according to claim 1, It is characterized in that The multiple detection indicators include but are not limited to pH value indicator, dissolved oxygen concentration indicator, turbidity indicator, and chloride ion concentration indicator.
3. The method according to claim 1, It is characterized in that The historical water quality index detection data set is trained based on a deep learning algorithm to obtain a water quality index early warning model, wherein the water quality index early warning model includes multiple water quality index early warning channels, including: Obtaining a first detection index and a first historical water quality index detection data set; Performing water quality grade identification on the first historical water quality index detection data set to obtain a first water quality grade identification result set; Based on a deep learning algorithm, the first historical water quality index detection data set is used as input data, and the first water quality grade identification result set is used as output data to construct a first water quality grade identifier; Obtaining a preset warning level, and constructing a first water quality warning device based on the preset warning level; Connecting the first water quality grade identifier and the first water quality early warning device to obtain a first water quality indicator early warning channel; The first water quality indicator warning channel is added to the multiple water quality indicator warning channels, and the water quality indicator warning model is obtained by integration.
4. The method according to claim 3, It is characterized in that Also includes: Obtain historical detection environment data records and extract a set of environmental characteristic information, wherein the environmental characteristic information includes environmental temperature and environmental humidity; Obtaining a set of environmental impact coefficients for water quality index detection under the set of environmental characteristic information; Based on a deep learning algorithm, the environmental feature information set is used as input data, and the environmental impact coefficient set is used as output data to construct an environmental impact coefficient analyzer; The environmental impact coefficient analyzer is embedded in the first water quality grade identifier.
5. The method according to claim 1, It is characterized in that The pre-processing unit pre-processes the water sample to be tested to obtain the water sample to be loaded on the machine, including: The pre-treatment unit includes a filtering device, a centrifugal device, and a solution preparation device; Performing an automatic filtering operation on the water sample to be tested by the filtering device to obtain the filtered water sample to be tested; Automatically centrifuge the filtered water sample to be tested by the centrifugal device to obtain a centrifuged water sample to be tested; The solution preparation device is used to dilute the centrifuged water sample to be tested, and / or to prepare a spare testing reagent in the testing process, so as to obtain the water sample to be loaded onto the machine.
6. The method according to claim 1, It is characterized in that The water sample to be loaded is injected into the automatic detection unit through the automatic injection unit, including: The automatic sampling unit comprises a sample injector, a sample tray, and a sample injection control unit; The injection control unit sends the water sample to be loaded in the sample tray to the automatic detection unit through the injector based on a preset injection process.
7. The method according to claim 1, It is characterized in that The water quality indicator detection and early warning system also includes an automatic cleaning unit, and the method includes: After the water quality test is completed, the test equipment is transferred to the automatic cleaning unit; Cleaning the detection device by an automatic cleaning device of the automatic cleaning unit; Drying the cleaned detection instrument through the automatic drying device of the automatic cleaning unit; The dried detection equipment is transferred to the detection equipment storage area through the automatic transfer device of the automatic cleaning unit.
8. A water quality index detection and early warning system based on deep learning algorithm, It is characterized in that For implementing the method according to any one of claims 1 to 7, the system comprises: A module for acquiring historical water quality data: used to acquire a historical water quality index detection data set through the automatic detection unit, wherein the historical water quality index detection data set includes multiple detection indicators; Obtaining an indicator warning model module: used to train the historical water quality indicator detection data set based on a deep learning algorithm to obtain a water quality indicator warning model, wherein the water quality indicator warning model includes multiple water quality indicator warning channels; A module for obtaining water samples to be tested is used to obtain water samples to be tested from a sample library, and to pre-process the water samples to be tested by the pre-processing unit to obtain water samples to be tested; Sampling operation module: used for performing sampling operation on the water sample to be loaded into the machine through the automatic sampling unit, and entering the automatic detection unit; Multi-factor water quality detection module: used to perform multi-factor water quality detection on the water sample to be loaded onto the machine through the automatic detection unit to obtain multiple water sample detection results; Water quality indicator warning module: used to input the multiple water sample detection results into the multiple water quality indicator warning channels of the water quality indicator warning model respectively, obtain water quality indicator warning signals, and send the water quality indicator warning signals to the post-processing unit for warning.
Citation Information
Patent Citations
Water reclamation plant raw water quality online early warning system and control method thereof
CN102707026A
Lake and reservoir water quality monitoring and early warning method and device, storage medium and electronic equipment
CN114386658A
Environment water quality intelligent monitoring method and system
CN115792165A
Automatic water quality detection system and method
CN117871879A
