CN118044893A - Pressure value calibration method, pressure value calibration equipment and computer storage medium - Google Patents

Pressure value calibration method, pressure value calibration equipment and computer storage medium Download PDF

Info

Publication number
CN118044893A
CN118044893A CN202410193329.8A CN202410193329A CN118044893A CN 118044893 A CN118044893 A CN 118044893A CN 202410193329 A CN202410193329 A CN 202410193329A CN 118044893 A CN118044893 A CN 118044893A
Authority
CN
China
Prior art keywords
pressure value
value
pressure
calibration coefficient
preset
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.)
Pending
Application number
CN202410193329.8A
Other languages
Chinese (zh)
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.)
Hebei Deep Intelligent Medical Technology Co ltd
Original Assignee
Hebei Deep Intelligent 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 Hebei Deep Intelligent Medical Technology Co ltd filed Critical Hebei Deep Intelligent Medical Technology Co ltd
Priority to CN202410193329.8A priority Critical patent/CN118044893A/en
Publication of CN118044893A publication Critical patent/CN118044893A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B90/00Instruments, implements or accessories specially adapted for surgery or diagnosis and not covered by any of the groups A61B1/00 - A61B50/00, e.g. for luxation treatment or for protecting wound edges
    • A61B90/08Accessories or related features not otherwise provided for
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/03Detecting, measuring or recording fluid pressure within the body other than blood pressure, e.g. cerebral pressure; Measuring pressure in body tissues or organs
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/20Measuring for diagnostic purposes; Identification of persons for measuring urological functions restricted to the evaluation of the urinary system
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L27/00Testing or calibrating of apparatus for measuring fluid pressure
    • G01L27/002Calibrating, i.e. establishing true relation between transducer output value and value to be measured, zeroing, linearising or span error determination
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B90/00Instruments, implements or accessories specially adapted for surgery or diagnosis and not covered by any of the groups A61B1/00 - A61B50/00, e.g. for luxation treatment or for protecting wound edges
    • A61B90/08Accessories or related features not otherwise provided for
    • A61B2090/0804Counting number of instruments used; Instrument detectors

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Surgery (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Physics & Mathematics (AREA)
  • Pathology (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • General Health & Medical Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Biophysics (AREA)
  • General Physics & Mathematics (AREA)
  • Hematology (AREA)
  • Physiology (AREA)
  • Urology & Nephrology (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Measuring Fluid Pressure (AREA)

Abstract

A method, apparatus and computer storage medium for calibrating a pressure value, the method comprising: acquiring a pressure signal output by a pressure sensor; according to the pressure signal, obtaining a measured pressure value corresponding to the pressure signal; calibrating the measured pressure value according to a preset single-point calibration coefficient to obtain a first pressure value; determining a pressure value range within which the first pressure value falls, the pressure value range at least comprising a nonlinear range; when the first pressure value falls into a nonlinear range, obtaining a compensation value of the first pressure value according to a preset polynomial equation; obtaining a calibrated pressure value according to the compensation value and the first pressure value; the method calibrates the first pressure value falling in the nonlinear range, and effectively improves the identification accuracy of all pressure values in the whole range.

Description

Pressure value calibration method, pressure value calibration equipment and computer storage medium
Technical Field
The present invention relates to the field of pressure value calibration technologies, and in particular, to a pressure value calibration method, apparatus, and computer storage medium.
Background
The pressure sensor (Pressure Transducer) is an electronic device for detecting pressure changes, can detect pressure changes and is expressed in the form of electric signals, the pressure sensor can be used for measuring various pressures, such as pressure, compression force and the like, the output result of the pressure sensor can be a digital signal or an analog signal, and the pressure sensor is widely applied to various fields at present, such as: respirators, blood pressure meters, urodynamic analyzers, etc. in the field of medical devices, which typically employ pressure sensors for continuous monitoring of physiological pressure values of the human body.
In order to ensure accuracy of the pressure value, the existing method adopts a linear equation or a calibration constant to calibrate the pressure value in the full range when converting the pressure signal into the pressure value, but the pressure signal and the pressure value in the full range do not always show a linear relationship, for example: the linear relationship is formed in the range from-40 cmH 2 O to 52cmH 2 O, the nonlinear relationship is formed in the range from 52cmH 2 O to 200cmH 2 O, and the existing method can cause lower pressure value precision and generate measurement errors.
Disclosure of Invention
The method provided by the invention can improve the identification precision of all pressure values in the whole range.
In a first aspect, the present invention provides a method for calibrating a pressure value, comprising: acquiring a pressure signal output by a pressure sensor; obtaining a measured pressure value corresponding to the pressure signal according to the pressure signal; calibrating the measured pressure value according to a preset single-point calibration coefficient to obtain a first pressure value; determining a pressure value range within which the first pressure value falls, the pressure value range at least comprising a nonlinear range; when the first pressure value falls into the nonlinear range, obtaining a compensation value of the first pressure value according to a preset polynomial equation; and obtaining a calibrated pressure value according to the compensation value and the first pressure value.
In some embodiments, the polynomial equation may be represented by:
y=a 1x0+a2x1+...+anxn-1, where y is the compensation value, x is a preset second pressure value corresponding to the first pressure value, a n is a preset first calibration coefficient of the nth term, and n is an integer greater than or equal to 3.
In some embodiments, the second pressure value may be obtained by: dividing the nonlinear range into a plurality of sub-ranges in sequence according to a preset rule, wherein each sub-range corresponds to two second pressure values with adjacent sizes, the larger second pressure value corresponding to the former sub-range in the two adjacent sub-ranges is the smaller second pressure value corresponding to the latter sub-range, and a threshold value is arranged in the sub-range; when the first pressure value is smaller than the threshold value, the second pressure value is a smaller second pressure value corresponding to the sub-range; and when the first pressure value is greater than or equal to the threshold value, the second pressure value is a larger second pressure value corresponding to the sub-range.
In some embodiments, the calibrated pressure value may be represented by: z=d-y, where z is the calibrated pressure value, d is the first pressure value, and y is the compensation value.
In some embodiments, further comprising: adjusting the first calibration factor prior to use of the pressure sensor; said adjusting said first calibration factor comprising: acquiring a parameter adjusting pressure signal output by a pressure sensor after sensing a preset reference pressure value, wherein the reference pressure value falls into the nonlinear range; obtaining a parameter regulating pressure value according to the parameter regulating pressure signal; calibrating the parameter regulating pressure value by adopting a preset single-point calibration coefficient to obtain a calibrated parameter regulating pressure value; adjusting the first calibration coefficient once according to the calibrated parameter adjusting pressure value and the reference pressure value; obtaining a compensated pressure value according to the parameter adjusting compensation value of the time and the calibrated parameter adjusting pressure value, wherein the parameter adjusting compensation value is obtained according to a first calibration coefficient after each adjustment and the polynomial equation; judging whether the compensated pressure value and the reference pressure value meet preset conditions or not; if so, the first calibration coefficient does not need to be continuously adjusted; otherwise, continuing to adjust the first calibration coefficient; calculating the parameter adjusting compensation value once every time the first calibration coefficient is adjusted, obtaining a compensated pressure value of the time according to the parameter adjusting compensation value and the calibrated parameter adjusting pressure value, and judging whether the compensated pressure value of the time and the reference pressure value meet preset conditions or not; and finishing the adjustment of all the first calibration coefficients until the compensated pressure value and the reference pressure value meet the preset condition.
In some embodiments, the adjusting the first calibration factor once comprises: acquiring a first absolute value, wherein the first absolute value is the absolute value of the difference value between the calibrated parameter-adjusting pressure value and the reference pressure value; performing first adjustment on the first calibration coefficient according to the first absolute value; when n=3, the continuing to adjust the first calibration factor includes: acquiring a second absolute value, wherein the second absolute value is the absolute value of the difference value between the compensated pressure value and the reference pressure value; when the second absolute value is larger than or equal to a preset first threshold value, the first calibration coefficient of the third term is adjusted; or when the second absolute value is smaller than a preset first threshold value and larger than a preset second threshold value, adjusting the first calibration coefficient of the second term; or when the second absolute value is smaller than or equal to a preset second threshold value and is larger than a preset third threshold value, adjusting the first calibration coefficient of the first term; calculating the second absolute value once every time the first calibration coefficient is adjusted; judging whether to continuously adjust the first calibration coefficient according to the second absolute value; and finishing the adjustment of all the first calibration coefficients until the second absolute value is smaller than or equal to a preset third threshold value.
In some embodiments, the adjusting includes at least one of adjusting up and adjusting down the first calibration factor when the calibrated reference pressure value/the compensated pressure value is greater than the reference pressure value and adjusting down the first calibration factor when the calibrated reference pressure value/the compensated pressure value is less than the reference pressure value.
In some embodiments, the method of adjusting the first calibration coefficient further comprises: the adjustment amplitude of the first calibration coefficient of the third term is smaller than the adjustment amplitude of the first calibration coefficient of the second term, and the adjustment amplitude of the first calibration coefficient of the second term is smaller than or equal to the adjustment amplitude of the first calibration coefficient of the first term.
In a second aspect, another embodiment of the present invention provides a urodynamic detection device, including: a pressure sensor for detecting pressure data of bladder/urethra/abdomen pressure and outputting a pressure signal; a storage unit configured to store a program; and a processing unit, configured to implement the method as described above when executing the program.
In a third aspect, another embodiment of the present invention provides a computer storage medium having a program stored thereon, the program being executable by a processor to implement a method as described above.
According to the method of the embodiment, after the first pressure value is obtained, the range of the pressure value falling into the first pressure value is judged, if the first pressure value falls into the nonlinear range, the compensation value of the first pressure value is obtained according to the preset polynomial equation, and the calibrated pressure value is obtained according to the compensation value and the first pressure value.
Drawings
FIG. 1 is a flow chart of a method for calibrating a pressure value provided by the present invention;
FIG. 2 is a flow chart of a method of obtaining a second pressure value according to one embodiment;
FIG. 3 is a flow chart of adjusting a first calibration factor according to one embodiment;
FIG. 4 is a flow chart of one embodiment of adjusting a first calibration factor once;
FIG. 5 is a flow chart of an embodiment of continuing to adjust the first calibration factor;
FIG. 6 is a block diagram of a urine dynamic detection device provided by the present invention;
fig. 7 is a block diagram of a computer storage medium according to the present invention.
Detailed Description
The application will be described in further detail below with reference to the drawings by means of specific embodiments. Wherein like elements in different embodiments are numbered alike in association. In the following embodiments, numerous specific details are set forth in order to provide a better understanding of the present application. However, one skilled in the art will readily recognize that some of the features may be omitted, or replaced by other elements, materials, or methods in different situations. In some instances, related operations of the present application have not been shown or described in the specification in order to avoid obscuring the core portions of the present application, and may be unnecessary to persons skilled in the art from a detailed description of the related operations, which may be presented in the description and general knowledge of one skilled in the art.
Furthermore, the described features, operations, or characteristics of the description may be combined in any suitable manner in various embodiments. Also, various steps or acts in the method descriptions may be interchanged or modified in a manner apparent to those of ordinary skill in the art. Thus, the various orders in the description and drawings are for clarity of description of only certain embodiments, and are not meant to be required orders unless otherwise indicated.
The numbering of the components itself, e.g. "first", "second", etc., is used herein merely to distinguish between the described objects and does not have any sequential or technical meaning.
The inventor adopts the existing method to convert the pressure signals of a plurality of groups of different pressure ranges acquired by the pressure sensor into pressure values, and then finds that the pressure values in a specific pressure value range (for example, -40cmH 2 O to 52cmH 2 O) have little deviation from a theoretical pressure value, and the pressure values in another specific pressure value range (for example, 52cmH 2 O to 200cmH 2 O) have larger deviation from the theoretical pressure value; the inventors have found after analysis that the cause of this phenomenon is mainly: in the existing conversion method, a linear equation or a calibration constant is adopted to calibrate the pressure value in the full range, and the calibrated pressure value can be higher than the theoretical pressure value in a range of pressure values (for example, 52cmH 2 O to 200cmH 2 O), so that the identification accuracy of all the pressure values in the full range can not be ensured.
In order to solve the problems, the calibration method for the pressure value provided by the invention comprises the steps of firstly judging the pressure value range in which the first pressure value falls after the first pressure value is obtained, obtaining the compensation value of the first pressure value according to a preset polynomial equation if the first pressure value falls in the nonlinear range, and obtaining the calibrated pressure value according to the compensation value and the first pressure value.
Referring to fig. 1, an embodiment of the present invention provides a method for calibrating a pressure value, including:
S10: and acquiring a pressure signal output by the pressure sensor.
In some embodiments, the pressure signal output by the pressure sensor may be an analog signal or a digital signal, which is not limited herein; it should be noted that the method provided by the present invention may be applicable to most of scenes involving continuous collection of pressure values, such as: blood pressure detection and urodynamic detection.
S20: and obtaining a measured pressure value corresponding to the pressure signal according to the pressure signal.
In the existing method, the pressure signal is converted twice to obtain a measured pressure value, for example: firstly, reversely calculating a voltage value from a pressure signal, and then, calculating the pressure value according to the voltage value, wherein the pressure value has larger deviation due to the two calculation steps; to reduce the deviation, in some embodiments, obtaining a pressure value corresponding to the pressure signal includes: obtaining a pressure value according to the pressure signal and a preset mapping relation; in this embodiment, since the conversion of the voltage value is reduced once, the accuracy of pressure value identification can be improved.
S30: and calibrating the measured pressure value according to a preset single-point calibration coefficient to obtain a first pressure value. In some embodiments, the first pressure value may be obtained by:
d=c/k
wherein d is a first pressure value, c is a measured pressure value, and k is a single-point calibration coefficient.
In some embodiments, the single point calibration coefficients may be obtained by:
k=c/l
where k is a single point calibration coefficient, c is a measured pressure value, and l is a theoretical pressure value.
S40: a range of pressure values is determined within which the first pressure value falls, the range of pressure values including at least a non-linear range.
In some embodiments, the pressure value range further includes a linear range, such as: in the case of the range of-40 cmH 2 O to 200cmH 2 O, the linear range of-40 cmH 2 O to 52cmH 2 O, and the nonlinear range of 52cmH 2 O to 200cmH 2 O, the first pressure value falling within the linear range has little deviation from the theoretical pressure value, so that calibration is not required, and the first pressure value falling within the nonlinear range is larger than the theoretical pressure value, so that the compensation value needs to be calculated to calibrate the first pressure value.
It should be noted that, since the ranges and performances of the pressure sensors of different types and models are different, the pressure values at both ends of the linear range and the nonlinear range are not limited herein.
In some embodiments, for the first pressure value falling within the linear range, the first pressure value may be calibrated by using a linear equation, or other existing linear calibration methods, which are not limited herein.
S50: and when the first pressure value falls into a nonlinear range, obtaining a compensation value of the first pressure value according to a preset polynomial equation.
In some embodiments, the polynomial equation may be represented by:
y=a1x0+a2x1+...+anxn-1
Wherein y is a compensation value, x is a preset second pressure value corresponding to the first pressure value, a n is a preset first calibration coefficient of an nth item, and n is an integer greater than or equal to 3.
In some embodiments, in the range of 52cmH 2 O to 200cmH 2 O, according to the measured pressure value and the calibrated pressure value of 5cmH 2 O each time, an initial value of a first calibration coefficient of each item in the polynomial equation is obtained, and a method for calculating the first calibration coefficient is in the prior art and is not described herein; it will be appreciated that the ranges and performances of the pressure sensors of different types and models are different, so that the calculation and setting of the first calibration parameter can be performed according to the requirements when the pressure sensor is applied, and the pressure sensor is not limited herein.
In some embodiments, as shown in FIG. 2, the second pressure value may be obtained by:
S51: the nonlinear range is divided into a plurality of sub-ranges in sequence according to a preset rule, each sub-range corresponds to two second pressure values with adjacent sizes, the larger second pressure value corresponding to the former sub-range in the two adjacent sub-ranges is the smaller second pressure value corresponding to the latter sub-range, and a threshold value is arranged in the sub-range.
In some embodiments, the non-linear range may be equally divided into a plurality of sub-ranges, such as: when the nonlinear range is 50cmH 2 O to 80cmH 2 O, each sub-range is separated by 10cmH 2 O, and then the sub-ranges are sequentially as follows: 50cmH 2O-60cmH2O、60cmH2O-70cmH2 O and 70cmH 2O-80cmH2 O; the corresponding second pressure values are 5 and 6 when the sub-range is 50cmH 2O-60cmH2 O, 6 and 7 when the sub-range is 60cmH 2O-70cmH2 O, and 7 and 8 when the sub-range is 70cmH 2O-80cmH2 O; when the starting point value or the ending point value of the nonlinear range is not an integer multiple of 10, such as: setting the starting point value of the first sub-range to be 50cm H 2 O when the starting point value is 52cm H 2 O; setting the end point value of the last sub-range to 190cm H 2 O when the end point value is 188cm H 2 O; the nonlinear range can be divided according to actual requirements in application, and the nonlinear range is not limited herein.
S52: when the first pressure value is smaller than the threshold value, the second pressure value is a smaller second pressure value corresponding to the sub-range.
S53: when the first pressure value is greater than or equal to the threshold value, the second pressure value is a larger second pressure value corresponding to the sub-range.
In some embodiments, the threshold may be set to a mid-range value of the sub-range, such as: when the sub-range is 80cm H 2O-90cmH2 O, the corresponding two second pressure values are 8 and 9 respectively, the threshold value is set to be 85, the second pressure value is 8 when the first pressure value is more than or equal to 80cm H 2 O and less than 85cm H 2 O, and the second pressure value is 9 when the first pressure value is more than or equal to 85cm H 2 O and less than 90cm H 2 O; when the sub-range is 90cmH 2O-100cmH2 O, the corresponding two second pressure values are 9 and 10 respectively, the threshold value is set to 95, the second pressure value is 9 when the first pressure value is greater than or equal to 90cmH 2 O and smaller than 95cmH 2 O, and the second pressure value is 10 when the first pressure value is greater than or equal to 95cmH 2 O and smaller than 100cmH 2 O.
S60: and obtaining a calibrated pressure value according to the compensation value and the first pressure value.
Since the first pressure value in the nonlinear range may be larger than the theoretical pressure value, in some embodiments, subtracting the compensation value from the first pressure value yields a calibrated pressure value, which may be represented by:
z=d-y
Wherein z is the calibrated pressure value, d is the first pressure value, and y is the compensation value.
In application, to accommodate pressure sensors of different models and types, the first calibration coefficients of the polynomial equation are adjusted, and in some embodiments, the method further comprises: the first calibration factor is adjusted prior to use of the pressure sensor.
In some embodiments, adjusting the first calibration factor, as shown in fig. 3, includes:
s71: and acquiring a parameter adjusting pressure signal output by the pressure sensor after sensing a preset reference pressure value, wherein the reference pressure value falls into a nonlinear range.
In some embodiments, the reference pressure value is 160cmH 2 O, and the reference pressure value can be set according to the specifications of different industries when in use, or can be customized according to experience, which is not limited herein.
S72: and obtaining the parameter regulating pressure value according to the parameter regulating pressure signal.
S73: and calibrating the parameter regulating pressure value by adopting a preset single-point calibration coefficient to obtain the calibrated parameter regulating pressure value.
In some embodiments, the calibrated setpoint pressure value may be obtained by:
T2=T1/k
wherein, T 2 is the calibrated pressure value of the parameter, T 1 is the pressure value of the parameter, and k is the single-point calibration coefficient.
S74: and adjusting the first calibration coefficient once according to the calibrated reference pressure value and the calibrated reference pressure value. In some embodiments, when n=3, the polynomial equation may be represented by:
y=a1x0+a2x1+a3x2
Wherein y is a calibrated pressure value, x is a second pressure value corresponding to the first pressure value, and a 1、a2、a3 is a first calibration coefficient of the first term, the second term and the third term in sequence.
In some embodiments, the first calibration factor of the first term/second term/third term is adjusted once according to the calibrated reference pressure value and the reference pressure value, and the subsequent adjustment of the first calibration factor is performed according to the compensated pressure value and the reference pressure value.
In some embodiments, adjusting the first calibration factor once, as shown in fig. 4, includes:
S741: a first absolute value is obtained, and the first absolute value is the absolute value of the difference value between the calibrated parameter-regulating pressure value and the reference pressure value.
S742: the first calibration factor is first adjusted based on the first absolute value.
In some embodiments, when the first absolute value is greater than a preset third threshold, the first calibration coefficient is adjusted for the first time, and a plurality of thresholds may be set, and according to the comparison result between the first absolute value and the thresholds, it is determined which term of the polynomial equation needs to be continuously adjusted for the first calibration coefficient once, for example: when the first absolute value is larger than or equal to a preset first threshold value under the condition that n=3, the first calibration coefficient of the third term is adjusted for the first time; or when the first absolute value is smaller than a preset first threshold value, the first calibration coefficient is adjusted for the first time according to the first absolute value to be a preset second threshold value, and the first calibration coefficient of the second term is adjusted for the first time; or when the first absolute value is smaller than or equal to a preset second threshold value and is larger than a preset third threshold value, the first calibration coefficient of the first term is adjusted for the first time.
S75: and obtaining a compensated pressure value according to the parameter adjusting compensation value and the calibrated parameter adjusting pressure value, wherein the parameter adjusting compensation value is obtained according to the first calibration coefficient after each adjustment and the polynomial equation.
In some embodiments, after completing one adjustment of the first calibration factor of any one of the claims, the compensated pressure value is calculated, and each subsequent adjustment of the first calibration factor is determined based on a second absolute value, the second absolute value being the absolute value of the difference between the compensated pressure value and the reference pressure value.
S76: and judging whether the compensated pressure value and the reference pressure value meet preset conditions.
S77: if so, no further adjustment of the first calibration factor is necessary.
In some embodiments, the preset condition is that an absolute value of a difference between the compensated pressure value and the reference pressure value is smaller than or equal to a preset third threshold value, if the preset condition is satisfied, which indicates that the first calibration coefficient is suitable for the pressure sensor, and the compensated pressure value obtained by calibrating the calibrated reference pressure value according to the first calibration coefficient and the polynomial equation has almost no deviation from the reference pressure value, the adjustment of the first calibration coefficient is not needed to be continued, and the first calibration coefficient is saved as the first calibration coefficient in the polynomial equation of the pressure sensor.
In some embodiments, when the preset condition is that the absolute value of the difference between the compensated pressure value and the reference pressure value is greater than a preset fourth threshold, for example: when the pressure sensor is more than 20, the user is prompted to replace the pressure sensor if the pressure sensor is judged to be faulty.
S78: otherwise, the adjustment of the first calibration factor needs to be continued.
In some embodiments, when n=3, continuing to adjust the first calibration coefficient, as shown in fig. 5, includes:
s781: and acquiring a second absolute value, wherein the second absolute value is the absolute value of the difference value between the compensated pressure value and the reference pressure value.
S782: when the second absolute value is larger than or equal to a preset first threshold value, the first calibration coefficient of the third item is adjusted; or when the second absolute value is smaller than the preset first threshold value and larger than the preset second threshold value, adjusting the first calibration coefficient of the second term; or when the second absolute value is smaller than or equal to a preset second threshold value and is larger than a preset third threshold value, the first calibration coefficient of the first term is adjusted.
In some embodiments, the first threshold is greater than the second threshold, which is greater than the third threshold, such as: the first threshold may be set to 1, the second threshold to 0.1, and the third threshold to 0.01; when the first absolute value/the second absolute value is larger than the first threshold value, the error between the calibrated pressure value and the reference pressure value is larger, and a first calibration coefficient of a third term with the largest influence on the polynomial equation result is adjusted; when the first absolute value/second absolute value is smaller than the first threshold value and larger than or equal to the second threshold value, the first calibration coefficient of the second term with larger influence on the polynomial equation result is adjusted; and when the first absolute value/second absolute value is smaller than a preset second threshold value, adjusting a first calibration coefficient of a first term with the least influence on the polynomial equation result.
S783: the second absolute value is calculated once for each adjustment of the first calibration coefficient.
S784: and judging whether to continue adjusting the first calibration coefficient according to the second absolute value.
In some embodiments, when the second absolute value is greater than the preset third threshold, it is indicated that the calibrated pressure value obtained according to the first calibration coefficient and the polynomial equation deviates greatly from the reference pressure value, and the adjustment of the first calibration coefficient still needs to be continued.
S785: and finishing the adjustment of all the first calibration coefficients until the second absolute value is smaller than or equal to a preset third threshold value.
In some embodiments, when the second absolute value is less than or equal to the preset third threshold value, it is indicated that the calibrated pressure value obtained according to the first calibration coefficient and the polynomial equation has almost no deviation from the reference pressure value, and no adjustment is required for all the first calibration coefficients.
In some embodiments, the adjusting includes at least one of adjusting up and adjusting down, the first calibration factor being adjusted up when the calibrated reference pressure value/compensated pressure value is greater than the reference pressure value, and the first calibration factor being adjusted down when the calibrated reference pressure value/compensated pressure value is less than the reference pressure value.
In some embodiments, the compensated pressure value may be obtained by:
b=j-t
Wherein b is the compensated pressure value, j is the calibrated parameter-adjusting pressure value, and t is the parameter-adjusting compensation value. In some embodiments, the method for adjusting the preset first calibration coefficient further includes: the adjustment amplitude of the first calibration coefficient of the third term is smaller than the adjustment amplitude of the first calibration coefficient of the second term, and the adjustment amplitude of the first calibration coefficient of the second term is smaller than or equal to the adjustment amplitude of the first calibration coefficient of the first term. In some embodiments, since the first calibration coefficient of the third term has the greatest effect on the polynomial equation result, the adjustment amplitude of the first calibration coefficient of the third term is minimal, such as: when the first calibration coefficients are all values of four bits after the decimal point is reserved, each adjustment is to adjust the last decimal of the first calibration coefficient of the third term, and the adjustment amplitude is 0.0001; each adjustment is to adjust the third decimal fraction of the first calibration coefficient of the second term by an amount of 0.001; each adjustment is to adjust the third decimal of the first calibration coefficient of the first term by an amount of 0.001; the decimal place and the adjusting amplitude of the adjustment can be set according to actual requirements in application, and the adjustment is not limited in this document.
S79: and calculating a parameter adjusting compensation value once every time the first calibration coefficient is adjusted, obtaining a compensated pressure value of the time according to the parameter adjusting compensation value and the calibrated parameter adjusting pressure value, and judging whether the compensated pressure value of the time and the reference pressure value meet preset conditions or not.
S80: and finishing the adjustment of all the first calibration coefficients until the compensated pressure value and the reference pressure value meet the preset conditions.
The method for adjusting the first calibration coefficient will be described below taking a reference pressure value of 160cmH 2O、a1=-0.4713、a2=0.1306、a3 =0.0029, a first threshold value of 1, a second threshold value of 0.1, and a third threshold value of 0.01 as an example:
1. When the calibrated parameter regulating pressure value is 161.2cm H 2 O, the corresponding second pressure value is 16, and the regulating steps are as follows:
(1) Since the first absolute value 1.2 is greater than the first threshold value 1, the preset condition is not met, and the first calibration coefficient needs to be adjusted;
(2) Since the first absolute value 1.2 is greater than the first threshold value 1, the calibrated parameter-adjusting pressure value is greater than the reference pressure value, the first calibration coefficient a 3 of the third term needs to be increased to 0.0030, a parameter-adjusting compensation value is obtained according to the first calibration coefficient (a 1=-0.4713、a2=0.1306、a3 =0.0030) and the polynomial equation at the moment, the compensated pressure value is 161.19cmH 2 O (the value is an assumption value for explaining the adjustment step) by subtracting the parameter-adjusting compensation value from the calibrated parameter-adjusting pressure value, and the first adjustment of the first calibration coefficient is completed at the moment, and the subsequent adjustment is performed according to the second absolute value;
(3) Since the second absolute value 1.19 is greater than the first threshold value 1 and the compensated pressure value is greater than the reference pressure value, the first calibration coefficient a 3 of the third term needs to be continuously adjusted to be greater, the adjustment amplitude of each time is 0.0001, until the second absolute value is less than 1, and the adjustment of a 3 is stopped;
(4) When the second absolute value is smaller than 1, the first calibration coefficient a 2 of the second term is adjusted, a 2 is firstly adjusted to 0.1316, the parameter adjustment compensation value of the time is obtained according to the adjusted first calibration coefficient and a polynomial equation, the pressure value after the adjustment is subtracted from the parameter adjustment compensation value after the adjustment to obtain the compensated pressure value of 160.98cm H 2 O (the value is an assumed value for explaining the adjustment step), and because the second absolute value is smaller than the first threshold value 1 and larger than the second threshold value 0.1, the first calibration coefficient a 2 of the second term is continuously adjusted to be larger, the adjustment amplitude of each time is 0.001 until the second absolute value is smaller than or equal to the second threshold value 0.1, and the adjustment of a 2 is stopped;
(5) When the second absolute value is smaller than or equal to 0.1, the first calibration coefficient a 1 of the first term is adjusted, a 1 is firstly adjusted to be-0.4703, a parameter adjusting compensation value is obtained according to the adjusted first calibration coefficient and a polynomial equation, the parameter adjusting compensation value is subtracted from the corrected parameter adjusting pressure value to obtain the compensated pressure value of the time, if the second absolute value is still larger than a third threshold value of 0.01, a 1 is continuously adjusted, the adjustment amplitude of each time is 0.001, and if the second absolute value is smaller than or equal to a third threshold value of 0.01 (for example, when the compensated pressure value is 159.99), the adjustment of a 1 is stopped, and at the moment, the adjustment of all the first calibration coefficients is completed.
2. When the calibrated parameter regulating pressure value is 158.7cmH 2 O, the corresponding second pressure value is 16, and the regulating steps are as follows:
(1) Since the first absolute value 1.3 is greater than the first threshold value 1, the preset condition is not met, and the first calibration coefficient needs to be adjusted;
(2) Since the first absolute value 1.2 is greater than the first threshold value 1, the calibrated parameter-adjusting pressure value is smaller than the reference pressure value, the first calibration coefficient a 3 of the third term needs to be adjusted to be smaller, a 3 is adjusted to be 0.0028 in the first adjustment, the parameter-adjusting compensation value is obtained according to the adjusted first calibration coefficient (a 1=-0.4713、a2=0.1306、a3 =0.0028) and the polynomial equation, and the compensated pressure value of 158.71cmH 2 O is obtained after subtracting the parameter-adjusting compensation value from the calibrated parameter-adjusting pressure value (the value is a hypothetical value for explaining the adjustment step);
(3) Since the second absolute value 1.29 is greater than the first threshold value 1 and the compensated pressure value is less than the reference pressure value, the first calibration coefficient a 3 of the third term needs to be continuously adjusted to be smaller, the adjustment amplitude of each time is 0.0001, until the second absolute value is less than 1, and the adjustment of a 3 is stopped;
(4) When the second absolute value is smaller than 1, the first calibration coefficient a 2 of the second term is adjusted, a 2 is firstly adjusted to 0.1296, the parameter adjustment compensation value of the time is obtained according to the adjusted first calibration coefficient and a polynomial equation, the compensated pressure value of the time is obtained by subtracting the parameter adjustment compensation value from the calibrated parameter adjustment pressure value, which is the assumed value for explaining the adjustment step, is 159.02cmH 2 O, and the adjustment of a 2 is stopped because the second absolute value is smaller than the first threshold value 1 and larger than the second threshold value 0.1, the first calibration coefficient a 2 of the second term is continuously adjusted to be smaller, and the adjustment amplitude of each time is 0.001 until the second absolute value is smaller than or equal to the second threshold value 0.1;
(5) When the second absolute value is smaller than or equal to 0.1, the first calibration coefficient a 1 of the first term is adjusted, a 1 is firstly adjusted to be minus 0.4723, a parameter adjusting compensation value is obtained according to the adjusted first calibration coefficient and a polynomial equation, the parameter adjusting compensation value is subtracted from the corrected parameter adjusting pressure value to obtain the compensated pressure value of the time, if the second absolute value is still larger than a third threshold value of 0.01, a 1 is continuously adjusted to be smaller, the adjustment amplitude of each time is 0.001, and if the second absolute value is smaller than or equal to a third threshold value of 0.01 (for example, when the compensated pressure value is 160.01), the adjustment of a 1 is stopped, and at the moment, the adjustment of all the first calibration coefficients is completed.
In one embodiment of the present invention, there is provided a urine dynamic detection apparatus, as shown in FIG. 6, comprising: a pressure sensor 10 for detecting pressure data of bladder/urethra/abdomen pressure and outputting a pressure signal; a storage unit 30 for storing a program; the processing unit 20 is configured to implement the method as described above when executing the program.
In one embodiment of the present invention, a computer storage medium is provided, as shown in fig. 7, on which a program is stored 70, the program being executable by a processor 80 to implement a method as described above.
The foregoing description of the invention has been presented for purposes of illustration and description, and is not intended to be limiting. Several simple deductions, modifications or substitutions may also be made by a person skilled in the art to which the invention pertains, based on the idea of the invention.

Claims (10)

1. A method of calibrating a pressure value, comprising:
acquiring a pressure signal output by a pressure sensor;
obtaining a measured pressure value corresponding to the pressure signal according to the pressure signal;
calibrating the measured pressure value according to a preset single-point calibration coefficient to obtain a first pressure value;
determining a pressure value range within which the first pressure value falls, the pressure value range at least comprising a nonlinear range;
when the first pressure value falls into the nonlinear range, obtaining a compensation value of the first pressure value according to a preset polynomial equation;
And obtaining a calibrated pressure value according to the compensation value and the first pressure value.
2. The method of claim 1, wherein the polynomial equation is represented by:
y=a1x0+a2x1+...+anxn-1
Wherein y is the compensation value, x is a preset second pressure value corresponding to the first pressure value, a n is a preset first calibration coefficient of the nth item, and n is an integer greater than or equal to 3.
3. The method of claim 2, wherein the second pressure value is obtainable by:
Dividing the nonlinear range into a plurality of sub-ranges in sequence according to a preset rule, wherein each sub-range corresponds to two second pressure values with adjacent sizes, the larger second pressure value corresponding to the former sub-range in the two adjacent sub-ranges is the smaller second pressure value corresponding to the latter sub-range, and a threshold value is arranged in the sub-range;
when the first pressure value is smaller than the threshold value, the second pressure value is a smaller second pressure value corresponding to the sub-range;
And when the first pressure value is greater than or equal to the threshold value, the second pressure value is a larger second pressure value corresponding to the sub-range.
4. A method according to claim 3, wherein the calibrated pressure value is represented by:
z=d-y
wherein z is the calibrated pressure value, d is the first pressure value, and y is the compensation value.
5. A method as recited in claim 3, further comprising: adjusting the first calibration factor prior to use of the pressure sensor;
said adjusting said first calibration factor comprising:
acquiring a parameter adjusting pressure signal output by a pressure sensor after sensing a preset reference pressure value, wherein the reference pressure value falls into the nonlinear range;
obtaining a parameter regulating pressure value according to the parameter regulating pressure signal;
calibrating the parameter regulating pressure value by adopting a preset single-point calibration coefficient to obtain a calibrated parameter regulating pressure value;
Adjusting the first calibration coefficient once according to the calibrated parameter adjusting pressure value and the reference pressure value;
Obtaining a compensated pressure value according to the parameter adjusting compensation value of the time and the calibrated parameter adjusting pressure value, wherein the parameter adjusting compensation value is obtained according to a first calibration coefficient after each adjustment and the polynomial equation;
Judging whether the compensated pressure value and the reference pressure value meet preset conditions or not;
if so, the first calibration coefficient does not need to be continuously adjusted;
Otherwise, continuing to adjust the first calibration coefficient;
calculating the parameter adjusting compensation value once every time the first calibration coefficient is adjusted, obtaining a compensated pressure value of the time according to the parameter adjusting compensation value and the calibrated parameter adjusting pressure value, and judging whether the compensated pressure value of the time and the reference pressure value meet preset conditions or not;
And finishing the adjustment of all the first calibration coefficients until the compensated pressure value and the reference pressure value meet the preset condition.
6. The method of claim 5, wherein said adjusting said first calibration factor once comprises:
acquiring a first absolute value, wherein the first absolute value is the absolute value of the difference value between the calibrated parameter-adjusting pressure value and the reference pressure value;
performing first adjustment on the first calibration coefficient according to the first absolute value;
When n=3, the continuing to adjust the first calibration factor includes:
Acquiring a second absolute value, wherein the second absolute value is the absolute value of the difference value between the compensated pressure value and the reference pressure value;
when the second absolute value is larger than or equal to a preset first threshold value, the first calibration coefficient of the third term is adjusted; or (b)
When the second absolute value is smaller than a preset first threshold value and larger than a preset second threshold value, adjusting the first calibration coefficient of the second term; or (b)
When the second absolute value is smaller than or equal to a preset second threshold value and is larger than a preset third threshold value, the first calibration coefficient of the first term is adjusted;
calculating the second absolute value once every time the first calibration coefficient is adjusted;
Judging whether to continuously adjust the first calibration coefficient according to the second absolute value;
and finishing the adjustment of all the first calibration coefficients until the second absolute value is smaller than or equal to a preset third threshold value.
7. The method of claim 6, wherein the adjusting comprises at least one of adjusting up and adjusting down the first calibration factor when the calibrated reference pressure value/the compensated pressure value is greater than the reference pressure value and adjusting down the first calibration factor when the calibrated reference pressure value/the compensated pressure value is less than the reference pressure value.
8. The method of claim 7, wherein the method of adjusting the first calibration factor further comprises:
the adjustment amplitude of the first calibration coefficient of the third term is smaller than the adjustment amplitude of the first calibration coefficient of the second term, and the adjustment amplitude of the first calibration coefficient of the second term is smaller than or equal to the adjustment amplitude of the first calibration coefficient of the first term.
9. A urine dynamic detection device, comprising:
a pressure sensor for detecting pressure data of bladder/urethra/abdomen pressure and outputting a pressure signal;
a storage unit configured to store a program;
a processing unit for implementing the method according to any of claims 1-8 when executing said program.
10. A computer storage medium having stored thereon a program executable by a processor to implement the method of any of claims 1-8.
CN202410193329.8A 2024-02-21 2024-02-21 Pressure value calibration method, pressure value calibration equipment and computer storage medium Pending CN118044893A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410193329.8A CN118044893A (en) 2024-02-21 2024-02-21 Pressure value calibration method, pressure value calibration equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410193329.8A CN118044893A (en) 2024-02-21 2024-02-21 Pressure value calibration method, pressure value calibration equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN118044893A true CN118044893A (en) 2024-05-17

Family

ID=91044157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410193329.8A Pending CN118044893A (en) 2024-02-21 2024-02-21 Pressure value calibration method, pressure value calibration equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN118044893A (en)

Similar Documents

Publication Publication Date Title
RU2138781C1 (en) Transducer with improved compensation
US8232972B2 (en) Touch position detector of capacitive touch panel and method for detecting the touch position
US20130218502A1 (en) Temperature compensated pressure transducer
US20140358317A1 (en) Output value correction method for physical quantity sensor apparatus, output correction method for physical quantity sensor, physical quantity sensor apparatus and output value correction apparatus for physical quantity sensor
US20090216477A1 (en) Measuring apparatuses and methods of using them
CN104678343B (en) A kind of waveform generator Frequency Response calibration method, apparatus and system
CN88103246A (en) The method that measure to exchange calibration error and instrument and employing have the instrument of the device of the calibration error of exchanging
KR102365419B1 (en) Method for calibration of gas sencsor, computer-readable computer program
WO2014160912A2 (en) Temperature compensated pressure transducer
US9857823B2 (en) Programmable temperature compensated voltage generator
JPH06160164A (en) Apparatus and method for weighing of compensation of hysteresis
US8930157B2 (en) Temperature compensated digital pressure transducer
CN118044893A (en) Pressure value calibration method, pressure value calibration equipment and computer storage medium
RU2384824C1 (en) Pressure measuring device and method for preparation thereof for operation
US20120265469A1 (en) Calibration method and device
CN114614820A (en) ADC error trimming method and system and error trimming device
CN114343629A (en) Method and related device for automatically tracking and correcting sensor signal drift
CN114063807A (en) Proximity sensor with improved environmental compensation performance and environmental compensation method therein
JPH11118617A (en) Temperature controller
US20040222799A1 (en) DC measurement method and system using sigma-delta modulation pattern
CN111166358A (en) Pressure zero point correction method, device, equipment and computer readable storage medium
TW202016501A (en) On-chip curvature correction structure and method thereof
CN112217515B (en) Control method and system for automatic AD calibration of converter
RU2596073C2 (en) Method of digital signal processing of pressure sensors
CN116338324B (en) Resistance measurement circuit, method, universal meter and storage medium

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