Method and system for calibrating reference value of electrochemical sensor

By periodically updating the reference electrode's baseline value during the use of the electrochemical sensor, the problem of inaccurate detection caused by baseline value fluctuations during long-term operation is solved, thus achieving stable and accurate detection by the electrochemical sensor.

CN118937455APending Publication Date: 2024-11-12YANTAI HAIBO ELECTRICAL EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411207812.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

After long-term operation, the reference value of electrochemical sensors fluctuates, leading to inaccurate detection results. Existing calibration methods cannot effectively solve this problem.

Method used

The reference value of the electrochemical sensor is calibrated at the factory and periodically updated during use based on the number and magnitude of the sampled values. The reference value of the reference electrode is corrected through averaging and filtering to ensure its stability.

Benefits of technology

This effectively reduces detection errors caused by fluctuations in reference values ​​during long-term use, and improves the robustness and stability of the electrochemical sensor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118937455A_ABST
    Figure CN118937455A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a system for calibrating a reference value of an electrochemical sensor, and relates to the technical field of electrochemical sensor calibration. According to the method, the reference value of the reference electrode of the electrochemical sensor is updated according to the size and the number of the sampling values of each round of the electrochemical sensor, so that the influence of the fluctuation of the reference value on the detection result of the electrochemical sensor during long-term operation can be avoided, the detection error caused by the fluctuation of the reference value during long-term use is reduced, and the detection accuracy is improved. Therefore, the robustness and the stability of the electrochemical sensor in long-term use are 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 electrochemical sensor calibration, and in particular to a calibration method and system for a reference value of an electrochemical sensor. Background Art

[0002] An electrochemical sensor is a sensor that uses electrochemical principles to measure and analyze the concentration of chemical substances. Usually, an electrochemical sensor includes a working electrode and a reference electrode. The working electrode is an electrode that contacts the substance being measured and undergoes an electrochemical reaction. It is the main component used to measure the concentration of the substance being measured. The reference electrode is used to provide a stable potential reference and does not react with the substance being measured. After long-term operation, the material of the electrochemical sensor will age and corrode. At the same time, oxides, hydroxides or other compounds related to the substance being measured may form on the electrode surface of the electrochemical sensor, which will cause the sensor baseline value to change, resulting in a decrease in the performance of the electrochemical sensor and inaccurate test results.

[0003] The traditional calibration method only calibrates the sensor reference value once before leaving the factory, which cannot avoid the occurrence of detection errors caused by fluctuations in the reference value due to long-term operation. Therefore, a calibration method for the reference value of an electrochemical sensor is urgently needed to improve the accuracy of the electrochemical sensor detection results and enable the electrochemical sensor to perform detection stably for a long time. Summary of the invention

[0004] In view of this, the present application provides a calibration method and system for the reference value of an electrochemical sensor, which can avoid the influence of fluctuations in the reference value during long-term operation on the detection results of the electrochemical sensor, reduce the detection error caused by fluctuations in the reference value during long-term use, and thus improve the robustness and stability of the electrochemical sensor in long-term use.

[0005] Specifically, the following technical solutions are included:

[0006] In a first aspect, an embodiment of the present application provides a method for calibrating a reference value of an electrochemical sensor, the method comprising:

[0007] Before leaving the factory, the electrochemical sensor is calibrated to obtain a factory reference value, and the factory reference value is used as a reference value of a reference electrode of the electrochemical sensor;

[0008] Write the factory reference value into the memory of the main control module;

[0009] When in use, in response to the number of sampling values ​​of the electrochemical sensor reaching a threshold number in each round, the sampling value of the electrochemical sensor in the current round is obtained, wherein the sampling value is the difference between the data value detected by the working electrode of the electrochemical sensor within the threshold sampling period and the reference value of the reference electrode of the electrochemical sensor;

[0010] Performing mean processing on the sampled values ​​of the electrochemical sensor that are less than the data threshold, and determining the mean of the sampled values ​​of the electrochemical sensor acquired in the current round;

[0011] The reference value of the reference electrode of the electrochemical sensor is updated to the average value, and the average value is written into the memory of the main control module.

[0012] In some embodiments, the method further comprises:

[0013] The sampling values ​​of the electrochemical sensor that are greater than or equal to the data threshold are eliminated to obtain the sampling values ​​of the electrochemical sensor that are less than the data threshold.

[0014] In some embodiments, before performing averaging processing on the sampled values ​​of the electrochemical sensor that are smaller than the data threshold, the method further includes: performing filtering processing on the sampled values ​​of the electrochemical sensor that are smaller than the data threshold.

[0015] In some embodiments, the threshold number is 1800-2100.

[0016] In some embodiments, updating the reference value of the reference electrode of the electrochemical sensor to the average value and writing the average value into the memory of the main control module specifically includes:

[0017] In response to the number of sampling values ​​of the electrochemical sensor reaching a threshold number in each round, and the sampling value of the electrochemical sensor is greater than or equal to the sampling value of the data threshold, the reference value of the reference electrode of the electrochemical sensor is updated to the average value, and the average value is written into the memory of the main control module.

[0018] In some embodiments, the method further comprises:

[0019] In response to the sampling value of the electrochemical sensor being greater than or equal to the sampling value of the data threshold, the control alarm module sends a first alarm signal, wherein the first alarm signal is used to remind the user that the concentration of the measured substance in the environment where the electrochemical sensor is located has reached or exceeded the data threshold.

[0020] In some embodiments, the method further comprises:

[0021] In response to the difference between the factory reference value and the average value being greater than the fluctuation threshold, the control alarm module sends a second alarm signal, and the second alarm signal is used to remind the user to check the problem, replace and repair the electrochemical sensor.

[0022] In some embodiments, when in use, in response to the number of sampled values ​​of the electrochemical sensor reaching a threshold number in each round, the number of sampled values ​​in the electrochemical sensor in the round is obtained, and the statistical method of the number of sampled values ​​includes:

[0023] The main control module records the number of sampling values ​​of the electrochemical sensor;

[0024] When the number of sampling values ​​of the electrochemical sensor reaches a threshold number, the main control module completes the current round of recording, and the number of sampling values ​​of the electrochemical sensor recorded by the main control module in the current round is the threshold number.

[0025] In some embodiments, the method further comprises:

[0026] After acquiring the sampling values ​​of the electrochemical sensor in the current round, the main control module starts counting the number of the sampling values ​​of the electrochemical sensor in a new round.

[0027] In a second aspect, an embodiment of the present application provides a calibration system for a reference value of an electrochemical sensor, the system comprising:

[0028] A reference value calibration module, used to calibrate the electrochemical sensor before leaving the factory to obtain a factory reference value, and use the factory reference value as a reference value of a reference electrode of the electrochemical sensor;

[0029] A writing module, used for writing the factory reference value into the memory of the main control module;

[0030] a counting module, configured to, when in use, in response to the number of sampling values ​​of the electrochemical sensor reaching a threshold number in each round, obtain the sampling value of the electrochemical sensor in the current round, wherein the sampling value is the difference between the data value detected by the working electrode of the electrochemical sensor within the threshold sampling period and the reference value of the reference electrode of the electrochemical sensor;

[0031] An averaging module, used to perform averaging processing on the sampling values ​​of the electrochemical sensor that are less than the data threshold, and determine the average of the sampling values ​​of the electrochemical sensor obtained in the current round;

[0032] An updating module is used to update the reference value of the reference electrode of the electrochemical sensor to the average value, and write the average value into the memory of the main control module.

[0033] The beneficial effects of the technical solution provided by the embodiments of the present application include at least:

[0034] The embodiment of the present application provides a calibration method and system for the reference value of an electrochemical sensor. First, the factory reference value is used as the reference value of the reference electrode of the electrochemical sensor, and is written into the memory of the main control module. When in use, in response to the number of sampling values ​​of the electrochemical sensor reaching a threshold number in each round, the sampling values ​​of the electrochemical sensor in the current round are obtained, so that the sampling values ​​and the number of sampling values ​​in each round are recorded; then, the sampling values ​​of the electrochemical sensor that are less than the data threshold are averaged, and the average of the sampling values ​​of the electrochemical sensor obtained in the current round is determined, thereby forming a new reference value of the electrochemical sensor; finally, the reference value of the reference electrode of the electrochemical sensor is updated to the average value, and the average value is written into the memory of the main control module, and the reference value of the reference electrode of the electrochemical sensor is updated to achieve correction of the reference value. The method updates the reference value of the reference electrode of the electrochemical sensor according to the size and number of sampling values ​​of each round of the electrochemical sensor, which can avoid the influence of the fluctuation of the reference value during long-term operation on the detection result of the electrochemical sensor, reduce the detection error caused by the fluctuation of the reference value in long-term use, and thus improve the robustness and stability of the electrochemical sensor in long-term use. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments 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 creative work.

[0036] Figure 1 A method flow chart of a method for calibrating a reference value of an electrochemical sensor provided in an embodiment of the present application;

[0037] Figure 2 A schematic diagram of the structure of a calibration system for an electrochemical sensor reference value provided in an embodiment of the present application. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions 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.

[0039] First, as Figure 1 As shown, the embodiment of the present application provides a method for calibrating a reference value of an electrochemical sensor, the method comprising:

[0040] Step 101, calibrate the electrochemical sensor before leaving the factory to obtain a factory reference value, and use the factory reference value as a reference value of a reference electrode of the electrochemical sensor.

[0041] The initial reference value of the reference electrode of the electrochemical sensor is the factory reference value, which ensures that the reference value of the reference electrode of the electrochemical sensor is accurate, thereby ensuring the accuracy of the detection result of the electrochemical sensor when leaving the factory.

[0042] Step 102, writing the factory reference value into the memory of the main control module.

[0043] The factory reference value is written into the memory of the main control module, so that the memory of the main control module records the factory reference value, which is convenient for subsequent calling and calculation.

[0044] In some embodiments, the main control module may be a single chip microcomputer.

[0045] Step 103, when in use, in response to the number of sampling values ​​of the electrochemical sensor reaching a threshold number in each round, the sampling value of the electrochemical sensor in that round is obtained, wherein the sampling value is the difference between the data value detected by the working electrode of the electrochemical sensor within the threshold sampling period and the baseline value of the reference electrode of the electrochemical sensor.

[0046] When the number of sampling values ​​of the electrochemical sensor reaches the threshold number in each round, it means that the sensor has been used for a long time in this round, and the baseline value of the reference electrode of the electrochemical sensor may have changed. It is necessary to make certain corrections to the baseline value of the reference electrode of the electrochemical sensor to ensure the accuracy of its subsequent test results. The sampling value of the electrochemical sensor in this round is obtained for subsequent correction of the baseline value of the reference electrode of the electrochemical sensor.

[0047] In some embodiments, the number of threshold values ​​is 1800-2100, which is set to conform to the reference value variation period of the reference electrode of the electrochemical sensor and can reduce the amount of calculation.

[0048] Step 104 , performing average processing on the sampled values ​​of the electrochemical sensor that are smaller than the data threshold, and determining the average of the sampled values ​​of the electrochemical sensor acquired in the current round.

[0049] In some embodiments, the data threshold is a value close to the detection value of the electrochemical sensor when the concentration of the measured substance is 0 or the concentration of the measured substance is extremely low.

[0050] The sampling value of the electrochemical sensor is less than the sampling value of the data threshold, which indicates that the electrochemical sensor is in an environment where the concentration of the measured substance is 0 or the concentration of the measured substance is extremely low. Since the sampling value is the difference between the data value detected by the working electrode of the electrochemical sensor within the threshold sampling period and the baseline value of the reference electrode of the electrochemical sensor, the sampling value of the electrochemical sensor is close to the baseline value of the reference electrode of the electrochemical sensor. The mean of the sampling values ​​of the electrochemical sensor in the current round is determined, which can be used for the subsequent correction of the baseline value of the reference electrode of the electrochemical sensor. Moreover, what is determined is the mean of the sampling values ​​of the electrochemical sensor in the current round, which can reduce the interference of the sampling values ​​of the electrochemical sensor with fluctuations of other factors.

[0051] In some embodiments, the method further comprises:

[0052] The sampling values ​​of the electrochemical sensor that are greater than or equal to the data threshold are eliminated to obtain the sampling values ​​of the electrochemical sensor that are less than the data threshold.

[0053] The sampling values ​​of the electrochemical sensor that are greater than or equal to the data threshold indicate that the electrochemical sensor is in an environment with a high concentration of the substance being measured, which means that the sampling values ​​of the electrochemical sensor are detection values ​​of the response to the substance being measured, and are not close to the baseline value of the reference electrode of the electrochemical sensor. They cannot be used to correct the baseline value of the reference electrode of the electrochemical sensor and need to be eliminated. After elimination, the sampling values ​​of the electrochemical sensor that are less than the data threshold are obtained for subsequent correction of the baseline value of the reference electrode of the electrochemical sensor.

[0054] In some embodiments, when in use, in response to the number of sampled values ​​of the electrochemical sensor reaching a threshold number in each round, the sampled values ​​of the electrochemical sensor in the round are obtained, and the number of sampled values ​​is counted in a manner including: (1) the main control module records the number of sampled values ​​of the electrochemical sensor. (2) when the number of sampled values ​​of the electrochemical sensor reaches the threshold number, the main control module completes the recording of the round, and the number of sampled values ​​of the electrochemical sensor recorded by the main control module in the round is the threshold number.

[0055] In some embodiments, the method further comprises:

[0056] After obtaining the sampling values ​​of the electrochemical sensor in the current round, the main control module starts counting the number of sampling values ​​of the electrochemical sensor for a new round, thereby updating the baseline value of the reference electrode of the electrochemical sensor according to the size and number of sampling values ​​of each round of the electrochemical sensor.

[0057] In some embodiments, the method further comprises:

[0058] In response to the sampling value of the electrochemical sensor being greater than or equal to the sampling value of the data threshold, the alarm module is controlled to send a first alarm signal, which is used to remind the user that the concentration of the measured substance in the environment where the electrochemical sensor is located has reached or exceeded the data threshold.

[0059] When the sampling value of the electrochemical sensor is greater than or equal to the sampling value of the data threshold, it indicates that the concentration of the substance being measured in the environment where the electrochemical sensor is located has reached or exceeded the data threshold. This situation may require the user to take measures. In order to attract the user's attention, the control alarm module sends a first alarm signal.

[0060] In some embodiments, the alarm module may be controlled by the main control module to send out the first alarm signal.

[0061] In some embodiments, the alarm module may be a buzzer or a voice broadcast device.

[0062] In some embodiments, the method further comprises:

[0063] In response to the difference between the factory reference value and the average value being greater than the fluctuation threshold, the control alarm module sends a second alarm signal, and the second alarm signal is used to remind the user to check the problem, replace and repair the electrochemical sensor.

[0064] When the difference between the factory reference value and the average value is greater than the fluctuation threshold, it means that after a long period of operation, the reference value of the electrochemical sensor has changed significantly, and the material may be seriously aged, corroded, etc. More oxides, hydroxides or other compounds related to the substance being measured may be formed on the electrode surface of the electrochemical sensor, resulting in a large change in the reference value of the electrochemical sensor. The performance of the electrochemical sensor is seriously degraded, and it may be necessary to thoroughly solve the problem by other means other than updating the reference value, such as user troubleshooting, replacing and repairing the electrochemical sensor, to ensure the accuracy of the test results. Therefore, the control alarm module sends a second alarm signal to remind the user to troubleshoot, replace and repair the electrochemical sensor.

[0065] In addition to the concentration of the measured substance in the environment where the electrochemical sensor is located reaching or exceeding the data threshold, the cause of the alarm may also be a failure of the electrochemical sensor. In some embodiments, the main control module controls the alarm module to send a second alarm signal in response to a sensor failure. The second alarm signal is used to remind the user to troubleshoot the problem, replace and repair the electrochemical sensor.

[0066] In some embodiments, before performing averaging processing on the sampled values ​​of the electrochemical sensor that are smaller than the data threshold, the method further includes: performing filtering processing on the sampled values ​​of the electrochemical sensor that are smaller than the data threshold.

[0067] Filtering can filter out noise interference from the sampling value and ensure the accuracy of the updated reference value.

[0068] Step 105: Update the reference value of the reference electrode of the electrochemical sensor to the average value, and write the average value into the memory of the main control module.

[0069] The updated reference value is written into the memory of the main control module so that the memory of the main control module can record it for subsequent calling and calculation.

[0070] In some embodiments, updating the reference value of the reference electrode of the electrochemical sensor to the average value and writing the average value into the memory of the main control module specifically includes:

[0071] In response to the number of sampling values ​​of the electrochemical sensor reaching a threshold number in each round and the sampling value of the electrochemical sensor being greater than or equal to the sampling value of the data threshold, the reference value of the reference electrode of the electrochemical sensor is updated to an average value, and the average value is written into the memory of the main control module.

[0072] In summary, the embodiment of the present application provides a method for calibrating the reference value of an electrochemical sensor. The method updates the reference value of the reference electrode of the electrochemical sensor according to the size and number of sampling values ​​of each round of the electrochemical sensor. This can avoid the influence of fluctuations in the reference value during long-term operation on the detection results of the electrochemical sensor, reduce the detection error caused by fluctuations in the reference value during long-term use, and thus improve the robustness and stability of the electrochemical sensor in long-term use.

[0073] Second, as Figure 2 As shown, the embodiment of the present application provides a calibration system for a reference value of an electrochemical sensor, the system comprising:

[0074] The reference value calibration module 201 is used to calibrate the electrochemical sensor before leaving the factory to obtain a factory reference value, and use the factory reference value as a reference value of a reference electrode of the electrochemical sensor;

[0075] A writing module 202, used for writing the factory reference value into the memory of the main control module;

[0076] The counting module 203 is used to obtain the sampling value of the electrochemical sensor in the current round in response to the number of sampling values ​​of the electrochemical sensor reaching a threshold number in each round, wherein the sampling value is the difference between the data value detected by the working electrode of the electrochemical sensor within the threshold sampling period and the reference value of the reference electrode of the electrochemical sensor;

[0077] The mean value module 204 is used to perform mean value processing on the sample values ​​of the electrochemical sensor that are less than the data threshold value, and determine the mean value of the sample values ​​of the electrochemical sensor obtained in the current round;

[0078] The updating module 205 is used to update the reference value of the reference electrode of the electrochemical sensor to the average value, and write the average value into the memory of the main control module.

[0079] In some embodiments, the system further comprises:

[0080] The elimination module 206 is used to eliminate the sample values ​​of the electrochemical sensor that are greater than or equal to the data threshold, and obtain the sample values ​​of the electrochemical sensor that are less than the data threshold.

[0081] In some embodiments, the system further comprises:

[0082] The filtering module 207 is used to filter the sampling values ​​of the electrochemical sensor that are less than the data threshold.

[0083] In some embodiments, the threshold number is 1800-2100.

[0084] In some embodiments, the update module 205 specifically includes:

[0085] An updating unit is used to update the reference value of the reference electrode of the electrochemical sensor to an average value in response to the number of sampling values ​​of the electrochemical sensor reaching a threshold number in each round and the sampling value of the electrochemical sensor being greater than or equal to the sampling value of the data threshold, and write the average value into the memory of the main control module.

[0086] In some embodiments, the system further comprises:

[0087] The first alarm module 208 is used to control the alarm module to send a first alarm signal in response to the sampling value of the electrochemical sensor being greater than or equal to the sampling value of the data threshold, wherein the first alarm signal is used to remind the user that the concentration of the measured substance in the environment where the electrochemical sensor is located has reached or exceeded the data threshold.

[0088] In some embodiments, the system further comprises:

[0089] The second alarm module 209 is used to control the alarm module to send a second alarm signal in response to the difference between the factory reference value and the mean value being greater than the fluctuation threshold. The second alarm signal is used to remind the user to troubleshoot the problem, replace and repair the electrochemical sensor. The alarm module receives the alarm signal sent by the main control module and issues an alarm.

[0090] In some embodiments, in the counting module 203, the number of sampling values ​​is counted in the following manner:

[0091] The main control module records the number of sampling values ​​of the electrochemical sensor;

[0092] When the number of sampling values ​​of the electrochemical sensor reaches the threshold number, the main control module completes the current round of recording, and the number of sampling values ​​of the electrochemical sensor recorded by the main control module in the current round is the threshold number.

[0093] In some embodiments, the system further comprises:

[0094] The re-counting module 2010, after acquiring the sampling values ​​of the electrochemical sensor in the current round, the main control module starts to count the number of the sampling values ​​of the electrochemical sensor in a new round.

[0095] In summary, the embodiment of the present application provides a calibration system for the reference value of an electrochemical sensor. The system updates the reference value of the reference electrode of the electrochemical sensor according to the size and number of sampling values ​​of each round of the electrochemical sensor. This can avoid the influence of fluctuations in the reference value during long-term operation on the detection results of the electrochemical sensor, reduce the detection error caused by fluctuations in the reference value during long-term use, and thus improve the robustness and stability of the electrochemical sensor in long-term use.

[0096] In the present application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The term "plurality" refers to two or more than two, unless otherwise clearly defined.

[0097] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the present application disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only.

[0098] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for calibrating a reference value of an electrochemical sensor, characterized in that: The method comprises: Before leaving the factory, the electrochemical sensor is calibrated to obtain a factory reference value, and the factory reference value is used as a reference value of a reference electrode of the electrochemical sensor; Write the factory reference value into the memory of the main control module; When in use, in response to the number of sampling values ​​of the electrochemical sensor reaching a threshold number in each round, the sampling value of the electrochemical sensor in the current round is obtained, wherein the sampling value is the difference between the data value detected by the working electrode of the electrochemical sensor within the threshold sampling period and the reference value of the reference electrode of the electrochemical sensor; Performing mean processing on the sampled values ​​of the electrochemical sensor that are less than the data threshold, and determining the mean of the sampled values ​​of the electrochemical sensor acquired in the current round; The reference value of the reference electrode of the electrochemical sensor is updated to the average value, and the average value is written into the memory of the main control module.

2. The method for calibrating the reference value of an electrochemical sensor according to claim 1, characterized in that: The method further comprises: The sampling values ​​of the electrochemical sensor that are greater than or equal to the data threshold are eliminated to obtain the sampling values ​​of the electrochemical sensor that are less than the data threshold.

3. The method for calibrating the reference value of an electrochemical sensor according to claim 1, characterized in that: Before performing mean processing on the sampled values ​​of the electrochemical sensor that are smaller than the data threshold, the method further includes: performing filtering processing on the sampled values ​​of the electrochemical sensor that are smaller than the data threshold.

4. The method for calibrating the reference value of an electrochemical sensor according to claim 1, characterized in that: The threshold number is 1800-2100.

5. The method for calibrating the reference value of an electrochemical sensor according to any one of claims 1 to 4, characterized in that: Updating the reference value of the reference electrode of the electrochemical sensor to the average value, and writing the average value into the memory of the main control module specifically includes: In response to the number of sampling values ​​of the electrochemical sensor reaching a threshold number in each round, and the sampling value of the electrochemical sensor is greater than or equal to the sampling value of the data threshold, the reference value of the reference electrode of the electrochemical sensor is updated to the average value, and the average value is written into the memory of the main control module.

6. The method for calibrating the reference value of an electrochemical sensor according to any one of claim 2, characterized in that: The method further comprises: In response to the sampling value of the electrochemical sensor being greater than or equal to the sampling value of the data threshold, the control alarm module sends a first alarm signal, wherein the first alarm signal is used to remind the user that the concentration of the measured substance in the environment where the electrochemical sensor is located has reached or exceeded the data threshold.

7. The method for calibrating the reference value of an electrochemical sensor according to claim 1, characterized in that: The method further comprises: In response to the difference between the factory reference value and the average value being greater than the fluctuation threshold, the control alarm module sends a second alarm signal, and the second alarm signal is used to remind the user to check the problem, replace and repair the electrochemical sensor.

8. The method for calibrating the reference value of an electrochemical sensor according to claim 1, characterized in that: When in use, in response to the number of sampling values ​​of the electrochemical sensor reaching a threshold number in each round, the sampling values ​​of the electrochemical sensor in the round are obtained, and the number of sampling values ​​is counted in the following manner: The main control module records the number of sampling values ​​of the electrochemical sensor; When the number of sampling values ​​of the electrochemical sensor reaches a threshold number, the main control module completes the current round of recording, and the number of sampling values ​​of the electrochemical sensor recorded by the main control module in the current round is the threshold number.

9. The method for calibrating the reference value of an electrochemical sensor according to claim 8, characterized in that: The method further comprises: After acquiring the sampling values ​​of the electrochemical sensor in the current round, the main control module starts counting the number of the sampling values ​​of the electrochemical sensor in a new round.

10. A calibration system for a reference value of an electrochemical sensor, characterized in that: The system comprises: A reference value calibration module, used to calibrate the electrochemical sensor before leaving the factory to obtain a factory reference value, and use the factory reference value as a reference value of a reference electrode of the electrochemical sensor; A writing module, used for writing the factory reference value into the memory of the main control module; a counting module, configured to, when in use, in response to the number of sampling values ​​of the electrochemical sensor reaching a threshold number in each round, obtain the sampling value of the electrochemical sensor in the current round, wherein the sampling value is the difference between the data value detected by the working electrode of the electrochemical sensor within the threshold sampling period and the reference value of the reference electrode of the electrochemical sensor; An averaging module, used to perform averaging processing on the sampling values ​​of the electrochemical sensor that are less than the data threshold, and determine the average of the sampling values ​​of the electrochemical sensor obtained in the current round; An updating module is used to update the reference value of the reference electrode of the electrochemical sensor to the average value, and write the average value into the memory of the main control module.