CN114199451A - Pressure detection method and system based on temperature compensation and storage medium - Google Patents
Pressure detection method and system based on temperature compensation and storage medium Download PDFInfo
- Publication number
- CN114199451A CN114199451A CN202111405923.1A CN202111405923A CN114199451A CN 114199451 A CN114199451 A CN 114199451A CN 202111405923 A CN202111405923 A CN 202111405923A CN 114199451 A CN114199451 A CN 114199451A
- Authority
- CN
- China
- Prior art keywords
- pressure
- compensation
- value
- temperature
- pressure value
- 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
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 41
- 238000000034 method Methods 0.000 claims abstract description 15
- 238000012545 processing Methods 0.000 claims description 15
- 230000009286 beneficial effect Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000009529 body temperature measurement Methods 0.000 description 4
- 238000009530 blood pressure measurement Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01L—MEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
- G01L19/00—Details of, or accessories for, apparatus for measuring steady or quasi-steady pressure of a fluent medium insofar as such details or accessories are not special to particular types of pressure gauges
- G01L19/04—Means for compensating for effects of changes of temperature, i.e. other than electric compensation
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Measuring Fluid Pressure (AREA)
Abstract
The invention relates to a pressure detection method, a system and a storage medium based on temperature compensation, wherein the method comprises the following steps: s1, acquiring a temperature value of the current environment and acquiring a current pressure value acquired by the pressure sensor in the current environment; s2, acquiring a target compensation pressure value based on the temperature value of the current environment; and S3, obtaining an actual pressure value according to the current pressure value and the compensation pressure value. According to the technical scheme, the influence of the ambient temperature on the pressure value is overcome through the method, and the accurate pressure value is obtained in a temperature compensation mode, so that more convenient use experience is brought to a user.
Description
Technical Field
The invention relates to the technical field of pressure detection, in particular to a pressure detection method and system based on temperature compensation and a storage medium.
Background
With the continuous development of the current high and new technology, the attention of people on the accuracy of pressure detection is also continuously increased. In order to meet the needs of people and the needs of the market, a method for detecting pressure is needed to solve the above problems.
At present, an inflator pump with pressure detection in the market generally adopts a pressure sensor of a piezoresistor to carry out pressure detection, the sensor of the piezoresistor has temperature drift, and certain errors can be brought when the ambient temperature changes, so that the pressure detection is inaccurate. Other methods are to connect resistors in series or in parallel in the wheatstone bridge circuit of the pressure detection circuit to reduce the error caused by temperature drift, but the practical improvement is limited.
Disclosure of Invention
In order to solve the technical problem, the invention provides a pressure detection method, a system and a storage medium based on temperature compensation.
The technical scheme of the pressure detection method based on temperature compensation is as follows:
s1, acquiring a temperature value of the current environment and acquiring a current pressure value acquired by the pressure sensor in the current environment;
s2, acquiring a target compensation pressure value based on the temperature value of the current environment;
and S3, obtaining an actual pressure value according to the current pressure value and the compensation pressure value.
The pressure detection method based on temperature compensation has the following beneficial effects:
according to the invention, the temperature value of the current environment is obtained, the current pressure value acquired by the pressure sensor in the current environment is obtained, the target compensation pressure value is obtained based on the temperature value of the current environment, and the actual pressure value is obtained according to the current pressure value and the compensation pressure value.
On the basis of the above scheme, the pressure detection method based on temperature compensation of the present invention can be further improved as follows.
Further, still include: and acquiring reference pressure values acquired by the pressure sensor in each reference environment respectively, and generating a preset compensation pressure gauge based on the temperature value of each reference environment and each reference pressure value.
The beneficial effect of adopting the further scheme is that: the compensation pressure gauge is obtained by collecting different pressure values in a plurality of different temperature environments, and a user can conveniently inquire the pressure values during pressure detection.
Further, the S2 specifically includes:
and acquiring and determining a compensation pressure value corresponding to the temperature value of the current environment from the preset compensation pressure gauge as a target compensation pressure value corresponding to the temperature value of the current environment.
The beneficial effect of adopting the further scheme is that: the user can directly obtain the compensation pressure value according to the current environment temperature during the pressure detection.
Further, a thermistor is used for acquiring the temperature value of the current environment.
The beneficial effect of adopting the further scheme is that: the environment temperature value is directly obtained through the thermistor, so that the error of temperature measurement is reduced, and a user can conveniently obtain an actual pressure value according to the temperature value.
The technical scheme of the pressure detection system based on temperature compensation is as follows:
the method comprises the following steps: the device comprises an acquisition module, a first processing module and a second processing module;
the acquisition module is used for: acquiring a temperature value of a current environment and acquiring a current pressure value acquired by a pressure sensor in the current environment;
the first processing module is configured to: acquiring a target compensation pressure value based on the temperature value of the current environment;
the second processing module is configured to: and obtaining an actual pressure value according to the current pressure value and the compensation pressure value.
The pressure detection system based on temperature compensation has the following beneficial effects:
according to the invention, the temperature value of the current environment is obtained, the current pressure value acquired by the pressure sensor in the current environment is obtained, the target compensation pressure value is obtained based on the temperature value of the current environment, and the actual pressure value is obtained according to the current pressure value and the compensation pressure value.
On the basis of the above scheme, the pressure detection system based on temperature compensation of the invention can be further improved as follows.
Further, still include: a configuration module;
the configuration module is configured to: and acquiring reference pressure values acquired by the pressure sensor in each reference environment respectively, and generating a preset compensation pressure gauge based on the temperature value of each reference environment and each reference pressure value.
The beneficial effect of adopting the further scheme is that: the compensation pressure gauge is obtained by collecting different pressure values in a plurality of different temperature environments, and a user can conveniently inquire the pressure values during pressure detection.
Further, the first processing module is specifically configured to:
and obtaining and determining a compensation pressure value corresponding to the temperature value of the current environment from the preset compensation pressure gauge as a target compensation pressure value corresponding to the temperature value of the current environment.
The beneficial effect of adopting the further scheme is that: the user can directly obtain the compensation pressure value according to the current environment temperature during the pressure detection.
Further, a thermistor is used for acquiring the temperature value of the current environment.
The beneficial effect of adopting the further scheme is that: the environment temperature value is directly obtained through the thermistor, so that the error of temperature measurement is reduced, and a user can conveniently obtain an actual pressure value according to the temperature value.
The technical scheme of the storage medium of the invention is as follows:
the storage medium has stored therein instructions which, when read by a computer, cause the computer to perform the steps of a method for pressure detection based on temperature compensation according to the present invention.
The technical scheme of the electronic equipment is as follows:
comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor, when executing the computer program, causes the computer to perform the steps of a method for pressure detection based on temperature compensation according to the invention.
Drawings
Fig. 1 is a schematic flow chart of a pressure detection method based on temperature compensation according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a pressure detection system based on temperature compensation according to an embodiment of the present invention.
Detailed Description
As shown in fig. 1, a pressure detection method based on temperature compensation according to an embodiment of the present invention includes the following steps:
s1, acquiring a temperature value of the current environment and acquiring a current pressure value acquired by the pressure sensor in the current environment;
s2, acquiring a target compensation pressure value based on the temperature value of the current environment;
and S3, obtaining an actual pressure value according to the current pressure value and the compensation pressure value.
According to the technical scheme, the temperature value of the current environment is obtained, the current pressure value of the pressure sensor collected in the current environment is obtained, the target compensation pressure value is obtained based on the temperature value of the current environment, and the actual pressure value is obtained according to the current pressure value and the compensation pressure value.
Preferably, the method further comprises the following steps: and acquiring reference pressure values acquired by the pressure sensor in each reference environment respectively, and generating a preset compensation pressure gauge based on the temperature value of each reference environment and each reference pressure value.
The temperature value of each reference environment and each reference pressure value are fitted to obtain a fitting function, an independent variable in the fitting function is the temperature value of the reference environment, a dependent variable is a difference value between a reference pressure value corresponding to the temperature value of the reference environment and a standard pressure value, the standard pressure value is a known pressure value applied to the pressure sensor, and finally a preset compensation pressure gauge is obtained according to the fitting function.
The pressure sensors of different models in the market can be used for acquiring, and when the pressure sensors of different models are used for acquiring pressure values, target compensation pressure values are obtained according to data of the pressure sensors in the preset compensation pressure gauge.
Wherein, obtain the compensation manometer through gathering the different pressure values under a plurality of different temperature environment, the user of being convenient for inquires when pressure measurement.
In addition, the target compensation pressure value can be obtained according to a temperature and pressure compensation table known in the market.
Preferably, the S2 specifically includes:
and obtaining and determining a compensation pressure value corresponding to the temperature value of the current environment from the preset compensation pressure gauge as a target compensation pressure value corresponding to the temperature value of the current environment.
The compensation pressure value is acquired in the compensation pressure gauge, so that a user can directly obtain the compensation pressure value according to the current ambient temperature during pressure detection.
Preferably, a thermistor is used to obtain the temperature value of the current environment.
The environment temperature value is directly obtained through the thermistor, so that the error of temperature measurement is reduced, and a user can conveniently obtain an actual pressure value according to the temperature value.
Specifically, a thermistor and a pressure sensor are arranged together, a reference resistor and the thermistor form a voltage division circuit, an internal ADC circuit or an external ADC circuit of a single chip microcomputer is used for collecting the value of a voltage signal of divided voltage and temperature, and the temperature value of the current environment is calculated. In the prior art, dozens of products with pressure sensors are collected and placed under different temperature environments and pressure signal values under different pressure environments, compensation values in different pressure ranges under different temperature environments are obtained through data analysis, a data table of the compensation pressure values is generated, and pressure error compensation brought by temperature drift is carried out through a table look-up method.
Through practical tests, the heat generated in the process of inflating equipment by the inflating device is very large, the ambient temperature rise of the pressure sensor can reach 60 ℃ or even higher, after the temperature sensor is added to measure the ambient temperature of the pressure sensor and relevant data compensation is carried out, the error of the measured pressure value is very small and is less than 0.01%/DEG C full range. The pressure detection device has the advantages that the accurate measurement effect is realized in the application of pressure detection on the inflating device, and the pressure accuracy is ensured by setting the pressure automatic stop function for the inflation of the inflating device.
As shown in fig. 2, a pressure detection system 200 based on temperature compensation according to an embodiment of the present invention includes: an acquisition module 210, a first processing module 220, and a second processing module 230;
the acquisition module 210 is configured to: acquiring a temperature value of a current environment and acquiring a current pressure value acquired by a pressure sensor in the current environment;
the first processing module 220 is configured to: acquiring a target compensation pressure value based on the temperature value of the current environment;
the second processing module 230 is configured to: and obtaining an actual pressure value according to the current pressure value and the compensation pressure value.
According to the technical scheme, the temperature value of the current environment is obtained, the current pressure value of the pressure sensor collected in the current environment is obtained, the target compensation pressure value is obtained based on the temperature value of the current environment, and the actual pressure value is obtained according to the current pressure value and the compensation pressure value.
Preferably, the method further comprises the following steps: a configuration module;
the configuration module is configured to: and acquiring reference pressure values acquired by the pressure sensor in each reference environment respectively, and generating a preset compensation pressure gauge based on the temperature value of each reference environment and each reference pressure value.
Wherein, obtain the compensation manometer through gathering the different pressure values under a plurality of different temperature environment, the user of being convenient for inquires when pressure measurement.
Preferably, the first processing module is specifically configured to:
and obtaining and determining a compensation pressure value corresponding to the temperature value of the current environment from the preset compensation pressure gauge as a target compensation pressure value corresponding to the temperature value of the current environment.
The compensation pressure value is acquired in the compensation pressure gauge, so that a user can directly obtain the compensation pressure value according to the current ambient temperature during pressure detection.
Preferably, a thermistor is used to obtain the temperature value of the current environment.
The environment temperature value is directly obtained through the thermistor, so that the error of temperature measurement is reduced, and a user can conveniently obtain an actual pressure value according to the temperature value.
The above steps for realizing the corresponding functions of the parameters and modules in the pressure detection system 200 based on temperature compensation of the present invention can refer to the above parameters and steps in the embodiment of the pressure detection method based on temperature compensation, which are not described herein again.
An embodiment of the present invention provides a storage medium, including: the storage medium stores instructions, and when the computer reads the instructions, the computer is enabled to execute the steps of the pressure detection method based on temperature compensation according to any one of the above embodiments, which may specifically refer to the parameters and the steps in the above embodiment of the pressure detection method based on temperature compensation, and are not described herein again.
Computer storage media such as: flash disks, portable hard disks, and the like.
An electronic device provided in an embodiment of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the computer program is executed by the processor, so that the computer executes the steps of the pressure detection method based on temperature compensation according to any one of the above descriptions, and specifically, reference may be made to each parameter and step in an embodiment of the pressure detection method based on temperature compensation, which is not described herein again.
Those skilled in the art will appreciate that the present invention may be embodied as methods, apparatus, storage media and electronic devices.
Thus, the present invention may be embodied in the form of: may be embodied entirely in hardware, entirely in software (including firmware, resident software, micro-code, etc.) or in a combination of hardware and software, and may be referred to herein generally as a "circuit," module "or" system. Furthermore, in some embodiments, the invention may also be embodied in the form of a computer program product in one or more computer-readable media having computer-readable program code embodied in the medium. Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. For example, a computer readable storage medium may be, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Claims (9)
1. A pressure detection method based on temperature compensation is characterized by comprising the following steps:
s1, acquiring a temperature value of the current environment, and acquiring a current pressure value acquired by the pressure sensor in the current environment;
s2, acquiring a target compensation pressure value based on the temperature value of the current environment;
and S3, obtaining an actual pressure value according to the current pressure value and the compensation pressure value.
2. The method for detecting pressure based on temperature compensation according to claim 1, further comprising: and acquiring reference pressure values acquired by the pressure sensor in each reference environment respectively, and generating a preset compensation pressure gauge based on the temperature value of each reference environment and each reference pressure value.
3. The method according to claim 2, wherein the S2 specifically includes:
and acquiring and determining a compensation pressure value corresponding to the temperature value of the current environment from the preset compensation pressure gauge as a target compensation pressure value corresponding to the temperature value of the current environment.
4. A pressure detection method based on temperature compensation according to any one of claims 1-3, characterized in that a thermistor is used to obtain the temperature value of the current environment.
5. A temperature compensation based pressure sensing system, comprising: the device comprises an acquisition module, a first processing module and a second processing module;
the acquisition module is used for: acquiring a temperature value of a current environment and acquiring a current pressure value acquired by a pressure sensor in the current environment;
the first processing module is configured to: acquiring a target compensation pressure value based on the temperature value of the current environment;
the second processing module is configured to: and obtaining an actual pressure value according to the current pressure value and the compensation pressure value.
6. The system of claim 5, further comprising: a configuration module;
the configuration module is configured to: and acquiring reference pressure values acquired by the pressure sensor in each reference environment respectively, and generating a preset compensation pressure gauge based on the temperature value of each reference environment and each reference pressure value.
7. The system according to claim 6, wherein the first processing module is specifically configured to:
and acquiring and determining a compensation pressure value corresponding to the temperature value of the current environment from the preset compensation pressure gauge as a target compensation pressure value corresponding to the temperature value of the current environment.
8. A pressure detection system based on temperature compensation according to any one of claims 5-7, characterized in that the temperature value of the current environment is obtained by a thermistor.
9. A storage medium having stored therein instructions, which when read by a computer, cause the computer to execute a method for pressure detection based on temperature compensation according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111405923.1A CN114199451A (en) | 2021-11-24 | 2021-11-24 | Pressure detection method and system based on temperature compensation and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111405923.1A CN114199451A (en) | 2021-11-24 | 2021-11-24 | Pressure detection method and system based on temperature compensation and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114199451A true CN114199451A (en) | 2022-03-18 |
Family
ID=80648790
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111405923.1A Pending CN114199451A (en) | 2021-11-24 | 2021-11-24 | Pressure detection method and system based on temperature compensation and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114199451A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023231606A1 (en) * | 2022-05-30 | 2023-12-07 | 佛山市美的清湖净水设备有限公司 | Performance testing method for water softening device |
CN117309091A (en) * | 2023-12-01 | 2023-12-29 | 深圳市恒永达科技股份有限公司 | Liquid suction amount accuracy pressure detection method, system and readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003014572A (en) * | 2001-07-02 | 2003-01-15 | Yokohama Rubber Co Ltd:The | Pressure sensor and pressure sensor system |
WO2014160912A2 (en) * | 2013-03-29 | 2014-10-02 | Dresser, Inc. | Temperature compensated pressure transducer |
CN108827527A (en) * | 2018-03-13 | 2018-11-16 | 安徽瑞鑫自动化仪表有限公司 | A kind of pressure gauge accuracy measurement system based on temperature-compensating |
-
2021
- 2021-11-24 CN CN202111405923.1A patent/CN114199451A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003014572A (en) * | 2001-07-02 | 2003-01-15 | Yokohama Rubber Co Ltd:The | Pressure sensor and pressure sensor system |
WO2014160912A2 (en) * | 2013-03-29 | 2014-10-02 | Dresser, Inc. | Temperature compensated pressure transducer |
CN108827527A (en) * | 2018-03-13 | 2018-11-16 | 安徽瑞鑫自动化仪表有限公司 | A kind of pressure gauge accuracy measurement system based on temperature-compensating |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023231606A1 (en) * | 2022-05-30 | 2023-12-07 | 佛山市美的清湖净水设备有限公司 | Performance testing method for water softening device |
CN117309091A (en) * | 2023-12-01 | 2023-12-29 | 深圳市恒永达科技股份有限公司 | Liquid suction amount accuracy pressure detection method, system and readable storage medium |
CN117309091B (en) * | 2023-12-01 | 2024-03-08 | 深圳市恒永达科技股份有限公司 | Liquid suction amount accuracy pressure detection method, system and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107621279B (en) | Data processing method, sensor data calibration method and device | |
CN114199451A (en) | Pressure detection method and system based on temperature compensation and storage medium | |
CN110018275A (en) | A kind of gas detector with compensation function and compensation method | |
CN105224132A (en) | A kind of calibration steps of pressure transducer and device | |
CN112556927B (en) | Pressure sensor self-correcting method, equipment, storage medium and device | |
CN104865411B (en) | Dynamics compensation circuits | |
CN106092375B (en) | The method of calibration and tester of airborne equipment surface temperature sensor | |
CN104898737A (en) | Temperature acquisition fault self-diagnosis system | |
CN113607248B (en) | Hydraulic weighing method and hydraulic weighing device | |
CN116593060A (en) | Temperature compensation method, circuit and device for pressure sensor | |
CN112067165A (en) | Temperature sensor precision testing system, testing method, testing device and storage medium | |
CN114859997A (en) | Temperature control method, device, system, equipment and storage medium | |
CN112731815B (en) | Method for improving analog quantity acquisition precision | |
CN212391150U (en) | Temperature sensor precision test system | |
CN117761124A (en) | Pressure product correction method and device with temperature compensation | |
US11280750B2 (en) | Boiling point water activity measurement | |
CN111637983B (en) | Detection system and method of resistance type temperature sensor | |
CN116208152A (en) | High-precision analog quantity acquisition device and method | |
CN110702252A (en) | Platinum resistance temperature measuring instrument with quick self-checking function | |
CN113433502B (en) | Capacitance and inductance tester calibration method and device based on waveform simulation | |
CN115639335A (en) | Water quality monitoring data calibration method, system and computer readable storage medium | |
CN113655093A (en) | Gas concentration detection method, device, equipment and medium | |
CN114343629A (en) | Method and related device for automatically tracking and correcting sensor signal drift | |
CN110007087B (en) | Blood glucose measuring method based on rechargeable glucometer | |
CN113495231A (en) | Zero-bias-temperature-drift-free direct-current magnetic field measurement system and method |
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 |