Pressure transmitter calibration inspection method, system, device and storage medium
Through the automated pressure transmitter calibration method, the problems of low manual calibration efficiency and insufficient applicability in the prior art are solved, and efficient automatic inspection of the accuracy of the pressure transmitter is achieved, which improves the inspection efficiency and reduces labor costs.
Patent Information
- Application Number
- CN202210124880.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-10
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2042-02-10
AI Technical Summary
In the prior art, the calibration process of the pressure transmitter requires manual operation, which is inefficient and not highly applicable, and cannot effectively eliminate zero-point temperature drift, range temperature drift and nonlinear errors, resulting in insufficient integration of accuracy inspection.
Through the automated pressure transmitter calibration method, a communication connection with the pressure transmitter is established, the configuration is initialized, the pressure and temperature points are calibrated according to the preset process, the test pressure and temperature points are set for accuracy test, and the test results are compared with calibration. Data table, get the test results.
It realizes automated inspection of the accuracy of pressure transmitters, improves inspection efficiency, reduces labor costs, enhances applicability, and ensures that the accuracy of the sensor meets the needs.
Smart Images

Figure CN114441092B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automation, and in particular to a pressure transmitter calibration inspection method, system, device and computer-readable storage medium. Background Art
[0002] Pressure transmitter refers to a device or apparatus that can sense pressure and convert it into a usable output signal according to a certain rule. It is generally composed of a pressure sensor and a conversion module. The pressure sensor converts the pressure signal into an electrical signal, and the conversion module receives the electrical signal and converts it into an output signal. The general output signal has two-wire specification output (4~20Ma+HART), four-wire specification output (MODBUS-RTU / RS-485), etc.
[0003] The performance of the sensor is affected by temperature and pressure range. Different sensors have discrete characteristics, and the response speed of temperature and pressure signals is inconsistent. The specifications of sensors of different manufacturers and specifications vary greatly. In order to eliminate zero temperature drift, range temperature drift, nonlinear error, zero drift, etc. during the measurement process, the pressure transmitter needs to be calibrated and tested in advance, and the relevant parameters need to be pre-configured.
[0004] Since the component characteristics of each pressure sensor and conversion module are inconsistent, and the performance is affected by temperature and pressure range, in order to eliminate errors such as zero temperature drift, range temperature drift, nonlinearity, zero drift, etc. during the measurement process, the pressure transmitter needs to be calibrated and inspected before leaving the factory to ensure that the accuracy of the sensor meets the requirements.
[0005] The existing method of manual sensor calibration is that one operator can only configure and calibrate data for one pressure transmitter at a time, and the data parameters need to be manually sent, which is extremely inefficient. Sensors of different specifications support different protocols and need to be adapted, so the applicability is not strong enough. After manual calibration, accuracy test and temperature drift test need to be performed separately, and the integration is not high enough.
[0006] Therefore, a more automated pressure transmitter calibration inspection method is needed to improve inspection efficiency. Summary of the invention
[0007] In view of this, the object of the present invention is to provide a pressure transmitter calibration inspection method, system, device and computer-readable storage medium, which are more automated and improve inspection efficiency. The specific scheme is as follows:
[0008] A pressure transmitter calibration inspection method, comprising:
[0009] Establish a communication connection with the pressure transmitter;
[0010] Initializing the configuration of the pressure transmitter according to the preset device configuration information and sensor configuration information of the pressure transmitter;
[0011] According to a preset calibration process, the pressure point and the temperature point of the pressure transmitter are calibrated to obtain a calibration data table;
[0012] Setting different test pressure points and test temperature points, performing accuracy tests on the pressure transmitter, and obtaining test results;
[0013] Compare the test result with the calibration data table to obtain the inspection result.
[0014] Optionally, the process of establishing a communication connection with the pressure transmitter includes:
[0015] A communication connection with the pressure transmitter is established according to a communication mode supported by the pressure transmitter.
[0016] Optionally, the process of establishing a communication connection with the pressure transmitter according to a communication mode supported by the pressure transmitter includes:
[0017] According to the communication mode supported by the pressure transmitter, selecting the communication mode configuration information corresponding to the pressure transmitter;
[0018] A communication channel with the pressure transmitter is established according to the communication mode configuration information.
[0019] Optionally, also include:
[0020] After establishing communication channels with multiple pressure transmitters, all established communication channels are traversed to determine the connection status of each communication channel.
[0021] Optionally, the process of calibrating the pressure point and the temperature point of the pressure transmitter according to a preset calibration process to obtain a calibration data table includes:
[0022] Set the target temperature, and keep the test environment warm after reaching the target temperature;
[0023] Determine whether the preset insulation time has been reached;
[0024] If the holding time is reached, controlling the pressure of the test environment to reach a specified pressure;
[0025] After waiting for a preset delay time, calibrate the current temperature and pressure values of the test environment;
[0026] Determine whether all pressure calibration points have been calibrated at the current temperature;
[0027] If it is not completed, adjust the specified pressure to the next pressure calibration point and continue calibration;
[0028] If all are completed, determine whether all temperatures have been calibrated;
[0029] If not completed, adjust the target temperature to the next temperature calibration point and continue calibration until all temperatures are calibrated.
[0030] The present invention also discloses a pressure transmitter calibration and inspection system, comprising:
[0031] A communication establishment module, used for establishing a communication connection with a pressure transmitter;
[0032] An initialization module, used to initialize the configuration of the pressure transmitter according to preset device configuration information and sensor configuration information of the pressure transmitter;
[0033] A calibration module, used to calibrate the pressure points and temperature points of the pressure transmitter according to a preset calibration process to obtain a calibration data table;
[0034] A test module, used to set different test pressure points and test temperature points, perform accuracy test on the pressure transmitter, and obtain test results;
[0035] The verification module is used to compare the test result with the calibration data table to obtain a verification result.
[0036] Optionally, the communication establishing module is specifically used to establish a communication connection with the pressure transmitter according to a communication mode supported by the pressure transmitter.
[0037] Optionally, the calibration module includes:
[0038] A target temperature setting unit, used to set a target temperature, and keep the test environment warm after reaching the target temperature;
[0039] A heat preservation time judgment unit, used to judge whether the preset heat preservation time has been reached;
[0040] a designated pressure setting unit, configured to control the pressure of the test environment to reach a designated pressure if the heat preservation time determination unit determines that the heat preservation time has been reached;
[0041] A temperature and pressure calibration unit, used to calibrate the current temperature and pressure values of the test environment after waiting for a preset delay time;
[0042] A pressure calibration determination unit, used to determine whether all pressure calibration points have been calibrated at the current temperature;
[0043] A pressure cycle adjustment unit, used for adjusting the specified pressure to the next pressure calibration point to continue calibration if the pressure calibration determination unit determines that it is not completed;
[0044] a temperature calibration determination unit, configured to determine whether all temperatures have been calibrated if the pressure calibration determination unit determines that all are completed;
[0045] The temperature cycle adjustment unit is used to adjust the target temperature to the next temperature calibration point to continue calibration if the temperature calibration determination unit determines that the calibration is not completed, until all temperatures are calibrated.
[0046] The present invention also discloses a pressure transmitter calibration inspection device, comprising:
[0047] Memory for storing computer programs;
[0048] A processor is used to execute the computer program to implement the pressure transmitter calibration and inspection method as described above.
[0049] The present invention also discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the pressure transmitter calibration and inspection method as described above is implemented.
[0050] In the present invention, the pressure transmitter calibration and inspection method includes: establishing a communication connection with the pressure transmitter; initializing the configuration of the pressure transmitter according to preset device configuration information and sensor configuration information of the pressure transmitter; calibrating the pressure points and temperature points of the pressure transmitter according to a preset calibration process to obtain a calibration data table; setting different test pressure points and test temperature points to perform accuracy testing on the pressure transmitter to obtain test results; and comparing the test results with the calibration data table to obtain inspection results.
[0051] The present invention pre-prepares various configuration information for initializing the pressure transmitter, as well as the calibration test process, to automatically establish communication with each test pressure transmitter, and automatically completes the calibration test and subsequent accuracy test process, and finally obtains the inspection result that can reflect the accuracy level of the pressure transmitter, thereby realizing automatic inspection of the accuracy of the pressure transmitter, improving inspection efficiency, and reducing labor costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0053] Figure 1 A schematic diagram of a pressure transmitter calibration and inspection method disclosed in an embodiment of the present invention;
[0054] Figure 2 A schematic diagram of a pressure transmitter calibration initialization process disclosed in an embodiment of the present invention;
[0055] Figure 3 A schematic flow chart of another pressure transmitter calibration and inspection method disclosed in an embodiment of the present invention;
[0056] Figure 4 A schematic diagram of a pressure transmitter calibration process disclosed in an embodiment of the present invention;
[0057] Figure 5 A schematic diagram of the structure of a pressure transmitter calibration and inspection system disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0058] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0059] The embodiment of the present invention discloses a pressure transmitter calibration test method, see Figure 1 As shown, the method includes:
[0060] S11: Establish a communication connection with the pressure transmitter.
[0061] Specifically, before conducting the test, first connect the pressure transmitter that needs to be tested. You can connect one pressure transmitter for testing alone or connect multiple pressure transmitters at the same time for testing. After the connection, since the manufacturer and factory settings of each pressure transmitter may be different, it is necessary to establish a communication connection with the pressure transmitter according to the communication mode supported by each pressure transmitter for subsequent calibration.
[0062] S12: Initialize the configuration of the pressure transmitter according to the preset device configuration information and sensor configuration information of the pressure transmitter.
[0063] Specifically, in order to quickly and automatically test a single or multiple pressure transmitters, the device configuration information and sensor configuration information for each pressure transmitter are pre-prepared. After establishing a connection with the pressure transmitter, the device configuration information and sensor configuration information can be sent to the corresponding pressure transmitter to complete the initialization configuration of each pressure transmitter, so that the operation of the pressure transmitter can be accurately controlled subsequently, and the test data of the pressure transmitter in each test can be monitored.
[0064] Among them, see Figure 2 As shown, the device configuration information may include configuration assembly information, device variable initialization configuration information, and device information initialization configuration information and loop current initialization information when outputting in two-wire specifications or MODBUS-RTU parameter initialization information when outputting in four-wire specifications.
[0065] Specifically, the configuration assembly information of the pressure transmitter may include: 1. Instrument model; 2. Equipment variable classification and type; 3. Production date; 4. Assembly number; 5. Hardware and sensor information; 6. Assembly material; 7. PGA configuration; 8. Minimum pressure cut-off value, etc.
[0066] Specifically, the device variable initialization configuration information may include the following for the pressure transmitter: 1. Display mode; 2. Main variable alarm; 3. Main variable transmission characteristics; 4. Main variable unit; 5. Upper range limit; 6. Lower range limit; 7. Damping setting; 8. Main variable zero point migration; 9. Main variable range fine-tuning, etc.
[0067] Specifically, when the pressure transmitter uses a two-wire output specification, for example, when using a 4-20mA+HART specification, the device information initialization configuration information may include the pressure transmitter's: 1. HCF grade number; 2. Master-to-slave HART leading character number; 3. HART command version; 4. Device version; 5. Device software version; 6. Hardware version; 7. Device ID; 8. Slave-to-master HART leading character number, etc.; the loop current initialization information may include the pressure transmitter's: 1. DAC zero value; 2. DAC gain; 3. Fixed current mode; 4. Polling address, etc.
[0068] Specifically, when the pressure transmitter uses a four-wire output specification, for example, when the MODBUS-RTU specification is adopted, the MODBUS-RTU parameter initialization information may include the pressure transmitter's: 1. baud rate; 2. verification mode; 3. stop bit; 4. data format; 5. slave address, etc.
[0069] Specifically, the sensor configuration information may include the following for the pressure transmitter: 1. sensor information; 2. variable unit; 3. upper and lower limits of measurement; 4. minimum range, etc.
[0070] S13: According to a preset calibration process, the pressure point and the temperature point of the pressure transmitter are calibrated to obtain a calibration data table.
[0071] Specifically, after completing the initialization configuration of the pressure transmitter, automatic calibration can be performed according to a pre-set calibration process, thereby realizing an automated calibration process, and finally obtaining a calibration data table after automatic calibration, thereby completing the calibration process.
[0072] S14: Set different test pressure points and test temperature points, perform accuracy test on the pressure transmitter, and obtain test results.
[0073] Specifically, after calibration, different test pressure points and test temperature points are set according to a pre-set test method, and the pressure transmitter is tested for accuracy to obtain test results, thereby obtaining test results that can be compared with calibration data.
[0074] Specifically, the test method may include accuracy test and temperature drift performance test. For accuracy test, first set the test pressure point. According to different output specifications, at room temperature, perform output test on the pressure points within the pressure range, and control the pressure source to the first test point. If it is a two-wire output, test its 4-20ma output accuracy. If it is a four-wire output, test the pressure value accuracy of its MODBUS communication transmission. The accuracy is calculated as: (measured value - set value) / full scale value. After the test, adjust the pressure source to the second test pressure point until all test pressure points are traversed.
[0075] Specifically, in the temperature drift test, different temperature values are set under the working temperature, and the temperature box is controlled to the first temperature value for accuracy test. After the test, the temperature box is controlled to the second temperature value until the temperature point traversal is completed.
[0076] S15: Compare the test results with the calibration data table to obtain the inspection results.
[0077] Specifically, by comparing the corresponding temperature values and pressure values at the same pressure and the same temperature, the calibration error is obtained. According to the size of the error and the preset evaluation criteria, the verification result is finally obtained to determine the accuracy level of the tested pressure transmitter.
[0078] It can be seen that the embodiment of the present invention realizes automatic establishment of communication with each test pressure transmitter by pre-making various configuration information when the pressure transmitter is initialized, as well as the calibration test process, and automatically completes the calibration test and the subsequent accuracy test process, and finally obtains the inspection result that can reflect the accuracy level of the pressure transmitter, thereby realizing automatic inspection of the accuracy of the pressure transmitter, improving inspection efficiency, and reducing labor costs.
[0079] It is understandable that the embodiment of the present invention can perform calibration inspection on multiple pressure transmitters in parallel at the same time.
[0080] The embodiment of the present invention discloses a specific pressure transmitter calibration inspection method. Compared with the previous embodiment, this embodiment further illustrates and optimizes the technical solution. Figure 3 As shown, specifically:
[0081] S21: According to the communication mode supported by the pressure transmitter, select the communication mode configuration information corresponding to the pressure transmitter.
[0082] Specifically, since the communication channel of each pressure transmitter has a different communication mode, it is necessary to first determine the communication mode supported by the pressure transmitter before selecting the corresponding communication mode configuration information for subsequent communication configuration.
[0083] S22: Establishing a communication channel with the pressure transmitter according to the communication mode configuration information.
[0084] Specifically, after the communication mode configuration information is determined, each pressure transmitter can be configured according to the communication mode configuration information corresponding to each pressure transmitter, and a communication channel with the pressure transmitter can be established.
[0085] S23: After establishing communication channels with multiple pressure transmitters, traverse all established communication channels to determine the connection status of each communication channel.
[0086] Specifically, after establishing a communication channel using the communication mode configuration information, it cannot be guaranteed that each communication channel is communicating normally. It may only show that the establishment is successful, but due to various reasons such as incorrect parameter settings, effective data transmission cannot actually be carried out. Therefore, after establishing each communication channel, confirm whether each communication channel can be used normally by traversal. Basic instructions can be used to try to establish contact with the communication channel of each pressure transmitter. If several attempts to send instructions to a communication channel do not receive a reply, it can be determined that the channel connection has failed, and the process test will continue for the next communication channel.
[0087] Specifically, by determining which communication channels are normal and which are faulty, only the pressure transmitters that successfully establish communication channels can be tested during the subsequent configuration process, thereby avoiding invalid testing procedures for pressure transmitters that fail to successfully establish communication.
[0088] S24: Initialize the configuration of the pressure transmitter according to the preset device configuration information and sensor configuration information of the pressure transmitter.
[0089] S25: According to a preset calibration process, the pressure point and the temperature point of the pressure transmitter are calibrated to obtain a calibration data table.
[0090] For details, see Figure 4 As shown, the calibration process may specifically include S251 to S258; wherein,
[0091] S251: Set the target temperature, and keep the test environment warm after reaching the target temperature.
[0092] Specifically, after starting the calibration, first set the target temperature to be measured for the first time, and keep the test environment warm after it reaches the target temperature. Through the warming, the pressure and temperature of the test environment are kept constant to ensure the accuracy of the test environment.
[0093] S252: Determine whether the preset heat preservation time has been reached;
[0094] S253: If the holding time is reached, the pressure of the test environment is controlled to reach a specified pressure.
[0095] Specifically, since the test environment is known, the time required for the test environment to reach a steady state, namely the insulation time, can be pre-set. After the insulation time is reached, the test environment will be stable, and then pressurization can be performed so that the pressure also reaches the specified value required for the test.
[0096] Specifically, before adjusting the pressure, the pressure controller can be zeroed first to reduce errors and ensure accuracy. At the same time, two cycles of pressure pre-pressure aging can be performed, that is, the specified pressure is set at the upper and lower limits of the pressure measurement range for two cycles to ensure that the pressure source can provide the required pressure.
[0097] S254: After waiting for a preset delay time, calibrate the current temperature and pressure values of the test environment.
[0098] Specifically, after pressurization, it is necessary to go on stage for a preset delay time, and after ensuring that the pressure and temperature of the test environment are stable and can reach the specified pressure and target temperature, calibrate the current temperature and pressure values of the test environment to complete a calibration.
[0099] S255: Determine whether all pressure calibration points are calibrated at the current temperature.
[0100] It can be understood that multiple pressure calibration points need to be calibrated at the same temperature. For example, as shown in Table 1 below, there are 7 corresponding pressure calibration points that need to be calibrated at the current temperature of 30°C. Only after all the pressure calibration points at the current temperature are calibrated, will the next temperature be switched for calibration. Before that, the pressure is switched to complete the calibration of all pressure calibration points at the current temperature.
[0101] Table 1
[0102] 30℃ -90kPa 0kPa 150kPa 300kPa 450kPa 600kPa 750kPa
[0103] S256: If not completed, adjust the specified pressure to the next pressure calibration point to continue calibration.
[0104] Specifically, as shown in Table 1, if the current calibration is a pressure calibration point of 150 kPa, and the current temperature is 30°C and there are 4 subsequent pressure calibration points, the specified pressure is adjusted to 300 kPa and the calibration is continued at the next pressure calibration point.
[0105] S257: If all are completed, determine whether all temperatures have been calibrated;
[0106] S258: If not completed, adjust the target temperature to the next temperature calibration point and continue calibration until all temperatures are calibrated.
[0107] Specifically, all pressure calibrations at all temperatures are calibrated through continuous cycles to complete the entire calibration process.
[0108] Specifically, if the output of the pressure transmitter channel under test is a two-wire specification output (4-20 mA + HART), the output needs to be calibrated.
[0109] Specifically, determine the number of temperature points and temperature values that need to be calibrated within the working temperature and send them down, determine the calibration range and calibration points within the range and send them down, first automatically control the temperature box to the first temperature, control the pressure source to the first pressure point, calibrate the pressure transmitters of each channel, and send the current temperature and current pressure values during calibration, record the AD acquisition values corresponding to the temperature and pressure in this case, and form a calibration data table at multiple points. After the first pressure point is calibrated, control the pressure source to the second pressure point, until the pressure point calibration is completed, control the temperature box to the second temperature point, and calibrate all pressure points until all temperature points are calibrated.
[0110] In addition, after exiting the tooling calibration mode, the factory data can be restricted from being written.
[0111] S26: Setting different test pressure points and test temperature points, performing accuracy test on the pressure transmitter, and obtaining test results;
[0112] S27: Compare the test results with the calibration data table to obtain the inspection results.
[0113] Correspondingly, the embodiment of the present invention also discloses a pressure transmitter calibration inspection system, see Figure 5 As shown, the system includes:
[0114] A communication establishing module 11, used to establish a communication connection with the pressure transmitter;
[0115] An initialization module 12, used to initialize the configuration of the pressure transmitter according to preset device configuration information and sensor configuration information of the pressure transmitter;
[0116] The calibration module 13 is used to calibrate the pressure point and temperature point of the pressure transmitter according to a preset calibration process to obtain a calibration data table;
[0117] The test module 14 is used to set different test pressure points and test temperature points, perform accuracy test on the pressure transmitter, and obtain test results;
[0118] The verification module 15 is used to compare the test result with the calibration data table to obtain the verification result.
[0119] It can be seen that the embodiment of the present invention realizes automatic establishment of communication with each test pressure transmitter by pre-making various configuration information when the pressure transmitter is initialized, as well as the calibration test process, and automatically completes the calibration test and the subsequent accuracy test process, and finally obtains the inspection result that can reflect the accuracy level of the pressure transmitter, thereby realizing automatic inspection of the accuracy of the pressure transmitter, improving inspection efficiency, and reducing labor costs.
[0120] Specifically, the communication establishing module 11 is specifically used to establish a communication connection with the pressure transmitter according to the communication mode supported by the pressure transmitter.
[0121] Specifically, the communication establishment module 11 may include: a configuration information selection unit and a communication channel establishment unit; wherein,
[0122] A configuration information selection unit, used to select communication mode configuration information corresponding to the pressure transmitter according to the communication mode supported by the pressure transmitter;
[0123] The communication channel establishing unit is used to establish a communication channel with the pressure transmitter according to the communication mode configuration information.
[0124] Specifically, it may also include: a channel status judgment module, which is used to traverse all established communication channels after establishing communication channels with multiple pressure transmitters, and determine the connection status of each communication channel.
[0125] Specifically, the calibration module 13 may include:
[0126] A target temperature setting unit is used to set the target temperature and keep the test environment warm after reaching the target temperature;
[0127] A heat preservation time judgment unit, used to judge whether the preset heat preservation time has been reached;
[0128] A designated pressure setting unit, used for controlling the pressure of the test environment to reach a designated pressure if the heat preservation time determination unit determines that the heat preservation time has been reached;
[0129] The temperature and pressure calibration unit is used to calibrate the current temperature and pressure values of the test environment after waiting for a preset delay time;
[0130] A pressure calibration determination unit, used to determine whether all pressure calibration points have been calibrated at the current temperature;
[0131] The pressure cycle adjustment unit is used to adjust the specified pressure to the next pressure calibration point to continue calibration if the pressure calibration determination unit determines that it is not completed;
[0132] The temperature calibration determination unit is used to determine whether all temperatures have been calibrated if the pressure calibration determination unit determines that all are completed;
[0133] The temperature cycle adjustment unit is used to adjust the target temperature to the next temperature calibration point to continue calibration if the temperature calibration determination unit determines that the calibration is not completed, until all temperatures are calibrated.
[0134] In addition, an embodiment of the present invention further discloses a pressure transmitter calibration inspection device, including:
[0135] Memory for storing computer programs;
[0136] The processor is used to execute the computer program to implement the pressure transmitter calibration and inspection method as described above.
[0137] In addition, an embodiment of the present invention further discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the pressure transmitter calibration and inspection method as described above is implemented.
[0138] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0139] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0140] The technical content provided by the present invention is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for general technical personnel in the field, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A pressure transmitter calibration test method, characterized in that: include: Establish a communication connection with the pressure transmitter; After establishing communication channels with multiple pressure transmitters, traverse all established communication channels to determine the connection status of each communication channel; wherein, use basic instructions to establish a connection with the communication channels of each pressure transmitter, if no reply is received after sending instructions to the communication channel several times, it is determined that the communication channel connection fails, and the next communication channel is tested continuously; Initialize the pressure transmitter according to the preset device configuration information and sensor configuration information of the pressure transmitter; the device configuration information includes configuration assembly information, device variable initialization configuration information, and device information initialization configuration information and loop current initialization information when outputting in two-wire specifications or MODBUS-RTU parameter initialization information when outputting in four-wire specifications; According to a preset calibration process, the pressure point and the temperature point of the pressure transmitter are calibrated to obtain a calibration data table; Setting different test pressure points and test temperature points, performing accuracy tests on the pressure transmitter, and obtaining test results; Comparing the test result with the calibration data table to obtain a test result; The process of establishing a communication connection with the pressure transmitter includes: Establishing a communication connection with the pressure transmitter according to a communication mode supported by the pressure transmitter; The process of establishing a communication connection with the pressure transmitter according to the communication mode supported by the pressure transmitter includes: According to the communication mode supported by the pressure transmitter, selecting the communication mode configuration information corresponding to the pressure transmitter; Establishing a communication channel with the pressure transmitter according to the communication mode configuration information; Configuration assembly information includes: instrument model; equipment variable classification and type; production date; assembly number; hardware and sensor information; assembly material; PGA configuration; minimum pressure cut-off value; The initialization configuration information of the device variables includes: display mode; primary variable alarm; primary variable transmission characteristics; primary variable unit; upper limit of range; lower limit of range; damping setting; primary variable zero migration; primary variable range fine-tuning; When the pressure transmitter uses two-wire specification output, the device information initialization configuration information includes the pressure transmitter: HCF grade number; master to slave HART leading symbol number; HART command version; device version; device software version; hardware version; device ID; slave to master HART leading symbol number; loop current initialization information includes the pressure transmitter: DAC zero value; DAC gain; fixed current mode; polling address; When the pressure transmitter uses the four-wire specification output, the MODBUS-RTU parameter initialization information includes the pressure transmitter's: baud rate; check mode; stop bit; data format; slave address; The sensor configuration information includes the following: sensor information; variable unit; upper and lower measurement limits; and minimum range of the pressure transmitter.
2. The pressure transmitter calibration inspection method according to claim 1, characterized in that: The process of calibrating the pressure point and the temperature point of the pressure transmitter according to the preset calibration process to obtain the calibration data table includes: Set the target temperature, and keep the test environment warm after reaching the target temperature; Determine whether the preset insulation time has been reached; If the holding time is reached, controlling the pressure of the test environment to reach a specified pressure; After waiting for a preset delay time, calibrate the current temperature and pressure values of the test environment; Determine whether all pressure calibration points have been calibrated at the current temperature; If it is not completed, adjust the specified pressure to the next pressure calibration point and continue calibration; If all are completed, determine whether all temperatures have been calibrated; If not completed, adjust the target temperature to the next temperature calibration point and continue calibration until all temperatures are calibrated.
3. A pressure transmitter calibration and inspection system, characterized in that: include: A communication establishment module, used for establishing a communication connection with a pressure transmitter; A channel status judgment module is used to traverse all established communication channels and determine the connection status of each communication channel after establishing communication channels with multiple pressure transmitters; wherein, a basic instruction is used to establish a connection with the communication channel of each pressure transmitter, and if no reply is received after sending instructions to the communication channel several times, it is determined that the communication channel connection fails, and the next communication channel is tested continuously; An initialization module, used to initialize the configuration of the pressure transmitter according to preset device configuration information and sensor configuration information of the pressure transmitter; the device configuration information includes configuration assembly information, device variable initialization configuration information, and device information initialization configuration information and loop current initialization information when outputting in two-wire specifications or MODBUS-RTU parameter initialization information when outputting in four-wire specifications; A calibration module, used to calibrate the pressure points and temperature points of the pressure transmitter according to a preset calibration process to obtain a calibration data table; A test module, used to set different test pressure points and test temperature points, perform accuracy test on the pressure transmitter, and obtain test results; A verification module, used to compare the test result with the calibration data table to obtain a verification result; A communication establishment module, used for establishing a communication connection with the pressure transmitter according to a communication mode supported by the pressure transmitter; The communication establishment module includes: a configuration information selection unit and a communication channel establishment unit; wherein, A configuration information selection unit, used to select communication mode configuration information corresponding to the pressure transmitter according to the communication mode supported by the pressure transmitter; A communication channel establishing unit, used for establishing a communication channel with the pressure transmitter according to the communication mode configuration information; Configuration assembly information includes: instrument model; equipment variable classification and type; production date; assembly number; hardware and sensor information; assembly material; PGA configuration; minimum pressure cut-off value; The initialization configuration information of the device variables includes: display mode; primary variable alarm; primary variable transmission characteristics; primary variable unit; upper limit of range; lower limit of range; damping setting; primary variable zero migration; primary variable range fine-tuning; When the pressure transmitter uses two-wire specification output, the device information initialization configuration information includes the pressure transmitter: HCF grade number; master to slave HART leading symbol number; HART command version; device version; device software version; hardware version; device ID; slave to master HART leading symbol number; loop current initialization information includes the pressure transmitter: DAC zero value; DAC gain; fixed current mode; polling address; When the pressure transmitter uses the four-wire specification output, the MODBUS-RTU parameter initialization information includes the pressure transmitter's: baud rate; check mode; stop bit; data format; slave address; The sensor configuration information includes the following: sensor information; variable unit; upper and lower measurement limits; and minimum range of the pressure transmitter.
4. The pressure transmitter calibration and inspection system according to claim 3, characterized in that: The calibration module comprises: A target temperature setting unit, used to set a target temperature, and keep the test environment warm after reaching the target temperature; A heat preservation time judgment unit, used to judge whether the preset heat preservation time has been reached; a designated pressure setting unit, configured to control the pressure of the test environment to reach a designated pressure if the heat preservation time determination unit determines that the heat preservation time has been reached; A temperature and pressure calibration unit, used to calibrate the current temperature and pressure values of the test environment after waiting for a preset delay time; A pressure calibration determination unit, used to determine whether all pressure calibration points have been calibrated at the current temperature; A pressure cycle adjustment unit, used for adjusting the specified pressure to the next pressure calibration point to continue calibration if the pressure calibration determination unit determines that it is not completed; a temperature calibration determination unit, configured to determine whether all temperatures have been calibrated if the pressure calibration determination unit determines that all are completed; The temperature cycle adjustment unit is used to adjust the target temperature to the next temperature calibration point to continue calibration if the temperature calibration determination unit determines that the calibration is not completed, until all temperatures are calibrated.
5. A pressure transmitter calibration test device, characterized in that: include: Memory for storing computer programs; A processor is used to execute the computer program to implement the pressure transmitter calibration and inspection method as described in any one of claims 1 or 2.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the pressure transmitter calibration and inspection method according to any one of claims 1 or 2 is implemented.
