Sewage component monitoring and detecting method and system

By acquiring spectral data from the sewage operation management platform and building an adaptive learning detection model, the problem of complexity and insufficient identification capabilities of existing sewage component detection technology is solved, efficient and accurate monitoring of sewage components is achieved, and environmental protection is supported.

CN118730946AInactive Publication Date: 2024-10-01JIANGXI HONGCHENG WATERWORKS ENVIRONMENTAL PROTECTION CO LTD

Patent Information

Application Number
CN202411205170.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-10-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing sewage component detection technology is complex and time-consuming to operate, has high equipment costs, and is difficult to identify emerging or unknown pollutants, which limits real-time monitoring and widespread application.

Method used

By obtaining spectral data from the sewage operation management platform, key spectral features are extracted, and an adaptive learning detection model is constructed. Based on these features, pollutant components and concentrations are detected, and neural networks and feedback information loops are used to perform adaptive adjustment of the model.

Benefits of technology

It achieves efficient and accurate monitoring and detection of sewage components, can automatically and quickly identify various pollutants and their concentrations, significantly improves the accuracy and efficiency of detection, and has the advantage of identifying emerging or unknown components to support environmental protection and sewage treatment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118730946A_ABST
    Figure CN118730946A_ABST
Patent Text Reader

Abstract

The invention provides a sewage component monitoring and detecting method and system, and the method comprises the steps: obtaining the spectral data of sewage from a database of a sewage operation management platform, extracting key spectral features from the spectral data, building a self-adaptive learning detection model, and carrying out the detection of sewage components based on the key spectral features. And detecting the pollutant components and the component concentration in the sewage through a self-adaptive learning detection model to obtain the pollutant components and the component concentration in the sewage. By combining spectral data analysis and an adaptive learning model, efficient and accurate sewage component detection is realized, various pollutant components in sewage can be automatically and quickly identified, the concentration of the pollutant components can be measured, the accuracy and efficiency of sewage detection are remarkably improved, and the method has a good application prospect in the aspect of identifying emerging pollutants or unknown components. The method has certain detection advantages, and can provide powerful technical support for environmental protection and sewage treatment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of sewage component detection, and in particular to a sewage component monitoring and detection method and system. Background Art

[0002] In the field of environmental protection, sewage composition detection has always been a key technical link. As environmental problems become increasingly prominent, the supervision and control of sewage discharge has become increasingly important. How to accurately detect the chemical composition of sewage is of great significance for assessing the degree of pollution, formulating treatment plans, and monitoring treatment effects.

[0003] At present, sewage composition detection mainly relies on traditional chemical and physical analysis methods. Although these methods can provide certain quantitative analysis data, the operation process is relatively complicated and time-consuming. At the same time, existing technologies also include some modern instrumental analysis technologies, such as chromatography and mass spectrometry, which can accurately determine harmful substances in water bodies, but usually require expensive instruments and professional operators.

[0004] Therefore, although the existing technology has played a certain role in the detection of sewage components, it still has some obvious defects: first, the operational complexity and time-consuming nature of traditional methods make real-time monitoring difficult, and it is difficult to promptly reflect changes in the sewage treatment process; second, although modern instrumental analysis technology is accurate, the equipment cost is high and requires professional operators, which to a certain extent limits its widespread application; finally, the existing technology can often only detect known pollutants, and has limited ability to identify emerging pollutants or unknown components. Summary of the invention

[0005] Based on this, the purpose of the present invention is to propose a sewage composition monitoring and detection method and system to solve the above-mentioned problems.

[0006] According to the sewage composition monitoring and detection method proposed by the present invention, the method comprises: Obtaining spectral data of sewage from the database of the sewage operation management platform; extracting key spectral features from the spectral data; Build an adaptive learning detection model; Based on the key spectral features, the pollutant components and component concentrations in the sewage are detected through the adaptive learning detection model to obtain the pollutant components and component concentrations in the sewage.

[0007] Furthermore, the step of obtaining the spectral data of sewage from the database of the sewage operation management platform includes: The sewage flow is monitored by real-time non-contact scanning through a spectrometer to obtain the spectral data of the sewage from the database of the sewage operation management platform in real time.

[0008] Furthermore, the key spectral features include the position and intensity of the emission peak, and the step of extracting the key spectral features from the spectral data includes: Performing smoothing on the spectral data; Calculating the first-order derivative of the smoothed spectral data to obtain a first-order derivative array; Traverse the first-order derivative array to find the zero point position; Determine whether the sign of the first-order derivative before and after the zero position changes; If there is a change, the corresponding zero point is set as the potential peak position; Determining whether the spectral intensity of the potential peak position is higher than the spectral intensity of its adjacent data points; If it is higher than the spectral intensity of its adjacent data point, the corresponding potential peak position is determined as the position of the emission peak, and its spectral intensity is obtained.

[0009] Furthermore, the key spectral features also include the position and intensity of the absorption peak, and if there is a change, the step of setting the corresponding zero point as the potential peak position includes: Determining whether the spectral intensity of the potential peak position is lower than the spectral intensity of its adjacent data points; If it is lower than the spectral intensity of its adjacent data point, the corresponding potential peak position is determined as the position of the absorption peak, and its spectral intensity is obtained.

[0010] Furthermore, the key spectral features also include the distribution of spectral intensity and its changing trend, and the step of extracting the key spectral features from the spectral data includes: For each wavelength point of the spectral data, extracting the corresponding spectral intensity; Perform statistical analysis on the light intensity values ​​at all wavelength points in the entire spectral range to obtain the overall distribution of spectral intensity; With wavelength as the horizontal axis and spectral intensity as the vertical axis, a spectral curve is drawn to show the trend of spectral intensity changing with wavelength; A characteristic region is marked on the spectrum curve, and the characteristic region includes an absorption peak and an emission peak.

[0011] Furthermore, the step of building an adaptive learning detection model includes: Collecting a large amount of sewage sample data containing various pollutant components and concentrations, wherein the sewage sample data includes corresponding spectral data and actual measured values ​​of pollutant components and component concentrations; Preprocessing the spectral data, including cleaning, denoising and normalization; Extracting key spectral features from the preprocessed spectral data; Use neural networks as the basic model architecture; The extracted key spectral features and the corresponding pollutant component information and component concentration data are used as a training set to perform preliminary training on the model; Continuously monitor and collect new sewage sample data, and adaptively adjust the parameters of the initially trained model based on the new sewage sample data.

[0012] Furthermore, the step of using the neural network as the basic model architecture also includes: Adding a feedback information loop to the basic model architecture to receive feedback information from the model on the accuracy of the current detection result; Based on the representation vector adjustment mechanism, the representation vectors of the key layers of the model are modified according to the feedback information to fine-tune the parameters of the internal layers of the model.

[0013] Furthermore, the step of modifying the representation vector of the model based on the representation vector adjustment mechanism and according to the feedback information to fine-tune the parameters of the internal layer of the model includes: The output of the target key layer in the model is defined as the representation vector; Forward propagating the input data through the model and obtaining the representation vector of the target key layer output; The comparison information between the detection result of the model and the actual measurement value is used as feedback information; Analyzing the quality of the representation vector based on the feedback information; Adjusting the model parameters by back propagation algorithm and gradient descent, with the goal of making the model generate a representation vector with expected distinguishability and expected information amount, the adjusted model parameters including the layer parameters before the target key layer; Through multiple iterations of training, the model parameters are continuously adjusted according to feedback information to optimize the generation process of the representation vector.

[0014] The present invention also provides a sewage composition monitoring and detection system, comprising: Spectral data acquisition module: used to obtain spectral data of sewage from the database of the sewage operation management platform; Spectral feature extraction module: used to extract key spectral features from the spectral data; Model building module: used to build an adaptive learning detection model; Component detection module: used to detect the pollutant components and component concentrations in the sewage based on the key spectral features and through the adaptive learning detection model to obtain the pollutant components and component concentrations in the sewage.

[0015] In summary, the sewage component monitoring and detection method of the present invention obtains the spectral data of the sewage from the database of the sewage operation management platform, extracts the key spectral features from the spectral data, and then constructs an adaptive learning detection model. Based on the key spectral features, the pollutant components and component concentrations in the sewage are detected through the adaptive learning detection model to obtain the pollutant components and component concentrations in the sewage. The present invention realizes an efficient and accurate sewage component monitoring and detection method by combining spectral data analysis and adaptive learning models. It can not only automatically and quickly identify various pollutant components in sewage, but also measure their concentrations, significantly improving the accuracy and efficiency of sewage detection, and has certain detection advantages in identifying emerging pollutants or unknown components, and can provide strong technical support for environmental protection and sewage treatment.

[0016] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description or will be learned through embodiments of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which: Figure 1 This is a flow chart of a sewage composition monitoring and detection method according to a first embodiment of the present invention; Figure 2 4 is a system block diagram of a sewage composition monitoring and detection system according to a second embodiment of the present invention. DETAILED DESCRIPTION

[0018] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.

[0019] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.

[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.

[0021] Example 1 See also Figure 1 The present invention proposes a sewage composition monitoring and detection method, which is applied to a server. The method includes steps S101 to S104: S101, obtaining spectral data of sewage from a database of a sewage operation management platform.

[0022] It should be noted that in this embodiment, a high-resolution spectrometer can be used to perform non-contact scanning on sewage samples to obtain their spectral data. The spectrometer can accurately measure and record the light absorption, reflection or emission of sewage at different wavelengths. The higher the resolution of the spectrometer, the more detailed the spectral features it can capture, and the richer the information provided. Spectral data is the response data of chemical substances in sewage to light of different wavelengths. These data can reflect the characteristics of chemical bond vibration, molecular structure and electronic state in sewage, and can provide a key direct information source for sewage composition and internal structure analysis. Through spectral data, a variety of chemical substances in sewage can be identified and quantified, including organic matter, inorganic matter and possible pollutants.

[0023] It should be noted that the sewage operation management platform of this embodiment is a comprehensive platform developed for this application. This platform not only has spectral data for sewage monitoring and detection, but also can comprehensively understand the number, distribution, total treatment scale, emission standards, alarm information, real-time status of sewage treatment plants, treated water volume (including daily treated water volume, monthly treated water volume year-on-year and month-on-month data), treated water volume trends, and reductions in various water quality indicators.

[0024] The system can also be set to real-time monitoring mode, using a high-resolution spectrometer to scan and monitor the sewage flow in real time, so as to obtain the spectral data of the sewage from the database of the sewage operation management platform in real time. By continuously scanning and analyzing the generated sewage flow, once abnormal components or excessive concentrations in the sewage are detected, an alarm is immediately triggered and the information is sent to relevant personnel via a wireless network.

[0025] S102: extracting key spectral features from the spectral data.

[0026] It should be noted that the sewage spectral data obtained by the high-resolution spectrometer is analyzed to extract key spectral features, so as to identify and separate those spectral signals that can specifically reflect the different chemical components in the sewage. These features may include absorption peaks, emission peaks or other spectral patterns related to specific pollutants. The extracted key spectral features are crucial for subsequent pollutant identification and concentration determination because they provide accurate input data for the adaptive learning detection model. The model can identify various pollutants in sewage by learning these features and accurately estimate their concentrations.

[0027] S103, construct an adaptive learning detection model.

[0028] It should be noted that a model is created that can automatically learn and adapt to new data. By inputting the extracted key spectral features, the model can identify the pollutant components in sewage and predict their concentrations.

[0029] When building an adaptive learning detection model, first, you need to consider choosing appropriate machine learning or deep learning algorithms that can automatically adjust their internal parameters based on the provided training data to minimize prediction errors; second, when training the model, you need to use spectral data of known pollutant composition and concentration for supervised learning, and optimize the model's predictive ability through continuous iteration.

[0030] The model of this embodiment has adaptive learning capabilities. As time goes by and new spectral data is collected, the model can be continuously retrained and adjusted to adapt to new changes in sewage composition. This capability enables the model to maintain its detection accuracy and reliability in long-term operation.

[0031] S104, based on the key spectral features and through the adaptive learning detection model, the pollutant components and component concentrations in the sewage are detected to obtain the pollutant components and component concentrations in the sewage.

[0032] It should be noted that based on the extracted key spectral features, the pollutant components and their concentrations in the sewage are detected using the constructed adaptive learning detection model. In this step, the model processes these feature data and accurately determines the types of pollutants contained in the sewage through its learned pattern recognition capabilities, and estimates their respective concentrations. This achieves an efficient and accurate sewage component detection, significantly improving the accuracy and efficiency of sewage detection, and can detect a wide range of chemical substances, which has certain advantages in identifying emerging pollutants or unknown components.

[0033] This embodiment has the following advantages for detecting emerging pollutants by analyzing spectral data and combining an adaptive learning model: First, because spectral data contains detailed information about the internal structure and chemical bonds of substances, different chemicals will have unique absorption, reflection or emission characteristics on the spectrum. These characteristics are like the "fingerprints" of substances and can be used to identify and distinguish different substances. Therefore, even for emerging pollutants, as long as they have unique spectral characteristics, they can be analyzed and identified through spectral data.

[0034] Secondly, the adaptive learning model can learn and extract useful features from a large amount of data. By training the model to identify the spectral features of known pollutants, the model can gradually learn how to identify the patterns of pollutants from the spectral data. When encountering emerging pollutants, as long as these pollutants show unique features in the spectral data, the model can identify these emerging pollutants through the patterns it has learned. In addition, the adaptive learning model can be updated and optimized based on new data. When emerging pollutants are discovered and their spectral data are obtained, these data can be added to the model's training set, and the model can be retrained to improve its ability to identify emerging pollutants, so that the system can quickly adapt to new pollutants and maintain the advanced nature of its detection capabilities.

[0035] This embodiment can be set to real-time monitoring mode to continuously scan and analyze the sewage flow. Once abnormal components or concentrations exceeding the standard are detected, the system immediately triggers an alarm and sends information to relevant personnel via a wireless network. An intuitive user interface can also be provided to display real-time monitoring data and historical records.

[0036] Based on step S101 to step 104, the spectral data of sewage is obtained from the database of the sewage operation management platform, and key spectral features are extracted from the spectral data. Then, an adaptive learning detection model is constructed, and the pollutant components and component concentrations in the sewage are detected based on the key spectral features and through the adaptive learning detection model to obtain the pollutant components and component concentrations in the sewage. The present invention realizes an efficient and accurate sewage component detection method by combining spectral data analysis and adaptive learning models, which can not only automatically and quickly identify various pollutant components in sewage, but also determine their concentrations, significantly improving the accuracy and efficiency of sewage detection, and has certain detection advantages in identifying emerging pollutants or unknown components, and can provide strong technical support for environmental protection and sewage treatment.

[0037] The following is a further analysis of the sewage composition monitoring and detection method according to an embodiment of the present invention: Further optionally, in step S102, the key spectral features include the position and intensity of the emission peak, and the step of extracting the key spectral features from the spectral data includes: Performing smoothing on the spectral data; Calculating the first-order derivative of the smoothed spectral data to obtain a first-order derivative array; Traverse the first-order derivative array to find the zero point position; Determine whether the sign of the first-order derivative before and after the zero position changes; If there is a change, the corresponding zero point is set as the potential peak position; Determining whether the spectral intensity of the potential peak position is higher than the spectral intensity of its adjacent data points; If it is higher than the spectral intensity of its adjacent data point, the corresponding potential peak position is determined as the position of the emission peak, and its spectral intensity is obtained.

[0038] Understandably, the spectral data is first smoothed to eliminate noise, and then the first-order derivative is calculated to determine the potential peak position. Then, by traversing the zero point of the first-order derivative array and checking the change in the derivative sign before and after the zero point, the extreme point, that is, the potential peak position, is identified. Subsequently, by comparing the spectral intensity of these potential peak positions with the intensity of their adjacent data points, the exact position and intensity of the emission peak are finally determined. The position and intensity of the emission peak extracted through this series of steps can accurately identify and quantify specific chemical components from complex spectral data. By determining the location of the emission peak, we can understand which chemicals are present in the sewage, because each substance has its own unique spectral fingerprint. The intensity of the emission peak provides key information about the concentration of these substances. The higher the intensity, the greater the concentration of the substance.

[0039] Further optionally, in step S102, the key spectral feature also includes the position and intensity of the absorption peak, and if there is a change, the step of setting the corresponding zero point as the potential peak position includes: Determining whether the spectral intensity of the potential peak position is lower than the spectral intensity of its adjacent data points; If it is lower than the spectral intensity of its adjacent data point, the corresponding potential peak position is determined as the position of the absorption peak, and its spectral intensity is obtained.

[0040] Understandably, comparing the spectral intensity of a potential peak position with the spectral intensity of adjacent data points is a key step in determining the position of an absorption peak and its intensity. When the spectral intensity of a potential peak position is found to be lower than that of its adjacent points, this means that the position may be an absorption peak. An absorption peak is the manifestation of a substance absorbing light at a specific wavelength in the spectrum, and each chemical has its own unique absorption peak characteristics. Therefore, by determining the location of the absorption peak, the specific chemical substances present in the sewage can be identified, because different substances will absorb at different wavelengths. At the same time, the intensity of the absorption peak reflects the substance's ability to absorb light, and the concentration of the substance in the sewage can be inferred.

[0041] Further optionally, in step S102, the key spectral features also include the distribution of spectral intensity and its variation trend, and the step of extracting the key spectral features from the spectral data includes: For each wavelength point of the spectral data, extracting the corresponding spectral intensity; Perform statistical analysis on the light intensity values ​​at all wavelength points in the entire spectral range to obtain the overall distribution of spectral intensity; With wavelength as the horizontal axis and spectral intensity as the vertical axis, a spectral curve is drawn to show the trend of spectral intensity changing with wavelength; A characteristic region is marked on the spectrum curve, and the characteristic region includes an absorption peak and an emission peak.

[0042] Understandably, by extracting the spectral intensity at each wavelength point, detailed information about the absorption or emission of light at different wavelengths can be obtained. Furthermore, statistical analysis of the light intensity values ​​in the entire spectral range, such as calculating the mean and standard deviation, can be used to obtain the overall distribution of the spectral intensity, thereby providing insight into the relative content and fluctuation range of each chemical component in the sewage. Drawing a spectral curve intuitively shows the trend of spectral intensity changes with wavelength, which is crucial for identifying specific chemicals in sewage and their concentration changes. Marking characteristic areas on the spectral curve, such as absorption peaks and emission peaks, can highlight these key information and facilitate quick and accurate grasp of the chemical characteristics of sewage. Therefore, extracting the distribution of spectral intensity and its changing trends can make component analysis in sewage more efficient and accurate.

[0043] Further optionally, in step S103, the step of constructing an adaptive learning detection model includes: Collecting a large amount of sewage sample data containing various pollutant components and concentrations, wherein the sewage sample data includes corresponding spectral data and actual measured values ​​of pollutant components and component concentrations; Preprocessing the spectral data, including cleaning, denoising and normalization; Extracting key spectral features from the preprocessed spectral data; Use neural networks as the basic model architecture; The extracted key spectral features and the corresponding pollutant component information and component concentration data are used as a training set to perform preliminary training on the model; Continuously monitor and collect new sewage sample data, and adaptively adjust the parameters of the initially trained model based on the new sewage sample data.

[0044] Understandably, collect diverse sewage sample data, pre-process the spectral data and extract key spectral features, use these features and corresponding pollutant information to train the neural network model, and continuously monitor and collect new data to adaptively adjust the model parameters, thereby improving the model's recognition accuracy and concentration prediction capabilities for different sewage components. When adaptively adjusting model parameters, continuously monitor and collect new sewage sample data, subject the newly collected data to the same pre-processing and feature extraction, and regularly add new data to the training set to retrain the model to ensure that the model can adapt to new changes in sewage components. According to the performance of the model on the new data, further adaptive adjustments are made to the model parameters.

[0045] Further optionally, the step of using the neural network as the basic model architecture further includes: Adding a feedback information loop to the basic model architecture to receive feedback information from the model on the accuracy of the current detection result; Based on the representation vector adjustment mechanism, the representation vectors of the key layers of the model are modified according to the feedback information to fine-tune the parameters of the internal layers of the model.

[0046] Understandably, the neural network is used as the basic model architecture, and a feedback information loop is introduced to improve the model's adaptability. This feedback information loop can receive feedback from the model on the accuracy of the current detection results, thereby achieving real-time monitoring of the model's performance; based on the representation vector adjustment mechanism, the representation vectors of the key layers of the model are fine-tuned according to these feedback information, thereby optimizing the parameters of the internal layers of the model. This dynamic adjustment not only enables the model to adapt to new data distributions more accurately, but also effectively responds to environmental changes, ensuring the continued accuracy of the detection results and the long-term robustness of the model.

[0047] Further optionally, the step of modifying the representation vector of the model based on the representation vector adjustment mechanism and according to the feedback information to fine-tune the parameters of the internal layer of the model includes: The output of the target key layer in the model is defined as the representation vector; Forward propagating the input data through the model and obtaining the representation vector of the target key layer output; The comparison information between the detection result of the model and the actual measurement value is used as feedback information; Based on the feedback information, the quality of the representation vector is analyzed; for example, if the model performs poorly on samples of a particular category, then the representation vectors of these samples may contain insufficient or misleading information.

[0048] The model parameters are adjusted by back propagation algorithm and gradient descent, the goal is to make the model generate a representation vector with expected distinguishability and expected information amount to improve the quality of the representation vector, and the adjusted model parameters include the layer parameters before the target key layer; Through multiple iterations of training, the model parameters are continuously adjusted according to feedback information to optimize the generation process of the representation vector.

[0049] Understandably, in the process of fine-tuning the model based on the representation vector adjustment mechanism, the output of the target key layer in the model is first defined as the representation vector; the representation vector of the output of these key layers is obtained by forward propagating the input data; then, the detection results of the model are compared with the actual measured values ​​as feedback information; then, the quality of the representation vector is analyzed based on the feedback information, for example, the performance of the model on samples of a specific category is evaluated to identify possible insufficient or misleading information in the representation vector; the model parameters, especially the layer parameters before the target key layer, are adjusted using the backpropagation algorithm and gradient descent to improve the discriminability and information content of the representation vector. Through multiple iterative training, the model is continuously adjusted based on the feedback information, thereby optimizing the generation process of the representation vector, so that the model can adapt to the data more accurately and improve the detection performance.

[0050] Example 2 See also Figure 2 The present invention also proposes a sewage composition monitoring and detection system, which comprises: Spectral data acquisition module: used to obtain spectral data of sewage from the database of the sewage operation management platform; Spectral feature extraction module: used to extract key spectral features from the spectral data; Model building module: used to build an adaptive learning detection model; Component detection module: used to detect the pollutant components and component concentrations in the sewage based on the key spectral features and through the adaptive learning detection model to obtain the pollutant components and component concentrations in the sewage.

[0051] Further optionally, the spectral data acquisition module is also used for: The sewage flow is monitored by real-time non-contact scanning through a spectrometer to obtain the spectral data of the sewage from the database of the sewage operation management platform in real time.

[0052] Further optionally, the key spectral features include the position and intensity of the emission peak, and the spectral feature extraction module is further used for: Performing smoothing on the spectral data; Calculating the first-order derivative of the smoothed spectral data to obtain a first-order derivative array; Traverse the first-order derivative array to find the zero point position; Determine whether the sign of the first-order derivative before and after the zero position changes; If there is a change, the corresponding zero point is set as the potential peak position; Determining whether the spectral intensity of the potential peak position is higher than the spectral intensity of its adjacent data points; If it is higher than the spectral intensity of its adjacent data point, the corresponding potential peak position is determined as the position of the emission peak, and its spectral intensity is obtained.

[0053] Further optionally, the key spectral features also include the position and intensity of the absorption peak, and the spectral feature extraction module is further used for: Determining whether the spectral intensity of the potential peak position is lower than the spectral intensity of its adjacent data points; If it is lower than the spectral intensity of its adjacent data point, the corresponding potential peak position is determined as the position of the absorption peak, and its spectral intensity is obtained.

[0054] Further optionally, the key spectral features also include the distribution of spectral intensity and its variation trend, and the spectral feature extraction module is further used for: For each wavelength point of the spectral data, extracting the corresponding spectral intensity; Perform statistical analysis on the light intensity values ​​at all wavelength points in the entire spectral range to obtain the overall distribution of spectral intensity; With wavelength as the horizontal axis and spectral intensity as the vertical axis, a spectral curve is drawn to show the trend of spectral intensity changing with wavelength; A characteristic region is marked on the spectrum curve, and the characteristic region includes an absorption peak and an emission peak.

[0055] Optionally, the model building module is further used to: Collecting a large amount of sewage sample data containing various pollutant components and concentrations, wherein the sewage sample data includes corresponding spectral data and actual measured values ​​of pollutant components and component concentrations; Preprocessing the spectral data, including cleaning, denoising and normalization; Extracting key spectral features from the preprocessed spectral data; Use neural networks as the basic model architecture; The extracted key spectral features and the corresponding pollutant component information and component concentration data are used as a training set to perform preliminary training on the model; Continuously monitor and collect new sewage sample data, and adaptively adjust the parameters of the initially trained model based on the new sewage sample data.

[0056] Optionally, the model building module is further used to: Adding a feedback information loop to the basic model architecture to receive feedback information from the model on the accuracy of the current detection result; Based on the representation vector adjustment mechanism, the representation vectors of the key layers of the model are modified according to the feedback information to fine-tune the parameters of the internal layers of the model.

[0057] Optionally, the model building module is further used to: The output of the target key layer in the model is defined as the representation vector; Forward propagating the input data through the model and obtaining the representation vector of the target key layer output; The comparison information between the detection result of the model and the actual measurement value is used as feedback information; Analyzing the quality of the representation vector based on the feedback information; Adjusting the model parameters by back propagation algorithm and gradient descent, with the goal of making the model generate a representation vector with expected distinguishability and expected information amount, the adjusted model parameters including the layer parameters before the target key layer; Through multiple iterations of training, the model parameters are continuously adjusted according to feedback information to optimize the generation process of the representation vector.

[0058] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A sewage composition monitoring and detection method, characterized in that: The method comprises: Obtaining spectral data of sewage from the database of the sewage operation management platform; extracting key spectral features from the spectral data; Build an adaptive learning detection model; Based on the key spectral features, the pollutant components and component concentrations in the sewage are detected by the adaptive learning detection model to obtain the pollutant components and component concentrations in the sewage; Wherein, the key spectral features include the position and intensity of the emission peak, and the step of extracting the key spectral features from the spectral data includes: Performing smoothing on the spectral data; Calculating the first-order derivative of the smoothed spectral data to obtain a first-order derivative array; Traverse the first-order derivative array to find the zero point position; Determine whether the sign of the first-order derivative before and after the zero position changes; If a change occurs, the corresponding zero point is set as the potential peak position; Determining whether the spectral intensity of the potential peak position is higher than the spectral intensity of its adjacent data points; If it is higher than the spectral intensity of its adjacent data point, the corresponding potential peak position is determined as the position of the emission peak, and its spectral intensity is obtained.

2. The sewage component monitoring and detection method according to claim 1, characterized in that: The step of obtaining the spectral data of sewage from the database of the sewage operation management platform includes: The sewage flow is monitored by real-time non-contact scanning through a spectrometer to obtain the spectral data of the sewage from the database of the sewage operation management platform in real time.

3. The sewage component monitoring and detection method according to claim 1, characterized in that: The key spectral features also include the position and intensity of the absorption peak. If there is a change, the step of setting the corresponding zero point as the potential peak position includes: Determining whether the spectral intensity of the potential peak position is lower than the spectral intensity of its adjacent data points; If it is lower than the spectral intensity of its adjacent data point, the corresponding potential peak position is determined as the position of the absorption peak, and its spectral intensity is obtained.

4. The sewage component monitoring and detection method according to claim 3 is characterized in that: The key spectral features also include the distribution of spectral intensity and its changing trend. The step of extracting the key spectral features from the spectral data includes: For each wavelength point of the spectral data, extracting the corresponding spectral intensity; Perform statistical analysis on the light intensity values ​​at all wavelength points in the entire spectral range to obtain the overall distribution of spectral intensity; With wavelength as the horizontal axis and spectral intensity as the vertical axis, a spectral curve is drawn to show the trend of spectral intensity changing with wavelength; A characteristic region is marked on the spectrum curve, and the characteristic region includes an absorption peak and an emission peak.

5. The sewage component monitoring and detection method according to claim 1, characterized in that: The steps of constructing an adaptive learning detection model include: Collecting a large amount of sewage sample data containing various pollutant components and concentrations, wherein the sewage sample data includes corresponding spectral data and actual measured values ​​of pollutant components and component concentrations; Preprocessing the spectral data, including cleaning, denoising and normalization; Extracting key spectral features from the preprocessed spectral data; Use neural networks as the basic model architecture; The extracted key spectral features and the corresponding pollutant component information and component concentration data are used as a training set to perform preliminary training on the model; Continuously monitor and collect new sewage sample data, and adaptively adjust the parameters of the initially trained model based on the new sewage sample data.

6. The sewage component monitoring and detection method according to claim 5, characterized in that: The step of using the neural network as the basic model architecture also includes: Adding a feedback information loop to the basic model architecture to receive feedback information from the model on the accuracy of the current detection result; Based on the representation vector adjustment mechanism, the representation vectors of the key layers of the model are modified according to the feedback information to fine-tune the parameters of the internal layers of the model.

7. The sewage component monitoring and detection method according to claim 6, characterized in that: The step of modifying the representation vector of the model based on the representation vector adjustment mechanism and according to the feedback information to fine-tune the parameters of the internal layer of the model includes: The output of the target key layer in the model is defined as the representation vector; Forward propagating the input data through the model and obtaining the representation vector of the target key layer output; The comparison information between the detection result of the model and the actual measurement value is used as feedback information; Analyzing the quality of the representation vector based on the feedback information; Adjusting the model parameters by back propagation algorithm and gradient descent, with the goal of making the model generate a representation vector with expected distinguishability and expected information amount, the adjusted model parameters including the layer parameters before the target key layer; Through multiple iterations of training, the model parameters are continuously adjusted according to feedback information to optimize the generation process of the representation vector.

8. The sewage composition monitoring and detection system is characterized by: include: Spectral data acquisition module: used to obtain spectral data of sewage from the database of the sewage operation management platform; Spectral feature extraction module: used to extract key spectral features from the spectral data; Model building module: used to build an adaptive learning detection model; Component detection module: used for detecting the pollutant components and component concentrations in the sewage based on the key spectral features and through the adaptive learning detection model to obtain the pollutant components and component concentrations in the sewage; The key spectral features include the position and intensity of the emission peak, and the spectral feature extraction module is further used for: Performing smoothing on the spectral data; Calculating the first-order derivative of the smoothed spectral data to obtain a first-order derivative array; Traverse the first-order derivative array to find the zero point position; Determine whether the sign of the first-order derivative before and after the zero position changes; If there is a change, the corresponding zero point is set as the potential peak position; Determining whether the spectral intensity of the potential peak position is higher than the spectral intensity of its adjacent data points; If it is higher than the spectral intensity of its adjacent data point, the corresponding potential peak position is determined as the position of the emission peak, and its spectral intensity is obtained.

Citation Information

Patent Citations

  • Method for determining a parameter of liquid sample

    CN101988894A

  • Multi-parameter on-line water quality monitoring device based on spectrometry

    CN106596436A

  • Water quality detection system and method based on gated recursive array

    CN111693667A

  • Intelligent water affair management platform

    CN112581077A

  • Wastewater discharge monitoring method and device, electronic equipment and storage medium

    CN113240006A

Cited By

  • Artificial intelligence-based tailing wastewater analysis method and system

    CN119626392A

  • Intelligent sewage detection method and system for municipal construction

    CN119643485A

  • Tailless threaded sleeve deformation detection system and method based on multispectral imaging

    CN119879762A

  • Water quality monitoring method and system for water conservancy pump station

    CN119985359A

  • Intelligent detection device and method for oiling agent

    CN120489989A