CN117435860B - Method and device for determining pressure sensor calibration scheme - Google Patents
Method and device for determining pressure sensor calibration scheme Download PDFInfo
- Publication number
- CN117435860B CN117435860B CN202311694349.5A CN202311694349A CN117435860B CN 117435860 B CN117435860 B CN 117435860B CN 202311694349 A CN202311694349 A CN 202311694349A CN 117435860 B CN117435860 B CN 117435860B
- Authority
- CN
- China
- Prior art keywords
- calibration
- scheme
- pressure sensor
- score
- fse
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000005259 measurement Methods 0.000 claims abstract description 43
- 238000004364 calculation method Methods 0.000 claims abstract description 18
- 238000012795 verification Methods 0.000 claims abstract description 3
- 230000035945 sensitivity Effects 0.000 claims description 10
- 239000002131 composite material Substances 0.000 claims description 4
- 238000012163 sequencing technique Methods 0.000 claims description 4
- 238000012360 testing method Methods 0.000 abstract description 6
- 238000011156 evaluation Methods 0.000 abstract 1
- 238000002474 experimental method Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000003750 conditioning effect Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000013011 mating Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/17—Function evaluation by approximation methods, e.g. inter- or extrapolation, smoothing, least mean square method
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01L—MEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
- G01L27/00—Testing or calibrating of apparatus for measuring fluid pressure
- G01L27/002—Calibrating, i.e. establishing true relation between transducer output value and value to be measured, zeroing, linearising or span error determination
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/18—Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Algebra (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Operations Research (AREA)
- Probability & Statistics with Applications (AREA)
- Measuring Fluid Pressure (AREA)
Abstract
The invention discloses a method and a device for determining a pressure sensor calibration scheme, wherein the method comprises the following steps: acquiring original output signal values of the pressure sensor to be calibrated at all calibration points; calculating corresponding calibration precision under each calibration scheme according to the measurement data; weighting and summing the calibration precision and the calibration cost of each calibration scheme to obtain a comprehensive score; and selecting an optimal calibration scheme according to the comprehensive score and performing calibration verification. The device comprises a data measurement module, a calibration precision calculation module and a comprehensive scoring module. According to the invention, the calibration precision of each calibration scheme can be calculated in batches according to the test data by only testing the original signal of the sensor once, and the optimal calibration scheme with high calibration precision and low calibration cost is obtained through comprehensive evaluation.
Description
Technical Field
The invention belongs to the technical field of pressure sensor calibration, and particularly relates to a method and a device for determining a pressure sensor calibration scheme.
Background
Pressure is one of the most basic industrial parameters, and therefore pressure sensors are also widely used in many fields such as automotive, manufacturing, aerospace, biomedical measurements, hydraulic measurements, and the like. However, due to the characteristics of the pressure sensors, the output signals of each sensor are different and greatly affected by temperature, and cannot be output as required before calibration.
The calibration of the pressure sensor is to establish the relation between the input quantity and the output quantity of the sensor through a test. Generally, a plurality of groups of standard physical quantities are input, the corresponding outputs are collected, and the transfer relation between the input and the output is calculated. Typically, calibration is supported by a mating conditioning chip, and the particular calibration scheme determines the measurement accuracy of the pressure sensor.
In the prior art, when confirming a pressure sensor calibration scheme, a method of combining historical calibration experience with a reverse experiment is often adopted, namely, an initial calibration scheme is firstly planned according to the calibration results of other pressure sensors, and then calibration parameters are finely adjusted for multiple times on the basis of the initial calibration scheme, so that a calibration scheme with relatively low cost and high precision is obtained. However, this approach has significant drawbacks. On one hand, the optimal calibration scheme of the pressure sensor is obtained through a reverse experiment, and very high time cost and material cost are required. On the other hand, the signal output characteristics of the pressure sensors of different types are different, and the history calibration experience may fail, so that the follow-up reverse experiment can only obtain partial local optimal solution and cannot obtain global optimal solution, thereby reducing the calibration precision and improving the production cost of the calibration procedure.
Disclosure of Invention
The invention provides a method and a device for determining a pressure sensor calibration scheme, which are used for solving the problems of poor calibration precision, long time consumption, high cost and the like in the prior art.
The technical scheme provided by the invention is as follows:
a method for determining an optimal calibration scheme of a pressure sensor comprises the following steps:
s1, acquiring original output signal values of a pressure sensor to be calibrated at all calibration points;
s2, calculating corresponding calibration precision under each calibration scheme according to the measurement data;
s3, weighting and summing the calibration precision and the calibration cost of each calibration scheme to obtain a comprehensive score;
and S4, selecting an optimal calibration scheme according to the comprehensive score and performing calibration verification.
Further, in step S2, according to different requirements of the calibration scheme on the number of calibration points, the calibration scheme is divided into a 2P1T calibration scheme, a 2P2T calibration scheme, and a 2P3T calibration scheme; the 2P1T calibration scheme needs 2 calibration pressures and 1 calibration temperature as calibration points, the 2P2T calibration scheme needs 2 calibration pressures and 2 calibration temperatures as calibration points, and the 2P3T calibration scheme needs 2 calibration pressures and 3 calibration temperatures as calibration points; the 2P3T calibration scheme comprises 6points-TCO & TCS compensation, 5points-TCS compensation and 5points-TCO compensation.
Further, for the 2P1T calibration scheme, the full scale error FSE is calculated according to the following formula and taken as the calibration accuracy:
,
,
wherein,and->Respectively an output voltage calibration value and an output voltage measurement value of the pressure sensor to be calibrated under corresponding temperature and pressure; />Representing the sensitivity of the sensor,Tin order to select the calibration temperature to be used,P1andP2for 2 calibration pressures selected andP1<P2,/>、/>respectively marked points [ ]T,P1)、(T,P2) A sensor output voltage measurement; />Representing the bias of the sensor, +.>Representing the full scale nominal voltage value at the corresponding temperature,PAandPBthe upper limit and the lower limit of the measuring range of the pressure sensor to be calibrated are respectively.
Further, for the 2P2T calibration scheme, the full scale error FSE is calculated according to the following formula and taken as the calibration accuracy:
,
,
wherein,and->Respectively an output voltage calibration value and an output voltage measurement value of the pressure sensor to be calibrated under corresponding temperature and pressure; />Representing the sensitivity of the sensor at T1,representing the bias of the sensor at T1; />Representing the sensitivity of the sensor at T2, and (2)>Representing the bias of the sensor at T2; />Representing the full scale nominal voltage value at the corresponding temperature,PAandPBthe upper limit and the lower limit of the measuring range of the pressure sensor to be calibrated are respectively.
Further, for the 6points-TCO & TCS compensation in the 2P3T calibration scheme, the full scale error FSE is calculated according to the following formula and taken as the calibration accuracy:
,
,
wherein (T1, k) T1 )、(T2,k T2 )、(T3,k T3 ) Fitting three points to obtainIn (T1, b) T1 )、(T2,b T2 )、(T3,b T3 ) Three-point fitting to obtain +.>,/>,,/>,/>,,/>;/>And->Output voltage calibration value and output voltage measurement value of the pressure sensor to be calibrated under corresponding temperature and pressure respectively, +.>Representing the full scale nominal voltage value at the corresponding temperature,PAandPBthe upper limit and the lower limit of the measuring range of the pressure sensor to be calibrated are respectively.
Further, for 5points-TCS compensation in the 2P3T calibration scheme, the full scale error FSE is calculated and taken as the calibration accuracy according to the following formula:
,
,
wherein (T1, k) T1 )、(T2,k T2 )、(T3,k T3 ) Fitting three points to obtainIn (T1, b) T1 )、(T2,b T2 ) Two-point fitting to obtain +.>,/>,,/>,/>,;/>And->Output voltage calibration value and output voltage measurement value of the pressure sensor to be calibrated under corresponding temperature and pressure respectively, +.>Representing the full scale nominal voltage value at the corresponding temperature,PAandPBthe upper limit and the lower limit of the measuring range of the pressure sensor to be calibrated are respectively。
Further, for 5points-TCO compensation in the 2P3T calibration scheme, the full scale error FSE is calculated according to the following formula and taken as the calibration accuracy:
,
,
wherein (T1, k) T1 )、(T2,k T2 ) Fitting two points to obtainIn (T1, b) T1 )、(T2,b T2 )、(T3,b T3 ) Three-point fitting to obtain +.>,/>,/>,,/>,/>;/>And->Output voltage calibration value and output voltage measurement value of the pressure sensor to be calibrated under corresponding temperature and pressure respectively, +.>Representing the full scale nominal voltage value at the corresponding temperature,PAandPBthe upper limit and the lower limit of the measuring range of the pressure sensor to be calibrated are respectively.
Further, in step S3, a calibration precision score is set for the calibration precision of each calibration scheme according to the size of the precision value FSE:
0.3% < FSE.ltoreq.0.3% is 100 min,
0.6 percent of FSE is less than or equal to-0.3 percent or 0.3 percent of FSE is less than or equal to 0.6 percent and is 75 minutes,
-1% < FSE less than or equal to-0.6% or 0.6% < FSE less than or equal to 1% for 50 minutes,
FSE is less than 1 percent and less than or equal to-1 percent and is 25 minutes;
setting a calibration cost score for the calibration cost of each calibration scheme according to the quantized calibration unit price:
the unit price is more than 0 and less than or equal to 0.2 yuan per 100 minutes,
the unit price is more than 0.2 and less than or equal to 0.4 yuan per unit is 75 minutes,
the unit price is more than 0.4 and less than or equal to 0.6 yuan per unit of 50 minutes,
the unit price is more than 0.6 and less than or equal to 0.8 yuan/each is 25 minutes.
Further, the calibration precision score and the calibration cost score are weighted and summed to obtain a final comprehensive score:
composite score = calibration accuracy score xw1 + calibration cost score xw2,
wherein w1 and w2 are weights corresponding to the set calibration accuracy score and the calibration cost score, respectively.
The device for determining the optimal calibration scheme of the pressure sensor comprises a data measurement module, a calibration precision calculation module and a comprehensive scoring module;
the data measurement module is used for measuring and storing original output signal values of the pressure sensor at different calibration points;
the calibration accuracy calculation module is used for selecting corresponding data from the measurement data stored by the data measurement module, fitting and calculating calibration functions of all calibration schemes, and calculating the calibration accuracy;
the comprehensive scoring module comprises a calibration precision grading setting module, a calibration cost grading setting module and a comprehensive score calculation display module; the calibration precision grading setting module is used for setting corresponding score values of different precision ranges, the calibration cost grading setting module is used for setting corresponding score values of different cost ranges, the comprehensive score calculating and displaying module is used for calculating comprehensive scores of all calibration schemes respectively, and sequencing and displaying the comprehensive scores according to the scores from large to small, and the comprehensive score calculating and displaying module is also used for setting scoring weights.
The beneficial effects of the invention at least comprise:
(1) The theoretical calibration precision under each calibration scheme can be calculated in batches according to the test data only by testing the original signal of the sensor once, and the time cost and the material cost for confirming the optimal calibration scheme can be effectively reduced.
(2) The method can obtain more local optimal solutions of the calibration scheme, comprehensively evaluate each local optimal solution and actual application requirements to obtain a final calibration scheme, and obtain a global optimal solution by considering high calibration precision and low calibration procedure cost.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention.
FIG. 1 is a flow chart of a method for determining an optimal calibration scheme according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of the module composition of the device for determining the optimal calibration scheme according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
As shown in fig. 1, the flow of the method for determining the calibration scheme of the pressure sensor provided in this embodiment mainly includes: firstly, determining market demands of a pressure sensor to be calibrated, including calibration cost and calibration precision; then, testing original output signals of the pressure sensor to be calibrated under different temperatures and pressures, wherein the original output signals are mainly output voltage values; then, carrying out data processing analysis on the acquired original output signals to obtain full-scale errors, namely calibration accuracy, of the pressure sensor corresponding to different calibration schemes; then, weighting and sequencing the calibration precision and the calibration cost under each calibration scheme, so as to obtain a plurality of alternative calibration schemes with excellent comprehensive calibration effect; and finally, verifying each alternative calibration scheme through actual calibration, and selecting an optimal calibration scheme from the alternative calibration schemes.
Calibration of the pressure sensor mainly involves two physical quantities of pressure P and temperature T, and each calibration scheme requires at least 1 calibration temperature and at least 2 calibration pressures to be selected as calibration points. The calibration method can be simply distinguished by the name of mPnT, depending on the number of calibration pressures m and the number of calibration temperatures n. For example, a calibration scheme requiring at least 2 calibration pressures and 1 calibration temperature, denoted 2P1T; a calibration scheme requiring at least 2 calibration pressures and 2 calibration temperatures, denoted 2P2T; a calibration scheme requiring at least 2 calibration pressures and 3 calibration temperatures is denoted 2P3T. Increasing the number of calibration pressures or calibration temperatures can result in longer calibration process times, increased calibration process costs, and potentially increased circuit conditioning costs. Therefore, although the calibration accuracy will increase with the increase of the number of calibration points in theory, in practical application, fewer calibration points are used as much as possible under the condition of ensuring the specified calibration accuracy, so as to reduce the calibration cost to the maximum extent.
1. Obtaining original output signal values of pressure sensors to be calibrated at all calibration points
Firstly, a plurality of calibration temperatures and calibration pressure points are selected at certain intervals in the rated working range of the pressure sensor to be calibrated. If the temperature is within the range of-40-150 ℃, 10 calibration temperatures are selected according to the temperature interval of 5-30 ℃ at-40 ℃, 20 ℃ below zero, 20 ℃, 40 ℃, 60 ℃, 80 ℃, 100 ℃, 120 ℃ and 140 ℃; and 6 calibration pressures of 0kPa, 250kPa, 500kPa, 750kPa, 1000kPa and 1200kPa are selected according to the pressure interval of 10% -20% FS in the full range pressure range of 0% -100% FS. The choice of the calibration point can be determined according to the actual working condition.
Table 1 raw signal average at each calibration
The raw output signal value of the sensor, i.e. the output voltage value of the sensor, at each of the calibration points is then measured. To improve measurement accuracy, the average of multiple measurements may be taken at the same calibration point as the final measurement, as shown in table 1.
2. Calculating the corresponding pressure sensor calibration precision under each calibration scheme according to the measurement data
(1) 2P1T calibration scheme
For a calibration scheme requiring at least 2 calibration pressures and 1 calibration temperature as calibration points, two calibration points are selected from the measurement dataT,P1)、(T,P2) The Full Scale Error (FSE) is calculated as the calibration accuracy according to the following formula.
,
,
Wherein,and->Respectively an output voltage calibration value and an output voltage measurement value of the pressure sensor to be calibrated under corresponding temperature and pressure; />Representing the sensitivity of the sensor,Tin order to select the calibration temperature to be used,P1andP2for 2 calibration pressures selected andP1<P2,/>、/>respectively marked points [ ]T,P1)、(T,P2) A sensor output voltage measurement; />Representing the bias of the sensor, +.>Representing the full scale nominal voltage value at the corresponding temperature,PAandPBthe upper limit and the lower limit of the measuring range of the pressure sensor to be calibrated are respectively.
TABLE 2P1T calibration data 20, 0/1000
According to the formula, different calibration accuracy can be obtained by changing the values of T, P and P2. In this embodiment, as shown in table 2, when the temperature range of the pressure sensor is-40 to 140 ℃ and the pressure range is 0 to 1000kPa, T is 20 ℃, P1 is 0kPa, and P2 is 1000kPa, at this time, the calculated full range error FSE value is smaller, the calibration accuracy is higher, the FSE value is larger with the temperature change, and the influence of the pressure change on the FSE value is smaller.
The 2P1T calibration scheme is simple in calculation, a calibration function related to pressure is obtained by fitting the output voltage value once through a least square method, and the full-range error can be obtained by dividing the difference between the calibration value and the actual measurement value by the full-range span of the calibration value. However, the method has lower precision, and when the pressure sensor itself carries out TCS (zero temperature coefficient) and TCO (sensitivity temperature coefficient) compensation, the pressure sensor has smaller TCO and TCS at 0-85 ℃, and the calibration scheme can be selected when the actual use scene is 0-85 ℃.
(2) 2P2T calibration scheme
For a calibration scheme requiring at least 2 calibration pressures and 2 calibration temperatures as calibration points, measurement data of four calibration points (T1, P1), (T1, P2), (T2, P1), (T2, P2) are selected from the measurement data, and a full scale error is calculated according to the following formula and used as calibration accuracy.
,
,
Wherein,representing the sensitivity of the sensor at T1, and (2)>Representing the bias of the sensor at T1; />Representing the sensitivity of the sensor at T2,representing the offset of the sensor at T2.
According to the above formula, different calibration accuracy can be obtained by changing (T1, P1), (T1, P2), (T2, P1), (T2, P2), and the corresponding temperature and pressure with smaller FSE value, i.e. higher calibration accuracy, are selected as the calibration temperature and pressure. In this embodiment, when the temperature range of the pressure sensor is-40-140 ℃ and the pressure range is 0-1000 kpa, the calibration temperature is changed first, the calibration pressure is unchanged, and it can be known by comparing the data of different temperatures in tables 3-9: t1, T2 should evenly distributed in temperature range interval, and in order to reduce the calibration cost, the calibration temperature should not be too high or too low, and full range error is less at this moment, and the calibration precision is higher. The data of different calibration pressures in tables 10-14 are compared to each other to see: when the calibration temperature is unchanged and the calibration pressure is changed, the full range error value is not changed greatly, the influence of the pressure on the calibration precision is small, and 0/1000kPa is taken for reducing the calibration cost. Therefore, in the embodiment, the calibration temperature is 0/80 ℃ and the calibration pressure is 0/1000kPa by comparing the calibration accuracy obtained under different conditions.
TABLE 3 2P2T calibration data 0/80, 0/1000
TABLE 4 2P2T calibration data 20/100, 0/1000
TABLE 5 2P2T calibration data 40/120, 0/1000
TABLE 6 2P2T calibration data 0/60, 0/1000
TABLE 7 2P2T calibration data 0/100, 0/1000
TABLE 8 2P2T calibration data-20/80, 0/1000
TABLE 9 2P2T calibration data 20/80, 0/1000
TABLE 10 2P2T calibration data 0/80, 0/250
TABLE 11 2P2T calibration data 0/80, 500/1000
TABLE 12 2P2T calibration data 0/80, 250/750
TABLE 13 2P2T calibration data 0/80, 0/500
TABLE 14 2P2T calibration data 0/80, 0/750
It can be seen that the 2P2T calibration scheme is moderately calculated and has a high accuracy, and in general, when the pressure sensor itself is not or is difficult to perform TCS, TCO compensation, and is applied in conventional industrial manufacturing, the accuracy requirement is not so high, the calibration scheme may be selected.
(3) 2P3T calibration scheme
For the calibration scheme requiring at least 2 calibration pressures and 3 calibration temperatures as calibration points, four calibration points (T1, P1), (T1, P2), (T2, P1), (T2, P2), (T3, P1), (T3, P2) are selected from the measurement data to perform calibration accuracy calculation. The 2P3T calibration scheme is divided into: (1) 6points-TCO & TCS compensation, TCO and TCS compensation; (2) 5points-TCS compensation, wherein the high-temperature low-pressure point is obtained through TCO linear calculation, and only TCS is compensated; (3) 5points-TCO compensation, the high temperature and low pressure point is obtained by TCS linear calculation, and only TCO is compensated.
(1) 6points-TCO & TCS compensation
The full scale error FSE is calculated according to the following formula:
,
,
wherein (T1, k) T1 )、(T2,k T2 )、(T3,k T3 ) Fitting three points to obtainIn (T1, b) T1 )、(T2,b T2 )、(T3,b T3 ) Three-point fitting to obtain +.>,/>,,/>,/>,,/>。
(2) 5points-TCS compensation
The full scale error FSE is calculated according to the following formula:
,
,
wherein (T1, k) T1 )、(T2,k T2 )、(T3,k T3 ) Fitting three points to obtainIn (T1, b) T1 )、(T2,b T2 ) Two-point fitting to obtain +.>And the same is true: />,,/>,/>,。
(3) 5points-TCO Compensation
The full scale error FSE is calculated according to the following formula:
,
,
wherein (T1, k) T1 )、(T2,k T2 ) Fitting two points to obtainIn (T1, b) T1 )、(T2,b T2 )、(T3,b T3 ) Three-pointFitting to obtain->And the same is true: />,/>,,/>,/>。
TABLE 15 2P3T 6points-TCO & TCS Compensation
TABLE 16 2P3T 5points-TCS Compensation
TABLE 17 2P3T 5points-TCO Compensation
In this embodiment, when the temperature range of the pressure sensor is-40-140 ℃ and the pressure range is 0-1000 kPa, the calibration accuracy is respectively shown in Table 15, table 16 and Table 17 when the 6points-TCO & TCS, 5points-TCS and 5points-TCO compensation calibration methods are used, and the calibration temperature and the calibration pressure are respectively-20/20/120 ℃ and 0/1000kPa.
It can be seen that the 2P3T calibration scheme has high calibration accuracy, but is relatively complex in calculation and has high requirements on ASIC chips. When the pressure sensor is not or is difficult to perform TCS and TCO compensation, and is applied to an automobile, the accuracy requirement on the whole temperature area is high, and the calibration scheme is selected.
3. Weighting the calibration precision and the calibration cost under each calibration scheme to obtain the comprehensive fraction and the alignment
The calibration precision of each calibration scheme is obtained through calculation of the second part, and a calibration precision score is set for each calibration precision according to the precision value. For example:
0.3% < FSE.ltoreq.0.3% is 100 min,
0.6 percent of FSE is less than or equal to-0.3 percent or 0.3 percent of FSE is less than or equal to 0.6 percent and is 75 minutes,
-1% < FSE less than or equal to-0.6% or 0.6% < FSE less than or equal to 1% for 50 minutes,
FSE is less than 1 percent and less than or equal to-1 percent, and 25 minutes.
For the calibration cost, calibration unit price quantization can be performed according to the time extension of the calibration procedure, manual work and the like, and a calibration cost score is set for the calibration cost of each calibration scheme according to the quantized calibration unit price. For example:
the unit price is more than 0 and less than or equal to 0.2 yuan per 100 minutes,
the unit price is more than 0.2 and less than or equal to 0.4 yuan per unit is 75 minutes,
the unit price is more than 0.4 and less than or equal to 0.6 yuan per unit of 50 minutes,
the unit price is more than 0.6 and less than or equal to 0.8 yuan/each is 25 minutes.
And finally, carrying out weighted summation on the calibration precision score and the calibration cost score to obtain a final comprehensive score, and sequencing all the calibration schemes according to the comprehensive score, wherein the higher the comprehensive score is, the more excellent the corresponding calibration scheme is. The weight of the weighted summation can be set according to the specific situation, if the weight is more focused on the calibration precision, the weight corresponding to the calibration precision score can be given a larger value, otherwise, if the weight is more focused on the calibration cost, the weight corresponding to the calibration cost score can be given a larger value. Of course, the same weight can be given to the calibration accuracy score and the calibration cost score, namely
Composite score = calibration accuracy score x 0.5+ calibration cost score x 0.5.
Corresponding to the above-mentioned optimal calibration scheme determination method, the invention also provides a determination device for the pressure sensor calibration scheme, as shown in fig. 2, which mainly comprises a data measurement module, a calibration accuracy calculation module and a comprehensive scoring module.
The data measurement module is used for measuring and storing the original output values of the pressure sensor to be calibrated at different calibration points; the calibration precision calculation module is used for selecting corresponding data from the measurement data stored by the data measurement module according to the requirements of each calibration scheme on the measurement data quantity, performing fitting calculation to obtain corresponding calibration functions and calculating the calibration precision, and the specific fitting calculation method and the calibration precision calculation method refer to the content; the comprehensive scoring module specifically comprises a calibration precision grading setting module, a calibration cost grading setting module and a comprehensive score calculating and displaying module, wherein the calibration precision grading setting module is used for setting corresponding score values of different precision ranges, the calibration cost grading setting module is used for setting corresponding score values of different cost ranges, the comprehensive score calculating and displaying module is used for respectively calculating comprehensive scores of all calibration schemes and displaying the comprehensive scores in a sorting mode according to the scores from large to small, and the comprehensive score calculating and displaying module is also used for setting scoring weights so as to adjust influences of the calibration precision and the calibration cost on the comprehensive scores.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; the technical features of the above embodiments or in the different embodiments may also be combined within the idea of the invention, the steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims (9)
1. A method for determining a pressure sensor calibration scheme, comprising the steps of:
s1, acquiring original output signal values of a pressure sensor to be calibrated at all calibration points;
s2, calculating corresponding calibration precision under each calibration scheme according to the measurement data;
according to different requirements of the calibration scheme on the number of the calibration points, the calibration scheme is divided into a 2P1T calibration scheme, a 2P2T calibration scheme and a 2P3T calibration scheme; the 2P1T calibration scheme needs 2 calibration pressures and 1 calibration temperature as calibration points, the 2P2T calibration scheme needs 2 calibration pressures and 2 calibration temperatures as calibration points, and the 2P3T calibration scheme needs 2 calibration pressures and 3 calibration temperatures as calibration points; wherein the 2P3T calibration scheme further comprises 6points-TCO & TCS compensation, 5points-TCS compensation and 5points-TCO compensation;
s3, weighting and summing the calibration precision and the calibration cost of each calibration scheme to obtain a comprehensive score;
and S4, selecting an optimal calibration scheme according to the comprehensive score and performing calibration verification.
2. A method of determining a pressure sensor calibration scheme as claimed in claim 1, characterized in that for a 2P1T calibration scheme the full scale error FSE is calculated and taken as the calibration accuracy according to the following formula:
,
,
wherein,and->Respectively an output voltage calibration value and an output voltage measurement value of the pressure sensor to be calibrated under corresponding temperature and pressure; />Representing the sensitivity of the sensor,Tin order to select the calibration temperature to be used,P1andP2for 2 calibration pressures selected andP1<P2,/>、/>respectively marked points [ ]T,P1)、(T,P2) A sensor output voltage measurement; />Representing the bias of the sensor, +.>Representing the full scale nominal voltage value at the corresponding temperature,PAandPBthe upper limit and the lower limit of the measuring range of the pressure sensor to be calibrated are respectively.
3. A method of determining a pressure sensor calibration scheme as claimed in claim 1, characterized in that for a 2P2T calibration scheme the full scale error FSE is calculated and taken as the calibration accuracy according to the following formula:
,
,
wherein,and->Respectively corresponding to the pressure sensor to be calibrated under the corresponding temperature and pressureOutput voltage calibration value and output voltage measurement value; />Representing the sensitivity of the sensor at T1, and (2)>Representing the bias of the sensor at T1; />Representing the sensitivity of the sensor at T2,representing the bias of the sensor at T2; />Representing the full scale nominal voltage value at the corresponding temperature,PAandPBthe upper limit and the lower limit of the measuring range of the pressure sensor to be calibrated are respectively.
4. A method of determining a pressure sensor calibration scheme according to claim 1, characterized in that for the 6points-TCO & TCS compensation in the 2P3T calibration scheme, the full scale error FSE is calculated as the calibration accuracy according to the following formula:
,
,
wherein (T1, k) T1 )、(T2,k T2 )、(T3,k T3 ) Fitting three points to obtainIn (T1, b) T1 )、(T2,b T2 )、(T3,b T3 ) Three-point fitting to obtain +.>,/>,,/>,/>,,/>;/>And->Output voltage calibration value and output voltage measurement value of the pressure sensor to be calibrated under corresponding temperature and pressure respectively, +.>Representing the full scale nominal voltage value at the corresponding temperature,PAandPBthe upper limit and the lower limit of the measuring range of the pressure sensor to be calibrated are respectively.
5. A method of determining a pressure sensor calibration scheme as claimed in claim 1, characterized in that for 5points-TCS compensation in the 2P3T calibration scheme, the full scale error FSE is calculated as the calibration accuracy according to the following formula:
,
,
wherein (T1, k) T1 )、(T2,k T2 )、(T3,k T3 ) Fitting three points to obtainIn (T1, b) T1 )、(T2,b T2 ) Two-point fitting to obtain +.>,/>,,/>,/>,;/>And->Output voltage calibration value and output voltage measurement value of the pressure sensor to be calibrated under corresponding temperature and pressure respectively, +.>Representing the full scale nominal voltage value at the corresponding temperature,PAandPBthe upper limit and the lower limit of the measuring range of the pressure sensor to be calibrated are respectively.
6. A method of determining a pressure sensor calibration scheme according to claim 1, characterized in that for 5points-TCO compensation in a 2P3T calibration scheme, the full scale error FSE is calculated as the calibration accuracy according to the following formula:
,
,
wherein (T1, k) T1 )、(T2,k T2 ) Fitting two points to obtainIn (T1, b) T1 )、(T2,b T2 )、(T3,b T3 ) Three-point fitting to obtain +.>,/>,/>,,/>,/>;/>And->Output voltage calibration value and output voltage measurement value of the pressure sensor to be calibrated under corresponding temperature and pressure respectively, +.>Representing the full scale nominal voltage value at the corresponding temperature,PAandPBthe upper limit and the lower limit of the measuring range of the pressure sensor to be calibrated are respectively.
7. The method for determining a calibration scheme of a pressure sensor according to claim 1, wherein in step S3, a calibration accuracy score is set for each calibration scheme' S calibration accuracy according to the magnitude of the full scale error FSE:
0.3% < FSE.ltoreq.0.3% is 100 min,
0.6 percent of FSE is less than or equal to-0.3 percent or 0.3 percent of FSE is less than or equal to 0.6 percent and is 75 minutes,
-1% < FSE less than or equal to-0.6% or 0.6% < FSE less than or equal to 1% for 50 minutes,
FSE is less than 1 percent and less than or equal to-1 percent and is 25 minutes;
setting a calibration cost score for the calibration cost of each calibration scheme according to the quantized calibration unit price:
the unit price is more than 0 and less than or equal to 0.2 yuan per 100 minutes,
the unit price is more than 0.2 and less than or equal to 0.4 yuan per unit is 75 minutes,
the unit price is more than 0.4 and less than or equal to 0.6 yuan per unit of 50 minutes,
the unit price is more than 0.6 and less than or equal to 0.8 yuan/each is 25 minutes.
8. The method of determining a pressure sensor calibration scheme of claim 7 wherein the calibration accuracy score and the calibration cost score are weighted and summed to obtain a final composite score:
composite score = calibration accuracy score xw1 + calibration cost score xw2,
wherein w1 and w2 are weights corresponding to the set calibration accuracy score and the calibration cost score, respectively.
9. The device for determining the pressure sensor calibration scheme is characterized by comprising a data measurement module, a calibration precision calculation module and a comprehensive scoring module;
the data measurement module is used for measuring and storing original output signal values of the pressure sensor at different calibration points;
the calibration accuracy calculation module is used for executing the step S2 in the method of any one of claims 1-8, and selecting corresponding data from the measurement data stored by the data measurement module to calculate the calibration accuracy of each calibration scheme;
the comprehensive scoring module is used for executing the step S3 in the method of any one of claims 1-8, and comprises a calibration precision grading setting module, a calibration cost grading setting module and a comprehensive score calculation display module; the calibration precision grading setting module is used for setting corresponding score values of different precision ranges, the calibration cost grading setting module is used for setting corresponding score values of different cost ranges, the comprehensive score calculating and displaying module is used for calculating comprehensive scores of all calibration schemes respectively, and sequencing and displaying the comprehensive scores according to the scores from large to small, and the comprehensive score calculating and displaying module is also used for setting scoring weights.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311694349.5A CN117435860B (en) | 2023-12-12 | 2023-12-12 | Method and device for determining pressure sensor calibration scheme |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311694349.5A CN117435860B (en) | 2023-12-12 | 2023-12-12 | Method and device for determining pressure sensor calibration scheme |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117435860A CN117435860A (en) | 2024-01-23 |
CN117435860B true CN117435860B (en) | 2024-03-15 |
Family
ID=89551733
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311694349.5A Active CN117435860B (en) | 2023-12-12 | 2023-12-12 | Method and device for determining pressure sensor calibration scheme |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117435860B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106813680A (en) * | 2016-12-28 | 2017-06-09 | 兰州空间技术物理研究所 | A kind of static demarcating method of high accuracy, high-resolution quartz immunity sensor |
CN109975793A (en) * | 2019-04-25 | 2019-07-05 | 苏州元联传感技术有限公司 | Calibration method of laser two-dimensional distance measurement sensor |
CN114791334A (en) * | 2022-04-20 | 2022-07-26 | 浙江大学 | Calibration simplification method for pressure sensor |
CN115790969A (en) * | 2022-11-30 | 2023-03-14 | 重庆凯瑞测试装备有限公司 | Calibration mechanism and calibration method for force measuring platform |
-
2023
- 2023-12-12 CN CN202311694349.5A patent/CN117435860B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106813680A (en) * | 2016-12-28 | 2017-06-09 | 兰州空间技术物理研究所 | A kind of static demarcating method of high accuracy, high-resolution quartz immunity sensor |
CN109975793A (en) * | 2019-04-25 | 2019-07-05 | 苏州元联传感技术有限公司 | Calibration method of laser two-dimensional distance measurement sensor |
CN114791334A (en) * | 2022-04-20 | 2022-07-26 | 浙江大学 | Calibration simplification method for pressure sensor |
CN115790969A (en) * | 2022-11-30 | 2023-03-14 | 重庆凯瑞测试装备有限公司 | Calibration mechanism and calibration method for force measuring platform |
Non-Patent Citations (2)
Title |
---|
测量压力脉动的动态压力传感器的标定方法;赵英男等;电站系统 程;20100331;第26卷(第2期);第61-62页 * |
自制PVDF薄膜压力传感器标定;王永强等;实验技术与管理;20140531;第31卷(第5期);第84-90页 * |
Also Published As
Publication number | Publication date |
---|---|
CN117435860A (en) | 2024-01-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106441644A (en) | Silicon piezoresistive pressure sensor temperature drift compensation method | |
CN117435860B (en) | Method and device for determining pressure sensor calibration scheme | |
CN113393525A (en) | Weight calibration method based on accurate weighing | |
CN106248297B (en) | Error correcting method for pressure sensor and calorimeter with this method pressure measurement | |
CN113960256B (en) | Temperature compensation method of water meter | |
CN117330278A (en) | Temperature compensation signal conditioning method for full-bridge semiconductor balance | |
CN209821626U (en) | Program-controlled weighing direct-current signal simulator | |
CN102095668A (en) | Method for detecting viscosity of emulsion paint and method for measuring temperature-viscosity correction factor | |
CN104101418A (en) | Electronic analytical balance trace loading and drift discrimination method | |
CN109145417B (en) | Method for directly determining indentation strain method stress calculation function based on mechanical properties of material | |
CN110006330B (en) | Strain test return-to-zero circuit of wide-resistance-value-range resistance strain sensor | |
CN114002378A (en) | Concentration detection method of gas concentration sensor | |
Wang et al. | Research on Automatic Calibration Method Based on ADA4557 | |
CN115790907A (en) | High-precision temperature sensor chip automatic test system and method | |
CN112596015A (en) | Test method and system of three-axis magnetic sensor | |
CN114894223B (en) | Novel bridge sensor signal conditioning circuit and method | |
CN115910383A (en) | Method for determining concentration of immunoassay sample | |
CN116208152B (en) | High-precision analog quantity acquisition device and method | |
CN116124360B (en) | Method for self-judging out-of-tolerance output of piezoresistive pressure sensor | |
CN111130542A (en) | Analog signal temperature compensation method | |
RU2789106C1 (en) | Method for measuring liquid or gas pressure and device for its implementation | |
CN115856006A (en) | Method for measuring ductile-brittle transition temperature of oriented silicon steel | |
CN109270420B (en) | Method for testing wafer | |
CN117760536A (en) | Creep state identification and compensation method for high-precision weighing sensor | |
Leonov et al. | Investigation of the influence of load cell diameter on mass measurement error |
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 |