Search

CN-116609490-B - Calibration method, device, equipment and medium for oxygen sensor

CN116609490BCN 116609490 BCN116609490 BCN 116609490BCN-116609490-B

Abstract

The invention discloses a calibration method, device, equipment and medium of an oxygen sensor, which comprise the steps of ventilating an air channel where the oxygen sensor to be calibrated is located through an air source or a pure oxygen source, acquiring a first electric signal average value, a third electric signal average value, a second electric signal average value and a fourth electric signal average value, acquiring altitude by an altitude sensor, determining a first oxygen concentration value and a second oxygen concentration value according to the altitude, calculating a preset response function through a first set of calibration data and a second set of calibration data to obtain a target response function, respectively checking the target response function through the second electric signal average value and the fourth electric signal average value to obtain a first check result and a second check result, and determining that the calibration is successful when the check results respectively meet preset check conditions. According to the invention, by adding the altitude sensor, the influence of elevation rise on the calibration of the oxygen sensor is eliminated, and the accuracy of the calibration of the oxygen sensor is improved.

Inventors

  • CHEN HAO
  • LONG YING
  • ZHENG DEFEI
  • Huang Hankang

Assignees

  • 深圳市安保医疗科技股份有限公司

Dates

Publication Date
20260512
Application Date
20230612

Claims (9)

  1. 1. A method of calibrating an oxygen sensor, comprising: continuously ventilating the air passage where the oxygen sensor to be calibrated is located in a preset time period through an air source, and acquiring a first electric signal average value in a first time period and a second electric signal average value in a second time period; continuously ventilating the air passage where the oxygen sensor to be calibrated is located in a preset time period through a pure oxygen source, and acquiring a third electric signal average value in the first time period and a fourth electric signal average value in the second time period; Acquiring altitude through an altitude sensor, and determining a first oxygen concentration value corresponding to the air source and a second oxygen concentration value corresponding to the pure oxygen source according to the altitude; Acquiring a preset response function, and calculating the preset response function through a first group of calibration data of the first electric signal average value and the first oxygen concentration value and a second group of calibration data of the third electric signal average value and the second oxygen concentration value to obtain a target response function; Respectively checking the target response function through the second electric signal average value and the fourth electric signal average value to obtain a first checking result corresponding to the second electric signal average value and a second checking result corresponding to the fourth electric signal average value; And determining that the calibration of the oxygen sensor is successful when the first calibration result and the second calibration result respectively meet preset calibration conditions, wherein the preset calibration conditions comprise a first preset calibration condition and a second preset calibration condition, the first preset calibration condition refers to a first numerical range obtained according to the first oxygen concentration value and the preset error value, and the second preset calibration condition refers to a second numerical range obtained according to the second oxygen concentration value and the preset error value.
  2. 2. The method for calibrating an oxygen sensor according to claim 1, wherein the determining that the calibration of the oxygen sensor is successful when the first check result and the second check result respectively satisfy a preset check condition comprises: Judging whether the first checking result belongs to the first numerical range or not, and judging whether the second checking result belongs to the second numerical range or not at the same time; And when the first check result belongs to the first numerical range and the second check result belongs to the second numerical range, determining that the calibration of the oxygen sensor is successful.
  3. 3. The method for calibrating an oxygen sensor according to claim 2, wherein after said determining whether the first check result belongs to the first numerical range while determining whether the second check result belongs to the second numerical range, further comprising: and determining that the calibration of the oxygen sensor fails when the first check result does not belong to the first numerical range and/or the second check result does not belong to the second numerical range.
  4. 4. The method for calibrating an oxygen sensor according to claim 2, wherein said determining whether the first check result belongs to the first numerical range comprises: Judging whether the first check result is larger than or equal to a first check value or not, and judging whether the first check result is smaller than or equal to a second check value or not, wherein the first check value is the difference between the first oxygen concentration value and a preset error value, and the second check value is the sum of the first oxygen concentration value and the preset error value; when the first check result is larger than or equal to a first check value and the first check result is smaller than or equal to a second check value, confirming that the first check result belongs to the first numerical range; When the first check result is smaller than a first check value or the first check result is larger than the second check value, confirming that the first check result does not belong to the first numerical range; Said determining whether said second check result belongs to said second range of values comprises: Judging whether the second check result is larger than or equal to a third check value or not, and judging whether the second check result is smaller than or equal to a fourth check value or not, wherein the third check value is the difference between the second oxygen concentration value and the preset error value, and the fourth check value is the sum of the second oxygen concentration value and the preset error value; when the second check result is greater than or equal to a third check value and the second check result is less than or equal to a fourth check value, confirming that the second check result belongs to the second numerical range; And when the second check result is smaller than the third check value or the second check result is larger than the fourth check value, confirming that the second check result does not belong to the second numerical range.
  5. 5. The method for calibrating an oxygen sensor according to claim 1, wherein said determining a first oxygen concentration value corresponding to said air source based on said altitude comprises: Acquiring an oxygen concentration characteristic curve corresponding to the altitude; And inquiring a first oxygen concentration value corresponding to the altitude in the oxygen concentration characteristic curve.
  6. 6. An oxygen sensor calibration device, comprising: The air ventilation module is used for continuously ventilating the air channel where the oxygen sensor to be calibrated is located in a preset time period through an air source, acquiring an average value of electric signals in a first time period, and recording the average value of the electric signals as a first average value of the electric signals; The oxygen ventilation module is used for continuously ventilating the air passage where the oxygen sensor to be calibrated is located in a preset time period through a pure oxygen source, acquiring an average value of electric signals in a first time period, and recording the average value of the electric signals as a third average value of the electric signals; The altitude concentration module is used for acquiring altitude through an altitude sensor, determining a first oxygen concentration value corresponding to the air source and determining a second oxygen concentration value corresponding to the pure oxygen source according to the altitude; The target function module is used for acquiring a preset response function, and calculating the preset response function through a first group of calibration data of the first electric signal average value and the first oxygen concentration value and a second group of calibration data of the third electric signal average value and the second oxygen concentration value to acquire a target response function; the verification result module is used for verifying the target response function through the second electric signal average value and the fourth electric signal average value respectively to obtain a first verification result corresponding to the second electric signal average value and a second verification result corresponding to the fourth electric signal average value; And the calibration confirmation module is used for determining that the calibration of the oxygen sensor is successful when the first calibration result and the second calibration result respectively meet preset calibration conditions, wherein the preset calibration conditions comprise a first preset calibration condition and a second preset calibration condition, the first preset calibration condition refers to a first numerical range obtained according to the first oxygen concentration value and the preset error value, and the second preset calibration condition refers to a second numerical range obtained according to the second oxygen concentration value and the preset error value.
  7. 7. A controller for performing the method of calibrating an oxygen sensor according to any one of claims 1 to 5.
  8. 8. A ventilation device, which is characterized by comprising an altitude sensor, an oxygen supply air passage communicated with an oxygen source and the controller as claimed in claim 7, wherein the oxygen supply air passage is provided with the oxygen sensor, and the controller is in communication connection with the altitude sensor and the oxygen sensor.
  9. 9. A computer readable storage medium storing a computer program, characterized in that the computer program, when executed by a controller, implements the method of calibrating an oxygen sensor according to any of claims 1 to 6.

Description

Calibration method, device, equipment and medium for oxygen sensor Technical Field The present invention relates to the field of oxygen sensors, and in particular, to a method, an apparatus, a device, and a medium for calibrating an oxygen sensor. Background Medical ventilation systems such as ventilators and anesthesia machines typically include an oxygen sensor placed in the inspiratory limb to monitor the patient's inhaled oxygen concentration, and the output signal of the oxygen sensor may be classified into a digital output and an analog output. The digital output can directly output the detected oxygen concentration, the analog output sensor outputs an electric signal, the electric signal can linearly change along with the change of the oxygen concentration, only the electric signal can not directly and accurately read out the oxygen concentration value, and the electric signal is substituted into a formula to calculate, so that the oxygen concentration value corresponding to the electric signal can be obtained. The calculation formula of the linear change is y=k×x+c (Y is an oxygen concentration value, X is an electrical signal value, K is a proportionality coefficient, and C is a constant). Only two exact points need to be determined to derive the values of the scaling factor and constant. The oxygen sensor may drift during use, so recalibration of the ratio coefficients and constants is required before use. However, the oxygen sensor calibration currently on the market does not take into account the effect of elevation on the oxygen sensor calibration, resulting in lower accuracy of the oxygen sensor calibration at elevated elevations. Disclosure of Invention The invention provides a calibration method, device, equipment and medium of an oxygen sensor, which are used for solving the problem of influence of elevation rise on the calibration of the oxygen sensor in the prior art. A method of calibrating an oxygen sensor, comprising: continuously ventilating the air passage where the oxygen sensor to be calibrated is located in a preset time period through an air source, and acquiring a first electric signal average value in a first time period and a second electric signal average value in a second time period; continuously ventilating the air passage where the oxygen sensor to be calibrated is located in a preset time period through a pure oxygen source, and acquiring a third electric signal average value in the first time period and a fourth electric signal average value in the second time period; Acquiring altitude through an altitude sensor, and determining a first oxygen concentration value corresponding to the air source and a second oxygen concentration value corresponding to the pure oxygen source according to the altitude; Acquiring a preset response function, and calculating the preset response function through a first group of calibration data of the first electric signal average value and the first oxygen concentration value and a second group of calibration data of the third electric signal average value and the second oxygen concentration value to obtain a target response function; Respectively checking the target response function through the second electric signal average value and the fourth electric signal average value to obtain a first checking result corresponding to the second electric signal average value and a second checking result corresponding to the fourth electric signal average value; And when the first check result and the second check result respectively meet preset check conditions, determining that the calibration of the oxygen sensor is successful. A calibration device for an oxygen sensor, comprising: The air ventilation module is used for continuously ventilating the air channel where the oxygen sensor to be calibrated is located in a preset time period through an air source, acquiring an average value of electric signals in a first time period, and recording the average value of the electric signals as a first average value of the electric signals; The oxygen ventilation module is used for continuously ventilating the air passage where the oxygen sensor to be calibrated is located in a preset time period through a pure oxygen source, acquiring an average value of electric signals in a first time period, and recording the average value of the electric signals as a third average value of the electric signals; The altitude concentration module is used for acquiring altitude through an altitude sensor, determining a first oxygen concentration value corresponding to the air source and determining a second oxygen concentration value corresponding to the pure oxygen source according to the altitude; The target function module is used for acquiring a preset response function, and calculating the preset response function through a first group of calibration data of the first electric signal average value and the first oxygen concentration value and a second group of calibr