Total Organic Matter Rapid Analysis System

By analyzing the difference in pH value arrangement and the probability of clutter value during the flocculation and precipitation reaction, and combining the amplitude of the link transformation, the grouping process is coordinated, which solves the problem of poor PH value grouping in the existing technology and improves the accuracy of detection and analysis.

CN119741992BActive Publication Date: 2025-06-10JIANGSU LIWAN ELECTRONIC TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510240505.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-03
Publication Date
2025-06-10
Estimated Expiration
2045-03-03

AI Technical Summary

Technical Problem

During the prior art, it is difficult to efficiently group and detect the pH value of filtered sewage during the flocculation precipitation reaction, resulting in insufficient detection and analysis accuracy of the working conditions of the flocculation precipitation reaction device.

Method used

By obtaining the pH value at different time points, analyzing the difference between the PH value arrangement and the probability of clutter value between the numerical sets, combining the amplitude of the link transformation, the grouping process is coordinated to improve the grouping performance of the PH value and the detection and analysis accuracy.

Benefits of technology

The PH value grouping performance of the flocculation precipitation reaction device at the transition between the reasonable working link and the obstacle working link is improved, the accuracy of the pH value detection and analysis is enhanced, and the effective stop of the flocculation precipitation reaction is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119741992B_ABST
    Figure CN119741992B_ABST
Patent Text Reader

Abstract

A total organic matter rapid analysis system belongs to the technical field of total organic matter analysis. It obtains the pH values at different starting points. By analyzing the difference in the pH value distribution between value set one and value set two, and simultaneously combining and comparing the changes in each pH value within the value set, the probability that the target value is at the transition between two processes is reflected by the obtained process change amplitude. Then, the grouping process can be coordinated according to the process change amplitude to prevent insufficient cutting intensity for the pH values at the transition between two processes, thereby coordinating the grouping process, improving the final grouping performance, and thus improving the accuracy of subsequent pH value detection and analysis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of total organic matter analysis, and particularly relates to a rapid total organic matter analysis system. Background Art

[0002] Total organic matter is the total amount of dissolved and suspended organic matter in water, and is also known as total organic matter (TOM). This concept is mentioned in ecology and specifically refers to the total amount of all dissolved and suspended organic matter in water. The concept of total organic matter not only covers the organic matter in water, but also includes the concept of total organic carbon (TOC) in microbiology, that is, the content of carbon element converted from the total amount of organic matter dissolved in water.

[0003] To analyze the total organic matter in sewage, it is often necessary to use the prior art solution with the patent publication number "CN117706055B"

[0004] to analyze the total organic matter in sewage. Among them, it is necessary to perform a flocculation precipitation reaction after the sewage to be detected is filtered, so as to finally achieve the analysis of the full-component characteristics of the total organic matter in the sewage.

[0005] During the flocculation precipitation reaction, it is necessary to detect the pH value of the filtered sewage to determine the stop of the flocculation precipitation reaction. Currently, the common structure for detecting the pH value of the filtered sewage is: the pH meter is connected to the controller. Then, the pH meter is used to detect the pH value of the filtered sewage and transmit it to the controller, and the controller is used to determine the stop of the flocculation precipitation reaction based on the transmitted pH value of the filtered sewage.

[0006] In practical applications, because during the flocculation precipitation reaction, devices for adding zinc sulfate solution and sodium hydroxide solution (such as syringes) to the filtered sewage and devices for stirring the filtered sewage (such as stirrers), such devices for flocculation precipitation reaction often have obstacles, and the pH value of the filtered sewage detected by the pH meter during the operation of the devices for flocculation precipitation reaction can be used to detect the working conditions of the devices for flocculation precipitation reaction. Therefore, by detecting and analyzing the pH value of the filtered sewage detected by the pH meter, the obstacles existing during the operation of the devices for flocculation precipitation reaction can be immediately detected and maintained.

[0007] Currently, the pH value of the filtered sewage detected by the pH meter during the operation of the flocculation precipitation reaction device is often grouped for disposal, and the pH values within the group are analyzed for obstacles in the flocculation precipitation reaction device. However, because the pH value of the filtered sewage at the transition between the normal operation stage and the malfunction stage of the flocculation precipitation reaction device changes very complexly and similarly, the noise value formed by the interference of the synchronous external electromagnetic field on the pH value and the outlier value of the filtered sewage detected by the pH meter during the malfunction of the flocculation precipitation reaction device have similar properties, resulting in poor grouping performance for the corresponding pH value of the flocculation precipitation reaction device, thereby reducing the accuracy of detecting and analyzing the pH value of the filtered sewage detected by the pH meter during the operation of the flocculation precipitation reaction device. Summary of the Invention

[0008] To solve the defects in the prior art, the present invention proposes a total organic matter rapid analysis system. Initially, pH values at different times are obtained. By analyzing the difference quantity of the pH value arrangement between the first value set and the second value set, and simultaneously combining and comparing the changes of each pH value in the value set, the probability that the target value is at the transition between two stages is reflected by the obtained amplitude change of the process. Then, the grouping process can be coordinated according to the amplitude change of the process, preventing insufficient cutting intensity for the pH value at the transition between two stages, thereby coordinating the grouping process, improving the final grouping performance, and thus improving the accuracy of detecting and analyzing the pH value later.

[0009] The present invention uses the following technical solutions.

[0010] A total organic matter rapid analysis method includes:

[0011] The pH meter detects the pH value of the filtered sewage and transmits it to the controller. The controller analyzes the pH value of the transmitted filtered sewage, and then determines the stop of the flocculation precipitation reaction according to the analyzed pH value of the filtered sewage, so as to finally achieve the analysis of the total component characteristics of the total organic matter in the sewage;

[0012] The method for the controller to analyze the pH value of the transmitted filtered sewage includes:

[0013] Obtain the pH values of the filtered sewage sampled by the pH meter at different times within a preset time interval of the filtered sewage;

[0014] Take the pH value at any random time point as the target value, and take the numerical set formed by the pre-set number of pH values closest to the time point where the target value is located and the target value as the control numerical set of the target value; according to the difference amount between the other pH values outside the target value and the target value in the control numerical set and the arrangement of each pH value, obtain the noise value probability of the target value; use the target value as the cut-off point to cut the control numerical set into numerical set one and numerical set two; according to the change of each pH value in the control numerical set and the difference amount of the pH value arrangement between numerical set one and numerical set two, obtain the step change amplitude of the target value;

[0015] According to the noise value probability of each pH value, the step change amplitude, and the arrangement of the pH values in the control numerical set, coordinate the grouping of the pH values to obtain different groupings;

[0016] Detect and analyze the pH values according to the grouping.

[0017] A total organic matter rapid analysis system, comprising:

[0018] A pH meter is connected to a controller. The pH meter is used to detect the pH value of the filtered sewage and transmit it to the controller. The controller is used to analyze the pH value of the transmitted filtered sewage, and then determine the stop of the flocculation precipitation reaction according to the analyzed pH value of the filtered sewage, so as to finally achieve the analysis of the total organic matter component characteristics of the sewage;

[0019] The modules running on the controller include:

[0020] A pH value collection unit, a pH value change analysis unit, a grouping coordination unit, and a detection analysis unit;

[0021] The pH value collection unit is used to obtain the pH values of the filtered sewage sampled by the pH meter at different time points within a pre-set time interval of the filtered sewage;

[0022] The pH value change analysis unit is used to take the pH value at any random time point as the target value, and take the numerical set formed by the pre-set number of pH values closest to the time point where the target value is located and the target value as the control numerical set of the target value; according to the difference amount between the other pH values outside the target value and the target value in the control numerical set and the arrangement of each pH value, obtain the noise value probability of the target value; take the target value as the cut-off point to cut the control numerical set into numerical set one and numerical set two; according to the change of each pH value in the control numerical set and the difference amount of the pH value arrangement between numerical set one and numerical set two, obtain the step change amplitude of the target value;

[0023] The grouping coordination unit is used to coordinate the grouping of the pH values according to the noise value probability of each pH value, the step change amplitude, and the arrangement of the pH values in the control numerical set to obtain different groupings;

[0024] The detection and analysis unit is used to perform detection and analysis on the pH value according to the grouping.

[0025] Furthermore, the pH value acquisition unit is also used to initially use the pH meter to sample the pH values of the filtered sewage at each time point within a preset time interval and transmit them to the controller. The preset time interval is set to two seconds, and the sampling frequency is to sample the pH value once every 10 milliseconds.

[0026] Furthermore, the method for obtaining the clutter value probability of the target value includes:

[0027] Taking the square of the quantity obtained by subtracting each other pH value outside the target value in the control value set from the target value as the difference quantity parameter between the target value and each other pH value; taking the square root of the mean of the difference quantity parameters between the target value and all other pH values in the control value set to obtain the mutation amplitude of the target value; taking the standard deviation of all pH values in the control value set as the fluctuation amplitude of the control value set; taking the modulus of the quantity obtained by subtracting the mutation amplitude of the target value from the fluctuation amplitude of the control value set as the clutter value probability of the target value.

[0028] Furthermore, the operation equation of the clutter value probability is:

[0029]

[0030] In the equation, represents the clutter value probability of the target value; represents the target value; represents the th other pH value outside the target value in the control value set; represents the standard deviation of all pH values in the control value set of the target value, that is, the fluctuation amplitude of the control value set; represents the number of all pH values in the control value set.

[0031] Furthermore, the method for obtaining the link transformation amplitude of the target value includes:

[0032] Taking the mean of all pH values in value set one as the arrangement parameter one of value set one, and taking the standard deviation of all pH values in value set one as the fluctuation parameter one of value set one; taking the mean of all pH values in value set two as the arrangement parameter two of value set two, and taking the standard deviation of all pH values in value set two as the fluctuation parameter two of value set two;

[0033] Taking any pair of adjacent time point pH values in the control value set as a value group; taking the modulus of the quantity obtained by subtracting the two pH values in the value group as the initial change amount of the value group; taking the mean of the initial change amounts of all value groups as the overall change amount of the control value set;

[0034] Take the modulus of the quantity obtained by subtracting arrangement parameter one from arrangement parameter two as the numerical arrangement difference quantity between numerical set one and numerical set two; take the modulus of the quantity obtained by subtracting fluctuation parameter one from fluctuation parameter two as the numerical fluctuation difference quantity between numerical set one and numerical set two; take the quantity obtained by adding the numerical arrangement difference quantity and the numerical fluctuation difference quantity as the numerical transformation parameter between numerical set one and numerical set two; perform a standardization process on the quantity obtained by multiplying the overall change quantity by the numerical transformation parameter to obtain the link transformation amplitude of the target value.

[0035] Furthermore, the operation equation of the link transformation amplitude is:

[0036]

[0037] In the equation, represents the link transformation amplitude of the target value; represents the overall change quantity of the reference numerical set of the target value; represents the mean of all pH values in numerical set one, that is, arrangement parameter one; represents the mean of all pH values in numerical set two, that is, arrangement parameter two; represents the standard deviation of all pH values in numerical set one, that is, fluctuation parameter one; represents the standard deviation of all pH values in numerical set two, that is, fluctuation parameter two; and respectively represent a pair of pH values in the numerical group; represents the number of all pH values in the reference numerical set, represents using the Z - score method to perform standardization on

[0038] Furthermore, the method for obtaining different groupings includes:

[0039] According to the BIRCH algorithm, group the pH value points based on the diameter of the coordinated leaf node of each pH value and the preset number of numerical points of a single leaf node to obtain different groupings and achieve the coordination of the pH value grouping.

[0040] Furthermore, the operation equation of the diameter of the coordinated leaf node is:

[0041]

[0042] In the equation, represents the diameter of the coordinated leaf node of the th pH value; represents the diameter parameter of the leaf node; represents the​ The standard deviation of all pH values within a set of reference pH values, that is, the amplitude of fluctuations of the set of reference pH values for the represent the probability of clutter values for the pH value; represent the amplitude of step transformation for the pH value; represent performing standardization on using the Z-score method; represent a preset configuration parameter one, represent a preset configuration parameter two.

[0043] Furthermore, the method for performing detection and analysis on pH values according to groups includes:

[0044] Deleting the groups containing clutter values;

[0045] If there are groups containing outliers, perform maintenance on the device for the flocculation precipitation reaction;

[0046] Take the pH values in the groups containing outliers and the groups containing reasonable values as the pH values of the filtered sewage after analysis.

[0047] The beneficial effects of the present invention are that, compared with the prior art, the technical effects of the present invention include:

[0048] The numerical changes at the transition between the reasonable working stage and the faulty working stage of the device for flocculation precipitation reaction are very complex and similar. The synchronous clutter values mitigate the outliers that occur in the device for flocculation precipitation reaction and have similar attributes, resulting in poor grouping performance for the corresponding pH values of the device for flocculation precipitation reaction, reducing the accuracy of detecting and analyzing the pH values. Therefore, the present invention initially obtains pH values at different times. The clutter values are similar to the outliers that occur in the device for flocculation precipitation reaction. However, the arrangement and fluctuation conditions of other values in the leaf nodes of the clutter values and the outliers have a significant difference amount. Therefore, the probability of the target value being affected by the clutter values can be reflected by the obtained clutter value probability, which is suitable for coordinating the grouping process according to the clutter value probability later to improve the grouping performance. The numerical changes at the transition between the reasonable working stage and the faulty working stage of the device for flocculation precipitation reaction are very complex and similar, and it is impossible to efficiently group the reasonable values and the outliers. At the same time, the difference amount of the arrangement of the pH values on both sides at the transition between the two stages is significant, and the overall data change is significant. Therefore, the present invention analyzes the difference amount of the pH value arrangement between the numerical set one and the numerical set two. At the same time, by combining and comparing the changes of each pH value in the numerical set, the probability of the target value being at the transition between the two stages is reflected by the obtained stage change amplitude. Later, the grouping process can be coordinated according to the stage change amplitude to prevent insufficient cutting intensity for the pH values at the transition between the two stages, thereby coordinating the grouping process and improving the final grouping performance, and thus improving the accuracy of detecting and analyzing the pH values later. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 is a flowchart of the rapid total organic matter analysis method described in the present invention;

[0050] Figure 2 is a partial structure diagram of the rapid total organic matter analysis system described in the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0051] To make the objectives, technical solutions, and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The embodiments described herein are only some of the embodiments of the present invention, not all of them. According to the spirit of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0052] As Figure 1 shown, a rapid total organic matter analysis method described in the present invention includes:

[0053] The pH meter detects the pH value of the filtered sewage and transmits it to the controller. The controller analyzes the pH value of the filtered sewage transmitted, and then decides to stop the flocculation precipitation reaction based on the analyzed pH value of the filtered sewage, so as to finally achieve the analysis of the total organic matter full-component characteristics of the sewage; the method of deciding to stop the flocculation precipitation reaction and the method of achieving the analysis of the total organic matter full-component characteristics of the sewage can both be implemented by the corresponding methods in the patent publication number "CN117706055B".

[0054] The method for the controller to analyze the pH value of the filtered sewage transmitted includes:

[0055] Obtain the pH values of the filtered sewage sampled by the pH meter at different time points within a preset time interval of the filtered sewage;

[0056] Take the pH value at any time point (except as otherwise specified in this application, the time point is the sampling time point of the pH value sampled by the pH meter) as the target value, and take the numerical set formed by the preset number of pH values closest to the time point where the target value is located and the target value as the control numerical set of the target value; according to the difference amount between the other pH values outside the target value and the target value in the control numerical set and the arrangement of each pH value, obtain the noise value probability of the target value; use the target value as the cut-off point to divide the control numerical set into numerical set one and numerical set two; according to the change of each pH value in the control numerical set and the difference amount of the pH value arrangement between numerical set one and numerical set two, obtain the step change amplitude of the target value;

[0057] According to the noise value probability of each pH value, the step change amplitude and the arrangement of the pH values in the control numerical set, coordinate the grouping of the pH values to obtain different groupings;

[0058] Detect and analyze the pH values according to the grouping.

[0059] As Figure 2 shown, a total organic matter rapid analysis system described in the present invention includes:

[0060] The pH meter is connected to the controller. The pH meter is used to detect the pH value of the filtered sewage and transmit it to the controller. The controller is used to analyze the pH value of the filtered sewage transmitted, and then decides to stop the flocculation precipitation reaction based on the analyzed pH value of the filtered sewage, so as to finally achieve the analysis of the total organic matter full-component characteristics of the sewage; the method of deciding to stop the flocculation precipitation reaction and the method of achieving the analysis of the total organic matter full-component characteristics of the sewage can both be implemented by the corresponding methods in the patent publication number "CN117706055B".

[0061] The modules running on the controller include:

[0062] PH value collection unit, PH value change analysis unit, grouping coordination unit and detection analysis unit;

[0063] The PH value collection unit is used to obtain the PH value of the filtered sewage sampled by the PH meter at different time points within a preset time interval.

[0064] In a preferred but non-limiting implementation method of the present invention, during the flocculation precipitation reaction, devices for adding zinc sulfate solution and sodium hydroxide solution (such as syringes) to the filtered sewage and devices for stirring the filtered sewage (such as stirrers) in the flocculation precipitation reaction often encounter obstacles. The PH value of the filtered sewage detected by the PH meter when the devices for the flocculation precipitation reaction are working can be used to detect the working condition of the devices for the flocculation precipitation reaction. Therefore, by detecting and analyzing the PH value of the filtered sewage detected by the PH meter, obstacles existing when the devices for the flocculation precipitation reaction are working can be immediately detected and maintenance can be carried out. Currently, the PH value of the filtered sewage detected by the PH meter when the devices for the flocculation precipitation reaction are working is often grouped for processing, and the PH values within the group are analyzed for obstacles in the devices for the flocculation precipitation reaction. However, because the change in the PH value of the filtered sewage at the transition between the normal working stage and the faulty working stage of the devices for the flocculation precipitation reaction is very complex and similar, the noise value formed by the interference of the synchronous external electromagnetic field on the PH value and the outlier value of the filtered sewage detected by the PH meter when the devices for the flocculation precipitation reaction are faulty have similar properties, resulting in poor grouping function for the corresponding PH values of the devices for the flocculation precipitation reaction, thereby reducing the accuracy of detecting and analyzing the filtered PH value detected by the PH meter when the devices for the flocculation precipitation reaction are working. Therefore, a total organic matter rapid analysis system is provided, which coordinates the grouping process through the analysis of the PH value to overcome this defect.

[0065] The PH value collection unit is also used to initially use the PH meter to sample the PH value of the filtered sewage at each time point within a preset time interval and transmit it to the controller. The preset time interval is set to two seconds, and the sampling frequency is to sample the PH value once every 10 milliseconds.

[0066] After the PH value is collected, the PH value can then be processed and analyzed, and the grouping process of the PH value can be coordinated to improve the accuracy of detecting and analyzing the PH value.

[0067] The pH value change analysis unit is used to take the pH value at any point in time (except as otherwise specified in this application, the point in time is the sampling point of the pH value sampled by the pH meter) as the target value, and take the numerical set formed by the pH values of a preset number that is closest to the point in time where the target value is located and the target value as the control numerical set of the target value; according to the difference amount between the other pH values outside the target value and the target value in the control numerical set and the arrangement of each pH value, obtain the clutter value probability of the target value; take the target value as the cut-off point and cut the control numerical set into numerical set one and numerical set two; according to the change of each pH value in the control numerical set and the difference amount of the pH value arrangement between numerical set one and numerical set two, obtain the step change amplitude of the target value.

[0068] During the period of using the pH meter to sample the pH value, due to the clutter value formed by the interference of the external electromagnetic field of the pH meter on the pH value, the synchronous pH value also contains outliers caused by the malfunction of the device for the flocculation precipitation reaction. The proximity between the clutter value and the outlier is not low, and the current grouping method cannot effectively distinguish the clutter value and the outlier directly, thus reducing the accuracy of the subsequent detection and analysis of the pH value.

[0069] In the preferred but non-limiting implementation method of the present invention, even though the clutter value and the outlier are very close, the arrangement and fluctuation conditions of the other pH values beside the clutter value and the outlier have a significant difference amount. Therefore, the pH value at any point in time can be taken as the target value, and at the same time, a control numerical set is set for the target value. Here, the control numerical set of the target value contains a preset number of other pH values that are closest to the point in time where the target value is located and the target value itself. The preset number is set to fourteen. Thus, the difference amount between the other pH values outside the target value and the target value in the control numerical set and the arrangement of each pH value are analyzed. The clutter value probability obtained reflects the probability that the target value is affected by the clutter value rather than the malfunction of the device for the flocculation precipitation reaction. Then, the grouping process of the pH value can be coordinated according to the clutter value probability, so as to effectively distinguish the clutter value, improve the final grouping function and the accuracy of the detection and analysis of the pH value.

[0070] In the preferred but non-limiting implementation method of the present invention, the method for obtaining the clutter value probability of the target value includes:

[0071] Taking the square of the amount obtained by subtracting each other pH value outside the target value in the control numerical set from the target value as the difference amount parameter between the target value and each other pH value; taking the square root of the mean of the difference amount parameters between the target value and all other pH values in the control numerical set to obtain the step change amplitude of the target value; taking the standard deviation of all pH values in the control numerical set as the fluctuation amplitude of the control numerical set; taking the modulus of the amount obtained by subtracting the step change amplitude of the target value from the fluctuation amplitude of the control numerical set as the clutter value probability of the target value.

[0072] In a preferred but non-limiting implementation method of the present invention, the operational equation of the clutter value probability is:

[0073]

[0074] In the equation, The probability of clutter value representing the target value; Represents the target value; Represents the first Another pH value; The standard deviation of all pH values ​​in the control value set representing the target value, that is, the fluctuation amplitude of the control value set; represents the number of all pH values ​​in the control value set, then It represents the number of additional pH values ​​outside the target value in the control value set.

[0075] During the acquisition of the target value of the noise value probability, the noise value probability The higher the value, the higher the probability that the target value is affected by noise rather than flocculation and sedimentation equipment failure. The noise probability is used to coordinate the pH grouping process in the future, and the sudden change amplitude It reflects the amplitude of the target value corresponding to the other pH value in the control value set, that is, the amplitude of the target value itself; It reflects the fluctuation amplitude of all pH values ​​in the control value set. Because the arrangement of noise values ​​is random, and the arrangement of outliers has some traceability, that is, outliers are often arranged at the link where the flocculation sedimentation reaction device has obstacles, with some accumulation, then the amplitude of the sudden change of the noise value itself is different from the fluctuation amplitude of the pH value of the control value set as a whole. Therefore, The higher the value, the higher the amplitude of the target value itself that has a mutation, which corresponds to the pH fluctuation amplitude of the control value set as a whole. This means that the probability that the target value is affected by the noise value is higher, so the probability of the noise value is higher. The higher it is.

[0076] After obtaining the noise value probability of the target value, the noise value probability of other pH values ​​can be obtained using the same method as above.

[0077] Because the device for the flocculation precipitation reaction often has obstacles during operation, and there is a significant difference in the pH values between the reasonable working stage and the obstacle working stage, the pH values can be grouped later to achieve the detection and analysis of the pH values. However, since the transition between the reasonable working stage and the obstacle working stage is the transition stage of the two stages, and the change situation of the pH value in the transition stage is very complex, and the reasonable values and outliers in the transition stage are very close, when grouping the pH values at the transition of the two stages, it is impossible to effectively distinguish the reasonable values from the outliers, reducing the final grouping performance and the accuracy of the detection and analysis of the pH values.

[0078] Synchronously, there is a significant difference in the arrangement of the pH values on both sides of the transition of the two stages. After changing from one stage to another, the pH value will change significantly. Therefore, this application uses the target value as the cutting point to cut the control value set into value set one and value set two, and analyzes the difference in the pH value arrangement between value set one and value set two. Synchronously, combined with the change situation of the pH value in the control value set, the probability that the target value is at the transition between the reasonable working stage and the obstacle working stage is reflected by the obtained stage change amplitude, which is conducive to coordinating the grouping process according to the stage change amplitude later, preventing insufficient cutting intensity of the pH value at the transition of the two stages, so that the reasonable values and outliers are grouped into the same group, thereby improving the grouping performance of the pH value at the transition of the two stages. And to facilitate the smooth execution of subsequent operations, it is necessary to ensure that both value set one and value set two have at least one pH value. Therefore, this application regards the target value as belonging to value set one and also belonging to value set two.

[0079] In the preferred but non-limiting implementation method of the present invention, the method for obtaining the stage change amplitude of the target value includes:

[0080] Taking the average of all pH values in value set one as the arrangement parameter one of value set one, and taking the standard deviation of all pH values in value set one as the fluctuation parameter one of value set one; taking the average of all pH values in value set two as the arrangement parameter two of value set two, and taking the standard deviation of all pH values in value set two as the fluctuation parameter two of value set two;

[0081] Taking any pair of adjacent time points of pH values in the control value set as a value group; taking the modulus of the quantity obtained by subtracting the two pH values in the value group as the initial change amount of the value group; taking the average of the initial change amounts of all value groups as the overall change amount of the control value set;

[0082] The modulus of the quantity obtained by subtracting arrangement parameter two from arrangement parameter one is regarded as the numerical arrangement difference quantity between numerical set one and numerical set two; the modulus of the quantity obtained by subtracting fluctuation parameter two from fluctuation parameter one is regarded as the numerical fluctuation difference quantity between numerical set one and numerical set two; the quantity obtained by adding the numerical arrangement difference quantity and the numerical fluctuation difference quantity is regarded as the numerical transformation parameter between numerical set one and numerical set two; the quantity obtained by multiplying the overall change quantity and the numerical transformation parameter is subjected to a standardization process to obtain the amplitude of the process transformation of the target value.

[0083] In a preferred but non-limiting embodiment of the present invention, the operation equation of the amplitude of the process transformation is:

[0084]

[0085] In the equation, represents the amplitude of the process transformation of the target value; represents the overall change quantity of the reference numerical set of the target value; represents the mean of all pH values in numerical set one, that is, arrangement parameter one; represents the mean of all pH values in numerical set two, that is, arrangement parameter two; represents the standard deviation of all pH values in numerical set one, that is, fluctuation parameter one; represents the standard deviation of all pH values in numerical set two, that is, fluctuation parameter two; and respectively represent a pair of pH values in the numerical group; represents the number of all pH values in the reference numerical set, then represents the number of numerical groups formed by any pair of adjacent time points of pH values in the reference numerical set, represents the use of the Z-score method to perform standardization.

[0086] During the acquisition of the amplitude of the process transformation of the target value, the higher the amplitude of the process transformation , it means that the target value is more likely to be at the transition between the reasonable working process and the faulty working process of the flocculation precipitation reaction device, that is, the probability of process transformation at the time point where the target value is located is higher. Here, the higher the numerical arrangement difference quantity , it means that the difference quantity of the overall numerical level in numerical set one and numerical set two is higher. Similarly, the higher the numerical fluctuation difference quantity, it means that the difference quantity of the fluctuation attribute of the pH values in numerical set one and numerical set two The higher it is, the higher the numerical transformation parameter is, which means the greater the difference in the arrangement and fluctuation of the pH values in numerical set one and numerical set two, and thus the greater the difference in the arrangement and variation attributes of the pH values on both sides of the target value. Then, the target value is more likely to be located at the transition between the reasonable working section and the obstacle working section, and then the section transformation amplitude is higher, and the initial change amount reflects the change amount of a pair of adjacent pH values in the comparison numerical set, and the overall change amount reflects the overall change amount of all pH values in the comparison numerical set. Since the pH value will change significantly after transitioning from one section to another, the overall change amount is higher, which means the greater the change in the pH values on both sides of the target value, and thus the more likely the target value is to be located at the transition between the reasonable working section and the obstacle working section, and then the section transformation amplitude is higher. Synchronously, use to limit the section transformation amplitude within the interval, which is conducive to coordinating the grouping process later.

[0087] After obtaining the section transformation amplitude of the target value, the section transformation amplitude of other pH values can be obtained using the same method as above. Then, the clutter value probability and section transformation parameter of each pH value can be combined to coordinate the grouping process, thereby improving the grouping performance of the pH values and the accuracy of detecting and analyzing the pH values.

[0088] The grouping coordination unit is used to coordinate the grouping of pH values according to the clutter value probability and section transformation amplitude of each pH value and the arrangement of pH values in the comparison numerical set, and obtain different groupings;

[0089] In the current grouping method, a constant grouping length is often used to group data. The grouping length is mainly reflected in various parameters used in the grouping method, such as the diameter parameter of the leaf node in the BIRCH algorithm, etc. Since the numerical changes at the transition between the reasonable working section and the obstacle working section of the flocculation precipitation reaction device are very complex and similar, and at the same time, the clutter value and the outlier value of the flocculation precipitation reaction device have similar attributes, when using a constant grouping length to group the pH values, the clutter value cannot be effectively identified, and the pH values at the transition between the reasonable working section and the obstacle working section cannot be effectively processed. Therefore, in this application, the clutter value probability and section transformation amplitude of each pH value obtained above are combined with the arrangement of pH values in the comparison numerical set to coordinate the grouping process of the pH values, achieve a more efficient grouping of the pH values, and thus obtain accurate grouping values. Then, more accurate detection and analysis can be performed on the pH values in different groups.

[0090] In a preferred but non-limiting implementation method of the present invention, the method for obtaining different groups includes:

[0091] Since the BIRCH algorithm does not need to set the number of groups in advance and can efficiently handle clutter values and identify outliers, the BIRCH algorithm is used in this application to perform grouping operations on the pH values. The grouping length of the BIRCH algorithm can be reflected by the diameter parameter of its leaf nodes. Therefore, the diameter parameter of the leaf nodes can be adjusted later to achieve the adjustment of the grouping length. First, the diameter parameter of the leaf nodes used by the BIRCH algorithm needs to be obtained. Generally, the diameter parameter of the leaf nodes can be set according to actual requirements.

[0092] If a constant diameter parameter of the leaf nodes is used for each pH value during grouping, the final grouping performance will be weakened. Therefore, the diameter parameter of the leaf nodes can be adjusted according to the clutter value probability of each pH value at the stage transformation amplitude and the fluctuation amplitude of the corresponding comparison value set, so as to obtain the adjusted diameter of the leaf nodes for each pH value, enabling the adjusted diameter of the leaf nodes for each pH value to automatically adapt to the arrangement changes of its adjacent values, thereby improving the subsequent grouping performance. Therefore, according to the BIRCH algorithm, based on the adjusted diameter of the leaf nodes for each pH value and the preset number of numerical points of a single leaf node, the pH value points are grouped to obtain different groups and achieve the coordination of the pH value grouping. During the grouping process, the cosine similarity between each pH value can be used as a measure of the distance, and the preset number of numerical points is set to five.

[0093] In a preferred but non-limiting implementation method of the present invention, the calculation equation for adjusting the diameter of the leaf nodes is:

[0094]

[0095] In the equation, represents the adjusted diameter of the leaf nodes for the th pH value; represents the diameter parameter of the leaf nodes; represents the standard deviation of all pH values in the comparison value set of the th pH value, that is, the fluctuation amplitude of the comparison value set of the th pH value; represents the clutter value probability of the th pH value; represents the stage transformation amplitude of the th pH value; represents standardizing using the Z-score method; represents a preset configuration parameter one, Represents the pre-set configuration parameter two, with the purpose of preventing the divisor from being zero. and can be set to one percent.

[0096] During the acquisition of the diameter of the coordinated leaf nodes at each pH value, the diameter of the coordinated leaf nodes is the coordinated value of the diameter parameter of the leaf nodes according to the arrangement change attribute of the numerical values beside each pH value. Therefore, the diameter of the coordinated leaf nodes of the pH value can actively adapt to the arrangement of the numerical values beside it, which is beneficial to improving the performance of the BIRCH algorithm. Here, the fluctuation amplitude is higher, which means the change amplitude of the numerical values beside the pH value is higher, and a higher amplitude of the coordinated grouping length is required. The higher the clutter value probability, the lower amplitude of the coordinated grouping length is required, so as to identify the clutter value well. The higher the amplitude of the link transformation is, which means the higher the probability that the pH value is at the transition between the reasonable working link and the obstacle working link, and a lower amplitude of the coordinated grouping length is required, so as to group the pH values at the transition more accurately and prevent insufficient cutting strength. To ensure the smooth execution of the BIRCH algorithm, it is necessary to ensure that the diameter of the coordinated leaf nodes of each pH value is not lower than the pre-set number of numerical points of a single leaf node. Therefore, when the diameter of the coordinated leaf nodes of a pH value obtained is lower than the pre-set number of numerical points of a single leaf node, the diameter of the coordinated leaf nodes of this pH value can be set to the pre-set number of numerical points of a single leaf node, that is, the number of numerical points of the pre-set single leaf node is used as the diameter of the coordinated leaf nodes of this pH value. Through the BIRCH algorithm, groups containing clutter values, groups containing outlier values, and groups containing reasonable values can be obtained.

[0097] The detection and analysis unit is used to detect and analyze the pH value according to the grouping.

[0098] In the preferred but non-limiting implementation method of the present invention, the method for detecting and analyzing the pH value according to the grouping includes:

[0099] Delete the group containing clutter values;

[0100] If there is a group containing outlier values, perform maintenance on the device for flocculation precipitation reaction;

[0101] Regard the pH values in the group containing outlier values and the group containing reasonable values as the pH value of the filtered sewage after analysis to determine the stop of the flocculation precipitation reaction, so as to finally achieve the analysis of the total organic matter component characteristics of the sewage.

[0102]

[0103] ​In summary, the present application initially obtains the pH values of the filtered sewage detected by the pH meter when the flocculation precipitation reaction device is working at different points in time within a preset time interval; takes the pH value at any point in time as the target value, and takes the numerical set formed by the preset number of pH values closest to the time point where the target value is located and the target value as the control numerical set for the target value; obtains the noise value probability of the target value according to the difference amount between the other pH values outside the target value and the target value and the arrangement of each pH value in the control numerical set; takes the target value as the cut-off point and cuts the control numerical set into numerical set one and numerical set two; obtains the step change amplitude of the target value according to the change of each pH value in the control numerical set and the difference amount of the pH value arrangement between numerical set one and numerical set two; coordinates the grouping of pH values according to the noise value probability of each pH value, the step change amplitude, and the arrangement of pH values in the control numerical set to obtain different groupings; and performs detection and analysis on pH values according to the groupings.

[0104] The beneficial effects of the present invention are that, compared with the prior art, the technical effects of the present invention include:

[0105] Regarding the numerical changes at the transition between the normal working stage and the faulty working stage of the flocculation precipitation reaction device, they are very complex and similar. At the same time, the noise values that mitigate the outliers generated by the flocculation precipitation reaction device have similar properties, resulting in poor grouping performance for the corresponding pH values of the flocculation precipitation reaction device, reducing the accuracy of detecting and analyzing pH values. Therefore, the present application initially obtains pH values at different points in time. Although the noise values are similar to the outliers generated by the faults of the flocculation precipitation reaction device, there is a significant difference in the arrangement and fluctuation of the other numerical values in the leaf nodes of the noise values and the outliers. Therefore, the probability of the target value being affected by the noise value can be reflected by the obtained noise value probability, which is conducive to coordinating the grouping process according to the noise value probability later and improving the grouping performance. Regarding the numerical changes at the transition between the normal working stage and the faulty working stage of the flocculation precipitation reaction device, they are very complex and similar, and it is impossible to perform efficient grouping on the reasonable values and outliers. At the same time, the difference in the arrangement of pH values on both sides of the transition between the two stages is significant, and the overall data change is significant. Therefore, the present invention analyzes the difference in the arrangement of pH values between numerical set one and numerical set two, and at the same time combines the changes of each pH value in the control numerical set. The step change amplitude obtained reflects the probability of the target value being at the transition between the two stages. Later, the grouping process can be coordinated according to the step change amplitude to prevent insufficient cutting intensity for the pH values at the transition between the two stages, thereby coordinating the grouping process and improving the final grouping performance, and thus improving the accuracy of detecting and analyzing pH values later.

[0106] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that modifications or equivalent replacements can still be made to the specific embodiments of the present invention. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention shall be covered by the protection scope of the claims of the present invention.

Claims

1. A total organic matter rapid analysis system, characterized in that: include: The pH meter is connected to the controller. The pH meter is used to detect the pH value of the filtered sewage and transmit it to the controller. The controller is used to analyze the pH value of the filtered sewage transmitted, and then decide to stop the flocculation and sedimentation reaction according to the analyzed pH value of the filtered sewage, so as to finally achieve the analysis of the total organic matter of the sewage. The modules running on the controller include: PH value collection unit, PH value change analysis unit, group coordination unit and detection analysis unit; The pH value collecting unit is used to obtain the pH value of the filtered sewage transmitted by the pH meter at different time points within a preset time interval; The pH value change analysis unit is used to take the pH value at any time point as the target value, and take the value set formed by the preset number of pH values ​​closest to the time point of the target value and the target value as the reference value set of the target value; obtain the probability of the noise value of the target value according to the difference between other pH values ​​outside the target value in the reference value set and the target value and the arrangement of each pH value; take the target value as the cutting point, and cut the reference value set into value set 1 and value set 2; obtain the link change amplitude of the target value according to the changes of each pH value in the reference value set and the difference in the arrangement of pH values ​​between value set 1 and value set 2; The group coordination unit is used to coordinate the grouping of PH values ​​according to the probability of the noise value of each PH value and the phase change amplitude and the arrangement of the PH value in the control value set to obtain different groups; The detection and analysis unit is used to perform detection and analysis on the PH value according to the grouping; The method for obtaining the probability of the clutter value of the target value includes: The square of the amount obtained by subtracting the target value from each other PH value in the control value set outside the target value is used as the distinguishing quantity parameter between the target value and each other PH value; the square root of the mean of the distinguishing quantity parameter between the target value and all other PH values ​​in the control value set is calculated to obtain the sudden change amplitude of the target value; the standard deviation of all PH values ​​in the control value set is used as the fluctuation amplitude of the control value set; the modulus of the amount obtained by subtracting the sudden change amplitude of the target value from the fluctuation amplitude of the control value set is used as the noise value probability of the target value; The calculation equation of the clutter value probability is: In the equation, B represents the probability of the clutter value of the target value; E represents the target value; E l Represents the lth additional pH value outside the target value in the control value set; The standard deviation of all pH values ​​in the control value set representing the target value, that is, the fluctuation amplitude of the control value set; X represents the number of all pH values ​​in the control value set; The method for obtaining the link transformation amplitude of the target value includes: The mean of all pH values ​​in the value set 1 is regarded as the arrangement parameter 1 of the value set 1, and the standard deviation of all pH values ​​in the value set 1 is regarded as the fluctuation parameter 1 of the value set 1; the mean of all pH values ​​in the value set 2 is regarded as the arrangement parameter 2 of the value set 2, and the standard deviation of all pH values ​​in the value set 2 is regarded as the fluctuation parameter 2 of the value set 2; Treat any pair of adjacent pH values ​​in the reference value set as a value group; treat the modulus of the amount obtained by subtracting a pair of pH values ​​in the value group as the initial change of the value group; treat the average of the initial changes of all value groups as the overall change of the reference value set; The modulus of the quantity obtained by subtracting the arrangement parameter 1 from the arrangement parameter 2 is regarded as the numerical arrangement difference between the numerical set 1 and the numerical set 2; the modulus of the quantity obtained by subtracting the fluctuation parameter 1 from the fluctuation parameter 2 is regarded as the numerical fluctuation difference between the numerical set 1 and the numerical set 2; the quantity obtained by adding the numerical arrangement difference and the numerical fluctuation difference is regarded as the numerical transformation parameter between the numerical set 1 and the numerical set 2; the quantity obtained by multiplying the total change quantity and the numerical transformation parameter is subjected to standardization processing to obtain the link transformation amplitude of the target value; The operational equation for the link transformation amplitude is: UG=BZ(ΔE*(|ν1-ν2|+|(σ1-σ2)|)) In the equation, UG represents the amplitude of the link change of the target value; ΔE represents the overall change of the control value set of the target value; ν1 represents the mean of all PH values ​​in value set one, that is, arrangement parameter one; ν2 represents the mean of all PH values ​​in value set two, that is, arrangement parameter two; σ1 represents the standard deviation of all PH values ​​in value set one, that is, fluctuation parameter one; σ2 represents the standard deviation of all PH values ​​in value set two, that is, fluctuation parameter two; E′ j With E″ j They represent a pair of PH values ​​in the jth value group; X represents the number of all PH values ​​in the control value set; BZ(ΔE*(|ν1-ν2|+|(σ1-σ2)|)) represents the standardization of ΔE*(|ν1-ν2|+|(σ1-σ2)|) using the Z-score method.

2. The total organic matter rapid analysis system according to claim 1, characterized in that: The pH value collection unit is also used to initially use a pH meter to sample the pH value of the filtered sewage at each time point in a pre-set time interval and transmit it to the controller. The pre-set time interval is set to two seconds, and the sampling frequency is to sample the pH value once every 10 milliseconds.

3. The total organic matter rapid analysis system according to claim 2, characterized in that: Different ways to obtain groups include: According to the BIRCH algorithm, the pH value points are grouped according to the diameter of the coordinated leaf nodes of each pH value and the number of numerical points of a single leaf node set in advance, different groups are obtained, and the coordination of the pH value groups is achieved.

4. The total organic matter rapid analysis system according to claim 3, characterized in that: The equation for coordinating the diameter of leaf nodes is: Within the equation, Fqt′ p represents the diameter of the coordination leaf node of the pth PH value; Fqt represents the diameter parameter of the leaf node; represents the standard deviation of all pH values ​​in the reference value set of the pth pH value, that is, the fluctuation amplitude of the reference value set of the pth pH value; B p represents the probability of the clutter value of the pth PH value; UG p represents the link change amplitude of the pth PH value; Represents the use of the Z-score method to Execute standardization; φ1 represents the pre-set configuration parameter one, and φ2 represents the pre-set configuration parameter two.

5. The total organic matter rapid analysis system according to claim 4, characterized in that: The method of performing detection and analysis on pH value according to grouping includes: Delete the group containing noise values; If there is a group containing outliers, maintenance is performed on the flocculation sedimentation reaction device; The pH values ​​in the group containing outliers and the group containing reasonable values ​​are regarded as the pH values ​​of the filtered sewage after analysis.

Citation Information

Patent Citations

  • Integrated method and device for characterization of all components of organic matter in municipal wastewater

    CN117706055B

  • Signal detection techniques for the detection of analytes

    CA2341379A1

  • Modularized intelligent sewage treatment adjusting device and method

    CN119240899A