A wastewater management control system and method based on data processing

By correcting the filter value of the pH data sequence and obtaining the abnormal score of the mutation point in wastewater management control, the problem of over-smoothing of data caused by non-local mean filtering is solved, and the control accuracy of the wastewater treatment system and the accuracy of data analysis are improved.

CN118427539BActive Publication Date: 2024-08-30陕西苏秦佳宏药业有限公司
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410891718.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-08-30
Estimated Expiration
2044-07-04

AI Technical Summary

Technical Problem

The non-local mean filtering algorithm may cause over-smoothing of data during the data filtering process and reduce the accuracy of data analysis results. Especially in wastewater management control, the over-emphasis on noise data has a serious impact.

Method used

By obtaining the noise expression degree of each data in the PH data sequence, the filter value is corrected, and the mutation point abnormality score in the filtered data sequence is obtained, and the operating parameters of the wastewater treatment equipment are adjusted based on these scores to reduce the impact of noise data. Improve filtering effect.

Benefits of technology

Effectively reduce the impact of noise data on wastewater management data processing results, improve the accuracy of data analysis and the control accuracy of the wastewater treatment system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118427539B
    Figure CN118427539B
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and in particular to a wastewater management control system and method based on data processing. The method comprises the steps of dividing a PH data sequence into local windows, obtaining the average level of data in each local window, obtaining the degree of deviation of each PH data according to the average level of data in each local window, obtaining the degree of noise performance of each data in the PH data sequence according to the degree of deviation of each PH data in the PH data sequence, correcting the filter value of each data in the PH data sequence based on the degree of noise performance of each data in the PH data sequence, obtaining the filter correction value of each data in the PH data sequence, obtaining all mutation points in the filtered PH data sequence, obtaining the abnormal score of each mutation point in the filtered PH data sequence, and controlling the wastewater treatment system based on the abnormal score of each mutation point in the filtered PH data sequence. The present invention improves the filtering effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a wastewater management control system and method based on data processing. Background Art

[0002] In the production process of chemical products, from the pretreatment of raw materials to reaction conversion, and then to the refining and separation of products, each step is accompanied by the generation of wastewater. These wastewaters are not only complex in composition and contain a variety of chemical substances, but also may cause serious pollution to the environment if not effectively treated. Therefore, wastewater treatment has become an indispensable part of chemical production. Traditional wastewater management methods mainly rely on manual detection and regular sampling and analysis. This method is not only time-consuming and labor-intensive, but also lacks real-time and accuracy. Therefore, the present invention proposes a wastewater management control system and method based on data processing. The method can timely detect abnormal changes in wastewater quality by real-time monitoring and analysis of various indicators in the wastewater treatment process, give early warnings, and prompt staff to adjust the operating parameters of wastewater treatment equipment.

[0003] The patent application document currently published with the publication number CN116563156A discloses an image denoising method and device based on a non-local mean filtering algorithm. The method comprises the following steps: obtaining an image to be processed in the original image format, selecting pixels of the same color in the image to be processed and adding them to a preset search window; calculating the mean square error of a central neighbourhood window with each pixel as the centre point relative to each non-central neighbourhood window in the search window; obtaining a preset weight table, and searching the weight table for target weights corresponding to each mean square error; calculating the filtered pixel value of each pixel in the search window according to the target weight, and obtaining a denoised image according to each pixel value.

[0004] The non-local mean filter in the above method measures the distance between neighbors through Gaussian weighted Euclidean distance, thereby expressing the similarity between neighbors, and weighting the data so that adjacent and widely different data within the window have less mutual influence when the average value is calculated; when managing and controlling wastewater, in the process of collecting data through sensors, the accuracy of the sensors themselves may cause some noise in the collected data, and in Gaussian weighting, for any data, the size of the weight depends on the distance between the data and other data; the closer the distance, the higher the weight will be assigned to the data, so it should be paid more attention to when calculating the average value, and the farther the distance, the lower the weight will be assigned to the data; therefore, through the above operation, the weight of the noise data will be too high, resulting in excessive emphasis on the influence of noise points in weighted averaging, resulting in excessive smoothing of the data, thereby reducing the accuracy of the data analysis results. Summary of the invention

[0005] In order to solve the problem that when a non-mean filtering algorithm is used to filter data, data may be over-smoothed, thereby reducing the accuracy of data analysis results, the present invention provides a wastewater management control system and method based on data processing.

[0006] In a first aspect, the present invention provides a wastewater management control method based on data processing, which adopts the following technical solution:

[0007] A wastewater management control method based on data processing, comprising the steps of:

[0008] Collecting a PH data sequence; dividing the PH data sequence into local windows; obtaining an average level of data in each local window, wherein the average level of data represents the degree of fluctuation of data values ​​in the local window; taking the absolute value of the difference between the data value of each data in the PH data sequence and the average level of data in the local window to which it belongs as the degree of deviation of each data;

[0009] Get the noise performance of each data in the PH data series ; In the formula, Represents the noise performance of the vth data; Represents the degree of deviation of the vth data; Represents the correlation coefficient between the data value sequence of the local window to which the vth data belongs and its acquisition time series; obtains the filter correction value of each data, the filter correction value is positively correlated with the filter value of each data, and is negatively correlated with the noise performance of each data; based on the filter correction value, obtains the filtered PH data sequence; obtains each mutation point in the filtered PH data sequence;

[0010] Get the anomaly score of each mutation point in the filtered PH data sequence:

[0011] ; In the formula, Represents the abnormality score of the kth mutation point; The data value representing the k-th mutation point; Represents the data value of the k-1th mutation point; represents the acquisition time of the kth mutation point; represents the acquisition time of the k-1th mutation point; T represents the PH emission index value; max() represents the maximum value;

[0012] Based on the value of the abnormal score, relevant personnel are notified to adjust the operating parameters of the wastewater treatment equipment to achieve normal discharge indicators.

[0013] The present invention obtains the noise performance degree of each data in the PH data sequence to correct the filter value of each data, obtains the filtered PH data sequence, obtains the abnormal score of the mutation point in the filtered PH data sequence, and finally controls the wastewater treatment system based on the abnormal score of each mutation point in the filtered PH data sequence, effectively reduces the influence of noise data on the wastewater management data processing result, improves the filtering effect of noise, and enables the subsequent accurate control of the wastewater treatment system. Furthermore, the noise performance degree of each data in the PH data sequence is obtained according to the deviation degree of each data and the correlation coefficient between the data value sequence of the local window to which each data belongs and its acquisition time series, considering the normal trend change of the PH data combined with the deviation degree of each data, so that the acquisition of the noise performance degree is more accurate. Furthermore, the deviation degree of each data is obtained by subtracting the data value of each data from the average level of the data in the local window to which it belongs, which can reflect the noise performance of each data.

[0014] Preferably, the step of dividing the PH data sequence into local windows comprises the following steps:

[0015] The number of data in the local window is preset, and the PH data sequence is divided into a plurality of local windows in sequence according to the number of data in the local window, and the data in the local windows do not overlap.

[0016] Preferably, the average level of data in each local window is obtained by the following calculation formula:

[0017] ;

[0018] In the formula, Represents the average level of data in the jth local window; represents the acquisition time of the nth PH data in the jth local window; represents the acquisition time of the hth PH data in the jth local window; represents the data value of the hth PH data in the jth local window; exp() represents an exponential function with a natural constant as the base; N represents the number of data in the local window.

[0019] The average level of data in the local window can reflect the average level of data values ​​in the local window, so that the deviation degree of each data can be obtained according to the difference between each data and the average level of data in its local window.

[0020] Preferably, the specific method for obtaining the correlation coefficient includes:

[0021] The data values ​​in each local window are obtained in turn to obtain the data value sequence of each local window, and the data collection time in each local window is obtained in turn to obtain the data collection time series of each local window; the Pearson correlation coefficient algorithm is used to obtain the correlation coefficient between the data value sequence of each local window and its collection time series.

[0022] Preferably, the filter correction value of each data is obtained by calculating the formula:

[0023] ;

[0024] In the formula, Represents the filter correction value of the vth data in the PH data sequence; Represents the noise performance of the vth data in the PH data sequence; Represents the filtered value of the vth data in the PH data sequence.

[0025] The filter value of each data is corrected according to the noise performance of each data, so that the filter correction value of each data is more accurate.

[0026] Preferably, the step of obtaining the filtered PH data sequence comprises:

[0027] After sorting the filter correction value of each data in the PH data sequence according to the acquisition time, a filtered PH data sequence is obtained.

[0028] This facilitates the subsequent acquisition of each mutation point in the filtered PH data sequence based on the filtered PH data sequence.

[0029] Preferably, the step of obtaining each mutation point in the filtered PH data sequence comprises the steps of:

[0030] The BG sequence segmentation algorithm is used to obtain all mutation points in the filtered PH data sequence.

[0031] Mutation points are more likely to be abnormal data, so obtaining mutation points for subsequent abnormality analysis can improve efficiency.

[0032] In a second aspect, the present invention provides a wastewater management and control system based on data processing, which adopts the following technical solution:

[0033] A wastewater management and control system based on data processing comprises: a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the above-mentioned wastewater management and control method based on data processing is implemented.

[0034] By adopting the above technical solution, the above-mentioned wastewater management control method based on data processing is generated into a computer program and stored in a memory so as to be loaded and executed by a processor, thereby making a terminal device based on the memory and the processor for easy use.

[0035] The present invention has the following technical effects: by obtaining the noise performance degree of each data in the PH data sequence, the filter value of each data is corrected to obtain the filtered PH data sequence, the abnormal score of the mutation point in the filtered PH data sequence is obtained, and finally based on the abnormal score of each mutation point in the filtered PH data sequence, the wastewater treatment system is controlled, the influence of the noise data on the wastewater management data processing result is effectively reduced, the filtering effect of the noise is improved, and the wastewater treatment system is accurately controlled subsequently;

[0036] Furthermore, the noise performance degree of each data in the PH data sequence is obtained based on the deviation degree of each data and the correlation coefficient between the data value sequence of the local window to which each data belongs and its acquisition time series, taking into account the normal trend change of the PH data combined with the deviation degree of each data, so that the acquisition of the noise performance degree is more accurate;

[0037] Furthermore, the degree of deviation of each data is obtained by subtracting the data value of each data from the average level of the data in the local window to which it belongs, which can reflect the noise performance of each data. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-restrictive manner, and the same or corresponding reference numerals represent the same or corresponding parts.

[0039] Figure 1 It is a method flow chart of a wastewater management control method based on data processing in an embodiment of the present invention. DETAILED DESCRIPTION

[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0041] It should be understood that when the terms "first", "second", etc. are used in the claims, descriptions, and drawings of the present invention, they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the description and claims of the present invention indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their collections.

[0042] The embodiment of the present invention discloses a wastewater management control method based on data processing, referring to Figure 1 , comprising steps S1 to S4:

[0043] S1: Collect pH data series after wastewater treatment.

[0044] Step S1 includes step S10, which is specifically as follows:

[0045] S10: Collect various indicator data after wastewater treatment.

[0046] In an embodiment of the present invention, a PH sensor is placed at the outlet of the wastewater treatment equipment to collect PH data of the treated wastewater; a flow sensor is placed at the outlet of the wastewater treatment equipment to collect flow data after the treated wastewater; a COD sensor is placed at the outlet of the wastewater treatment equipment to collect COD data; and each of the collected data is transmitted to a cloud server through a built-in transmission device of each sensor. It should be noted that the frequency of collecting each of the data is 1 second / time. In an embodiment of the present invention, PH data is used for analysis.

[0047] The collected PH data are sorted in the order of collection time to obtain a PH data sequence.

[0048] S2: Divide the PH data sequence into local windows, obtain the average level of the data in each local window, and obtain the deviation degree of each PH data according to the average level of the data in each local window.

[0049] Step S2 includes step S20, which is specifically as follows:

[0050] S20: Divide the PH data sequence into local windows, obtain the average level of the data in each local window, and obtain the deviation degree of each PH data according to the average level of the data in each local window.

[0051] It should be noted that in the wastewater treatment process, due to the influence of sensor accuracy, noise may exist in the collected PH data, and wastewater treatment is a continuous and dynamic process. Water quality parameters such as PH data values ​​often fluctuate and change over time. However, when the same batch of chemical products are actually used for treatment, due to the same content, the parameter values ​​(such as PH data) after treatment under the same indicator tend to be stable, that is, the change trend and state of water quality parameters (such as PH data) in a short period of time are stable. Therefore, the PH data sequence is first segmented, and the PH data sequence is divided into local windows. The data values ​​of the PH data in each local window are analyzed to obtain the average level of the data in each local window, and then the deviation degree of each PH data is obtained according to the difference between the data value of each PH data and the average level of the data in the local window to which it belongs. The deviation degree characterizes the noise performance of the PH data. The larger the value, the more likely it is noise data.

[0052] In an embodiment of the present invention, the number of data N in the local window is preset, and the PH data sequence is divided into multiple local windows in sequence according to the number of data in the local window. It should be noted that if the number of PH data in the PH data sequence does not meet the number of data in the local window, a 0-padding operation is performed thereon.

[0053] ;

[0054] In the formula, Represents the average level of data in the jth local window; represents the acquisition time of the nth PH data in the jth local window; represents the acquisition time of the hth PH data in the jth local window; represents the data value of the hth PH data in the jth local window; exp() represents an exponential function with a natural constant as the base; N represents the number of data in the local window; It represents the time difference between the nth PH data and the hth PH data in the jth local window. The smaller its value is, the closer the hth PH data is to the nth PH data. Therefore, the data value of the hth PH data has a greater weight. Represents the average level of the data in the j-th local window. It is obtained by summing the product of the data value of each PH data in the j-th local window multiplied by its corresponding weight, and dividing it by the sum of all weights. The weighted average level takes into account the importance of different PH data.

[0055] Get the absolute value of the difference between the data value of the vth data in the PH data sequence and the average level of the data in the local window to which the vth data belongs, and record it as the deviation degree of the vth data in the PH data sequence. Similarly, get the deviation degree of each data in the PH data sequence.

[0056] S3: According to the deviation degree of each PH data in the PH data sequence, the noise performance degree of each data in the PH data sequence is obtained, and the filter value of each data in the PH data sequence is corrected based on the noise performance degree of each data in the PH data sequence to obtain the filter correction value of each data in the PH data sequence, and obtain the filtered PH data sequence.

[0057] Step S3 includes steps S30 and S31, which are specifically as follows:

[0058] S30: Acquire the noise performance degree of each data in the PH data sequence according to the deviation degree of each PH data in the PH data sequence.

[0059] It should be noted that after the normal treatment process is completed, the wastewater indicators are stable in a short period of time. However, if the indicator values ​​rise for a period of time, it may be due to problems with the parameters of the process equipment or the reagents. This will lead to a large deviation in the PH data. However, due to the influence of noise data, there will also be a large deviation in the PH data. Therefore, if only the deviation of the PH data is considered to judge the abnormality of the PH data, it may be misjudged, resulting in inaccurate test results. In actual scenarios, due to external factors, the trend of PH data changes significantly, not the change of individual data, but the trend of PH data is consistent within the local time. Therefore, the data value sequence of each local window and its acquisition time can be obtained. The correlation coefficient of the sequence: if the correlation coefficient between the data value sequence of the local window to which any PH data belongs and its acquisition time series is larger, that is, the PH data in the local window is strongly correlated with time, then it means that it conforms to the actual scenario, indicating that the PH data cannot be noise data; if the correlation coefficient between the data value sequence of the local window to which any PH data belongs and its acquisition time series is smaller, that is, there is an oscillation phenomenon in the change of PH data in the local window, indicating that the PH data may be noise data. Therefore, if the correlation coefficient between the data value sequence of the local window to which any PH data belongs and its acquisition time series is smaller, and the degree of deviation of the data is larger, then it means that it is noise, otherwise, it is normal data.

[0060] In an embodiment of the present invention, the values ​​of the data in each local window are obtained in sequence to obtain a data value sequence for each local window, and the collection time of the data in each local window is obtained in sequence to obtain a data collection time series for each local window; and the Pearson correlation coefficient algorithm is used to obtain the correlation coefficient between the data value sequence of each local window and its collection time series.

[0061] Get the noise performance of the vth data in the PH data sequence:

[0062] ;

[0063] In the formula, Represents the noise performance of the vth data in the PH data sequence; Represents the degree of deviation of the vth data in the PH data sequence; Represents the correlation coefficient between the data value sequence of the local window to which the vth data in the PH data sequence belongs and its acquisition time series; The smaller the value is, that is, the closer it is to 0, the weaker the correlation between the data value sequence of the local window to which the vth data in the PH data sequence belongs and its acquisition time series is, that is, there is an oscillation phenomenon in the data of the local window to which the vth data in the PH data sequence belongs, indicating that the vth data in the PH data sequence is more likely to be noise, and the greater the deviation of the vth data in the PH data sequence, the greater the noise performance of the vth data in the PH data sequence; The larger the value is, that is, the closer it is to 1, the stronger the correlation between the data value sequence of the local window to which the vth data in the PH data sequence belongs and its acquisition time series is. In other words, the data value obtained in the local window to which the vth data in the PH data sequence belongs shows an upward or downward trend with the increase of time. At this time, when the deviation degree of the vth data in the PH data sequence is greater, it means that the data fluctuation may be caused by normal operation.

[0064] S31: Correcting the filter value of each data in the PH data sequence according to the noise performance degree of each data in the PH data sequence to obtain the filter correction value of each data in the PH data sequence.

[0065] It should be noted that the non-local mean filter measures the distance between neighbors through Gaussian weighted Euclidean distance, thereby expressing the similarity between neighbors and assigning weights to the data. When managing and controlling wastewater, in the process of collecting data through sensors, the accuracy of the sensors themselves may cause some noise in the collected data. In Gaussian weighting, for any data, the size of the weight depends on the distance between the data and other data; the closer the distance, the higher the weight will be assigned to the data, so it should be paid more attention to when calculating the average value, and the farther the distance, the lower the weight will be assigned to the data; however, through the above operation, the weight of the noise data will be too high, resulting in excessive emphasis on the influence of noise points in weighted averaging, resulting in excessive smoothing of the data, thereby reducing the accuracy of the data analysis results; when the noise performance of the data is low, it means that the data is more likely to be non-noise data; therefore, it is necessary to weight the filter value obtained by the original Gaussian weighted Euclidean distance of the data in combination with the noise performance of each data, so that the Euclidean distance of the data with high noise performance is reduced to complete the noise smoothing effect, and the data with low noise performance is increased to retain useful abnormal information.

[0066] In the embodiment of the present invention, a non-mean filtering algorithm is used to obtain the filtering value of each data in the PH data sequence. It should be noted that the non-mean filtering algorithm is a well-known technology and will not be described in detail in the embodiment of the present invention.

[0067] Get the filter correction value of the vth data in the PH data sequence:

[0068] ;

[0069] In the formula, Represents the filter correction value of the vth data in the PH data sequence; Represents the noise performance of the vth data in the PH data sequence; Represents the filtered value of the vth data in the PH data sequence; when the noise performance of the vth data is low, it means that the data is more likely to be a true value rather than noise. Therefore, a higher weight should be given when calculating its filtered correction value, which can better retain its original information and avoid being over-smoothed and losing useful information during the filtering process; conversely, if the vth noise performance is high, the data point is more likely to be noise, an outlier generated by noise, and such data points should be smoothed during the filtering process. Therefore, when calculating its filtered correction value, giving data points with high noise performance a lower weight can reduce their influence in the weighted average calculation, thereby achieving the smoothing effect of noise.

[0070] After sorting the filter correction value of each data in the PH data sequence according to the acquisition time, a filtered PH data sequence is obtained.

[0071] S4: Obtain all mutation points in the filtered PH data sequence, obtain the abnormality score of each mutation point in the filtered PH data sequence, and control the wastewater treatment system based on the abnormality score of each mutation point in the filtered PH data sequence.

[0072] Step S4 includes step S40, which is specifically as follows:

[0073] S40: Obtain all mutation points in the filtered PH data sequence, and obtain the abnormality score of each mutation point in the filtered PH data.

[0074] It should be noted that the data in the filtered PH data sequence can truly reflect the indicators after wastewater treatment. If there are obvious fluctuations in the data in the filtered PH data sequence, it may be caused by factors such as equipment failure and improper adjustment of operating parameters. Therefore, the mutation points in the PH data sequence are first obtained. After identifying the mutation points, it is necessary to further analyze the abnormalities of these mutation points. The slope between adjacent mutation points is known to reflect the data changes and directions. If the data value of the data in the PH data sequence shows an upward trend over a period of time, the larger the slope between adjacent mutation points, the higher the data value may be due to problems with the parameters of the process equipment or insufficient dosage. At this time, if the data value of the mutation point exceeds the PH emission index value, it means that the mutation point is abnormal. If the data value of the data in the PH data sequence shows a stable or downward trend over a period of time, the smaller the slope between adjacent mutation points. At this time, if the data value of the mutation point is lower than the PH emission index value, it means that the mutation point is normal.

[0075] In the embodiment of the present invention, a BG sequence segmentation algorithm is used to obtain all mutation points in the filtered PH data sequence.

[0076] Get the anomaly score of each mutation point in the filtered PH data sequence:

[0077] ;

[0078] In the formula, Represents the abnormality score of the kth mutation point; The data value representing the k-th mutation point; Represents the data value of the k-1th mutation point; represents the acquisition time of the kth mutation point; represents the acquisition time of the k-1th mutation point; T represents the PH emission index value; Representative The mutation point and The slope between mutation points is greater than 0, indicating that From the mutation point to the If the data values ​​between the mutation points are increasing, abnormal situations may occur; Indicates obtaining the The mutation point and The maximum value of the data between the mutation points, if the maximum value is greater than The emission index value indicates that there is an abnormality at the kth mutation point, and the abnormality score of the kth mutation point is 1; otherwise, it indicates that the abnormality score of the kth mutation point is 0, and the preset PH emission index value is 9. In other embodiments, the implementers can limit it according to the specific implementation situation.

[0079] If the abnormal score of any mutation point in the filtered PH data sequence is 1, the alarm system will be triggered immediately to notify relevant personnel to adjust the operating parameters of the wastewater treatment equipment to adjust the wastewater treatment indicators to reach normal discharge indicators.

[0080] An embodiment of the present invention further discloses a wastewater management and control system based on data processing, including a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, a wastewater management and control method based on data processing according to the present invention is implemented.

[0081] The above system also includes other components well known to those skilled in the art, such as a communication bus and a communication interface, and their configuration and functions are known in the art, so they will not be described in detail here.

[0082] In the present invention, the aforementioned memory may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, a computer-readable storage medium may be any suitable magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory, a dynamic random access memory, a static random access memory, an enhanced dynamic random access memory, a high bandwidth memory, a hybrid storage cube, etc., or any other medium that can be used to store the required information and can be accessed by an application, a module, or both. Any such computer storage medium may be part of the device or accessible or connectable to the device.

[0083] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.

[0084] The above are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A wastewater management control method based on data processing, characterized in that: Includes steps: Collect PH data series; divide the PH data series into local windows; obtain the average level of data in each local window: ; In the formula, Represents the average level of data in the jth local window; represents the acquisition time of the nth PH data in the jth local window; represents the acquisition time of the hth PH data in the jth local window; represents the data value of the hth PH data in the jth local window; exp() represents an exponential function with a natural constant as the base; N represents the number of data in the local window; the absolute value of the difference between the data value of each data in the PH data sequence and the average level of the data in the local window to which it belongs is taken as the deviation degree of each data; Get the noise performance of each data in the PH data series ; In the formula, Represents the noise performance of the vth data; Represents the degree of deviation of the vth data; Represents the correlation coefficient between the data value sequence of the local window to which the vth data belongs and its acquisition time series; obtains the filter correction value of each data, the filter correction value is positively correlated with the filter value of each data, and is negatively correlated with the noise performance of each data; based on the filter correction value, obtains the filtered PH data sequence; obtains each mutation point in the filtered PH data sequence; Get the anomaly score of each mutation point in the filtered PH data sequence: ; In the formula, Represents the abnormality score of the kth mutation point; The data value representing the k-th mutation point; Represents the data value of the k-1th mutation point; represents the acquisition time of the kth mutation point; represents the acquisition time of the k-1th mutation point; T represents the PH emission index value; max() represents the maximum value; If the abnormal score of any mutation point in the filtered PH data sequence is 1, the relevant personnel will be notified to adjust the operating parameters of the wastewater treatment equipment to achieve normal discharge indicators.

2. A wastewater management control method based on data processing according to claim 1, characterized in that: The step of dividing the PH data sequence into local windows comprises the following steps: The number of data in the local window is preset, and the PH data sequence is divided into a plurality of local windows in sequence according to the number of data in the local window, and the data in the local windows do not overlap.

3. A wastewater management control method based on data processing according to claim 1, characterized in that: The specific method for obtaining the correlation coefficient includes: The data values ​​in each local window are obtained in turn to obtain the data value sequence of each local window, and the data collection time in each local window is obtained in turn to obtain the data collection time series of each local window; the Pearson correlation coefficient algorithm is used to obtain the correlation coefficient between the data value sequence of each local window and its collection time series.

4. The method for wastewater management and control based on data processing according to claim 1, characterized in that: The filter correction value of each data is obtained by the following calculation formula: ; In the formula, Represents the filter correction value of the vth data in the PH data sequence; Represents the noise performance of the vth data in the PH data sequence; Represents the filtered value of the vth data in the PH data sequence.

5. The method for wastewater management and control based on data processing according to claim 1, characterized in that: The step of obtaining the filtered PH data sequence comprises: After sorting the filter correction value of each data in the PH data sequence according to the acquisition time, a filtered PH data sequence is obtained.

6. The method for wastewater management and control based on data processing according to claim 1, characterized in that: The step of obtaining each mutation point in the filtered PH data sequence comprises the following steps: The BG sequence segmentation algorithm is used to obtain all mutation points in the filtered PH data sequence.

7. A wastewater management and control system based on data processing, characterized in that: include: A processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, a wastewater management control method based on data processing according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Image noise reduction method and device based on non-local mean filtering algorithm

    CN116563156A

  • Power system sensor data cleaning device and cleaning method

    CN110727669A

  • Monitoring method for integrated photoelectric chip

    CN116953488A