CN109060899B - Method, device and equipment for compensating measurement result of electrochemical sensor - Google Patents

Method, device and equipment for compensating measurement result of electrochemical sensor Download PDF

Info

Publication number
CN109060899B
CN109060899B CN201810699814.7A CN201810699814A CN109060899B CN 109060899 B CN109060899 B CN 109060899B CN 201810699814 A CN201810699814 A CN 201810699814A CN 109060899 B CN109060899 B CN 109060899B
Authority
CN
China
Prior art keywords
value
measurement
current
compensation
electrochemical sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810699814.7A
Other languages
Chinese (zh)
Other versions
CN109060899A (en
Inventor
李慧灵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Ruipu Medical Technology Co ltd
Original Assignee
Guangzhou Ruipu Medical Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Ruipu Medical Technology Co ltd filed Critical Guangzhou Ruipu Medical Technology Co ltd
Priority to CN201810699814.7A priority Critical patent/CN109060899B/en
Publication of CN109060899A publication Critical patent/CN109060899A/en
Application granted granted Critical
Publication of CN109060899B publication Critical patent/CN109060899B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N27/00Investigating or analysing materials by the use of electric, electrochemical, or magnetic means
    • G01N27/26Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating electrochemical variables; by using electrolysis or electrophoresis

Landscapes

  • Chemical & Material Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • Molecular Biology (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)

Abstract

The present application relates to a method, a system, a computer device and a storage medium for compensation of electrochemical sensor measurements. The method comprises the following steps: acquiring a current temperature value and a current humidity value of an environment where the electrochemical sensor is located, and acquiring a current actual measurement value of the electrochemical sensor; determining a first measurement result compensation value according to the current temperature value, and determining a second measurement result compensation value according to the current humidity value; determining a final measurement of the electrochemical sensor based on the first measurement compensation value, the second measurement compensation value, and the current actual measurement value. By adopting the method, the accuracy of the final measurement result can be measured.

Description

Method, device and equipment for compensating measurement result of electrochemical sensor
Technical Field
The present application relates to the field of sensor technologies, and in particular, to a method, an apparatus, a device, a computer device, and a storage medium for compensating measurement results of an electrochemical sensor.
Background
Electrochemical sensors operate by reacting with the gas being measured and producing an electrical signal proportional to the gas concentration. A typical electrochemical sensor consists of a sensing (or working) electrode and a counter electrode, separated by a thin electrolyte layer. A current proportional to the concentration of the gas to be measured flows between the positive and negative electrodes through a resistor connected between the electrodes. The gas concentration can be determined by measuring the current.
Conventionally, the final measurement result is usually obtained directly from the output result of the electrochemical sensor, however, the electrochemical sensor is very sensitive to temperature and humidity, which affect the accuracy of the final measurement result.
Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus, a device, a computer device and a storage medium for compensating the measurement result of an electrochemical sensor, which can improve the accuracy of the final measurement result.
A method of compensating for electrochemical sensor measurements, the method comprising:
acquiring a current temperature value and a current humidity value of an environment where the electrochemical sensor is located, and acquiring a current actual measurement value of the electrochemical sensor;
determining a first measurement result compensation value according to the current temperature value, and determining a second measurement result compensation value according to the current humidity value;
determining a final measurement of the electrochemical sensor based on the first measurement compensation value, the second measurement compensation value, and the current actual measurement value.
In one embodiment, the determining a first measurement result compensation value according to the current temperature value and a second measurement result compensation value according to the current humidity value includes:
acquiring a temperature compensation function and a humidity compensation function;
determining the first measurement result compensation value according to the temperature compensation function and the current temperature value, or determining the first measurement result compensation value according to the temperature compensation function, the current temperature value and the current actual measurement value;
and determining the second measurement result compensation value according to the humidity compensation function and the current humidity value.
In one embodiment, the determining the first measurement result compensation value according to the temperature compensation function, the current actual measurement value and the current temperature value includes:
according to Cs1=k1T+c1Determining a compensation value, C, for said first measurements1Representing a first measurement compensation value, T representing said current temperature value, k1And c1Is a preset constant.
In one embodiment, the determining the first measurement result compensation value according to the temperature compensation function, the current temperature value and the current actual measurement value includes:
according to Cs1=k2*T*V+c2Determining a compensation value, C, for said first measurements1Represents a first measurement result compensation value, T represents the current temperature value, V represents the current actual measurement value, k2And c2Is a preset constant.
In one embodiment, the determining the second measurement result compensation value according to the humidity compensation function and the current humidity value includes:
according to Cs2=a*H2+ b × H + C determines the second measurement compensation value, Cs2Represents a second measurement result compensation value, H represents the current humidity value, and a, b, and c are preset constants.
In one embodiment, the determining the final measurement result of the electrochemical sensor according to the first measurement result compensation value, the second measurement result compensation value and the current actual measurement value includes:
according to P ═ Cs1+Cs2+ v (v) determining a final measurement of the electrochemical sensor, wherein v (v) k v + f (v),
Figure BDA0001714493670000031
Cs1representing the compensation value, C, of the first measurements2And expressing a second measurement result compensation value, v expressing the current actual measurement value, sigma expressing a standard deviation, pi expressing a circumferential rate, k being a preset constant, and P expressing the final measurement result.
An apparatus for compensating measurement results of an electrochemical sensor, the apparatus comprising:
the data acquisition module is used for acquiring the current temperature value and the current humidity value of the environment where the electrochemical sensor is located and acquiring the current actual measurement value of the electrochemical sensor;
the compensation value acquisition module is used for determining a first measurement result compensation value according to the current temperature value and determining a second measurement result compensation value according to the current humidity value;
and the compensation module is used for determining a final measurement result of the electrochemical sensor according to the first measurement result compensation value, the second measurement result compensation value and the current actual measurement value.
An apparatus for compensating for electrochemical sensor measurements, said apparatus comprising temperature detection means, humidity detection means and processing means;
the temperature detection device is used for detecting the temperature value of the environment where the electrochemical sensor is located, and the humidity detection device is used for detecting the humidity value of the environment where the electrochemical sensor is located;
the processor is used for acquiring a current temperature value detected by the temperature detection device and a current humidity value detected by the humidity detection device, acquiring a current actual measurement value of the electrochemical sensor, determining a first measurement result compensation value according to the current temperature value, determining a second measurement result compensation value according to the current humidity value, and determining a final measurement result of the electrochemical sensor according to the first measurement result compensation value, the second measurement result compensation value and the current actual measurement value.
An apparatus for compensating for electrochemical sensor measurements, the apparatus comprising:
the data acquisition module is used for acquiring the current temperature value and the current humidity value of the environment where the electrochemical sensor is located and acquiring the current actual measurement value of the electrochemical sensor;
the compensation value acquisition module is used for determining a first measurement result compensation value according to the current temperature value and determining a second measurement result compensation value according to the current humidity value;
and the compensation module is used for determining a final measurement result of the electrochemical sensor according to the first measurement result compensation value, the second measurement result compensation value and the current actual measurement value.
An apparatus for compensating for electrochemical sensor measurements, said apparatus comprising temperature detection means, humidity detection means and processing means;
the temperature detection device is used for detecting the temperature value of the environment where the electrochemical sensor is located, and the humidity detection device is used for detecting the humidity value of the environment where the electrochemical sensor is located;
the processor is used for acquiring a current temperature value detected by the temperature detection device and a current humidity value detected by the humidity detection device, acquiring a current actual measurement value of the electrochemical sensor, determining a first measurement result compensation value according to the current temperature value, determining a second measurement result compensation value according to the current humidity value, and determining a final measurement result of the electrochemical sensor according to the first measurement result compensation value, the second measurement result compensation value and the current actual measurement value.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
acquiring a current temperature value and a current humidity value of an environment where the electrochemical sensor is located, and acquiring a current actual measurement value of the electrochemical sensor;
determining a first measurement result compensation value according to the current temperature value, and determining a second measurement result compensation value according to the current humidity value;
determining a final measurement of the electrochemical sensor based on the first measurement compensation value, the second measurement compensation value, and the current actual measurement value.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring a current temperature value and a current humidity value of an environment where the electrochemical sensor is located, and acquiring a current actual measurement value of the electrochemical sensor;
determining a first measurement result compensation value according to the current temperature value, and determining a second measurement result compensation value according to the current humidity value;
determining a final measurement of the electrochemical sensor based on the first measurement compensation value, the second measurement compensation value, and the current actual measurement value.
The method, the device, the computer equipment and the storage medium for compensating the measurement result of the electrochemical sensor acquire a current temperature value and a current humidity value of the environment where the electrochemical sensor is located, acquire a current actual measurement value of the electrochemical sensor, determine a first measurement result compensation value according to the current temperature value, determine a second measurement result compensation value according to the current humidity value, and determine a final measurement result of the electrochemical sensor according to the first measurement result compensation value, the second measurement result compensation value and the current actual measurement value; in the scheme, the current actual measurement value is compensated according to the temperature and the humidity of the environment, and the accuracy of the final measurement result can be improved.
Drawings
FIG. 1 is a diagram of an exemplary embodiment of a method for compensating measurements taken by an electrochemical sensor;
FIG. 2 is a schematic flow chart illustrating a method for compensating measurement results of an electrochemical sensor according to one embodiment;
FIG. 3 is a schematic flow chart illustrating a method for compensating measurement results of an electrochemical sensor according to another embodiment;
FIG. 4 is a graph of electrochemical sensor measurements versus temperature in one embodiment;
FIG. 5 is a graph of electrochemical sensor measurements versus temperature for different gas concentrations in one embodiment;
FIG. 6 is a graph of electrochemical sensor measurements versus humidity for one embodiment;
FIGS. 7 to 9 show the original data and the compensated data of temperature and humidity under different temperature and humidity fluctuations and at different gas concentrations;
FIG. 10 is a block diagram showing a structure of a device for compensating the measurement result of the electrochemical sensor according to one embodiment;
FIG. 11 is a block diagram showing a structure of an apparatus for compensating measurement results of an electrochemical sensor according to an embodiment;
FIG. 12 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method for compensating the measurement result of the electrochemical sensor can be applied to the application environment shown in fig. 1. The electrochemical sensor 101, the temperature detection device 102 and the humidity detection device 103 are disposed in an environment, the temperature detection device 102 and the humidity detection device 103 are used for detecting the temperature and the humidity of the electrochemical sensor 101, the computer device 104 obtains output data of the electrochemical sensor 101, the temperature detection device 102 and the humidity detection device 103, and compensates the output data of the electrochemical sensor 101 according to the output data of the temperature detection device 102 and the humidity detection device 103 to obtain a final measurement result of the electrochemical sensor 101. The computer device 104 may be a terminal, and the terminal may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The temperature detecting means 102 may be a temperature sensor and the humidity detecting means 103 may be a humidity sensor.
In one embodiment, as shown in fig. 2, a method for compensating measurement results of an electrochemical sensor is provided, which is illustrated by applying the method to the computer device in fig. 1, and comprises the following steps:
step S201: acquiring a current temperature value and a current humidity value of an environment where an electrochemical sensor is located, and acquiring a current actual measurement value of the electrochemical sensor;
specifically, preset output data of the temperature acquisition device and preset output data of the humidity acquisition device can be acquired, and the current temperature value and the current humidity value of the environment where the electrochemical sensor is located are acquired according to the output data of the temperature acquisition device and the output data of the humidity acquisition device. And acquiring output data of the electrochemical sensor, and acquiring the current actual measurement value according to the output data of the electrochemical sensor. Here, the current actual measurement value is the original measurement value before the compensation.
Step S202: determining a first measurement result compensation value according to the current temperature value, and determining a second measurement result compensation value according to the current humidity value;
the first measurement result compensation value is determined according to the current temperature value, and the second measurement result compensation value is determined according to the current humidity value in any realizable mode;
step S203: determining a final measurement of the electrochemical sensor based on the first measurement compensation value, the second measurement compensation value, and the current actual measurement value;
here, the final measurement result is a compensated measurement value.
Specifically, the first measurement result compensation value, the second measurement result compensation value, and the current actual measurement value may be directly summed or weighted-summed, and the result of the direct summation or weighted-summation may be taken as the final measurement result.
In the method for compensating the measurement result of the electrochemical sensor, a current temperature value and a current humidity value of an environment where the electrochemical sensor is located are obtained, a current actual measurement value of the electrochemical sensor is obtained, a first measurement result compensation value is determined according to the current temperature value, a second measurement result compensation value is determined according to the current humidity value, and a final measurement result of the electrochemical sensor is determined according to the first measurement result compensation value, the second measurement result compensation value and the current actual measurement value; in the scheme, the current actual measurement value is compensated according to the temperature and the humidity of the environment, and the accuracy of the final measurement result can be improved.
In one embodiment, as shown in fig. 3, the determining a first measurement result compensation value according to the current temperature value and a second measurement result compensation value according to the current humidity value may include:
step S301: acquiring a temperature compensation function and a humidity compensation function;
here, the temperature compensation function representing a mapping relationship of a temperature-related compensation value of the measurement result of the electrochemical sensor with the temperature value and the humidity compensation function representing a mapping relationship of a humidity-related compensation value of the measurement result of the electrochemical sensor with the humidity value may be preset.
Step S302: determining the first measurement result compensation value according to the temperature compensation function and the current temperature value, or determining the first measurement result compensation value according to the temperature compensation function, the current temperature value and the current actual measurement value;
step S303: and determining the second measurement result compensation value according to the humidity compensation function and the current humidity value.
In this embodiment, the first measurement result compensation value and the second measurement result compensation value are determined according to the temperature compensation function and the humidity compensation function, and the scheme is simple and easy to implement.
Regarding electrochemical sensor measurements versus temperature: in a closed environment, the gas state inside can be considered to be stable. Data from 0 in the morning until 11 in the next morning. It can be seen that the measurement results are linear with the temperature trend, and continuously decrease. In fig. 4, the abscissa represents time, and the ordinate represents temperature and raw data of the electrochemical sensor, as shown in fig. 4, when the temperature reaches the lowest point, the measured value is at the lowest point and changes with the temperature, and when the temperature is in a certain interval and does not change, the measured result is maintained in a stable state.
To this end, in one embodiment, the temperature compensation function may be Cs1(t)=k1*t+c1Wherein t represents a temperature value, Cs1(t) a temperature-dependent compensation value, k, representing the measurement of the electrochemical sensor1And c1Is a preset constant. In general, k1And c1Related to the sensitivity of the electrochemical sensor.
The measurement results versus temperature for different concentrations; the temperature value is changed, and the measurement result data of the electrochemical sensor under different gas concentrations are measured, so that the measurement results have common characteristics and are in a linear relation with the temperature. As shown in fig. 5, the abscissa is temperature and the ordinate is raw data at different gas concentrations.
Preferably, the temperature compensation function is C when concentration is considereds1(t,v)=k2*t*v+c2Wherein t represents a temperature value, Cs1(t) a temperature-dependent compensation value, k, representing the measurement of the electrochemical sensor2And c2Is a preset constant.
By adopting the scheme of the embodiment, the accuracy of the final measurement result can be further improved.
Based on the above analysis, in one embodiment, the above determining the first measurement result compensation value according to the temperature compensation function, the current actual measurement value and the current temperature value may include:
according to Cs1=k1T+c1Determining a compensation value, C, for said first measurements1Representing a first measurement compensation value, T representing said current temperature value, k1And c1Is a preset constant. I.e. substituting T into Cs1(t)=k1*t+c1And obtaining a function value which is the compensation value of the first measurement result.
Based on the above analysis, in one embodiment, the above determining the first measurement result compensation value according to the temperature compensation function, the current temperature value and the current actual measurement value may include:
according to Cs1=k2*T*V+c2Determining a compensation value, C, for said first measurements1Represents a first measurement result compensation value, T represents the current temperature value, V represents the current actual measurement value, k2And c2Is a preset constant. I.e. substituting T ═ T, V ═ V into Cs1(t,v)=k2*t*v+c2And obtaining a function value which is the compensation value of the first measurement result.
Regarding electrochemical sensor measurements versus humidity: when the electrochemical sensor is in a closed environment, the temperature of the closed environment is controlled and the environment humidity is adjusted through constant temperature control, and the original measurement data of the electrochemical sensor also changes correspondingly. The electrochemical sensor reactions are all in solution, and when the ambient humidity changes, the actual measurement result data is affected, as shown in fig. 6. By fitting the data in fig. 6, the mapping relationship between the humidity-related compensation value and the humidity value of the measurement result of the electrochemical sensor can be approximated as a quadratic function relationship.
To this end, in one embodiment, the humidity compensation function may be: cs2(h)=a*h2+ b + h + C, where h represents the humidity value, Cs2(h) A humidity-dependent compensation value representing the measurement of the electrochemical sensor, a, b and c being predetermined constants, and the specific value may beSetting according to actual conditions. In general, a, b, and c are related to the sensitivity of the electrochemical sensor.
In one embodiment, the determining the second measurement result compensation value according to the humidity compensation function and the current humidity value may include: according to Cs2=a*H2+ b × H + C determines the second measurement compensation value, Cs2Represents a second measurement result compensation value, H represents the current humidity value, and a, b, and c are preset constants. I.e. substituting H into Cs2(h)=a*h2And + b + h + c, and obtaining a function value which is the compensation value of the second measurement result.
Measurement errors may occur in view of the multiple measurements taken by the sensor. The reasons for measurement errors are: instrument calibration, errors between sensors, gas flow rates, contaminant gases, etc. Are all accidental errors. Occasional errors are symmetrical and compensatory. That is, the positive and negative errors with equal absolute values have equal probability; under the same conditions, the arithmetic mean of the occasional errors tends to be 0 as the number increases, for the same quantity of repeated measurements.
According to the statistical theory, v (x) k x + f (x) is the measurement result, v is the actual measurement value, f (x) is the accidental error compensation value, and k is the preset constant. Wherein the content of the first and second substances,
Figure BDA0001714493670000101
to this end, in one embodiment, the determining the final measurement result of the electrochemical sensor according to the first measurement result compensation value, the second measurement result compensation value and the current actual measurement value may include:
according to P ═ Cs1+Cs2+ v (v) determining a final measurement of the electrochemical sensor, wherein v (v) k v + f (v),
Figure BDA0001714493670000111
Cs1representing the compensation value, C, of the first measurements2Represents a second measurement result compensation value, v represents the current actual measurement value, and σ represents a standardThe difference, pi, represents the circumferential ratio, k is a predetermined constant, and P represents the final measurement result.
Specifically, P (t, V, H) may be substituted with t-T, V-V and H-Hs1(t,v)+Cs2(h) + V (v), obtaining a function value as the final measurement result, wherein Cs1(t,v)=k2*t*v+c2,Cs2(h)=a*h2+b*h+c。
It should be understood that although the steps in the flowcharts of fig. 2 and 3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2 and 3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
The scheme of the invention is applied to the actual measurement of the unit, and the measurement results are shown in figures 7-9. Fig. 7 shows raw data and temperature-humidity compensated data of a gas concentration at 110ppb (a unit symbol indicating a volume concentration) under different temperature and humidity fluctuations. Fig. 8 shows raw data and temperature and humidity compensated data for different temperature and humidity fluctuations at a gas concentration of 250 ppb. Fig. 9 shows raw data and temperature and humidity compensated data for gas concentrations at 400ppb under different temperature and humidity fluctuations.
Experiments prove that: the scheme in the embodiment is suitable for the compensation algorithm of the electrochemical sensor under different temperature and humidity and different measurement concentrations.
In one embodiment, as shown in fig. 10, there is provided an apparatus for compensating measurement results of an electrochemical sensor, comprising: a data acquisition module 1001, a compensation value acquisition module 1002, and a compensation module 1003, wherein:
a data obtaining module 1001, configured to obtain a current temperature value and a current humidity value of an environment where the electrochemical sensor is located, and obtain a current actual measurement value of the electrochemical sensor;
a compensation value obtaining module 1002, configured to determine a first measurement result compensation value according to the current temperature value, and determine a second measurement result compensation value according to the current humidity value;
a compensation module 1003, configured to determine a final measurement result of the electrochemical sensor according to the first measurement result compensation value, the second measurement result compensation value, and the current actual measurement value.
In one embodiment, the compensation value obtaining module 1002 may obtain a temperature compensation function and a humidity compensation function, determine the first measurement result compensation value according to the temperature compensation function and the current temperature value, or determine the first measurement result compensation value according to the temperature compensation function, the current temperature value and the current actual measurement value, and determine the second measurement result compensation value according to the humidity compensation function and the current humidity value.
In one embodiment, the compensation value obtaining module 1002 may obtain the compensation value according to Cs1=k1T+c1Determining a compensation value, C, for said first measurements1Representing a first measurement compensation value, T representing said current temperature value, k1And c1Is a preset constant.
In one embodiment, the compensation value obtaining module 1002 may obtain the compensation value according to Cs1=k2*T*V+c2Determining a compensation value, C, for said first measurements1Represents a first measurement result compensation value, T represents the current temperature value, V represents the current actual measurement value, k2And c2Is a preset constant.
In one embodiment, the compensation value obtaining module 1002 may obtain the compensation value according to Cs2=a*H2+ b × H + C determines the second measurement compensation value, Cs2Represents a second measurement result compensation value, H represents the current humidity value, a, b and c are preset constants。
In one embodiment, the compensation module 1003 may be based on P ═ Cs1+Cs2+ v (v) determining a final measurement of the electrochemical sensor, wherein v (v) k v + f (v),
Figure BDA0001714493670000121
Cs1representing the compensation value, C, of the first measurements2And expressing a second measurement result compensation value, v expressing the current actual measurement value, sigma expressing a standard deviation, pi expressing a circumferential rate, k being a preset constant, and P expressing the final measurement result.
Specific definitions of the means for compensating the electrochemical sensor measurement result can be found in the above definitions of the method for compensating the electrochemical sensor measurement result, which are not described herein again. The modules in the device for compensating the measurement result of the electrochemical sensor can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, as shown in fig. 11, there is provided an apparatus for compensating measurement results of an electrochemical sensor, comprising: a temperature detection device 1101, a humidity detection device 1102, and a processing device 1103;
the temperature detection device 1101 is used for detecting a temperature value of an environment where the electrochemical sensor is located, and the humidity detection device 1102 is used for detecting a humidity value of the environment where the electrochemical sensor is located;
the processing device 1103 obtains a current temperature value detected by the temperature detecting device 1101 and a current humidity value detected by the processing device 1103, obtains a current actual measurement value of the electrochemical sensor, determines a first measurement result compensation value according to the current temperature value, determines a second measurement result compensation value according to the current humidity value, and determines a final measurement result of the electrochemical sensor according to the first measurement result compensation value, the second measurement result compensation value and the current actual measurement value.
In one embodiment, the processing device 1103 may obtain a temperature compensation function and a humidity compensation function, and determine the first measurement result compensation value according to the temperature compensation function and the current temperature value, or determine the first measurement result compensation value according to the temperature compensation function, the current temperature value and the current actual measurement value, and determine the second measurement result compensation value according to the humidity compensation function and the current humidity value.
In one embodiment, the processing device 1103 may be according to Cs1=k1T+c1Determining a compensation value, C, for said first measurements1Representing a first measurement compensation value, T representing said current temperature value, k1And c1Is a preset constant.
In one embodiment, the processing device 1103 may be according to Cs1=k2*T*V+c2Determining a compensation value, C, for said first measurements1Represents a first measurement result compensation value, T represents the current temperature value, V represents the current actual measurement value, k2And c2Is a preset constant.
In one embodiment, the processing device 1103 may be according to Cs2=a*H2+ b × H + C determines the second measurement compensation value, Cs2Represents a second measurement result compensation value, H represents the current humidity value, and a, b, and c are preset constants.
In one embodiment, the processing device 1103 may be configured according to P ═ Cs1+Cs2+ v (v) determining a final measurement of the electrochemical sensor, wherein v (v) k v + f (v),
Figure BDA0001714493670000141
Cs1representing the compensation value, C, of the first measurements2And expressing a second measurement result compensation value, v expressing the current actual measurement value, sigma expressing a standard deviation, pi expressing a circumferential rate, k being a preset constant, and P expressing the final measurement result.
Specific definitions of the device for compensating electrochemical sensor measurements can be found in the above definitions of the method for compensating electrochemical sensor measurements, which are not described herein again. The respective means in the above-described apparatus for compensating for electrochemical sensor measurements may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, the internal structure of which may be as shown in FIG. 12. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of compensating for electrochemical sensor measurements. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
acquiring a current temperature value and a current humidity value of an environment where the electrochemical sensor is located, and acquiring a current actual measurement value of the electrochemical sensor;
determining a first measurement result compensation value according to the current temperature value, and determining a second measurement result compensation value according to the current humidity value;
determining a final measurement of the electrochemical sensor based on the first measurement compensation value, the second measurement compensation value, and the current actual measurement value.
In one embodiment, the processor executes a computer program to implement the steps of determining a first measurement result compensation value according to the current temperature value and determining a second measurement result compensation value according to the current humidity value, and specifically implements the steps of:
acquiring a temperature compensation function and a humidity compensation function;
determining the first measurement result compensation value according to the temperature compensation function and the current temperature value, or determining the first measurement result compensation value according to the temperature compensation function, the current temperature value and the current actual measurement value;
and determining the second measurement result compensation value according to the humidity compensation function and the current humidity value.
In one embodiment, when the processor executes the computer program to implement the step of determining the first measurement result compensation value according to the temperature compensation function, the current actual measurement value and the current temperature value, the following steps are specifically implemented:
according to Cs1=k1T+c1Determining a compensation value, C, for said first measurements1Representing a first measurement compensation value, T representing said current temperature value, k1And c1Is a preset constant.
In one embodiment, when the processor executes the computer program to implement the step of determining the first measurement result compensation value according to the temperature compensation function, the current temperature value and the current actual measurement value, the following steps are specifically implemented:
according to Cs1=k2*T*V+c2Determining a compensation value, C, for said first measurements1Represents a first measurement result compensation value, T represents the current temperature value, V represents the current actual measurement value, k2And c2Is a preset constant.
In one embodiment, when the processor executes the computer program to implement the step of determining the second measurement result compensation value according to the humidity compensation function and the current humidity value, the following steps are specifically implemented:
according to Cs2=a*H2+ b × H + C determines the second measurement compensation value, Cs2Represents a second measurement result compensation value, H represents the current humidity value, and a, b, and c are preset constants.
In one embodiment, the processor executing the computer program when performing the step of determining the final measurement of the electrochemical sensor based on the first measurement compensation value, the second measurement compensation value and the current actual measurement value specifically performs the following steps:
according to P ═ Cs1+Cs2+ v (v) determining a final measurement of the electrochemical sensor, wherein v (v) k v + f (v),
Figure BDA0001714493670000171
Cs1representing the compensation value, C, of the first measurements2And expressing a second measurement result compensation value, v expressing the current actual measurement value, sigma expressing a standard deviation, pi expressing a circumferential rate, k being a preset constant, and P expressing the final measurement result.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring a current temperature value and a current humidity value of an environment where the electrochemical sensor is located, and acquiring a current actual measurement value of the electrochemical sensor;
determining a first measurement result compensation value according to the current temperature value, and determining a second measurement result compensation value according to the current humidity value;
determining a final measurement of the electrochemical sensor based on the first measurement compensation value, the second measurement compensation value, and the current actual measurement value.
In one embodiment, the processor executes a computer program to implement the steps of determining a first measurement result compensation value according to the current temperature value and determining a second measurement result compensation value according to the current humidity value, and specifically implements the steps of:
acquiring a temperature compensation function and a humidity compensation function;
determining the first measurement result compensation value according to the temperature compensation function and the current temperature value, or determining the first measurement result compensation value according to the temperature compensation function, the current temperature value and the current actual measurement value;
and determining the second measurement result compensation value according to the humidity compensation function and the current humidity value.
In an embodiment, the computer program when being executed by the processor for performing the step of determining the first measurement result compensation value based on the temperature compensation function, the current actual measurement value and the current temperature value, specifically performs the steps of:
according to Cs1=k1T+c1Determining a compensation value, C, for said first measurements1Representing a first measurement compensation value, T representing said current temperature value, k1And c1Is a preset constant.
In an embodiment, when the computer program is executed by the processor to implement the step of determining the first measurement result compensation value according to the temperature compensation function, the current temperature value and the current actual measurement value, the following steps are specifically implemented:
according to Cs1=k2*T*V+c2Determining a compensation value, C, for said first measurements1Represents a first measurement result compensation value, T represents the current temperature value, V represents the current actual measurement value, k2And c2Is a preset constant.
In one embodiment, the computer program when being executed by the processor for performing the step of determining the second measurement result compensation value based on the humidity compensation function and the current humidity value, specifically performs the steps of:
according to Cs2=a*H2+ b × H + C determines the second measurement compensation value, Cs2Represents a second measurement result compensation value, H represents the current humidity value, and a, b, and c are preset constants.
In one embodiment, the computer program when executed by the processor for performing the step of determining the final measurement of the electrochemical sensor based on the first measurement compensation value, the second measurement compensation value and the current actual measurement value, specifically performs the steps of:
according to P ═ Cs1+Cs2+ v (v) determining a final measurement of the electrochemical sensor, wherein v (v) k v + f (v),
Figure BDA0001714493670000181
Cs1representing the compensation value, C, of the first measurements2And expressing a second measurement result compensation value, v expressing the current actual measurement value, sigma expressing a standard deviation, pi expressing a circumferential rate, k being a preset constant, and P expressing the final measurement result.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of compensating measurements of an electrochemical sensor, the method comprising:
acquiring a current temperature value and a current humidity value of an environment where the electrochemical sensor is located, and acquiring a current actual measurement value of the electrochemical sensor;
determining a first measurement result compensation value according to the current temperature value, and determining a second measurement result compensation value according to the current humidity value;
compensating for the value according to the first measurement result, the second measurement result and the currentDetermining a final measurement of the electrochemical sensor from the measurements determined from the actual measurement and the occasional error compensation; wherein v (v) is an actual measurement value, f (v) is an accidental error compensation value, k is a preset constant,
Figure FDA0002997728470000011
σ denotes a standard deviation, and π denotes a circumferential ratio.
2. The method of claim 1, wherein determining a first measurement compensation value based on the current temperature value and a second measurement compensation value based on the current humidity value comprises:
acquiring a temperature compensation function and a humidity compensation function;
determining the first measurement result compensation value according to the temperature compensation function and the current temperature value, or determining the first measurement result compensation value according to the temperature compensation function, the current temperature value and the current actual measurement value;
and determining the second measurement result compensation value according to the humidity compensation function and the current humidity value.
3. The method of compensating electrochemical sensor measurements of claim 2, wherein said determining said first measurement compensation value based on said temperature compensation function, said current actual measurement value, and said current temperature value comprises:
according to Cs1=k1T+c1Determining a compensation value, C, for said first measurements1Representing a first measurement compensation value, T representing said current temperature value, k1And c1Is a preset constant.
4. The method of compensating electrochemical sensor measurements of claim 2, wherein said determining said first measurement compensation value based on said temperature compensation function, said current temperature value, and said current actual measurement value comprises:
according to Cs1=k2*T*V+c2Determining a compensation value, C, for said first measurements1Represents a first measurement result compensation value, T represents the current temperature value, V represents the current actual measurement value, k2And c2Is a preset constant.
5. The method of compensating electrochemical sensor measurements of any one of claims 2 to 4, wherein said determining said second measurement compensation value based on said humidity compensation function and said current humidity value comprises:
according to Cs2=a*H2+ b × H + C determines the second measurement compensation value, Cs2Represents a second measurement result compensation value, H represents the current humidity value, and a, b, and c are preset constants.
6. The method of compensating electrochemical sensor measurements of claim 5, wherein said determining a final measurement of said electrochemical sensor based on said first measurement compensation value, said second measurement compensation value, and said current actual measurement value comprises:
according to P ═ Cs1+Cs2+ V (v) determining the final measurement of the electrochemical sensor, wherein Cs1Representing the compensation value, C, of the first measurements2Represents the second measurement compensation value and P represents the final measurement.
7. An apparatus for compensating measurement results of an electrochemical sensor, the apparatus comprising:
the data acquisition module is used for acquiring the current temperature value and the current humidity value of the environment where the electrochemical sensor is located and acquiring the current actual measurement value of the electrochemical sensor;
the compensation value acquisition module is used for determining a first measurement result compensation value according to the current temperature value and determining a second measurement result compensation value according to the current humidity value;
a compensation module for determining a final measurement of the electrochemical sensor based on the first measurement compensation value, the second measurement compensation value, and a measurement determined from the current actual measurement and the incidental error compensation value; wherein v (v) is an actual measurement value, f (v) is an accidental error compensation value, k is a preset constant,
Figure FDA0002997728470000031
σ denotes a standard deviation, and π denotes a circumferential ratio.
8. An apparatus for compensating measurement results of an electrochemical sensor, the apparatus comprising a temperature detection device, a humidity detection device and a processing device;
the temperature detection device is used for detecting the temperature value of the environment where the electrochemical sensor is located, and the humidity detection device is used for detecting the humidity value of the environment where the electrochemical sensor is located;
the processing device is used for acquiring a current temperature value detected by the temperature detection device and a current humidity value detected by the humidity detection device, acquiring a current actual measurement value of the electrochemical sensor, determining a first measurement result compensation value according to the current temperature value, determining a second measurement result compensation value according to the current humidity value, and determining a final measurement result of the electrochemical sensor according to the first measurement result compensation value, the second measurement result compensation value and a measurement result determined by the current actual measurement value and an accidental error compensation value; wherein v (v) is an actual measurement value, f (v) is an accidental error compensation value, k is a preset constant,
Figure FDA0002997728470000032
σ denotes a standard deviation, and π denotes a circumferential ratio.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 6 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201810699814.7A 2018-06-29 2018-06-29 Method, device and equipment for compensating measurement result of electrochemical sensor Active CN109060899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810699814.7A CN109060899B (en) 2018-06-29 2018-06-29 Method, device and equipment for compensating measurement result of electrochemical sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810699814.7A CN109060899B (en) 2018-06-29 2018-06-29 Method, device and equipment for compensating measurement result of electrochemical sensor

Publications (2)

Publication Number Publication Date
CN109060899A CN109060899A (en) 2018-12-21
CN109060899B true CN109060899B (en) 2021-04-30

Family

ID=64818552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810699814.7A Active CN109060899B (en) 2018-06-29 2018-06-29 Method, device and equipment for compensating measurement result of electrochemical sensor

Country Status (1)

Country Link
CN (1) CN109060899B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109655518A (en) * 2019-02-25 2019-04-19 珠海格力电器股份有限公司 A kind of formaldehyde electrochemical sensing detection device, calibration method and clarifier
CN110320328A (en) * 2019-06-21 2019-10-11 珠海格力电器股份有限公司 A kind of concentration of formaldehyde detection method, device and air purifier
CN113138174A (en) * 2020-01-19 2021-07-20 广东奥迪威传感科技股份有限公司 Temperature compensation device and method
CN113866241A (en) * 2020-04-13 2021-12-31 欧阳彬 Apparatus and method for monitoring gas concentration and sensor
CN111998235B (en) * 2020-08-12 2022-08-30 深圳市祥为测控技术有限公司 Temperature compensation method and device for leakage positioning and computer storage medium
CN112462005B (en) * 2020-11-26 2021-07-06 深圳市安室智能有限公司 Temperature compensation method and related product
CN112986365B (en) * 2021-02-19 2023-10-13 三诺生物传感股份有限公司 Electrochemical measurement correction method and system
CN114216938B (en) * 2022-02-23 2022-06-24 浙江正泰仪器仪表有限责任公司 Gas concentration detection compensation method and device
CN116879506A (en) * 2023-07-14 2023-10-13 中国人民解放军海军特色医学中心 Harmful gas concentration compensation simulation system and concentration compensation method thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4184007B2 (en) * 2002-08-30 2008-11-19 小糸工業株式会社 Gas sensor characteristic compensation device and gas concentration measurement device
EP2336762B1 (en) * 2009-12-14 2017-10-18 Siemens Aktiengesellschaft Carbon dioxide sensor and method for generating measured gas values
CN102331266A (en) * 2011-06-13 2012-01-25 无锡格林通安全装备有限公司 Multi-parameter gas sensor compensating method
DE102011077559A1 (en) * 2011-06-15 2012-12-20 Siemens Ag Carbon dioxide sensor and associated method for generating a gas reading
US10520481B2 (en) * 2013-05-29 2019-12-31 Rosemount Inc. Hydrogen sulfide gas detector with humidity and temperature compensation

Also Published As

Publication number Publication date
CN109060899A (en) 2018-12-21

Similar Documents

Publication Publication Date Title
CN109060899B (en) Method, device and equipment for compensating measurement result of electrochemical sensor
CN110573869B (en) System and method for evaluating toxic gas sensors using electrochemical impedance spectroscopy
US9213016B1 (en) Automated self-compensation apparatus and methods for providing electrochemical sensors
US9964509B2 (en) Drift compensated ion sensor
CN112119300B (en) PH measurement of water samples
US11680933B2 (en) Determination of sensor operational status via sensor interrogation
US11175281B2 (en) Well plate cover with embedded electronic sensors for monitoring cell metabolism
Sinha et al. Modeling and simulation of temporal and temperature drift for the development of an accurate ISFET SPICE macromodel
JP2022536720A (en) Querying Capillary Limited Sensors
CN107607143B (en) Method for correcting baseline drift of sensor and detection equipment
Bastuck et al. A new approach to self-monitoring of amperometric oxygen sensors
Abu Samah et al. H+-ion-sensitive FET macromodel in LTSPICE IV
US20230010457A1 (en) Method and device for operating a gas sensor
EP4121758B1 (en) Information processor for diagnosing the state of a humidity sensor
CN114638094A (en) Kiln operation state determination method and device and computer equipment
US9915629B2 (en) Method for identifying pH, device for same, and method for identifying ion concentration
US20120000796A1 (en) Measurement Device and Method Utilizing the Same
WO2024126008A1 (en) Interrogation and output correction of capillary-limited oxygen sensors
CN112540112B (en) Sensor calibration method, device, equipment and storage medium
EP4067899A1 (en) Maintenance method for zirconia-type oxygen analyzer, maintenance system, and zirconia-type oxygen analyzer
Cięszczyk Sensors signal processing under influence of environmental disturbances
RU2244917C1 (en) Method and device for measuring activity of ions in solutions
US20240219344A1 (en) System and method for self-calibrating of ion selective electrodes based on differential voltage measurement
JPH05322843A (en) Electrolyte analyzer using ion electrode
Vorotnikov et al. Development of and Research on a Prototype Test Rig for Assessing the Quality of Electrical-Insulation Materials

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant