Permanganate index detection method, device and equipment based on curve recognition and medium

Through the curve identification method, the smoothing and differential curve analysis of the double platinum electrode signal is used to accurately determine the titration endpoint of the permanganate index, which solves the problem of low accuracy in determining the titration endpoint in the prior art and improves the reliability of the detection results.

CN119574791APending Publication Date: 2025-03-07HANGZHOU GREAN WATER SCI & TECH INC +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411879735.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-19
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

The prior art is prone to interference and leads to misjudgment during the reverse titration of the permanganate index, and the accuracy of determining the titration end point is low.

Method used

The titration end point of the potassium permanganate solution was determined by obtaining the dual platinum electrode signal, performing smoothing processing and peak search analysis. If there is a first minimal peak and the number is 1, the end point is determined to be its peak position; otherwise, the end point is determined based on the second minimal peak information of the differential curve.

Benefits of technology

It improves the accuracy of the titration endpoint, reduces data abnormalities caused by interference from abnormal situations, and enhances the accuracy and reliability of the detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119574791A_ABST
    Figure CN119574791A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of water quality monitoring, in particular to a permanganate index detection method, device and equipment based on curve recognition and a medium, and the method comprises the following steps: acquiring a plurality of double platinum electrode signals acquired by a target instrument and obtained by adopting excessive potassium permanganate solution for back titration, a timed and quantitative equivalent titration mode is adopted in reverse titration timing; carrying out peak searching analysis according to a smooth curve obtained by carrying out smooth processing on the multiple double platinum electrode signals to obtain the existence condition of a first minimum peak and a peak position corresponding to the first minimum peak; if the first minimum peak exists and the number is 1, determining that the titration end point is the peak position corresponding to the first minimum peak; otherwise, carrying out peak searching analysis according to a differential curve obtained by carrying out differential processing on the multiple double platinum electrode signals to obtain the existence condition of a second minimum peak and the peak position corresponding to the second minimum peak; and determining a titration end point according to the information of the two minimum peaks. According to the method, the accuracy of determining the titration end point can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of water quality monitoring, and in particular to a method, device, equipment and medium for detecting a permanganate index based on curve recognition. Background Art

[0002] The permanganate index is often used as an important parameter for evaluating the quality of surface water. It is mainly used to characterize the degree of organic pollution in water. The level of the permanganate index can reflect the amount of organic matter in the water that can be oxidized by potassium permanganate. Generally speaking, the higher the permanganate index, the higher the organic content in the water and the more serious the pollution. On the contrary, if the permanganate index is low, it means that the organic content in the water is relatively small and the water quality is relatively good.

[0003] The permanganate index is determined by chemical oxidation. The specific process is to extract samples and reagents in turn into the reaction system for oxidation reaction. After the oxidation is completed, a certain amount of reducing agent is added to reduce the excess oxidant, and then the oxidant is continued to be extracted for back titration. In the related art, after adding excess sodium oxalate solution for reduction reaction and then adding potassium permanganate solution for back titration, a real-time titration mode is used when the potential value is directly titrated to a sudden change, that is, when the potential signal reaches the endpoint judgment signal, the titration is stopped immediately and the titration time is recorded, and the relevant conversion of the permanganate index is performed according to the titration time. However, once the back titration process is disturbed, it is very easy to cause misjudgment, and because the mode of stopping the titration immediately when the conditions are met is used, the error of the titration endpoint is large.

[0004] Therefore, how to accurately identify the titration endpoint of potassium permanganate solution has become a technical problem to be solved urgently by those skilled in the art. Summary of the invention

[0005] The purpose of the present application is to provide a method, device, equipment and medium for detecting permanganate index based on curve recognition, which can improve the accuracy of determining the titration endpoint.

[0006] In a first aspect, a method for detecting a permanganate index based on curve recognition is provided, characterized in that it comprises:

[0007] Acquire multiple double platinum electrode signals collected by the target instrument and obtained by back titration with an excess of potassium permanganate solution, wherein a timed and quantitative equal titration mode is adopted during the back titration;

[0008] Performing smoothing processing on the plurality of dual platinum electrode signals to obtain a smooth curve; and performing peak search analysis on the smooth curve to obtain first characteristic information, wherein the first characteristic information includes the existence of a first minimum peak and a peak position corresponding to the first minimum peak;

[0009] If there is a first minimum peak, and the number of the first minimum peak is 1, then the titration endpoint of the potassium permanganate solution is determined to be the peak position corresponding to the first minimum peak;

[0010] Otherwise, performing differential processing on the plurality of dual platinum electrode signals to obtain a differential curve; and performing peak search analysis on the differential curve to obtain second characteristic information, wherein the second characteristic information includes the existence of the second minimum peak and the peak position corresponding to the second minimum peak;

[0011] The titration endpoint of the potassium permanganate solution is determined according to the first characteristic information and the second characteristic information; the titration endpoint is used to determine the permanganate index.

[0012] In a preferred example, the present application can be further configured as follows: determining the titration endpoint of the potassium permanganate solution according to the first characteristic information and the second characteristic information, including:

[0013] If there is no first minimum peak and no second minimum peak, the titration endpoint of the potassium permanganate solution is determined to be the data collection endpoint;

[0014] If the first minimum peak does not exist but the second minimum peak exists, the titration endpoint of the potassium permanganate solution is determined to be the peak position corresponding to the second minimum peak;

[0015] If there are first minimum peaks and the number of first minimum peaks is greater than 1, the target first minimum peak is determined from at least two first minimum peaks based on the peak position corresponding to the second minimum peak, and the peak position corresponding to the target first minimum peak is determined as the titration end point of the potassium permanganate solution.

[0016] In a preferred example, the present application may be further configured as follows: determining a target first minimum peak from at least two first minimum peaks according to the peak position corresponding to the second minimum peak, including:

[0017] When the number of second minimum peaks is 1, a first minimum peak whose peak position is closest to the second minimum peak is selected from at least two first minimum peaks as the target first minimum peak;

[0018] When the number of second minimum peaks is greater than 1, the first minimum peak closest to the target second minimum peak is selected from at least two first minimum peaks as the target first minimum peak, and the target second minimum peak is the second minimum peak with the smallest peak value.

[0019] In a preferred example, the present application can be further configured as follows:

[0020] During the process of testing samples by the target instrument, the corresponding monitoring information of multiple components of the target instrument is obtained in real time;

[0021] For each component, determine the operating status of the component based on the monitoring information of the component;

[0022] When the operation status of the component is abnormal, the sampling is stopped, and the target maintenance suggestion corresponding to the operation information of the component is determined according to the preset map, and the preset map includes the correlation relationship between the abnormal operation information of the component and the maintenance suggestion.

[0023] In a preferred example, the present application may be further configured as follows: after determining the target maintenance suggestion corresponding to the operation information of the component according to the preset map, at least one of the following items may be included:

[0024] Display the operation information of abnormally operating components and corresponding targeted maintenance suggestions;

[0025] The operation information of the abnormally operating components and the corresponding target maintenance suggestions are sent to the corresponding client device of the operation and maintenance personnel.

[0026] In a preferred example, the present application may be further configured as follows: the first characteristic information further includes: the existence of the first platform, and the second characteristic information further includes: the existence of the second platform;

[0027] After determining the titration endpoint of potassium permanganate solution as the data collection endpoint, it also includes:

[0028] When the target instrument operates normally, if the target curve has a platform, it is determined that the abnormal cause is that the test water sample exceeds the range; otherwise, it is determined that the abnormal cause is the lack of potassium permanganate solution, and the target curve is at least one of a smooth curve and a differential curve;

[0029] Generate prompt information based on the cause of the exception.

[0030] In a preferred example, the present application can be further configured as follows: performing peak analysis on a target curve to obtain characteristic information, wherein the target curve includes a smooth curve and a differential curve, including:

[0031] Obtain the peak value difference corresponding to two adjacent peak positions from the initial peak position according to the initial peak position step length; determine the curve trend according to the peak value difference;

[0032] If the curve trend is an upward trend, the peak value of the next peak is obtained according to the second peak step, and the initial peak step is smaller than the second peak step; if the curve trend is a downward trend, the peak value of the next peak is obtained according to the third peak step, and the third peak step is smaller than the second peak step;

[0033] The step of obtaining the peak value difference corresponding to two adjacent peak positions is performed until information corresponding to the minimum peak is obtained as feature information.

[0034] In a second aspect, a permanganate index detection device based on curve recognition is provided, characterized in that it includes:

[0035] A signal acquisition module, used to acquire a plurality of double platinum electrode signals acquired by a target instrument and obtained by back titration using an excess of potassium permanganate solution, wherein a timed and quantitative equal titration mode is adopted during the back titration;

[0036] A first characteristic information determination module is used to perform smoothing processing on the plurality of dual-platinum electrode signals to obtain a smooth curve; and perform peak search analysis on the smooth curve to obtain first characteristic information, wherein the first characteristic information includes the existence of a first minimum peak and a peak position corresponding to the first minimum peak;

[0037] A first titration endpoint determination module, for determining the titration endpoint of the potassium permanganate solution as the peak position corresponding to the first minimum peak if there is a first minimum peak and the number of the first minimum peak is 1;

[0038] A second characteristic information determination module is used for performing differential processing on the plurality of dual platinum electrode signals to obtain a differential curve; and performing peak search analysis on the differential curve to obtain second characteristic information, wherein the second characteristic information includes the existence of a second minimum peak and a peak position corresponding to the second minimum peak;

[0039] The second titration endpoint determination module is used to determine the titration endpoint of the potassium permanganate solution according to the first characteristic information and the second characteristic information; the titration endpoint is used to determine the permanganate index.

[0040] In a third aspect, an electronic device is provided, including:

[0041] one or more processors;

[0042] Memory;

[0043] One or more applications, wherein the one or more applications are stored in a memory and configured to be executed by one or more processors, and the one or more programs are configured to: perform operations corresponding to the permanganate index detection method based on curve recognition shown in any possible implementation of the first aspect.

[0044] In a fourth aspect, a computer-readable storage medium is provided, wherein the storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, at least one program, a code set or an instruction set is loaded by a processor and executes the steps of the permanganate index detection method based on curve recognition shown in any possible implementation method of the first aspect.

[0045] In a fifth aspect, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements operations corresponding to the permanganate index detection method based on curve recognition shown in any possible implementation manner in the first aspect.

[0046] In summary, the permanganate index detection method based on curve recognition provided by the present application includes the following beneficial technical effects:

[0047] The method adopts a double platinum electrode with a simple structure, which can reduce the influence of the potential drift of the ORP electrode and the leakage of the electrolyte on the test results, and improve the accuracy and stability of the instrument; in addition, the timed quantitative titration mode plus the end point determination mode determined by the post-algorithm can completely record the signal changes in the titration process, and the acquired titration curve can be identified and calculated by the mode of image recognition or mathematical fitting, so that the signal changes in the entire titration process can be traced, and then, the peak search analysis is performed according to the smooth curve corresponding to the plurality of double platinum electrode signals to obtain the relevant information of the first minimum peak; if the first minimum peak exists and the number of the first minimum peak is 1, the titration end point of the potassium permanganate solution is determined to be the peak position corresponding to the first minimum peak; otherwise, the titration end point of the potassium permanganate solution is determined in combination with the relevant information of the second minimum peak determined by the differential curve; the data anomaly caused by abnormal interference can be reduced, and even if anomalies exist, the titration end point can be located in combination with the differential equation, thereby improving the accuracy of positioning.

[0048] In addition, the present application also provides a permanganate index detection device, equipment and medium based on curve recognition, all of which have the above-mentioned beneficial technical effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0050] Figure 1 This is a flow chart of a method for detecting a permanganate index based on curve recognition provided in an embodiment of the present application;

[0051] Figure 2 A schematic diagram of an original signal curve provided in an embodiment of the present application;

[0052] Figure 3 A schematic diagram of a curve provided in an embodiment of the present application when there is a first minimum peak and the number of the first minimum peaks is greater than 1;

[0053] Figure 4A schematic diagram of the entire process of permanganate index detection based on curve recognition provided in an embodiment of the present application;

[0054] Figure 5 It is a structural schematic diagram of a permanganate index detection device based on curve recognition provided in an embodiment of the present application;

[0055] Figure 6 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0056] This specific embodiment is merely an explanation of the present application and is not a limitation of the present application. After reading this specification, those skilled in the art may make non-creative modifications to the present embodiment as needed, but as long as they are within the scope of the present application, they are protected by the patent law.

[0057] It should be noted that in the optional embodiments of the present application, the object information and other related data involved, when the embodiments in the present application are applied to specific products or technologies, need to obtain the permission or consent of the object, and the collection, use and processing of the relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions. In other words, if the embodiments of the present application involve data related to the object, it needs to be obtained with the authorization and consent of the object, the authorization and consent of the relevant departments, and in compliance with the relevant laws, regulations and standards of the country and region. If personal information is involved in the embodiments, the acquisition of all personal information needs to obtain the consent of the individual. If sensitive information is involved, the separate consent of the information subject needs to be obtained. The embodiments also need to be implemented with the authorization and consent of the object.

[0058] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0059] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.

[0060] At present, the permanganate index analyzer generally adopts potentiometric titration and colorimetry. Potassium permanganate oxidation titration is the analysis principle widely used by the permanganate index water quality online analyzer, and the endpoint determination method of permanganate by titration is mainly ORP electrode (Oxidation-Reduction Potential electrode) titration, that is, the titration endpoint is determined by the change of redox potential in the reaction. Although it is less affected by turbidity, the long-term contact of the electrode with the water sample and reagent will cause electrolyte loss, which will affect the water sample test on the one hand, and cause electrode potential drift and reduce electrode life on the other hand; thus causing problems such as large loss of permanganate index electrode accessories and high daily maintenance costs of the instrument.

[0061] Moreover, in the process of adding excess sodium oxalate solution for reduction reaction and then adding potassium permanganate solution for back titration, a real-time titration mode is used when the potential value is directly titrated until a sudden change occurs, that is, when the potential signal reaches the endpoint judgment signal, the titration is stopped immediately and the titration time is recorded, and the relevant conversion of the permanganate index is performed according to the titration time. In other words, the endpoint recognition mostly adopts the method of ORP potential mutation, that is, the endpoint judgment and the output of the test result are realized by presetting the endpoint threshold range or using a preset coefficient or related judgment mode. Although this recognition method ensures the uniqueness of the endpoint, it is very easy to cause misjudgment once it is disturbed during the back titration process, and because the mode of stopping the titration immediately when the conditions are met is used, abnormal data cannot be identified and analyzed during the titration process, which makes it difficult to locate the abnormal situation, thereby increasing the labor cost of troubleshooting.

[0062] Based on this, the present invention provides a double-platinum electrode permanganate index online analyzer based on curve recognition, which combines advanced electrochemical sensing technology with intelligent data analysis algorithms, and can realize continuous online monitoring of the permanganate index in water quality. It can solve the problems existing in the detection methods of related technologies in terms of accuracy, automation, maintenance cost, service life, titration endpoint judgment and anti-interference ability.

[0063] On the one hand, it reduces maintenance costs: the embodiment of the present application uses a double platinum electrode, which has a relatively simple structure and no consumable components, and has a long service life. At the same time, combined with curve recognition technology, it can reduce the impact of problems such as ORP electrode voltage drift on the detection results, thereby reducing the replacement frequency and maintenance costs of the electrode. In some feasible schemes, the analyzer structure used in the embodiment of the present application is compatible with photometry, ORP electrodes, and double platinum electrodes. Since the embodiment of the application uses double platinum electrodes, the data acquisition board used for electrode signal acquisition is also adaptively adjusted, and the embodiment of the present application is no longer limited.

[0064] The second aspect is that the anti-interference ability is strong and the endpoint determination is accurate: the actual water body is often more complex, and there are many substances that may interfere with the test results. In the embodiment of the present application, the timed and quantitative equal titration mode is used to replace the original mode during the titration process, that is: an excess of potassium permanganate solution is used for back titration during the titration process and the signal value of the entire titration process is recorded in detail to obtain a complete titration process curve, and the post-judgment mode is used according to the obtained titration process curve to apply the algorithm of curve feature point recognition to obtain the titration endpoint information to calculate the permanganate index value. This method can be used to comprehensively monitor the titration process, reduce the probability of misjudgment, improve the accuracy of endpoint identification, and reduce the difficulty of troubleshooting. Moreover, the online permanganate index analyzer based on the double platinum electrode combined with the endpoint determination technology based on curve recognition uses a neural network model to locate the titration endpoint, which can effectively reduce the influence of interference factors and improve the accuracy and reliability of the test results.

[0065] Specifically, the double-platinum electrode permanganate index online analyzer based on curve recognition in the embodiment of the present application includes a sampling system for extracting samples and reagents (including a multi-way valve module, a metering module, and a power module); a reaction system for providing the conditions required for the reaction (including a digestion tank, a heating system, a stirring system, a sensor, etc.); a detection system for signal acquisition and processing (including but not limited to a signal acquisition board and a data processing unit); and a detection system for responsible for the automation control and operation management of the entire instrument.

[0066] The permanganate index detection process based on curve recognition of double platinum electrodes includes:

[0067] Mix the sample to be tested with sulfuric acid solution and potassium permanganate solution. 理想 =94.831-77.737*exp(-t / 113.082) The temperature is raised to 94.6-94.9°C, and an oxidation reaction is carried out during the heating process;

[0068] The volume ratio of the test sample, sulfuric acid solution and potassium permanganate solution is 20:1:2; the concentration of potassium permanganate solution is 0.31-0.33 g / L, the concentration of sulfuric acid solution is 485-495 g / L, and the concentration of sodium oxalate solution is 0.83-0.85 g / L.

[0069] In the process of adding excess sodium oxalate solution for reduction reaction and then adding potassium permanganate solution for back titration, a timed quantitative equal titration mode is used to replace the real-time titration mode of direct titration until the potential value suddenly changes, that is, an excess of potassium permanganate solution is used for back titration during the titration process and the signal value of the entire titration process is recorded in detail to obtain a complete titration process curve;

[0070] According to the obtained titration process curve, a post-judgment mode is used to apply a curve feature point recognition algorithm to obtain titration endpoint information X to calculate the permanganate index value;

[0071] ;

[0072] Where, Y is the permanganate index, mg / L;

[0073] X is the titration time of the sample, s;

[0074] C2 is the standard sample concentration of 80-100% of the range, mg / L; the range is 0-5 mg / L;

[0075] C1 is the standard sample concentration of the range of 0-20%, mg / L;

[0076] t2 is the titration time of the standard sample concentration of 80-100% of the range, s;

[0077] t1 is the standard sample concentration of 0-20% of the range, mg / L.

[0078] Specifically, the present application embodiment provides a method for detecting permanganate index based on curve recognition, such as Figure 1 As shown, the method provided in the embodiment of the present application can be executed by an electronic device, and the electronic device is a server, which can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a double platinum electrode permanganate index online analyzer based on curve recognition, etc., but is not limited to this. The terminal device and the electronic device can be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiment of the present application. The method includes:

[0079] S101, obtaining a plurality of double platinum electrode signals acquired by a target instrument and obtained by back titration using an excess of potassium permanganate solution, wherein a timed and quantitative equal titration mode is adopted during the back titration;

[0080] In the embodiment of the present application, the application of double platinum electrodes in the permanganate index analyzer is realized, which solves the problems of short life of ORP electrodes, electrolyte interference test, electrode voltage drift, etc., and improves the accuracy and stability of titration endpoint judgment.

[0081] In the embodiments of the present application, the sample testing process is further described, including:

[0082] The metering module of the instrument (precision pump, precision pump plus metering module, injection pump, etc.) collects the water sample into the reaction device;

[0083] The oxidant and acid solution are added to the reaction device in proportion. The stirring system works continuously to ensure that the sample and reagent are fully mixed. The main control system controls the heating module covering the outside of the reaction pool to heat the solution, providing the temperature required for the sample oxidation reaction, and ensuring that the reaction rate of the system meets the test requirements.

[0084] A reducing agent is added to the reaction system to reduce the excess oxidant. The addition ratio is based on the national standard "GB 11892-1989 Determination of Permanganate Index of Water Quality". The added oxidant oxidizes the reducing substances in the water sample, and then the reducing agent is used to reduce the remaining oxidant; then a certain amount of oxidant is slowly added to the reaction system for back titration at a slower speed, and the signal of the double platinum electrode during the titration process is collected in real time; at this time, there is no need to pay attention to the changing trend of the results at all times, but only to fully record the signal changes during the titration process to obtain multiple double platinum electrode signals.

[0085] S102, performing smoothing processing on the plurality of dual platinum electrode signals to obtain a smooth curve; and performing peak search analysis on the smooth curve to obtain first characteristic information, wherein the first characteristic information includes the existence of a first minimum peak and a peak position corresponding to the first minimum peak;

[0086] After peak search analysis, the peak intensity peak, peak position loc and peak width width of the first minimum peak of the smoothed data are obtained;

[0087] The specific peak-seeking process is not limited in the present embodiment, and the user can set it according to actual needs.

[0088] S103, if there is a first minimum peak, and the number of the first minimum peak is 1, determining the titration endpoint of the potassium permanganate solution as the peak position corresponding to the first minimum peak;

[0089] Exemplary, reference Figure 2 , Figure 2 The schematic diagram of the original signal curve provided in the embodiment of the present application is smoothed to make the curve smoother, so that the real peak point can be more easily identified. Figure 2The lower right sub-figure in the figure includes multiple first minimum peaks. Even after smoothing, the number of first minimum peaks is greater than 1. At this time, if the conventional real-time titration mode is used to titrate directly until the potential value suddenly changes, it is easy to take the first minimum peak of about 500 as the titration endpoint, resulting in a misjudgment of the endpoint. However, the present application adopts full-process titration. Even if the first first minimum peak appears at about 500, the titration will continue until the titration is completed. In the analysis process, if the first minimum peak does not exist and the number of first minimum peaks is 1, multiple double platinum electrode signals will be differentiated to obtain a differential curve; and the differential curve will be peak-finding analysis to obtain the second characteristic information. The second characteristic information includes the existence of the second minimum peak and the peak position corresponding to the second minimum peak. The subsequent judgment process is carried out to ensure the accuracy of the titration endpoint.

[0090] S104, otherwise, performing differential processing on the plurality of dual platinum electrode signals to obtain a differential curve; and performing peak search analysis on the differential curve to obtain second characteristic information, the second characteristic information including the existence of the second minimum peak and the peak position corresponding to the second minimum peak;

[0091] When there is no interference signal or other abnormal situation in the system, after analyzing the smooth curve, it can be determined that there is only one first minimum peak, which is the titration end point; once there is an interference titration signal in the system, the first first minimum peak may be the wrong titration end point. The real-time titration mode of direct titration until the potential value suddenly changes is adopted, which is very easy to misjudge the end point. Therefore, the embodiment of the present application adopts a timed and quantitative titration mode. Even if the titration end point cannot be uniquely located by the smooth curve, the titration end point will be accurately determined again in combination with the differential curve.

[0092] It can be understood that the differential operation amplifies the changing part of the signal, making the peak point (i.e. the point with the largest signal change rate) more prominent in the differentiated signal; peak detection is performed based on the differentiated signal, thereby improving the accuracy and efficiency of peak detection.

[0093] Peak analysis is performed on the differential data curve to obtain the peak intensity peak_diff, peak position loc_diff and peak width width_diff of the second minimum peak of the differential data.

[0094] S105. Determine the titration endpoint of the potassium permanganate solution according to the first characteristic information and the second characteristic information;

[0095] A possible implementation of the embodiment of the present application, S105, determining the titration endpoint of the potassium permanganate solution according to the first characteristic information and the second characteristic information, includes:

[0096] If there is no first minimum peak and no second minimum peak, the titration endpoint of the potassium permanganate solution is determined to be the data collection endpoint;

[0097] If the first minimum peak does not exist but the second minimum peak exists, the titration endpoint of the potassium permanganate solution is determined to be the peak position corresponding to the second minimum peak;

[0098] If there is a first minimum peak and the number of first minimum peaks is greater than 1, the target first minimum peak is determined from at least two first minimum peaks based on the peak position corresponding to the second minimum peak, and the peak position corresponding to the target first minimum peak is determined as the titration end point of the potassium permanganate solution.

[0099] Specifically, determining a target first minimum peak from at least two first minimum peaks according to the peak position corresponding to the second minimum peak includes:

[0100] When the number of second minimum peaks is 1, the first minimum peak closest to the peak position corresponding to the second minimum peak is selected from at least two first minimum peaks as the target first minimum peak;

[0101] When the number of second minimum peaks is greater than 1, the first minimum peak closest to the target second minimum peak is selected from at least two first minimum peaks as the target first minimum peak, and the target second minimum peak is the second minimum peak with the smallest peak value.

[0102] For example, refer to Figure 3 , Figure 3 A curve schematic diagram provided for an embodiment of the present application when there is a first minimum peak and the number of first minimum peaks is greater than 1. When it is determined based on the smoothed curve that there is a first minimum peak and the number of first minimum peaks is 3 (corresponding to around 600, around 1000 and around 1100, respectively), the second minimum peak around 600 with the lowest peak value is selected from the second minimum peaks obtained by differentiating the curve as the target second minimum peak; then, based on the target second minimum peak, the first minimum peak around 600 is selected from the first minimum peak as the target first minimum peak.

[0103] In the examples of the present application, the permanganate index can also be determined according to the titration endpoint.

[0104] In the embodiment of the present application, the data processing unit of the electronic device analyzes and processes the titration curve after analyzing the collected and recorded signals of multiple dual platinum electrodes during the titration process. The titration curve is analyzed by mathematical methods (such as derivative analysis, curve fitting, etc.), and the inflection point or mutation point of the curve change is found as the titration end point. This method can make full use of all the data in the titration process and accurately judge the end point. The method is relatively simple and easy to implement.

[0105] Furthermore, after the permanganate index is calculated by a preset formula based on the identified titration endpoint, it can also be uploaded to the system and platform for users to review.

[0106] In the embodiments of the present application, the titration endpoint identification process introduces curve recognition technology. Compared with the traditional threshold voltage judgment method, this technology has higher accuracy and uniqueness and can determine the titration endpoint more accurately.

[0107] It can be seen that the embodiment of the present application adopts a double platinum electrode with a simple structure, which can reduce the impact of ORP electrode potential drift and electrolyte leakage on the test results, and improve the accuracy and stability of the instrument; in addition, the timed quantitative titration mode plus the end point determination mode determined by the post-algorithm can completely record the signal changes during the titration process, and the acquired titration curve is used to identify and calculate the end point using an image recognition or mathematical fitting mode, which can trace the signal changes during the entire titration process, and then, according to the smooth curves corresponding to the multiple double platinum electrode signals, peak search analysis is performed to obtain relevant information of the first minimum peak; if there is a first minimum peak and the number of the first minimum peak is 1, the titration end point of the potassium permanganate solution is determined to be the peak position corresponding to the first minimum peak; otherwise, the titration end point of the potassium permanganate solution is determined in combination with the relevant information of the second minimum peak determined by the differential curve; the data anomaly caused by abnormal interference can be reduced, and even if there is an anomaly, the differential equation can be combined to locate the titration end point, thereby improving the accuracy of positioning.

[0108] A possible implementation of the embodiment of the present application also includes:

[0109] During the process of measuring the sample by the target instrument, the corresponding monitoring information of multiple components of the target instrument is obtained in real time;

[0110] For each component, determine the operating status of the component based on the monitoring information of the component;

[0111] When the operation status of the component is abnormal, the sampling is stopped, and the target maintenance suggestion corresponding to the operation information of the component is determined according to the preset map, and the preset map includes the correlation between the abnormal operation information of the component and the maintenance suggestion.

[0112] A possible implementation of the embodiment of the present application, after determining the target maintenance suggestion corresponding to the operation information of the component according to the preset map, further includes at least one of the following:

[0113] Display the operation information of abnormally operating components and corresponding targeted maintenance suggestions;

[0114] The operation information of the abnormally operating components and the corresponding target maintenance suggestions are sent to the corresponding client device of the operation and maintenance personnel.

[0115] like Figure 4 As shown, Figure 4 A schematic diagram of the entire process of permanganate index detection based on curve recognition provided in an embodiment of the present application, wherein:

[0116] The instrument uses the sampling system to sequentially extract samples and reagents into the reaction system for oxidation reaction. After the oxidation is completed, a certain amount of reducing agent is added to reduce the excess oxidant, and then the oxidant is continued to be extracted for back titration. During the titration process, the data acquisition board records the data of the titration process in real time throughout the entire process. After the titration is completed, the data processing unit analyzes the collected data, smoothes the data signal, performs differential processing on the smoothed data curve, and obtains the relevant information of the characteristic points after peak analysis, identifies and picks up the titration end point, and calculates and analyzes the permanganate index based on the titration end point. The calculated data is displayed on the human-computer interaction interface and uploaded to the system and platform.

[0117] At the same time, during the whole measurement process, the instrument can monitor various parts of the instrument and equipment such as metering module, pump, valve, light source, digestion module, detection module, water sample cup, pure water, and waste liquid system in real time through light intensity monitoring, temperature monitoring, pressure monitoring, flow monitoring, current monitoring, voltage monitoring, and machine vision monitoring. The cause of the fault is automatically determined based on the monitoring results, that is, the operating status, to provide support for improving operation and maintenance efficiency and ensuring the accuracy of monitoring data.

[0118] During the instrument sampling process, the working status of each device, sensor and reagent sample extraction can also be monitored synchronously. When an abnormality occurs, an alarm message will be posted. After the process stops, it will automatically enter the self-check state, automatically determine the fault point, and obtain maintenance suggestions. At the same time, the detection process, parameters and processing suggestions can be uploaded to the integration or platform synchronously.

[0119] Specifically, when the instrument detects that the corresponding operating conditions are abnormal, it will post the corresponding abnormal problems; the software side captures the abnormal information, immediately starts the abnormal diagnosis after the instrument process is terminated, and locates the abnormal information through intelligent processes; based on the abnormal information, corresponding processing suggestions are given, which will be posted on the human-computer interaction interface; the relevant abnormalities and corresponding processing measures are uploaded to the integration and platform, and pushed to the operation and maintenance personnel through the APP.

[0120] It can be seen that in the embodiment of the present application, when the electronic device is a detector, it also has an intelligent diagnostic function, and can push relevant problems to the client in a timely manner through interaction with the platform and APP, which can greatly shorten the problem handling time, reduce maintenance hours, and reduce maintenance costs.

[0121] In a possible implementation manner of the embodiment of the present application, the first characteristic information further includes: the existence of the first platform, and the second characteristic information further includes: the existence of the second platform;

[0122] After determining the titration endpoint of potassium permanganate solution as the data collection endpoint, it also includes:

[0123] When the target instrument operates normally, if the target curve has a platform, it is determined that the abnormal cause is that the test water sample exceeds the range; otherwise, it is determined that the abnormal cause is the lack of potassium permanganate solution, and the target curve is at least one of a smooth curve and a differential curve;

[0124] Generate prompt information based on the cause of the exception.

[0125] In the embodiment of the present application, the titration endpoint of potassium permanganate solution is determined as the data collection endpoint. At this time, the data is not credible and the determination of permanganate index can be omitted. Since the instrument is constantly monitoring, at this time, if the target instrument is operating normally, there may be two reasons: ① exceeding the upper limit of the instrument's measurement. At this time, the instrument will prompt the user that the test water sample is out of range and it is recommended to switch the range. ② The back titration reagent is short of liquid, resulting in the inability to reach the titration endpoint.

[0126] Therefore, the actual cause of the abnormal situation can be determined by combining the platform existence of at least one of the smooth curve and the differential curve, so as to prompt the user and enable the user to take corresponding measures.

[0127] A possible implementation of the embodiment of the present application is to perform peak search analysis on the target curve to obtain characteristic information in order to quickly locate the minimum peak. The target curve includes a smooth curve and a differential curve, including:

[0128] Obtain the peak value difference corresponding to two adjacent peak positions from the initial peak position according to the initial peak position step length; determine the curve trend according to the peak value difference;

[0129] If the curve trend is an upward trend, the peak value of the next peak is obtained according to the second peak step, and the initial peak step is smaller than the second peak step; if the curve trend is a downward trend, the peak value of the next peak is obtained according to the third peak step, and the third peak step is smaller than the second peak step;

[0130] The step of obtaining the peak value difference corresponding to two adjacent peak positions is performed until information corresponding to the minimum peak is obtained as feature information.

[0131] Specifically, starting from the initial peak position of the curve, use the initial peak position step to find the adjacent peak position. Calculate the peak difference between the two adjacent peak positions. Based on the calculated peak difference, determine whether the trend of the curve is rising or falling. If the curve trend is an upward trend, use a larger second peak position step to obtain the peak value of the next peak position. If the curve trend is a downward trend, use a smaller third peak position step to obtain the peak value of the next peak position. Repeat the above steps, continue to calculate the peak difference between adjacent peak positions, and adjust the peak position step according to the trend. Until all the information corresponding to the minimum peaks (that is, the peak reaches the local minimum) is found as feature information.

[0132] It can be seen that in the embodiment of the present application, unnecessary calculations are reduced by gradually adjusting the peak step size, thereby improving the efficiency of data processing. When the trend of the curve is clear, using a larger step size can skip insignificant peaks more quickly, while when the trend is unclear or requires detailed analysis, using a smaller step size can ensure that no important feature information is missed. This strategy of flexibly adjusting the step size makes the data processing process more efficient while ensuring the accuracy of the results.

[0133] Further, the step of obtaining the peak value difference corresponding to two adjacent peak positions is performed until the information corresponding to the minimum peak is obtained, including:

[0134] According to the preset peak length, determine the peak interval centered on the minimum peak;

[0135] In the peak position interval, the peak value difference corresponding to two adjacent peaks is obtained according to the fourth peak position step, and the fourth peak position step is smaller than the third peak position step; and according to the peak value difference, the curve trend is determined until the information corresponding to the final minimum peak is obtained as the characteristic information.

[0136] Specifically, according to the preset peak length, a peak position interval centered on the expected minimum peak is determined. The preset peak length can be determined based on the characteristics of the data, historical experience or experimental data. In the determined peak position interval, a fourth peak position step that is smaller than the third peak position step is used to traverse the peaks in the interval; for two adjacent peaks, their corresponding peak differences are calculated; if the peak difference is positive and gradually decreases, or is negative and gradually increases, this may indicate that a minimum peak is approaching; as the step size decreases, the calculation of the peak difference will become more precise, so that the position of the minimum peak can be determined more accurately.

[0137] Furthermore, the above steps can be repeated to gradually narrow the peak position interval (if possible) and use a smaller step size to more accurately locate the smallest peak.

[0138] As the step size decreases and the peak position interval shrinks, the calculation of the peak difference will become more precise, so that the position of the minimum peak can be determined more accurately. When the predetermined accuracy or number of iterations is reached, the iteration is stopped and the information corresponding to the final minimum peak is extracted as feature information.

[0139] Based on any of the above embodiments, the present application combines the accuracy of the double platinum electrode and the curve recognition technology to achieve higher accuracy in the determination of the titration endpoint. Combined with curve recognition technology: the titration endpoint is determined by identifying the characteristic points in the signal change curve. This method can capture the subtle trend of the potential change, thereby more accurately indicating the moment when the reaction is completed, which is generally more accurate and reliable than a simple threshold judgment. In addition, the use of this method to fully record the signal changes during the titration process not only provides rich data support for the identification of the endpoint, but also enables any abnormal data to be recorded and traced, so that the problem can be quickly located when the data is abnormal, reducing decision-making errors caused by insufficient data information. When the system fails or the data is abnormal, maintenance personnel can quickly locate the cause of the problem and take targeted solutions. Compared with the traditional "trial and error" maintenance, this data-driven maintenance method not only improves efficiency, but also reduces maintenance difficulty and cost. It can be specifically reflected in the following aspects:

[0140] (1) High-precision monitoring: The double platinum electrode can continuously provide accurate potential signals during long-term use due to its excellent stability and low maintenance requirements. This stability effectively reduces the measurement errors caused by factors such as electrode aging and surface contamination, providing a solid foundation for titration analysis.

[0141] (2) Intelligent curve recognition: By introducing advanced curve recognition technology, the instrument can automatically analyze subtle feature points in the potential change curve, such as inflection points, platforms, etc., to accurately determine the titration endpoint. This technology goes beyond the simple threshold comparison method and can more flexibly adapt to the complex characteristics of different chemical reactions, improving the accuracy and adaptability of judgment.

[0142] (3) Comprehensive data recording and analysis: The system fully records the changes in the potential signal during the titration process, providing a rich source of information for subsequent data analysis and problem tracing. This not only helps researchers to gain a deeper understanding of the reaction mechanism, but also allows them to quickly locate problems when data is abnormal, reducing troubleshooting time and improving experimental efficiency.

[0143] (4) Data-driven maintenance strategy: Based on fully recorded data, the system can use a data-driven approach to predict faults and perform maintenance. Compared with the traditional “trial and error” method, this approach is more scientific and efficient, and can significantly reduce maintenance costs and improve equipment availability and overall performance.

[0144] (5) Enhanced user experience and ease of operation: By integrating intelligent algorithms and a graphical user interface, the instrument makes the titration process more intuitive, allowing users to quickly and easily observe, analyze, and locate problems in the titration process.

[0145] The following is an introduction to a permanganate index detection device based on curve recognition provided in an embodiment of the present application. The permanganate index detection device based on curve recognition described below and the permanganate index detection method based on curve recognition described above can be referred to each other. The permanganate index detection device based on curve recognition 200 of this embodiment is set in an electronic device, and the reference Figure 5 , Figure 5 This is a structural block diagram of a permanganate index detection device based on curve recognition in one embodiment of the present application, comprising:

[0146] The signal acquisition module 210 is used to acquire a plurality of double platinum electrode signals acquired by the target instrument and obtained by back titration using an excess of potassium permanganate solution, wherein the back titration adopts a timed and quantitative equal titration mode;

[0147] The characteristic information determination module 220 is used to perform smoothing processing on the multiple dual-platinum electrode signals to obtain a smooth curve; and perform peak analysis on the smooth curve to obtain first characteristic information, wherein the first characteristic information includes the existence of the first minimum peak and the peak position corresponding to the first minimum peak;

[0148] The titration endpoint determination module 230 is used to determine the titration endpoint of the potassium permanganate solution as the peak position corresponding to the first minimum peak if there is a first minimum peak and the number of the first minimum peak is 1;

[0149] The characteristic information determination module 220 is further used to perform differential processing on the multiple dual platinum electrode signals to obtain a differential curve; and perform peak search analysis on the differential curve to obtain second characteristic information, the second characteristic information including the existence of the second minimum peak and the peak position corresponding to the second minimum peak;

[0150] The titration endpoint determination module 230 is further used to determine the titration endpoint of the potassium permanganate solution according to the first characteristic information and the second characteristic information; the titration endpoint is used to determine the permanganate index.

[0151] In one achievable manner, the titration endpoint determination module 230 is used to:

[0152] If there is no first minimum peak and no second minimum peak, the titration endpoint of the potassium permanganate solution is determined to be the data collection endpoint;

[0153] If the first minimum peak does not exist but the second minimum peak exists, the titration endpoint of the potassium permanganate solution is determined to be the peak position corresponding to the second minimum peak;

[0154] If there is a first minimum peak and the number of first minimum peaks is greater than 1, the target first minimum peak is determined from at least two first minimum peaks based on the peak position corresponding to the second minimum peak, and the peak position corresponding to the target first minimum peak is determined as the titration end point of the potassium permanganate solution.

[0155] In one achievable manner, the titration endpoint determination module 230 is used to:

[0156] When the number of second minimum peaks is 1, the first minimum peak closest to the peak position corresponding to the second minimum peak is selected from at least two first minimum peaks as the target first minimum peak;

[0157] When the number of second minimum peaks is greater than 1, the first minimum peak closest to the target second minimum peak is selected from at least two first minimum peaks as the target first minimum peak, and the target second minimum peak is the second minimum peak with the smallest peak value.

[0158] In one achievable manner, the device further includes: an instrument monitoring module, configured to:

[0159] During the process of testing samples by the target instrument, the corresponding monitoring information of multiple components of the target instrument is obtained in real time;

[0160] For each component, determine the operating status of the component based on the monitoring information of the component;

[0161] When the operation status of the component is abnormal, the sampling is stopped, and the target maintenance suggestion corresponding to the operation information of the component is determined according to the preset map, and the preset map includes the correlation between the abnormal operation information of the component and the maintenance suggestion.

[0162] In one achievable manner, the present invention further includes:

[0163] A prompt module is used to display the operation information of the abnormally operating components and the corresponding target maintenance suggestions;

[0164] The operation information of the abnormally operating components and the corresponding target maintenance suggestions are sent to the corresponding client device of the operation and maintenance personnel.

[0165] In an achievable manner, the first characteristic information further includes: the existence of the first platform, and the second characteristic information further includes: the existence of the second platform;

[0166] Also includes:

[0167] The abnormality determination module is used to determine that the abnormality is caused by the test water sample exceeding the range if the target curve has a platform when the target instrument is operating normally; otherwise, the abnormality is determined to be caused by the lack of potassium permanganate solution, and the target curve is at least one of a smooth curve and a differential curve;

[0168] Generate prompt information based on the cause of the exception.

[0169] In an implementable manner, the target curve includes a smooth curve and a differential curve, and the characteristic information determination module 220 is used to:

[0170] Obtain the peak value difference corresponding to two adjacent peak positions from the initial peak position according to the initial peak position step length; determine the curve trend according to the peak value difference;

[0171] If the curve trend is an upward trend, the peak value of the next peak is obtained according to the second peak step, and the initial peak step is smaller than the second peak step; if the curve trend is a downward trend, the peak value of the next peak is obtained according to the third peak step, and the third peak step is smaller than the second peak step;

[0172] The step of obtaining the peak value difference corresponding to two adjacent peak positions is performed until information corresponding to the minimum peak is obtained as feature information.

[0173] An electronic device is provided in an embodiment of the present application, such as Figure 6 As shown, Figure 6 The electronic device 300 shown includes: a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, such as through a bus 302. Optionally, the electronic device 300 may also include a transceiver 304. It should be noted that in actual applications, the transceiver 304 is not limited to one, and the structure of the electronic device 300 does not constitute a limitation on the embodiments of the present application.

[0174] The processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0175] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0176] The memory 303 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0177] The memory 303 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the contents shown in the above method embodiment.

[0178] Figure 6 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0179] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding content in the aforementioned method embodiment.

[0180] An embodiment of the present application provides a computer program product, including a computer program, which implements the corresponding contents of the aforementioned method embodiment when the computer program is executed by a processor.

[0181] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0182] The above are only some implementation methods of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for detecting permanganate index based on curve recognition, characterized in that: include: Acquire multiple double platinum electrode signals collected by the target instrument and obtained by back titration with an excess of potassium permanganate solution, wherein a timed and quantitative equal titration mode is adopted during the back titration; Performing smoothing processing on the plurality of dual platinum electrode signals to obtain a smooth curve; and performing peak search analysis on the smooth curve to obtain first characteristic information, wherein the first characteristic information includes the existence of a first minimum peak and a peak position corresponding to the first minimum peak; If there is a first minimum peak, and the number of the first minimum peak is 1, then the titration endpoint of the potassium permanganate solution is determined to be the peak position corresponding to the first minimum peak; Otherwise, performing differential processing on the plurality of dual platinum electrode signals to obtain a differential curve; and performing peak search analysis on the differential curve to obtain second characteristic information, wherein the second characteristic information includes the existence of the second minimum peak and the peak position corresponding to the second minimum peak; The titration endpoint of the potassium permanganate solution is determined according to the first characteristic information and the second characteristic information; the titration endpoint is used to determine the permanganate index.

2. The method for detecting permanganate index based on curve recognition according to claim 1, characterized in that: Determining the titration endpoint of the potassium permanganate solution according to the first characteristic information and the second characteristic information includes: If there is no first minimum peak and no second minimum peak, the titration endpoint of the potassium permanganate solution is determined to be the data collection endpoint; If the first minimum peak does not exist but the second minimum peak exists, the titration endpoint of the potassium permanganate solution is determined to be the peak position corresponding to the second minimum peak; If there are first minimum peaks and the number of first minimum peaks is greater than 1, the target first minimum peak is determined from at least two first minimum peaks based on the peak position corresponding to the second minimum peak, and the peak position corresponding to the target first minimum peak is determined as the titration end point of the potassium permanganate solution.

3. The method for detecting permanganate index based on curve recognition according to claim 2, characterized in that: Determining a target first minimum peak from at least two first minimum peaks according to the peak position corresponding to the second minimum peak comprises: When the number of second minimum peaks is 1, a first minimum peak whose peak position is closest to the second minimum peak is selected from at least two first minimum peaks as the target first minimum peak; When the number of second minimum peaks is greater than 1, the first minimum peak closest to the target second minimum peak is selected from at least two first minimum peaks as the target first minimum peak, and the target second minimum peak is the second minimum peak with the smallest peak value.

4. The method for detecting permanganate index based on curve recognition according to claim 2, characterized in that: Also includes: During the process of testing samples by the target instrument, the corresponding monitoring information of multiple components of the target instrument is obtained in real time; For each component, determine the operating status of the component based on the monitoring information of the component; When the operation status of the component is abnormal, the sampling is stopped, and the target maintenance suggestion corresponding to the operation information of the component is determined according to the preset map, and the preset map includes the correlation relationship between the abnormal operation information of the component and the maintenance suggestion.

5. The method for detecting permanganate index based on curve recognition according to claim 4, characterized in that: After determining the target maintenance suggestion corresponding to the component operation information according to the preset map, at least one of the following is also included: Display the operation information of abnormally operating components and corresponding targeted maintenance suggestions; The operation information of the abnormally operating components and the corresponding target maintenance suggestions are sent to the corresponding client device of the operation and maintenance personnel.

6. The method for detecting permanganate index based on curve recognition according to claim 4, characterized in that: The first characteristic information further includes: the existence of the first platform, and the second characteristic information further includes: the existence of the second platform; After determining the titration endpoint of potassium permanganate solution as the data collection endpoint, it also includes: When the target instrument operates normally, if the target curve has a platform, it is determined that the abnormal cause is that the test water sample exceeds the range; otherwise, it is determined that the abnormal cause is the lack of potassium permanganate solution, and the target curve is at least one of a smooth curve and a differential curve; Generate prompt information based on the cause of the exception.

7. The method for detecting permanganate index based on curve recognition according to any one of claims 1 to 6, characterized in that: Perform peak analysis on the target curve to obtain characteristic information, wherein the target curve includes a smooth curve and a differential curve, including: Obtain the peak value difference corresponding to two adjacent peak positions from the initial peak position according to the initial peak position step length; determine the curve trend according to the peak value difference; If the curve trend is an upward trend, the peak value of the next peak is obtained according to the second peak step, and the initial peak step is smaller than the second peak step; if the curve trend is a downward trend, the peak value of the next peak is obtained according to the third peak step, and the third peak step is smaller than the second peak step; The step of obtaining the peak value difference corresponding to two adjacent peak positions is performed until information corresponding to the minimum peak is obtained as feature information.

8. A permanganate index detection device based on curve recognition, characterized in that: include: A signal acquisition module, used to acquire a plurality of double platinum electrode signals acquired by a target instrument and obtained by back titration using an excess of potassium permanganate solution, wherein a timed and quantitative equal titration mode is adopted during the back titration; A first characteristic information determination module is used to perform smoothing processing on the plurality of dual-platinum electrode signals to obtain a smooth curve; and perform peak search analysis on the smooth curve to obtain first characteristic information, wherein the first characteristic information includes the existence of a first minimum peak and a peak position corresponding to the first minimum peak; A first titration endpoint determination module, for determining the titration endpoint of the potassium permanganate solution as the peak position corresponding to the first minimum peak if there is a first minimum peak and the number of the first minimum peak is 1; A second characteristic information determination module is used for performing differential processing on the plurality of dual platinum electrode signals to obtain a differential curve; and performing peak search analysis on the differential curve to obtain second characteristic information, wherein the second characteristic information includes the existence of a second minimum peak and a peak position corresponding to the second minimum peak; The second titration endpoint determination module is used to determine the titration endpoint of the potassium permanganate solution according to the first characteristic information and the second characteristic information; the titration endpoint is used to determine the permanganate index.

9. An electronic device, characterized in that: include: one or more processors; Memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to: execute the steps of the permanganate index detection method based on curve recognition according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, at least one program, a code set or an instruction set is loaded by a processor and executes the steps of the permanganate index detection method based on curve recognition according to any one of claims 1 to 7.

Citation Information

Cited By

  • Method and system for on-line automatic determination of permanganate index

    CN121595802A