Digital pressure gauge error automatic calibration method, device, equipment, medium and product
By automatically obtaining and calculating the pressure value of the inspection point of the digital pressure gauge, the error and deviation problems caused by manual inspection are solved, and a more accurate and efficient calibration process is achieved.
Patent Information
- Application Number
- CN202411540222.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-07
Smart Images

Figure CN119394509A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of instrument automation control, and in particular to a method, device, equipment, medium and product for automatic error calibration of a digital pressure gauge. Background Art
[0002] With the development of electronic technology in recent years, especially sensor materials and application technologies for fluid pressure detection, the number of digital pressure gauge products has gradually increased. To this end, relevant departments have also issued industry-related technical standards and verification procedures. According to the requirements of "JJG875-2019 Digital Pressure Gauge Verification Procedure", the current conventional digital pressure gauge verification methods mostly use manual measurement, manual recording and manual calculation of errors to determine whether the accuracy of the digital pressure gauge meets the standard requirements. This verification method is easily affected by human factors, and the verification data and verification results are prone to deviations. Summary of the invention
[0003] In view of this, the present invention provides a method, device, equipment, medium and product for automatic calibration of digital pressure gauge errors to solve the problem of inaccurate results of digital pressure gauge calibration sheets produced due to manual detection and easy deviation of calibration results.
[0004] In a first aspect, the present invention provides a method for automatic error calibration of a digital pressure gauge, the method comprising:
[0005] Get multiple inspection points for digital pressure gauges;
[0006] Test the pressure value of each inspection point to obtain the original pressure value and the standard pressure value;
[0007] Calculate the first measurement error and the corresponding correction coefficient of each inspection point based on the original pressure value and the standard pressure value of each inspection point, and perform automatic calibration according to the correction coefficient;
[0008] The second measurement error is calculated based on the correction coefficient, and compared with the second measurement error according to a preset accuracy requirement to determine the pressure detection result.
[0009] The automatic error calibration method for a digital pressure gauge provided by the present invention obtains a plurality of inspection points of the digital pressure gauge; tests the pressure value of each inspection point to obtain an original pressure value and a standard pressure value, calculates a first measurement error and a corresponding correction coefficient of each inspection point based on the original pressure value and the standard pressure value of each inspection point, and performs automatic calibration according to the correction coefficient; realizes automatic calibration of the corresponding inspection points of the digital pressure gauge, eliminates the process of manual inspection, calculation and automatic calibration of the digital pressure gauge, enhances the rationality and accuracy of the inspection process, realizes automatic calibration in the factory production link of the digital pressure gauge, speeds up the inspection table speed, provides reliable technical guarantee for the production and application of batch digital pressure gauge products in the factory, calculates a second measurement error based on the correction coefficient, compares it with the second measurement error according to a preset accuracy requirement, determines a pressure detection result, improves the accuracy of the detection result, and solves the problem that the inspection table result of the produced digital pressure gauge is inaccurate due to manual inspection and the calibration result is prone to deviation.
[0010] In an optional implementation, before acquiring multiple inspection points of the digital pressure gauge, the digital pressure gauge error automatic calibration method further includes:
[0011] The gas pressure values of multiple inspection points in the digital pressure gauge are adjusted by vacuuming or pressurizing, and the standard pressure value of each inspection point is obtained by vacuuming or pressurizing.
[0012] The digital pressure gauge error automatic calibration method provided by the present invention adjusts the gas pressure values of multiple inspection points in the digital pressure gauge by vacuuming or pressurizing, and obtains the standard pressure value of each inspection point by vacuuming or pressurizing, thereby improving the accuracy of pressure detection and providing the original pressure value and the standard pressure value of each inspection point for the subsequent automatic calibration of the digital pressure gauge error.
[0013] In an optional implementation, the digital pressure gauge includes a button, and before obtaining multiple inspection points of the digital pressure gauge and the standard pressure value corresponding to each inspection point, the digital pressure gauge error automatic calibration method further includes:
[0014] On a specific interface, long press the button to switch the digital pressure gauge to the calibration gauge state.
[0015] The digital pressure gauge error automatic calibration method provided by the present invention switches the digital pressure gauge to the calibration gauge state by long pressing a button in a specific interface, thereby providing conditions for subsequent automatic calibration of the digital pressure gauge.
[0016] In an optional implementation, the digital pressure gauge further includes a pressure sensor, and the pressure value of each of the inspection points is tested to obtain an original pressure value including:
[0017] After the gas pressure values of multiple inspection points in the digital pressure gauge are adjusted by vacuuming or pressurizing, the current pressure value of each inspection point is tested in turn by a pressure sensor to obtain the original pressure value.
[0018] The digital pressure gauge error automatic calibration method provided by the present invention obtains the original pressure value by testing the pressure sensor of the digital pressure gauge itself, does not need to introduce an external detection device, and saves the cost of digital pressure gauge detection.
[0019] In an optional implementation, calculating the first error value and the corresponding correction coefficient of each meter checking point based on the original pressure value and the standard pressure value of each meter checking point includes:
[0020] Subtract the original pressure value of each inspection point from the corresponding standard pressure value in turn to obtain the first measurement error of each inspection point;
[0021] The corresponding correction coefficient is calculated based on the first measurement error using the least square method.
[0022] The digital pressure gauge error automatic calibration method provided by the present invention sequentially subtracts the original pressure value of each inspection point from the corresponding standard pressure value to obtain the first measurement error of each inspection point; based on the first measurement error, the corresponding correction coefficient is calculated using the least squares method, thereby realizing automatic calculation of the correction coefficient and providing a basis for subsequently correcting each inspection point of the digital pressure gauge according to the correction coefficient.
[0023] In an optional implementation, calculating the second measurement error based on the correction coefficient includes:
[0024] A corresponding pressure correction value is calculated based on the correction coefficient, and a second measurement error is calculated based on each corresponding pressure correction value and the standard pressure value.
[0025] The digital pressure gauge error automatic calibration method provided by the present invention calculates the corresponding pressure correction value based on the correction coefficient; calculates the second error value based on each corresponding pressure correction value and the standard pressure value, which provides conditions for the determination of subsequent pressure detection results, and can avoid the problem of inaccurate identification results caused by interference from human factors due to manual calculation, recording, and determination. It can be applied to the calibration meter link of digital pressure gauges in mass production of intelligent factories, and bring certain economic benefits to the production factories.
[0026] In a second aspect, the present invention provides a digital pressure gauge error automatic calibration device, the device comprising:
[0027] An acquisition module is used to acquire multiple inspection points of a digital pressure gauge;
[0028] The test module is used to test the pressure value of each meter inspection point to obtain the original pressure value and the standard pressure value;
[0029] A calculation and calibration module, used to calculate the first measurement error and the corresponding correction coefficient of each meter inspection point based on the original pressure value and the standard pressure value of each meter inspection point, and automatically calibrate according to the correction coefficient;
[0030] The pressure detection result determination module is used to calculate the second measurement error based on the correction coefficient, and compare it with the second measurement error according to a preset accuracy requirement to determine the pressure detection result.
[0031] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method for automatic error calibration of a digital pressure gauge according to the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0032] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for automatic error calibration of a digital pressure gauge according to the first aspect or any corresponding embodiment thereof.
[0033] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the method for automatic error calibration of a digital pressure gauge according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 is a flow chart of a method for automatic error calibration of a digital pressure gauge according to an embodiment of the present invention;
[0036] Figure 2 is a flow chart of another method for automatic error calibration of a digital pressure gauge according to an embodiment of the present invention;
[0037] Figure 3 is a flow chart of another method for automatic error calibration of a digital pressure gauge according to an embodiment of the present invention;
[0038] Figure 4 is a structural block diagram of a digital pressure gauge error automatic calibration system according to an embodiment of the present invention;
[0039] Figure 5 is a block diagram of the communication structure between computer software and a digital pressure gauge according to an embodiment of the present invention;
[0040] Figure 6 is a structural block diagram of a digital pressure gauge error automatic calibration device according to an embodiment of the present invention;
[0041] Figure 7 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0043] According to an embodiment of the present invention, an embodiment of a method for automatic error calibration of a digital pressure gauge is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0044] In this embodiment, a digital pressure gauge error automatic calibration method is provided, which can be used in a digital pressure gauge error automatic calibration system, such as Figure 4 As shown, the digital pressure gauge error automatic calibration system includes an adjustable pressure source connected to the digital pressure gauge, a standard pressure gauge and a computer; a digital pressure gauge refers to a pressure gauge that uses electronic technology to sample and process the signal of the fluid pressure sensor and finally obtains the pressure measurement value. At the same time, the digital pressure gauge can also collect the standard pressure value of the standard pressure gauge for error calculation and automatic calibration; an adjustable pressure source refers to a special mechanical equipment that can provide different pressure environments for the test fluid; a standard pressure gauge is used as a standard for high-precision pressure detection. The adjustable pressure source provides the same adjustable fluid pressure test environment to the digital pressure gauge and the standard pressure gauge. A special digital pressure gauge calibration table software is installed in the computer, which can receive and display the test data and measurement errors of each inspection point of the digital pressure gauge, and can input the inspection accuracy grade standard of the digital pressure gauge, and determine whether the test result of the digital pressure gauge meets the requirements based on the accuracy grade standard.
[0045] Specifically, the digital pressure gauge includes a fluid pressure input port, a computer communication interface, a standard pressure gauge communication interface, a pressure collection interface, a pressure sensor, a main control circuit board, a power supply (battery or external power interface), a liquid crystal screen, and operation buttons, etc. The digital pressure gauge is sealed and connected to the adjustable pressure source through the fluid pressure input port through a mechanical interface; the digital pressure gauge communicates with the computer through a computer communication interface, usually a UART interface (Universal Asynchronous Receiver / Transmitter, UART, universal asynchronous receiver / transmitter interface), and then communicates with the computer after conversion through a converter; the digital pressure gauge communicates with the standard pressure gauge through a standard pressure gauge communication interface, usually an RS485 interface.
[0046] The adjustable pressure source can be a desktop gas pressure source, which can adjust the gas pressure in the pipeline or closed container by manual vacuum or manual pressurization. The standard pressure gauge is a high-precision absolute pressure gauge with an LCD display and RS485 signal output interface. When the pressure of the standard pressure gauge changes, the LCD screen can display the accurate pressure value and output the same pressure data from the RS485 signal output interface.
[0047] Figure 1 is a flow chart of a method for automatic error calibration of a digital pressure gauge according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0048] Step S101, obtaining multiple inspection points of the digital pressure gauge.
[0049] Specifically, in the factory production of digital pressure gauges, a dedicated digital pressure gauge calibration software is installed in the computer to set multiple calibration points. The digital pressure gauge has 5 to 10 calibration points, for example: 0 point, atmospheric pressure point, 1 / 5 range point, 2 / 5 range point, 3 / 5 range point, 4 / 5 range point and the positive pressure measurement value and return pressure measurement value of the range point.
[0050] Step S102, testing the pressure value of each meter checking point to obtain the original pressure value and the standard pressure value.
[0051] Specifically, when testing the pressure value of each inspection point, the digital pressure gauge is switched to the calibration gauge state by using the operation button, and the pressure value of each inspection point can be tested by the pressure sensor installed in the digital pressure gauge to obtain the original pressure value. The standard pressure value corresponding to each inspection point is measured by the standard pressure gauge.
[0052] Step S103, calculating the first measurement error and the corresponding correction coefficient of each meter checking point based on the original pressure value and the standard pressure value of each meter checking point, and performing automatic calibration according to the correction coefficient.
[0053] Specifically, the main control circuit board of the digital pressure gauge receives the original pressure value and the standard pressure value, and can obtain the first measurement error of each inspection point based on the original pressure value and the standard pressure value of each inspection point. The main control circuit board of the digital pressure gauge calculates the corresponding pressure correction coefficient based on the first measurement error, and automatically calibrates the first measurement error of the digital pressure gauge according to the correction coefficient. When performing automatic calibration, the digital pressure gauge is exited from the calibration table state by using an operation button. When exiting, the digital pressure gauge automatically calibrates each inspection point according to the pressure correction value.
[0054] Step S104, calculating the second measurement error based on the correction coefficient, and comparing it with the second measurement error according to a preset accuracy requirement to determine the pressure detection result.
[0055] Specifically, after the automatic calibration of multiple digital pressure gauge inspection points is completed, the second measurement error between the calibration pressure value and the standard pressure value of each inspection point is calculated. When the second measurement error of each inspection point meets the preset accuracy requirement, the digital pressure gauge is determined to be qualified.
[0056] Exemplarily, the preset accuracy requirement in this embodiment is set to be less than ±1% FS (full scale).
[0057] When the digital pressure gauge exits the calibration state, after judging that all the inspection points have been inspected successfully, the original pressure value, standard pressure value, first measurement error, correction coefficient and second measurement error of each inspection point are transmitted to the computer. When the second measurement error of all the inspection points meets the preset accuracy requirement, the digital pressure gauge is judged to have passed the inspection, otherwise the digital pressure gauge fails the inspection.
[0058] The digital pressure gauge error automatic calibration method provided by the present invention provided in this embodiment obtains multiple inspection points of the digital pressure gauge; tests the pressure value of each inspection point to obtain the original pressure value and the standard pressure value, calculates the first measurement error and the corresponding correction coefficient of each inspection point based on the original pressure value and the standard pressure value of each inspection point, and performs automatic calibration according to the correction coefficient; realizes the automatic calibration of the corresponding digital pressure gauge inspection points, eliminates the manual detection, calculation and automatic calibration of the digital pressure gauge, enhances the rationality and accuracy of the inspection process, realizes the automatic calibration in the factory production link of the digital pressure gauge, speeds up the calibration speed, provides reliable technical guarantee for the production and application of factory batch digital pressure gauge products, calculates the second measurement error based on the correction coefficient, and compares it with the second measurement error according to the preset accuracy requirement, determines the pressure detection result, improves the accuracy of the detection result, and solves the problem that the calibration results of the digital pressure gauges produced due to manual detection are inaccurate and the calibration results are prone to deviation.
[0059] In this embodiment, a digital pressure gauge error automatic calibration method is provided, which can be used in a digital pressure gauge error automatic calibration system. Figure 2 is a flow chart of a method for automatic error calibration of a digital pressure gauge according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0060] Step S201, adjusting the gas pressure values of multiple inspection points in the digital pressure gauge by vacuuming or pressurizing, and obtaining the standard pressure value of each inspection point by vacuuming or pressurizing.
[0061] Specifically, taking the inspection points including 0 point, atmospheric pressure point, 1 / 5 range point, 2 / 5 range point, 3 / 5 range point, 4 / 5 range point and range point as an example, the 0 point, atmospheric pressure point, 1 / 5 range point, 2 / 5 range point, 3 / 5 range point, 4 / 5 range point and range point in the digital pressure gauge are depressurized or pressurized by vacuum extraction or pressurization, and the standard pressure gauge is depressurized and pressurized by vacuum extraction or pressurization, so that the standard pressure value display reading is maintained below 10KPa (pressure unit, kilopascals), and the standard pressure value of each inspection point of the standard pressure gauge is obtained.
[0062] Step S202, the digital pressure gauge includes a button, and the digital pressure gauge is switched to a calibration gauge state by long pressing the button in a specific interface.
[0063] Specifically, the specific interface refers to a designated display page. In order to present different contents, the LCD screen of the digital pressure gauge is designed to display multiple display pages. The display page is switched when the button is pressed short (pops up within 3 seconds after being pressed). When switching to the designated display page, the digital pressure gauge enters the calibration state by pressing the button for a long time (pops up after being pressed for 3 seconds).
[0064] Step S203, obtain multiple inspection points of the digital pressure gauge. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.
[0065] Step S204, testing the pressure value of each meter checking point to obtain the original pressure value and the standard pressure value.
[0066] Specifically, the above step S204 includes:
[0067] a. After adjusting the gas pressure values of multiple inspection points in the digital pressure gauge by vacuuming or pressurizing, use the pressure sensor to test the current pressure value of each inspection point in turn to obtain the original pressure value and the standard pressure value.
[0068] The digital pressure gauge takes an absolute pressure digital pressure gauge with an accuracy level of 1 and a range of 0 to 1.0 MPa as an example to further define the above steps S201 to S204, including: first, long press the button to operate the digital pressure gauge to enter the meter inspection state, and check the digital pressure gauge LCD display to confirm the state. Then operate the adjustable pressure source to evacuate the vacuum so that the standard pressure gauge display reading is maintained below 10KPa. Then, short press the button to trigger the digital pressure gauge to perform a pressure test, perform pressure detection through the pressure sensor, obtain the original pressure value, and read the standard pressure value of the standard pressure gauge through the standard pressure gauge communication interface. When the original pressure value and the standard pressure value are successfully obtained, the two data are stored as the detection data of the 0 point, indicating that the 0 point detection is completed. If there is a data reading failure, it means that the 0 point pressure detection fails, and it is necessary to find the fault and then short press the key again. Then, the digital pressure gauge automatically switches to the next detection point for detection, and the LCD displays the next detection point detection (atmospheric pressure point). The test process of the atmospheric pressure point is similar to that of the 0 point, and will not be repeated. According to this method, the test is performed cyclically. When all the inspection points (0 point, atmospheric pressure point, 1 / 5 range point, 2 / 5 range point, 3 / 5 range point, 4 / 5 range point and range point) are inspected, confirm that all the inspection points are completed by checking the LCD, and then press and hold the button to exit the calibration state of the digital pressure gauge.
[0069] Step S205: Calculate the first measurement error and the corresponding correction coefficient of each test point based on the original pressure value and the standard pressure value of each test point, and perform automatic calibration according to the correction coefficient. Figure 1 Step S103 of the illustrated embodiment will not be described in detail here.
[0070] Step S206, calculate the second measurement error based on the correction coefficient, and compare it with the second measurement error according to the preset accuracy requirement to determine the pressure detection result. Figure 1Step S104 of the illustrated embodiment will not be described in detail here.
[0071] The digital pressure gauge error automatic calibration method provided in this embodiment adjusts the gas pressure values of multiple check points in the digital pressure gauge by vacuuming or pressurizing, and obtains the 0-point standard pressure value by vacuuming or pressurizing, thereby improving the accuracy of pressure detection and providing the original pressure value and the 0-point standard pressure value for the subsequent automatic calibration of the digital pressure gauge error. In a specific interface, the digital pressure gauge is switched to the calibration gauge state by long pressing the button, which provides conditions for the subsequent automatic calibration of the digital pressure gauge.
[0072] In this embodiment, a method for automatic calibration of digital pressure gauge errors is provided, which can be used in the above-mentioned automatic calibration system for digital pressure gauge errors. Figure 3 is a flow chart of a method for automatic error calibration of a digital pressure gauge according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:
[0073] Step S301, obtain multiple inspection points of the digital pressure gauge. Figure 2 Step S203 of the illustrated embodiment will not be described in detail here.
[0074] Step S302: Test the pressure value of each test point to obtain the original pressure value and the standard pressure value. Figure 2 Step S204 of the illustrated embodiment will not be described in detail here.
[0075] Step S303, calculating the first measurement error and the corresponding correction coefficient of each inspection point based on the original pressure value and the standard pressure value of each inspection point, and performing automatic calibration according to the correction coefficient.
[0076] Specifically, the above step S303 includes:
[0077] Step S3031, sequentially subtract the original pressure value of each meter inspection point from the corresponding standard pressure value to obtain the first measurement error of each meter inspection point. Specifically, the main control circuit board of the digital pressure gauge receives the original pressure value and the corresponding standard pressure value, and sequentially subtracts the original pressure value and the corresponding standard pressure value of the meter inspection points such as 0 point, atmospheric pressure point, 1 / 5 range point, 2 / 5 range point, 3 / 5 range point, 4 / 5 range point and range point to obtain the first measurement error corresponding to each meter inspection point.
[0078] Step S3032: Calculate the corresponding correction coefficient using the least square method based on the first measurement error.
[0079] Specifically, the correction coefficient is calculated using the least squares formula based on the standard pressure value and the actually measured pressure value. The relevant contents of the least squares calculation can be found in the related art and will not be described in detail here.
[0080] Step S304, calculating the second measurement error based on the correction coefficient, and comparing it with the second measurement error according to a preset accuracy requirement to determine the pressure detection result.
[0081] Specifically, calculating the second measurement error based on the correction coefficient in the above step S304 includes: calculating a corresponding pressure correction value based on the correction coefficient, and calculating the second measurement error based on each corresponding pressure correction value and the standard pressure value.
[0082] The corresponding pressure correction value is calculated based on the correction coefficient and the first measurement error, and is obtained by subtracting the corresponding standard pressure value from each corresponding pressure correction value.
[0083] According to the preset accuracy requirements and the second measurement error, the pressure test result is determined. For details, please refer to Figure 2 Step S206 of the illustrated embodiment will not be described in detail here.
[0084] The digital pressure gauge error automatic calibration method provided in this embodiment subtracts the original pressure value of each inspection point from the corresponding standard pressure value in turn to obtain the first measurement error of each inspection point; based on the first measurement error, the corresponding correction coefficient is calculated using the least squares method, thereby realizing the automatic calculation of the correction coefficient and providing a basis for correcting each inspection point of the digital pressure gauge according to the correction coefficient.
[0085] As one or more specific application embodiments of the present invention, Figure 5 The digital pressure gauge error automatic calibration method provided by the present invention is further described in detail as follows:
[0086] like Figure 5As shown, the computer software involved in the embodiment of the present invention is production system software 1, and also involves a digital pressure gauge 3, the standard pressure gauge involved is a high-precision standard pressure gauge 5, and the adjustable pressure source involved is a desktop gas pressure source 8. Among them, 1 production system software is connected to the digital pressure gauge 3 through the USB to TTL UART communication converter 2 to realize the communication conversion from USB communication to TTL UART; the digital pressure gauge 3 is connected to the high-precision standard pressure gauge 5 through the RS485 communication converter 4 to realize the communication conversion from TTL UART to RS485; the digital pressure gauge 3 and the high-precision standard pressure gauge 5 are connected to the desktop gas pressure source 8 through the mechanical joint 7 and the mechanical joint 6 respectively, and the mechanical joint 7 and the mechanical joint 6 are M20ⅹ1.5 external thread joints at the table end, which are usually part of the digital pressure gauge 3 and the high-precision standard pressure gauge 5, that is, ⑺ the mechanical joint is a part of the digital pressure gauge 3, the mechanical joint 6 is a part of the high-precision standard pressure gauge 5, and the end of the desktop gas pressure source 8 is an M20ⅹ1.5 internal thread interface, so that the digital pressure gauge 3 and the high-precision standard pressure gauge 5 can be installed on the desktop gas pressure source 8.
[0087] In an optional implementation, the digital pressure gauge 3 is composed of a production system software communication port 9, a high-precision standard pressure gauge communication port 16, a pressure detection sensor 11, a main control circuit board 12, a segmented liquid crystal 13, a button 14, and a battery 15. Among them, the production system software communication port 9 is used to communicate with the production system software 1 to report the digital pressure gauge detection data and error data; the high-precision standard pressure gauge communication port 16 is used to communicate with the high-precision standard pressure gauge 5 to obtain the standard pressure value, so as to automatically calibrate the digital pressure gauge 3. The pressure detection sensor 11 is a pressure sensor used by the digital pressure gauge 3 to measure the pressure value itself, and is also a pressure sensor that needs to be inspected and calibrated; the main control circuit board 12 can be various electronic control circuit boards including a main control chip and related peripheral circuits, used as a core control unit, and is a core component that realizes all functions of the digital pressure gauge; the segmented liquid crystal 13 is connected to the main control circuit board 12, and the display is driven by the main control circuit board 12; the button 14 provides a button signal to the main control circuit board 12, and after the main control circuit board 12 recognizes the button signal, it can distinguish whether it is a short press button operation (the button pops up within 3 seconds after being pressed) or a long press button operation (the button pops up after being pressed for 3 seconds); the battery 15 supplies power to the main control circuit board 12.
[0088] The phenotype of the digital pressure gauge in the embodiment of the present invention is an absolute pressure digital pressure gauge with a range of 0 to 1 MPa and an accuracy of 1.0 (the implementation steps of absolute pressure gauges or gauge pressure gauges with other ranges and accuracies are similar and will not be described one by one here). The specific implementation steps include:
[0089] Step 1: Design the digital pressure gauge body and hardware main control circuit board, install the digital pressure gauge, develop firmware based on the digital pressure gauge, and realize the functions of pressure sensor detection, LCD display, button recognition and calibration table of the digital pressure gauge. Design the calibration table state. Under the calibration table state, for the pressure detection and standard value acquisition of each calibration point (0 point, atmospheric pressure point, 1 / 5 range, 2 / 5 range, 3 / 5 range, 4 / 5 range and range point), the segment LCD has different pages for positive and reverse detection display, as shown in Table 1. The detection of each detection point is triggered by a short key, and the detection is carried out in the order of "0 point-positive atmospheric pressure point-positive 1 / 5 range point-positive 2 / 5 range point-positive 3 / 5 range point-positive 4 / 5 range point-range point-reverse 4 / 5 range point-reverse 3 / 5 range point-reverse 2 / 5 range point-reverse 1 / 5 range point-reverse atmospheric pressure point". The pressure point detection sequence is strictly consistent with the operation sequence of the pressure source "from vacuum to atmospheric pressure and then pressurized to full-scale pressure test, and then depressurized from full-scale pressure test to atmospheric pressure test", avoiding the occurrence of alternating pressurization and decompression tests during the intermediate pressure point test. The body of the digital pressure gauge should ensure that the pressure-taking mechanical joint can be sealed and installed on the desktop gas pressure source. The firmware function of the digital pressure gauge also includes the communication acquisition of the real-time pressure measurement value of the high-precision standard pressure gauge, and can feedback the detection data and error data of each pressure test point (each inspection point) to the production system software.
[0090] Table 1 Display of forward and reverse detection of each meter inspection point
[0091]
[0092] Step 2, design production system software 1, pre-set the inspection accuracy level to level 1, production system software 1 can cyclically judge the data of each inspection point according to the error range (±1% FS) required by the level 1 table standard, when the error data of all inspection points meet the accuracy requirements, give a conclusion of inspection pass, otherwise the inspection fails.
[0093] Step 3: Figure 5 As shown, the entire digital pressure gauge error automatic calibration system is connected. It should be pointed out that the high-precision standard pressure gauge 5 is an absolute pressure gauge, and the measurement accuracy in the range of 0 to 1 MPa needs to be higher than one-third of ±1% FS, that is, the absolute measurement error should be less than 3.33 KPa. The pressure ports of the digital pressure gauge 3 and the high-precision standard pressure gauge 5 are sealed and installed to be connected to the closed air cavity inside the desktop gas pressure source 8. In this way, the pressure value measured by the high-precision standard pressure gauge 5 can represent the standard pressure value of the sealed air cavity inside the desktop gas pressure source 8.
[0094] Step 4: Implement the calibration process of the digital pressure gauge. The operation process is divided into the following steps:
[0095] 1) Press the buttons to operate the digital pressure gauge 3 to enter the calibration state, and check that the digital pressure gauge liquid crystal displays "JC-00" (the letters "JC" are the pinyin initials of the Chinese character "detection", and the number "00" represents 0 o'clock, that is, a near-vacuum environment), confirming that the digital pressure gauge 3 is in the calibration state and the current detection pressure point is "0 o'clock".
[0096] 2) Operate the desktop gas pressure source 8 to draw a vacuum, so that the reading displayed by the high-precision standard pressure gauge 5 is stably maintained below 10KPa, and then short-press the button to trigger the digital pressure gauge 3 to use its own pressure sensor to perform a pressure test to obtain the current pressure measurement value. At the same time, read the actual pressure measurement standard value of the standard gauge through the high-precision standard pressure gauge communication port 16. When both the self-measurement value and the standard value are successfully obtained, the two data are stored as the detection data at 0 o'clock. At this point, the 0-point pressure detection is completed.
[0097] 3) After the 0-point pressure test is completed, the digital pressure gauge 3 automatically switches to the next test point (normal atmospheric pressure point) for testing. Check that the digital pressure gauge 3 LCD displays "JC-05" (the "5" in the number "05" means that a total of 5 pressurizations are required, and the "0" means that no pressurization is required this time, that is, the atmospheric pressure environment). Confirm that the digital pressure gauge 3 is in the state of detecting the normal atmospheric pressure point, and then operate the desktop gas pressure source 8 to connect the internal cavity to the atmosphere. Then short-press the button to trigger the digital pressure gauge 3 to use its own pressure sensor to perform a pressure test, obtain the current pressure measurement value, and read the actual pressure measurement standard pressure value of the standard gauge through the high-precision standard pressure gauge communication port 16. When both the self-measured value and the standard pressure value are successfully obtained, the two data are stored as the detection data of the atmospheric pressure point. At this point, the normal atmospheric pressure point pressure test is completed.
[0098] 4) By analogy, by pressing buttons, operating the desktop gas pressure source 8 and cooperating with the automatic switching function of the digital pressure gauge 3, the measurement of the positive range 1 / 5 range point, the positive range 2 / 5 range point, the positive range 3 / 5 range point, the positive range 4 / 5 range point and the range point are completed in sequence, and then the return measurement operation is started.
[0099] 5) After completing the measurement operation of all return measurement points in the same way, the entire meter inspection operation process is completed. By checking the digital pressure gauge 3, it is confirmed that the inspection of all measurement points is completed by displaying "JC-Ed" (the letter "Ed" is the abbreviation of the English letter End, indicating the end).
[0100] It should be noted that if data reading fails at a certain measuring point, it means that the pressure detection at that point has failed, and the digital pressure gauge 3 will not automatically switch to the next detection point test, and the segmented LCD 13 will not display the display page of the next measurement point. It is necessary to find and solve the problem and then short-press the key again to re-detect the current pressure measurement point. Of course, a function can also be designed in the firmware of the digital pressure gauge 3. If the operation fails at a certain measurement point, the key can be long pressed to exit the calibration state and abandon the calibration test of the digital pressure gauge.
[0101] Step 5: When the inspection operation of each inspection point of the digital pressure gauge 3 is completed and the LCD displays "JC-Ed", exit the calibration state by long-pressing the key. That is, when the digital pressure gauge 3 detects the long-press key signal, it will automatically check the inspection data of all inspection points. If the inspection data are all normal, it will automatically calculate the error and correction parameters, and automatically calibrate, and finally exit the calibration state.
[0102] Step 6: After the digital pressure gauge 3 exits the calibration state, the detection data and error data are fed back to the production system software 1 through the production system software communication port 9.
[0103] Step 7. After receiving the test data and error data of the digital pressure gauge 3, the computer calibration software determines whether the errors of all test points of the digital pressure gauge 3 are less than ±1% FS according to the preset Class 1 gauge standard. If the conditions are met, a measurement pass conclusion is given, otherwise the digital pressure test fails.
[0104] On a deeper level, the key to the design of the embodiment of the present invention lies in the firmware calibration function design of the digital pressure gauge 3. The design provides a human-computer interaction method for the calibration process. There are corresponding prompts for each step of the digital pressure gauge operation, and the entire calibration process is automatically completed, ultimately achieving the purpose of automatically calibrating the digital pressure gauge.
[0105] The automatic error calibration of a digital pressure gauge provided in an embodiment of the present invention is a low-investment method that can avoid the problem of uncertain identification results caused by interference from human factors due to manual calculation, recording, and judgment. It can be applied to the calibration of digital pressure gauges in mass production in smart factories and bring certain economic benefits to the production factories.
[0106] In this embodiment, a digital pressure gauge error automatic calibration device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0107] This embodiment provides a digital pressure gauge error automatic calibration device, such as Figure 6 As shown, including:
[0108] The acquisition module 601 is used to acquire multiple inspection points of the digital pressure gauge.
[0109] The testing module 602 is used to test the pressure value of each meter inspection point to obtain the original pressure value and the standard pressure value.
[0110] The calculation and calibration module 603 is used to calculate the first measurement error and the corresponding correction coefficient of each meter inspection point based on the original pressure value and the standard pressure value of each meter inspection point, and perform automatic calibration according to the correction coefficient.
[0111] The pressure detection result determination module 604 is used for the pressure detection result determination module, which is used to calculate the second measurement error based on the correction coefficient, and compare it with the second measurement error according to the preset accuracy requirement to determine the pressure detection result.
[0112] In some optional implementations, the testing module 602 includes:
[0113] The pressure test unit is used to adjust the gas pressure values of multiple test points in the digital pressure gauge by vacuuming or pressurizing, and then use a pressure sensor to test the current pressure value of each test point in turn to obtain the original pressure value.
[0114] In some optional implementations, the calculation calibration module 603 includes:
[0115] The error calculation unit is used to sequentially subtract the original pressure value of each meter checking point from the corresponding standard pressure value to obtain the first measurement error of each meter checking point.
[0116] The correction coefficient calculation unit is used to calculate the corresponding correction coefficient based on the first measurement error by using the least square method.
[0117] In some optional implementations, the pressure detection result determination module 604 includes:
[0118] The second measurement error calculation unit is used to calculate the corresponding pressure correction value based on the correction coefficient, and calculate the second measurement error based on each corresponding pressure correction value and the standard pressure value.
[0119] The digital pressure gauge error automatic calibration device also includes:
[0120] The pressure regulating module is used to adjust the gas pressure values of multiple inspection points in the digital pressure gauge by vacuuming or pressurizing, and to obtain the standard pressure value of each inspection point by vacuuming or pressurizing.
[0121] The digital pressure gauge state switching module is used to switch the digital pressure gauge to the calibration gauge state by long pressing the button in a specific interface.
[0122] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0123] The digital pressure gauge error automatic calibration device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0124] The embodiment of the present invention also provides a computer device having the above Figure 6 The digital pressure gauge error automatic calibration device shown.
[0125] See also Figure 7 , Figure 7 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 7 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 7 A processor 10 is taken as an example.
[0126] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0127] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0128] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0129] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0130] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 7 The example of connecting through bus is taken in the following.
[0131] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0132] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0133] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0134] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for automatic error calibration of a digital pressure gauge, characterized in that: The method comprises: Get multiple inspection points for digital pressure gauges; Testing the pressure value of each of the meter checking points to obtain an original pressure value and a standard pressure value; Calculate the first measurement error and the corresponding correction coefficient of each of the inspection points based on the original pressure value and the standard pressure value of each of the inspection points, and perform automatic calibration according to the correction coefficient; The second measurement error is calculated based on the correction coefficient, and compared with the second measurement error according to a preset accuracy requirement to determine the pressure detection result.
2. The digital pressure gauge error automatic calibration method according to claim 1, characterized in that: Before obtaining the multiple inspection points of the digital pressure gauge, the method further includes: The gas pressure values of multiple inspection points in the digital pressure gauge are adjusted by vacuuming or pressurizing, and the standard pressure value of each inspection point is obtained by vacuuming or pressurizing.
3. The digital pressure gauge error automatic calibration method according to claim 1, characterized in that: The digital pressure gauge includes a button. Before obtaining a plurality of inspection points of the digital pressure gauge and a standard pressure value corresponding to each inspection point, the method further includes: In a specific interface, long press the button to switch the digital pressure gauge to the calibration gauge state.
4. The method for automatic error calibration of a digital pressure gauge according to claim 2, characterized in that: The digital pressure gauge further includes a pressure sensor, and the pressure value of each of the inspection points is tested to obtain an original pressure value including: After the gas pressure values of multiple test points in the digital pressure gauge are adjusted by vacuuming or pressurizing, the pressure sensor is used to test the current pressure value of each test point in turn to obtain the original pressure value.
5. The digital pressure gauge error automatic calibration method according to claim 1, characterized in that: Calculating the first error value and the corresponding correction coefficient of each of the inspection points based on the original pressure value and the standard pressure value of each of the inspection points includes: Subtracting the original pressure value of each of the inspection points from the corresponding standard pressure value in turn to obtain a first measurement error of each of the inspection points; A corresponding correction coefficient is calculated based on the first measurement error using a least squares method.
6. The digital pressure gauge error automatic calibration method according to claim 1, characterized in that: Calculating the second measurement error based on the correction factor includes: A corresponding pressure correction value is calculated based on the correction coefficient, and a second measurement error is calculated based on each of the corresponding pressure correction values and the standard pressure value.
7. A digital pressure gauge error automatic calibration device, characterized in that: The device comprises: An acquisition module is used to acquire multiple inspection points of a digital pressure gauge; A testing module, used to test the pressure value of each of the meter inspection points to obtain an original pressure value and a standard pressure value; A calculation and calibration module, used for calculating the first measurement error and the corresponding correction coefficient of each of the inspection points based on the original pressure value and the standard pressure value of each of the inspection points, and performing automatic calibration according to the correction coefficient; The pressure detection result determination module is used to calculate the second measurement error based on the correction coefficient, and compare it with the second measurement error according to a preset accuracy requirement to determine the pressure detection result.
8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the digital pressure gauge error automatic calibration method according to any one of claims 1 to 6 by executing the computer instructions.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the digital pressure gauge error automatic calibration method according to any one of claims 1 to 6.
10. A computer program product, characterized in that The method comprises computer instructions, wherein the computer instructions are used to enable a computer to execute the automatic error calibration method for a digital pressure gauge according to any one of claims 1 to 6.
Citation Information
Cited By
Error self-calibration method of ultrasonic water meter and ultrasonic water meter
CN121026280A
Error self-calibration method for ultrasonic water meter and ultrasonic water meter
CN121026280B