Total organic matter rapid analysis system
By analyzing the clutter value probability and link transformation amplitude of the filtered sewage pH value during the flocculation and precipitation reaction, and coordinating the grouping process, the problem of poor grouping function in the existing technology is solved, and the accuracy of PH value detection and analysis is improved.
Patent Information
- Application Number
- CN202510240505.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-03
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2045-03-03
AI Technical Summary
In the prior art, the grouping function of detecting the filtered sewage pH value during the flocculation precipitation reaction is poor, resulting in a decrease in the accuracy of the pH value detection and analysis when the flocculation precipitation reaction device is operated.
By obtaining the pH value at different time points, analyzing the difference between the PH value arrangement between the numerical sets and the changes in the PH value in the control numerical set, calculating the probability of clutter value and the amplitude of the link transformation, and coordinating the grouping process to improve the grouping performance.
The grouping performance and detection and analysis accuracy of the PH value when the flocculation and precipitation reaction device are improved, and the problem of insufficient cutting strength of the filtered wastewater pH value is reduced.
Smart Images

Figure CN119741992A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of total organic matter analysis, and in particular relates to a total organic matter rapid analysis system. Background Art
[0002] Total organic matter is the total amount of dissolved and suspended organic matter in water, also known as total organic matter (TOM). This concept is mentioned in ecology, specifically referring 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, which is the total amount of organic matter dissolved in water converted into carbon content.
[0003] To analyze the total organic matter in sewage, the patent publication number "CN117706055B " is used in the existing technical scheme to analyze the total organic matter in sewage, which requires the sewage to be tested to be filtered and then subjected to flocculation and sedimentation reaction, so as to finally achieve the analysis of the total organic matter of the sewage.
[0004] During the flocculation and sedimentation reaction, the pH value of the filtered sewage must be tested to determine whether to stop the flocculation and sedimentation reaction. The current common structure for testing the pH value of the filtered sewage is: the pH meter is connected to the controller, so 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 whether to stop the flocculation and sedimentation reaction based on the pH value of the filtered sewage.
[0005] In actual use, during the flocculation and sedimentation reaction, flocculation and sedimentation devices such as devices for adding zinc sulfate solution and sodium hydroxide solution to filtered sewage (such as syringes) and devices for stirring filtered sewage (such as stirrers) often encounter problems. When the flocculation and sedimentation devices are working, the pH value of the filtered sewage detected by the pH meter can be used to detect the working condition of the flocculation and sedimentation devices. Therefore, the detection and analysis of the pH value of the filtered sewage detected by the pH meter can immediately detect the problems encountered by the flocculation and sedimentation devices during operation and perform maintenance.
[0006] At present, the pH values of filtered sewage detected by the pH meter when the flocculation sedimentation reaction device is working are often grouped, and the pH values in the group are used to analyze the failure of the flocculation sedimentation reaction device. However, since the pH value changes of the filtered sewage at the transition between the reasonable working stage and the failure working stage of the flocculation sedimentation reaction device are very complicated and very similar, the noise value caused by the synchronous external electromagnetic field disturbing the pH value and the outlier value of the filtered sewage formed by the pH meter when the flocculation sedimentation reaction device is faulty have similar properties, resulting in poor grouping function of the corresponding pH value of the flocculation sedimentation reaction device, thereby reducing the accuracy of detection and analysis of the filtered pH value formed by the pH meter when the flocculation sedimentation reaction device is working. Summary of the invention
[0007] In order to solve the defects in the prior art, the present invention proposes a total organic matter rapid analysis system, which initially obtains pH values at different time points, performs analysis by the difference in pH value arrangement between value set one and value set two, and simultaneously combines and compares the changes in each pH value in the value set. The obtained link transformation amplitude reflects the probability that the target value is located at the transition point between the two links. Then, the grouping process can be coordinated according to the link transformation amplitude to avoid insufficient cutting strength of the pH value at the transition point between the two links, thereby coordinating the grouping process and improving the final grouping performance, thereby improving the accuracy of subsequent pH value detection and analysis.
[0008] The present invention uses the following technical solutions.
[0009] A rapid analysis method for total organic matter, comprising: 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 and then determines the cessation of the flocculation and sedimentation reaction based on the analyzed pH value of the filtered sewage, thereby finally achieving the analysis of the total organic matter of the sewage. The method for the controller to analyze the pH value of the filtered sewage includes: Obtain the pH value of the filtered sewage from the pH meter at different time points within a pre-set time interval; The pH value at any time point is regarded as the target value, and the value set formed by the pre-set number of pH values closest to the time point of the target value and the target value is regarded as the reference value set of the target value; the probability of the noise value of the target value is obtained according to the difference between other pH values outside the target value in the reference value set and the arrangement of each pH value; the reference value set is cut into value set 1 and value set 2 using the target value as a cutting point; the link change amplitude of the target value is obtained 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; According to the probability of noise value of each PH value and the arrangement of the phase change amplitude with the PH value in the control value set, the grouping of PH values is coordinated to obtain different groups; Perform detection and analysis on pH values according to groups.
[0010] A total organic matter rapid analysis system, comprising: 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.
[0011] Furthermore, 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.
[0012] Furthermore, the method for obtaining the probability of the clutter value of the target value includes: The square of the quantity obtained by subtracting the target value from each other PH value outside the target value in the control value set 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 quantity 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.
[0013] Furthermore, the calculation equation of the clutter value probability is: 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.
[0014] Furthermore, 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 arrangement parameter one from arrangement parameter two is regarded as the numerical arrangement difference between value set one and value set two; the modulus of the quantity obtained by subtracting fluctuation parameter one from fluctuation parameter two is regarded as the numerical fluctuation difference between value set one and value set two; the quantity obtained by adding the numerical arrangement difference and the numerical fluctuation difference is regarded as the numerical transformation parameter between value set one and value set two; the quantity obtained by multiplying the total change and the numerical transformation parameter is standardized to obtain the link transformation amplitude of the target value.
[0015] Furthermore, the operational equation for the link transformation amplitude is: In the equation, The amplitude of the link transformation representing the target value; The total change in the set of control values representing the target value; Represents the mean of all pH values in value set 1, which is also the arrangement parameter 1; Represents the mean of all pH values in value set 2, which is also arrangement parameter 2; Represents the standard deviation of all pH values in value set 1, which is also the fluctuation parameter 1; Represents the standard deviation of all pH values in value set 2, which is also the fluctuation parameter 2; and Respectively represent A pair of pH values within a numerical group; Represents the number of all pH values in the control value set, Represents the use of the Z-score method to Implement standardization.
[0016] Furthermore, different methods of obtaining 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.
[0017] Furthermore, the equation for coordinating the diameter of the leaf nodes is: In the equation, Representative The diameter of the coordinated leaf node of each pH value; Represents the diameter parameter of the leaf node; Representative The standard deviation of all pH values in the reference set of pH values, that is, The fluctuation amplitude of the reference value set of pH values; Representative The probability of noise value of each pH value; Representative The amplitude of each pH value change; Represents the use of the Z-score method to Implement standardization; Represents the pre-set configuration parameter 1, Represents the pre-set configuration parameter 2.
[0018] Furthermore, the method of performing detection and analysis on pH values according to the 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.
[0019] The beneficial effects of the present invention are that, compared with the prior art, the technical effects of the present invention include: The numerical changes of the flocculation and sedimentation reaction device at the transition point between the normal working stage and the fault working stage are very complex and very similar. The synchronous noise value and the outlier value appearing in the flocculation and sedimentation reaction device have similar properties, which makes the grouping performance of the corresponding pH value of the flocculation and sedimentation reaction device poor, and reduces the accuracy of the detection and analysis of the pH value. Therefore, the present invention starts to obtain the pH value at different time points, and the noise value and the outlier value appearing in the fault of the flocculation and sedimentation reaction device are similar. However, the arrangement and fluctuation of other values in the leaf nodes of the noise value and the outlier value have a large difference. Therefore, the probability of the target value being affected by the noise value can be reflected through the obtained noise value probability, which is suitable for coordinating the grouping process according to the noise value probability in the future, improving the grouping performance, and involving flocculation The numerical changes of the device for coagulation-precipitation reaction at the transition between the reasonable working link and the obstacle working link are very complicated and very similar, and it is impossible to perform efficient grouping of reasonable values and outliers. Simultaneously, the difference in the arrangement of the pH values on both sides of the transition between the two links is not low, and the change in the overall data is not low. Therefore, the present invention performs analysis by the difference in the arrangement of the pH values between the value set one and the value set two, and simultaneously combines and compares the changes of each pH value in the value set. The link transformation amplitude obtained reflects the probability that the target value is located at the transition between the two links. Then, the grouping process can be coordinated according to the link transformation amplitude to prevent insufficient cutting strength of the pH value at the transition between the two links, so as to coordinate the grouping process and improve the final grouping performance, thereby improving the accuracy of the subsequent pH value detection and analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a flow chart of the method for rapid analysis of total organic matter described in the present invention; Figure 2 It is a partial structural diagram of the total organic matter rapid analysis system described in the present invention. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solution and advantages of the present invention clearer, the following will be combined with the drawings in the embodiments of the present invention to clearly and completely express the technical solution of the present invention. The embodiments expressed in this application are only some embodiments of the present invention, not all embodiments. According to the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the protection scope of the present invention.
[0022] like Figure 1 As shown, a total organic matter rapid analysis method according to the present invention comprises: 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, and then determines to stop the flocculation and sedimentation reaction based on the analyzed pH value of the filtered sewage, thereby finally achieving a full component characteristic analysis of the total organic matter in the sewage. The method for determining the stop of the flocculation and sedimentation reaction and the method for achieving a full component characteristic analysis of the total organic matter in the sewage can both be performed using the corresponding method in the patent publication number "CN117706055B".
[0023] The method for the controller to analyze the pH value of the filtered sewage includes: Obtain the pH value of the filtered sewage from the pH meter at different time points within a pre-set time interval; The pH value at any time point (the time points in this application are all sampling time points for pH meter sampling pH values unless otherwise specified) is taken as the target value, and the value set formed by the pre-set number of pH values closest to the time point at which the target value is located and the target value is taken as the reference value set of the target value; the probability of the noise value of the target value is obtained 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; the reference value set is cut into value set 1 and value set 2 using the target value as a cutting point; the link transformation amplitude of the target value is obtained 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; According to the probability of noise value of each PH value and the arrangement of the phase change amplitude with the PH value in the control value set, the grouping of PH values is coordinated to obtain different groups; Perform detection and analysis on pH values according to groups.
[0024] like Figure 2 As shown, a total organic matter rapid analysis system according to the present invention comprises: The pH meter is connected to the controller, and 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, 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 method of deciding to stop the flocculation and sedimentation reaction and the method of achieving the analysis of the total organic matter of the sewage can be performed by the corresponding method in the patent publication number "CN117706055B".
[0025] 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; In a preferred but non-restrictive implementation method of the present invention, during the flocculation and precipitation reaction, obstacles often occur in the flocculation and precipitation reaction devices such as the device for adding zinc sulfate solution and sodium hydroxide solution to the filtered sewage (such as a syringe) and the device for stirring the filtered sewage (such as a stirrer). When the flocculation and precipitation reaction device is working, the pH value of the filtered sewage detected by the pH meter can be used to detect the working condition of the flocculation and precipitation reaction device. Therefore, the detection and analysis of the pH value of the filtered sewage detected by the pH meter can immediately detect the obstacles of the flocculation and precipitation reaction device when it is working and perform maintenance. At present, the pH value of the filtered sewage detected by the pH meter when the flocculation and precipitation reaction device is working is often grouped and processed, and The pH value within the group is used to analyze the obstruction of the flocculation and sedimentation reaction device. However, since the pH value of the filtered sewage at the transition point between the reasonable working stage and the obstruction working stage of the flocculation and sedimentation reaction device varies very complexly and is very similar, the noise value caused by the synchronous external electromagnetic field disturbing the pH value and the outlier value of the filtered sewage formed by the pH meter detection when the flocculation and sedimentation reaction device is obstructed have similar properties, which makes the grouping function of the corresponding pH value of the flocculation and sedimentation reaction device poor, thereby reducing the accuracy of detecting and analyzing the filtered pH value formed by the pH meter detection when the flocculation and sedimentation reaction device is working. Therefore, a total organic matter rapid analysis system is provided to overcome this defect by analyzing the pH value and coordinating the grouping process.
[0026] 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.
[0027] After the pH value is collected, it can be processed and analyzed, and the grouping process of the pH value can be coordinated to improve the accuracy of the pH value detection and analysis.
[0028] The pH value change analysis unit is used to take the pH value at any time point (the time point in this application is the sampling time point of the pH meter sampling pH value unless otherwise specified) as the target value, and take the value 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 reference value set 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, the probability of the noise value of the target value is obtained; the target value is taken as a cutting point to cut the reference value set into a value set 1 and a value set 2; according to the changes of each pH value in the reference value set and the difference in the arrangement of pH values between the value set 1 and the value set 2, the link transformation amplitude of the target value is obtained; When using a pH meter to sample pH, noise is generated due to the disturbance of the external electromagnetic field of the pH meter to the pH. The synchronized pH value also contains outliers caused by malfunction of the coagulation and sedimentation device. The similarity between noise and outliers is quite large. Directly using the existing grouping method cannot effectively distinguish noise from outliers, thereby reducing the accuracy of subsequent pH detection and analysis.
[0029] In a preferred but non-restrictive implementation method of the present invention, even if the noise value and the outlier are very close, the arrangement and fluctuation of other pH values beside the noise value and the outlier have a considerable difference, so the pH value at any time point can be regarded as the target value, and a reference value set is synchronously set for the target value. Here, the reference value set of the target value contains a predetermined number of other pH values closest to the time point at which the target value is located and the target value itself, and the predetermined number is set to fourteen, so that 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 are analyzed, and the probability of the target value being affected by the noise value rather than the flocculation sedimentation reaction device being affected by the obtained noise value probability is reflected, and then the grouping process of the pH value can be coordinated according to the noise value probability, so that the noise value can be efficiently distinguished, and the final grouping function and the accuracy of the pH value detection analysis can be improved.
[0030] In a preferred but non-limiting implementation method of the present invention, a method for obtaining the probability of a clutter value of a target value includes: The square of the quantity obtained by subtracting the target value from each other PH value outside the target value in the control value set 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 quantity 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.
[0031] In a preferred but non-limiting implementation method of the present invention, the operational equation of the clutter value probability is: 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.
[0032] 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.
[0033] 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.
[0034] Since the flocculation sedimentation reaction device often has problems during operation, and the pH values in the reasonable working stage and the faulty working stage have a large difference, the pH values can be grouped later to achieve the detection and analysis of the pH values. However, since the transition point between the reasonable working stage and the faulty working stage is the transition point of the two stages, and the pH value variation in the transition point is very complicated, and the reasonable value and the outlier value in the transition point are very close, when the pH values at the transition point of the two stages are grouped, the reasonable value and the outlier value cannot be effectively distinguished, which reduces the final grouping performance and the accuracy of pH value detection and analysis.
[0035] Synchronously, the difference in the arrangement of the PH values on both sides of the transition between the two links is not low, and after changing from one link to another, the PH value will change significantly. Therefore, this application takes the target value as the cutting point, divides the comparison 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, and synchronously combines the change of the PH value in the comparison value set. The link transformation amplitude obtained reflects the probability that the target value is located at the transition between the reasonable working link and the obstacle working link. It is convenient to coordinate the grouping process according to the link transformation amplitude in the future to prevent the cutting strength of the PH value at the transition between the two links from being insufficient, so that the reasonable value and the outlier are divided into the same group, thereby improving the grouping performance of the PH value at the transition between the two links. To facilitate the smooth execution of the subsequent calculation, 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 to value set two.
[0036] In a preferred but non-limiting implementation method of the present invention, a method for obtaining a link transformation amplitude of a 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 arrangement parameter one from arrangement parameter two is regarded as the numerical arrangement difference between value set one and value set two; the modulus of the quantity obtained by subtracting fluctuation parameter one from fluctuation parameter two is regarded as the numerical fluctuation difference between value set one and value set two; the quantity obtained by adding the numerical arrangement difference and the numerical fluctuation difference is regarded as the numerical transformation parameter between value set one and value set two; the quantity obtained by multiplying the total change and the numerical transformation parameter is standardized to obtain the link transformation amplitude of the target value.
[0037] In a preferred but non-limiting implementation method of the present invention, the operation equation for link transformation amplitude is: In the equation, The amplitude of the link transformation representing the target value; The total change in the set of control values representing the target value; Represents the mean of all pH values in value set 1, which is also the arrangement parameter 1; Represents the mean of all pH values in value set 2, which is also arrangement parameter 2; Represents the standard deviation of all pH values in value set 1, which is also the fluctuation parameter 1; Represents the standard deviation of all pH values in value set 2, which is also the fluctuation parameter 2; and Respectively represent A pair of pH values within a numerical group; represents the number of all pH values in the control value set, then It represents the number of value groups formed by any pair of pH values at adjacent time points in the control value set. Represents the use of the Z-score method to Implement standardization.
[0038] During the acquisition of the link change amplitude of the target value, the link change amplitude The higher the value, the more likely the target value is to be located at the transition point between the reasonable working link and the obstacle working link of the flocculation sedimentation reaction device, that is, the higher the probability of link change at the time point of the target value. The higher the value, the higher the difference between the overall value level in value set 1 and value set 2. The higher the difference in the same value fluctuation, the higher the difference in the fluctuation property of the pH value in value set 1 and value set 2. The higher the value, the higher the value transformation parameter, which means that the difference between the arrangement and fluctuation of the pH value in the value set 1 and the value set 2 is higher, which means that the difference between the arrangement and fluctuation of the pH value on both sides of the target value is higher, then the target value will be located at the transition point between the reasonable working link and the obstacle working link, then the link transformation amplitude The higher the starting change It reflects the change of a pair of adjacent pH values in the control value set, and the overall change It reflects the overall change of all pH values in the control value set. Because the pH value will change significantly after transitioning from one link to another, the overall change The higher the value, the higher the change in pH value on both sides of the target value, which means that the target value is more likely to be located at the transition point between the reasonable working stage and the obstacle working stage, and the higher the stage change amplitude, the more synchronous the application Transform the link amplitude Restricted in The interval is suitable for subsequent coordination of the grouping process.
[0039] After obtaining the phase transformation amplitude of the target value, the same method as above can be used to obtain the phase transformation amplitude of other PH values. Then, the grouping process can be coordinated with the noise probability and phase transformation parameters of each PH value to improve the grouping performance of the PH value and the accuracy of PH value detection and analysis.
[0040] 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; In the current grouping method, a constant grouping length is often used to group data, and the grouping length is mainly reflected in the various parameters used in the grouping method, such as the diameter parameter of the leaf node in the BIRCH algorithm. Because the numerical changes of the flocculation and sedimentation reaction device at the transition between the reasonable working stage and the obstacle working stage are very complex and very similar, the synchronous noise value and the outlier value of the flocculation and sedimentation reaction device have similar properties. Therefore, when a constant grouping length is used to group the pH value, the noise value cannot be efficiently identified, and the pH value at the transition between the reasonable working stage and the obstacle working stage cannot be efficiently handled. Therefore, the present application obtains the noise value probability and stage change amplitude of each PH value as mentioned above, and synchronously combines the arrangement of the PH values in the comparison value set to coordinate the grouping process of the PH value, so as to achieve more efficient grouping of the PH value, thereby obtaining accurate grouping values, and then more accurate detection and analysis of the PH values in different groups can be performed.
[0041] In a preferred but non-limiting implementation method of the present invention, the method of obtaining different groups includes: Because the BIRCH algorithm does not need to set the number of groups in advance and can efficiently handle noise values and identify outliers, the present application uses the BIRCH algorithm to perform grouping operations on PH values. The group length of the BIRCH algorithm can be reflected through the diameter parameter of its leaf node, so the diameter parameter of the leaf node can be coordinated later to achieve coordination of the group length. First, the diameter parameter of the leaf node used by the BIRCH algorithm must be obtained. Under normal circumstances, the diameter parameter of the leaf node can be set according to actual requirements.
[0042] If a constant leaf node diameter parameter is used for grouping each PH value, the final grouping performance will be weakened. Therefore, the diameter parameter of the leaf node can be coordinated according to the probability of the noise value of each PH value in the link change amplitude, as well as the fluctuation amplitude of the corresponding reference value set, to obtain the diameter of the coordinated leaf node of each PH value, so that the diameter of the coordinated leaf node of each PH value can actively adapt to the arrangement change of the surrounding values, thereby improving the subsequent grouping performance. Therefore, according to the BIRCH algorithm, according to the diameter of the coordinated leaf node of each PH value and the number of numerical points of a single leaf node set in advance, the PH value points can be grouped to obtain different groups and achieve coordination of the PH value grouping. In the grouping process, the cosine similarity between each PH value can be used as a measure of distance, and the number of numerical points set in advance is set to five.
[0043] In a preferred but non-limiting implementation method of the present invention, the operation equation for coordinating the diameter of the leaf nodes is: In the equation, Representative The diameter of the coordinated leaf node of each pH value; Represents the diameter parameter of the leaf node; Representative The standard deviation of all pH values in the reference set of pH values, that is, The fluctuation amplitude of the reference value set of pH values; Representative The probability of noise value of each pH value; Representative The amplitude of each pH value change; Represents the use of the Z-score method to Implement standardization; Represents the pre-set configuration parameter 1, Represents the pre-set configuration parameter 2, the purpose of which is to prevent the divisor from being zero. and Can be set to one percent.
[0044] During the acquisition of the diameter of the coordinated leaf node at each pH value, the diameter of the coordinated leaf node It is the diameter parameter of the leaf node based on the arrangement change attribute of the values next to each pH value The coordinated value, so the diameter of the coordinated leaf node of the PH value can actively adapt to the arrangement of the values next to it, which is suitable for improving the performance of the BIRCH algorithm. The fluctuation amplitude here The higher the value, the higher the amplitude of the change of the value next to the pH value, the higher the amplitude of the coordination group length is required, and the higher the probability of the noise value is, the lower the amplitude of the coordination group length is required, so as to better identify the noise value and the amplitude of the link change. The higher it is, the higher the probability that the pH value is located at the transition point between the reasonable working link and the obstacle working link. The lower the amplitude of the coordinated grouping length, the more accurate the grouping of the pH value at the transition point can be to prevent insufficient cutting strength.
[0045] To ensure the smooth execution of the BIRCH algorithm, it is necessary to ensure that the diameter of the coordination leaf node of each PH value is not less than the number of numerical points of the single leaf node set in advance. Therefore, when the diameter of the coordination leaf node of a PH value obtained is less than the number of numerical points of the single leaf node set in advance, the diameter of the coordination leaf node of the PH value can be set to the number of numerical points of the single leaf node set in advance, that is, the number of numerical points of the single leaf node set in advance is regarded as the diameter of the coordination leaf node of the PH value. Through the BIRCH algorithm, groups containing noise values, groups containing outliers, and groups containing reasonable values can be obtained.
[0046] The detection and analysis unit is used to perform detection and analysis on the PH value according to the grouping.
[0047] In a preferred but non-limiting implementation method of the present invention, the method for performing detection and analysis on pH values 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 of the groups containing outliers and the groups containing reasonable values are taken as the pH values of the filtered sewage after analysis to determine the cessation of the flocculation and sedimentation reaction, so as to finally achieve the analysis of the characteristics of all components of total organic matter in the sewage.
[0048] In summary, the present application initially obtains the pH values of the filtered sewage detected by the pH meter when the flocculation sedimentation reaction device is working at different time points in a preset time interval; regards the pH value at any time point as the target value, and regards the value 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 reference value set of the target value; obtains the probability of noise value of the target value based on 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; regards the target value as the cutting point, and cuts the reference value set into value set one and value set two; obtains the phase change amplitude of the target value based on the changes of each pH value in the reference value set and the difference in the arrangement of pH values between value set one and value set two; coordinates the grouping of pH values based on the probability of noise value and the phase change amplitude of each pH value and the arrangement of pH values in the reference value set to obtain different groupings; and performs detection and analysis on the pH values based on the groupings.
[0049] The beneficial effects of the present invention are that, compared with the prior art, the technical effects of the present invention include: The numerical changes of the flocculation and sedimentation reaction device at the transition point between the normal working stage and the fault working stage are very complex and very similar. The synchronous noise value and the outlier value appearing in the flocculation and sedimentation reaction device have similar properties, which makes the grouping performance of the corresponding pH value of the flocculation and sedimentation reaction device poor, and reduces the accuracy of the detection and analysis of the pH value. Therefore, the present invention starts to obtain the pH value at different time points, and the noise value and the outlier value appearing in the fault of the flocculation and sedimentation reaction device are similar. However, the arrangement and fluctuation of other values in the leaf nodes of the noise value and the outlier value have a large difference. Therefore, the probability of the target value being affected by the noise value can be reflected through the obtained noise value probability, which is suitable for coordinating the grouping process according to the noise value probability in the future, improving the grouping performance, and involving flocculation The numerical changes of the device for coagulation-precipitation reaction at the transition between the reasonable working link and the obstacle working link are very complicated and very similar, and it is impossible to perform efficient grouping of reasonable values and outliers. Simultaneously, the difference in the arrangement of the pH values on both sides of the transition between the two links is not low, and the change in the overall data is not low. Therefore, the present invention performs analysis by the difference in the arrangement of the pH values between the value set one and the value set two, and simultaneously combines and compares the changes of each pH value in the value set. The link transformation amplitude obtained reflects the probability that the target value is located at the transition between the two links. Then, the grouping process can be coordinated according to the link transformation amplitude to prevent insufficient cutting strength of the pH value at the transition between the two links, so as to coordinate the grouping process and improve the final grouping performance, thereby improving the accuracy of the subsequent pH value detection and analysis.
[0050] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not deviate from the spirit and scope of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A method for rapid analysis of total organic matter, characterized in that: include: 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 and then determines the cessation of the flocculation and sedimentation reaction based on the analyzed pH value of the filtered sewage, thereby finally achieving the analysis of the total organic matter of the sewage. The method for the controller to analyze the pH value of the filtered sewage includes: Obtain the pH value of the filtered sewage from the pH meter at different time points within a pre-set time interval; The pH value at any time point is regarded as the target value, and the value set formed by the pre-set number of pH values closest to the time point of the target value and the target value is regarded as the reference value set of the target value; the probability of the noise value of the target value is obtained according to the difference between other pH values outside the target value in the reference value set and the arrangement of each pH value; the reference value set is cut into value set 1 and value set 2 using the target value as a cutting point; the link change amplitude of the target value is obtained 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; According to the arrangement of the noise probability and phase change amplitude of each PH value and the PH value in the control value set, the grouping of PH values is coordinated to obtain different groups; Perform detection and analysis on pH values according to groups.
2. 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.
3. 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.
4. The total organic matter rapid analysis system according to claim 3, characterized in that: The method for obtaining the probability of the clutter value of the target value includes: The square of the quantity obtained by subtracting the target value from each other PH value outside the target value in the control value set 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 quantity 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.
5. The total organic matter rapid analysis system according to claim 4, characterized in that: The calculation equation of the clutter value probability is: 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.
6. The total organic matter rapid analysis system according to claim 5, characterized in that: 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 arrangement parameter one from arrangement parameter two is regarded as the numerical arrangement difference between value set one and value set two; the modulus of the quantity obtained by subtracting fluctuation parameter one from fluctuation parameter two is regarded as the numerical fluctuation difference between value set one and value set two; the quantity obtained by adding the numerical arrangement difference and the numerical fluctuation difference is regarded as the numerical transformation parameter between value set one and value set two; the quantity obtained by multiplying the total change and the numerical transformation parameter is standardized to obtain the link transformation amplitude of the target value.
7. The total organic matter rapid analysis system according to claim 6, characterized in that: The operational equation for the link transformation amplitude is: In the equation, The amplitude of the link transformation representing the target value; The total change in the set of control values representing the target value; Represents the mean of all pH values in value set 1, which is also the arrangement parameter 1; Represents the mean of all pH values in value set 2, which is also arrangement parameter 2; Represents the standard deviation of all pH values in value set 1, which is also the fluctuation parameter 1; Represents the standard deviation of all pH values in value set 2, which is also the fluctuation parameter 2; and Respectively represent A pair of pH values within a numerical group; Represents the number of all pH values in the control value set, Represents the use of the Z-score method to Implement standardization.
8. The total organic matter rapid analysis system according to claim 7, 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.
9. The total organic matter rapid analysis system according to claim 8, characterized in that: The equation for coordinating the diameter of leaf nodes is: In the equation, Representative The diameter of the coordinated leaf node of each pH value; Represents the diameter parameter of the leaf node; Representative The standard deviation of all pH values in the reference set of pH values, that is, The fluctuation amplitude of the reference value set of pH values; Representative The probability of noise value of each pH value; Representative The amplitude of each pH value change; Represents the use of the Z-score method to Implement standardization; Represents the pre-set configuration parameter 1, Represents the pre-set configuration parameter 2.
10. The total organic matter rapid analysis system according to claim 9, 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
Field rapid analysis box for black soil data
CN218726840U