Pressure transmitter calibration method and device, electronic equipment and program product

By using an electric three-way valve to flexibly connect the pressure transmitter to a standard pressure source for zero-point and range calibration, the problem of low calibration efficiency of traditional pressure transmitters is solved, and production line downtime costs are reduced.

CN119268924APending Publication Date: 2025-01-07CHONGQING CHINA TOBACCO IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411512604.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-28
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

Existing pressure transmitter calibration methods are inefficient, resulting in high production line downtime costs.

Method used

The pressure transmitter can be flexibly connected to a standard pressure source via an electric three-way valve, enabling zero-point and range calibration without disassembling the pressure transmitter.

Benefits of technology

It improves the calibration efficiency of pressure transmitters and reduces production line downtime and costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119268924A_ABST
    Figure CN119268924A_ABST
Patent Text Reader

Abstract

The invention provides a pressure transmitter calibration method and device, electronic equipment and a program product, and relates to the technical field of equipment calibration. The method comprises the following steps: acquiring a communication state of a pressure transmitter body, wherein the communication state represents a communication condition of the pressure transmitter body with a production line or a standard pressure source through an electric three-way valve; when a first instruction representing switching of the communication state is received, the communication state is set to be a first target state, and the first target state represents that the pressure transmitter body is communicated with a standard pressure source through an electric three-way valve; and calibrating the pressure transmitter body through the standard pressure source based on the first target state. Thus, flexible communication between the pressure transmitter and the production line and between the pressure transmitter and the calibration pressure source is achieved through the electric three-way valve, the pressure transmitter is convenient to be free of disassembly in the calibration period, operation of the production line is not affected, and therefore the problems that a traditional pressure transmitter calibration mode is low in efficiency and high in production line shutdown cost are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of equipment calibration, and in particular to a pressure transmitter calibration method, device, electronic equipment and program product. Background Art

[0002] With the rapid development of the manufacturing industry, product manufacturing is no longer limited to traditional equipment operation and manual control. Instead, through logical changes in equipment control software, intelligent operations based on existing hardware equipment are realized, achieving more efficient production operations at an acceptable cost.

[0003] In tobacco production operations, pressure transmitters are used to detect the pressure of the production line in real time and transmit the pressure data of the production process to the control system, so that relevant production personnel can adjust the various equipment in the production line through the control system.

[0004] During the tobacco production process, long-term production operations will cause errors in the data measured by the pressure transmitter due to factors such as temperature. The pressure transmitter needs to be calibrated during the production operation. The existing pressure transmitter calibration process usually involves manually controlling the production line to pause, disassemble the pressure transmitter, and then adjust the pressure transmitter separately. This method has the problems of low efficiency and high production line shutdown costs. Summary of the invention

[0005] In view of this, the purpose of the embodiments of the present application is to provide a pressure transmitter calibration method, device, electronic equipment and program product, which can improve the problems of low efficiency and high production line shutdown costs in traditional pressure transmitter calibration methods.

[0006] In order to achieve the above technical objectives, the technical solutions adopted in this application are as follows:

[0007] In a first aspect, an embodiment of the present application provides a pressure transmitter calibration method, which is applied to an electronic device in a pressure transmitter calibration device, wherein the pressure transmitter calibration device further includes a pressure transmitter body, a calibration pressure source, and an electric three-way valve, wherein the electric three-way valve is respectively connected to the production line, the calibration pressure source, and the pressure transmitter body, and the method includes:

[0008] Acquiring a connection state of the pressure transmitter body, wherein the connection state indicates a connection state between the pressure transmitter body and the production line or the standard pressure source through the electric three-way valve;

[0009] When receiving a first instruction indicating switching of the connection state, setting the connection state to a first target state, wherein the first target state indicates that the pressure transmitter body is connected to the standard pressure source through the electric three-way valve;

[0010] Based on the first target state, the pressure transmitter body is calibrated by the standard pressure source.

[0011] In combination with the first aspect, in some optional implementations, based on the first target state, calibrating the pressure transmitter body by using the standard pressure source includes:

[0012] Applying zero pressure to the pressure transmitter body through the standard pressure source, and performing zero point calibration on the pressure transmitter body until the pressure output detected by the pressure transmitter body is zero;

[0013] A preset pressure is applied to the pressure transmitter body through the standard pressure source, and a range calibration is performed on the pressure transmitter body until the pressure output detected by the pressure transmitter body is the same as the preset pressure.

[0014] In combination with the first aspect, in some optional implementations, applying a preset pressure to the pressure transmitter body through the standard pressure source, and performing a range calibration on the pressure transmitter body until the pressure output detected by the pressure transmitter body is the same as the preset pressure, including:

[0015] Obtaining loss parameters when the standard pressure source pressurizes the pressure transmitter body, the loss parameters including pipeline material damping coefficient, pipeline length, pipeline inner diameter, medium density, medium flow rate, and pipeline characteristic damping coefficient;

[0016] Determining the pressure loss when the standard pressure source applies pressure to the pressure transmitter body according to the loss parameter;

[0017] Obtaining the pressure output detected by the pressure transmitter body;

[0018] Determining an error between the pressure output and an actual pressure magnitude according to the pressure output and the pressure loss;

[0019] According to the error, the range of the pressure transmitter body is calibrated until the pressure output is the same as the preset pressure.

[0020] In combination with the first aspect, in some optional implementations, the method further includes:

[0021] After the pressure transmitter body is calibrated, upon receiving a second instruction indicating switching of the connection state, the connection state is set to a second target state, wherein the second target state indicates that the pressure transmitter body is connected to the production line through the electric three-way valve.

[0022] In combination with the first aspect, in some optional embodiments, if the second instruction is not received after the first preset time after the pressure transmitter body is calibrated, the connectivity state is set to the second target state after a second preset time delay.

[0023] In combination with the first aspect, in some optional embodiments, if the first instruction or the second instruction is not received within a third preset time period before the current moment, and the pressure transmitter body is in the startup state, then the connection state is a second target state characterizing that the pressure transmitter body is connected to the production line through the electric three-way valve.

[0024] In combination with the first aspect, in some optional implementations, the method further includes:

[0025] When the pressure transmitter body is in an abnormal working state, the connection state is set to a second target state indicating that the pressure transmitter body is connected to the production line through the electric three-way valve;

[0026] Furthermore, when the pressure transmitter body is in an abnormal working state, a prompt message indicating that the pressure transmitter body is abnormal is issued.

[0027] In a second aspect, an embodiment of the present application also provides a pressure transmitter calibration device, which includes an electronic device, a pressure transmitter body, a calibration pressure source and an electric three-way valve, wherein the electric three-way valve is respectively connected to the production line, the calibration pressure source and the pressure transmitter body, and the electronic device is used to execute the above method.

[0028] In a third aspect, an embodiment of the present application further provides an electronic device, comprising a processor and a memory coupled to each other, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the electronic device executes the above method.

[0029] In a fourth aspect, an embodiment of the present application further provides a computer program product, including a computer program, which implements the above method when executed by a processor.

[0030] The invention adopting the above technical solution has the following advantages:

[0031] In the technical solution provided by the present application, the connection state of the pressure transmitter body is first obtained, and then in response to the first instruction, the connection state is set to the first target state that represents that the pressure transmitter body is connected to the standard pressure source through the electric three-way valve, and finally based on the first target state, the pressure transmitter body is calibrated through the standard pressure source. In this way, the pressure transmitter is flexibly connected to the production line and the calibration pressure source through the electric three-way valve, which facilitates the pressure transmitter to avoid disassembly during calibration and does not affect the operation of the production line, thereby improving the problems of low efficiency and high production line shutdown costs in the traditional pressure transmitter calibration method. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The present application may be further described by the non-limiting embodiments given in the accompanying drawings. It should be understood that the following drawings only illustrate certain embodiments of the present application and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings may be obtained based on these drawings without creative effort.

[0033] Figure 1 A structural block diagram of an electronic device provided in an embodiment of the present application.

[0034] Figure 2 A flow chart of a pressure transmitter calibration method provided in an embodiment of the present application.

[0035] Icon: 100 - electronic device; 101 - processor; 102 - memory. DETAILED DESCRIPTION

[0036] The present application will be described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that in the drawings or descriptions, similar or identical parts use the same figure numbers, and the implementation methods not shown or described in the drawings are forms known to ordinary technicians in the relevant technical field. In the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0037] Please refer to Figure 1 , an embodiment of the present application provides an electronic device 100 that may include a processor 101 and a memory 102. The memory 102 stores a computer program, and when the computer program is executed by the processor 101, the electronic device 100 can perform the corresponding steps in the following pressure transmitter calibration method.

[0038] In this embodiment, the processor 101 may be an integrated circuit chip having signal processing capabilities. The processor 101 may be a general-purpose processor. For example, the processor 101 may be a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application.

[0039] The memory 102 may be, but is not limited to, a random access memory, a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, etc. In this embodiment, the memory 102 may be used to store a connection state, a first instruction, a first target state, a second instruction, a second target state, a first preset duration, a second preset duration, prompt information, etc. Of course, the memory 102 may also be used to store a program, and the processor 101 executes the program after receiving the execution instruction.

[0040] In this embodiment, the electronic device 100 may be a personal computer, a laptop computer, etc. It is used to obtain the connection state of the pressure transmitter body, and then when receiving the first instruction, the connection state is set to the first target state representing that the pressure transmitter body is connected to the standard pressure source through the electric three-way valve, and finally based on the first target state, the pressure transmitter body is calibrated through the standard pressure source. In this way, the surface disassembly calibration of the pressure transmitter is achieved.

[0041] An embodiment of the present application also provides a pressure transmitter calibration device, including the above-mentioned electronic device 100, a pressure transmitter body, a calibration pressure source and an electric three-way valve.

[0042] It can be understood that the pressure transmitter calibration device in this embodiment is used to calibrate the pressure transmitter on the production line. Therefore, the electric three-way valve is respectively connected to the production line, the calibration pressure source and the pressure transmitter body. By controlling the valve of the electric three-way valve, the pressure transmitter body is selected to be connected to the production line or the calibration pressure source.

[0043] In this embodiment, when the calibration pressure source is used to calibrate the pressure transmitter body, a fixed value of pressure is applied to the pressure transmitter body, and the application method can be achieved through a medium such as fluid or gas.

[0044] Please refer to Figure 2 The present application also provides a pressure transmitter calibration method, which can be applied to the above electronic device 100, and each step in the method is executed or implemented by the electronic device 100. The pressure transmitter calibration method can include the following steps:

[0045] Step 210, obtaining the connection state of the pressure transmitter body, wherein the connection state indicates the connection state of the pressure transmitter body with the production line or the standard pressure source through the electric three-way valve;

[0046] Step 220, when receiving a first instruction representing switching the connection state, setting the connection state to a first target state, wherein the first target state represents that the pressure transmitter body is connected to the standard pressure source through the electric three-way valve;

[0047] Step 230: Based on the first target state, calibrate the pressure transmitter body through the standard pressure source.

[0048] In the above implementation, the connection state of the pressure transmitter body is first obtained, and then when the first instruction is received, the connection state is set to the first target state indicating that the pressure transmitter body is connected to the standard pressure source through the electric three-way valve, and finally based on the first target state, the pressure transmitter body is calibrated through the standard pressure source. In this way, the electric three-way valve is used to achieve flexible connection between the pressure transmitter and the production line and the calibration pressure source, which facilitates the pressure transmitter to avoid disassembly during calibration and does not affect the operation of the production line, thereby improving the problems of low efficiency and high production line shutdown costs in the traditional pressure transmitter calibration method.

[0049] The following will describe in detail the various steps of the pressure transmitter calibration method, as follows:

[0050] In step 210, the connectivity status of the pressure transmitter body can be obtained by monitoring the opening and closing of the electric three-way valve. For example, when the valve between the pressure transmitter and the calibration pressure source is opened, the connectivity status of the pressure transmitter body can be a first target state indicating that the pressure transmitter body is connected to the calibration pressure source. When the valve between the pressure transmitter and the production line is opened, the connectivity status of the pressure transmitter body can be a second target state indicating that the pressure transmitter body is connected to the production line.

[0051] In this embodiment, the connection state of the pressure transmitter body can be acquired by monitoring the opening and closing state of the electric three-way valve and uploading it to the processor 101 of the electronic device 100 in real time for subsequent processing, or it can be stored in the memory 102 of the electronic device 100 after monitoring the opening and closing state of the electric three-way valve, and then called based on the subsequent operation instructions initiated by the user. The method for acquiring the connection state is not specifically limited here.

[0052] In step 220, the first instruction may be that when the user needs to inspect or calibrate the pressure transmitter body, the user closes the valve of the electric three-way valve between the pressure transmitter body and the production line to facilitate the disassembly of the pressure transmitter body or opens the valve between the pressure transmitter body and the calibration pressure source for calibration operations; or, the first instruction may also be a script pre-defined by the user and stored in the electronic device 100, which sends the first instruction to the electric three-way valve at a user-defined frequency (for example, 1 time / hour, 1 time / 3 hours, 1 time / day, etc.) to control the opening and closing of the electric three-way valve.

[0053] In step 230, the electric three-way valve is adjusted to a first target state through a first instruction, that is, the pressure transmitter body is connected to the calibration pressure source to perform a pressure transmitter calibration operation.

[0054] In this embodiment, based on the first target state, calibrating the pressure transmitter body by using the standard pressure source may include:

[0055] Applying zero pressure to the pressure transmitter body through the standard pressure source, and performing zero point calibration on the pressure transmitter body until the pressure output detected by the pressure transmitter body is zero;

[0056] A preset pressure is applied to the pressure transmitter body through the standard pressure source, and a range calibration is performed on the pressure transmitter body until the pressure output detected by the pressure transmitter body is the same as the preset pressure.

[0057] In this embodiment, applying a preset pressure to the pressure transmitter body through the standard pressure source, and performing a range calibration on the pressure transmitter body until the pressure output detected by the pressure transmitter body is the same as the preset pressure, may include:

[0058] Obtaining loss parameters when the standard pressure source pressurizes the pressure transmitter body, the loss parameters including pipeline material damping coefficient, pipeline length, pipeline inner diameter, medium density, medium flow rate, and pipeline characteristic damping coefficient;

[0059] Determining the pressure loss when the standard pressure source applies pressure to the pressure transmitter body according to the loss parameter;

[0060] Obtaining the pressure output detected by the pressure transmitter body;

[0061] Determining an error between the pressure output and an actual pressure magnitude according to the pressure output and the pressure loss;

[0062] According to the error, the range of the pressure transmitter body is calibrated until the pressure output is the same as the preset pressure.

[0063] It is understandable that in actual applications, although the pressure output by the standard pressure source is of standard size when it is output, when the medium used to generate pressure flows between the standard pressure source and the pressure transmitter body, pressure loss is inevitable due to factors such as pipeline length, material, and shape. Therefore, when calculating the error between the pressure output detected by the pressure transmitter body and the actual pressure size, it is also necessary to compensate for the loss caused by the transmission of the medium in the pipeline.

[0064] Specifically, the error between the pressure output and the actual pressure = the preset pressure output by the standard pressure source - (pressure output + pressure loss). The calculation formula for pressure loss is as follows:

[0065]

[0066]

[0067]

[0068] In the formula, Indicates the resistance loss caused by the pipe material to the medium. It indicates the resistance loss caused to the medium by pipeline characteristics (such as elbow shape, number of elbows, etc.). represents the material damping coefficient of the pipe, Indicates the length of the pipeline, Indicates the inner diameter of the pipe. represents the density of the medium, Indicates the medium flow rate, Represents the characteristic damping coefficient of the pipe.

[0069] It is understandable that in practical applications, the detection data of the equipment should have a certain margin of error, that is, the end condition of zero-point calibration can be not only that the pressure output detected by the pressure transmitter body is zero, but also that the value of the pressure output is within the value range preset by the user, that is, the zero-point calibration is considered valid. The same is true for range calibration.

[0070] In this embodiment, zero point calibration and span calibration are conventional technical means in the technical field of pressure transmitter calibration, which will not be described in detail here.

[0071] As an optional implementation, the method may further include:

[0072] After the pressure transmitter body is calibrated, upon receiving a second instruction indicating switching of the connection state, the connection state is set to a second target state, wherein the second target state indicates that the pressure transmitter body is connected to the production line through the electric three-way valve.

[0073] It is understandable that after completing the calibration of the pressure transmitter body, in order for the pressure transmitter to re-enter the tobacco production line operation more smoothly, the user can initiate a second instruction through the above-mentioned electronic device 100 immediately after completing the calibration, or through a pre-edited script, send a second instruction to the pressure transmitter body immediately after the calibration is completed, and forward the second instruction to the electric three-way valve through the pressure transmitter body, thereby setting the valve of the electric three-way valve to the second target state, that is, the pressure transmitter body is connected to the production line through the electric three-way valve, so that the pressure transmitter can quickly enter the pressure monitoring operation of the production line.

[0074] Alternatively, in order to prevent the user from forgetting to return the pressure transmitter to the production line after calibration, or an error in pre-editing resulting in the pressure transmitter body failing to connect with the production line after calibration, if the second instruction is not received after a first preset time after the pressure transmitter body is calibrated, the connection state may be set to the second target state after a second preset time delay.

[0075] It is understandable that by delaying the second preset time and then controlling the electric three-way valve to change the connection state, a certain fault tolerance space can be reserved for the pressure transmitter to enter the production line monitoring operation to prevent the pressure transmitter from being put into production operation without being effectively calibrated.

[0076] As an optional embodiment, the method may also include: if the first instruction or the second instruction is not received within a third preset time period before the current moment, and the pressure transmitter body is in a startup state, then the connection state is a second target state characterizing that the pressure transmitter body is connected to the production line through the electric three-way valve.

[0077] In this embodiment, in order to prevent the electric three-way valve from changing its connection state after a long period of time without user operation, the pressure transmitter body may always be in an unoperated state (i.e., connected to the calibration pressure source but not calibrated), thereby affecting the regular operation of the production line and causing production accidents. In this embodiment, if the first instruction or the second instruction is not received within the third preset time (flexibly set by the user, such as 20 minutes, half an hour, 1 hour, 3 hours, etc.) before the current moment, and the pressure transmitter body is always in the startup state, the connection state is switched to the second target state, that is, the pressure transmitter body is put into production line operation to avoid the pressure transmitter body being shelved for a long time.

[0078] As an optional implementation, the method may further include:

[0079] When the pressure transmitter body is in an abnormal working state, the connection state is set to a second target state indicating that the pressure transmitter body is connected to the production line through the electric three-way valve;

[0080] Furthermore, when the pressure transmitter body is in an abnormal working state, a prompt message indicating that the pressure transmitter body is abnormal is issued.

[0081] In this embodiment, the working state of the pressure transmitter body can be monitored in real time. When it is detected that the pressure transmitter body is in an abnormal working state (for example, the working voltage is unstable, the output pressure value is obviously inconsistent with the actual situation, etc.), the electric three-way valve is set to the second target state, that is, the connection between the pressure transmitter body and the production line is cut off, so that the pressure transmitter body can be disassembled, repaired or calibrated. In addition, in order to prompt the user to perform immediate maintenance when a problem occurs with the pressure transmitter, when the pressure transmitter body is in an abnormal working state, a prompt message indicating that the pressure transmitter body is abnormal is issued (for example, a warning is issued by a buzzer integrated in the pressure transmitter body, a pop-up prompt is issued by the electronic device 100, etc.).

[0082] Understandably, Figure 1 The structure of the electronic device 100 shown in FIG. 1 is only a schematic diagram of a structure. The electronic device 100 may also include Figure 1 More components are shown. Figure 1 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0083] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the electronic device 100 described above can refer to the corresponding process of each step in the aforementioned method, and will not be elaborated herein.

[0084] The embodiment of the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is run on a computer, the computer executes the pressure transmitter calibration method described in the above embodiment.

[0085] The embodiment of the present application further provides a computer program product, including a computer program. When the computer program is executed by the processor 101101, the pressure transmitter calibration method described in the above embodiment can be implemented.

[0086] Through the description of the above implementation methods, technical personnel in this field can clearly understand that the present application can be implemented by hardware, and can also be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each implementation scenario of the present application.

[0087] In summary, the embodiments of the present application provide a pressure transmitter calibration method, device, electronic device and program product. In this technical solution, the connectivity state of the pressure transmitter body is first acquired, and then, in response to a first instruction, the connectivity state is set to a first target state that represents that the pressure transmitter body is connected to a standard pressure source through an electric three-way valve, and finally, based on the first target state, the pressure transmitter body is calibrated through the standard pressure source. In this way, the pressure transmitter is flexibly connected to the production line and the calibration pressure source through the electric three-way valve, which facilitates the pressure transmitter to avoid disassembly during calibration and does not affect the operation of the production line, thereby improving the problems of low efficiency and high production line shutdown costs in traditional pressure transmitter calibration methods.

[0088] In the embodiments provided in the present application, it should be understood that the disclosed device and method can also be implemented in other ways. The device and method embodiments described above are merely schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a part of a module, a program segment or a code, and a part of the module, program segment or code contains one or more executable instructions for implementing the specified logical function. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. In addition, each functional module in each embodiment of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part.

[0089] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A pressure transmitter calibration method, characterized in that: An electronic device used in a pressure transmitter calibration device, the pressure transmitter calibration device also includes a pressure transmitter body, a calibration pressure source and an electric three-way valve, the electric three-way valve is respectively connected to the production line, the calibration pressure source and the pressure transmitter body, the method includes: Acquiring a connection state of the pressure transmitter body, wherein the connection state indicates a connection state between the pressure transmitter body and the production line or the standard pressure source through the electric three-way valve; When receiving a first instruction indicating switching of the connection state, setting the connection state to a first target state, wherein the first target state indicates that the pressure transmitter body is connected to the standard pressure source through the electric three-way valve; Based on the first target state, the pressure transmitter body is calibrated by the standard pressure source.

2. The method according to claim 1, characterized in that Based on the first target state, calibrating the pressure transmitter body by using the standard pressure source includes: Applying zero pressure to the pressure transmitter body through the standard pressure source, and performing zero point calibration on the pressure transmitter body until the pressure output detected by the pressure transmitter body is zero; A preset pressure is applied to the pressure transmitter body through the standard pressure source, and a range calibration is performed on the pressure transmitter body until the pressure output detected by the pressure transmitter body is the same as the preset pressure.

3. The method according to claim 2, characterized in that Applying a preset pressure to the pressure transmitter body through the standard pressure source, and performing a range calibration on the pressure transmitter body until the pressure output detected by the pressure transmitter body is the same as the preset pressure, including: Obtaining loss parameters when the standard pressure source pressurizes the pressure transmitter body, the loss parameters including pipeline material damping coefficient, pipeline length, pipeline inner diameter, medium density, medium flow rate, and pipeline characteristic damping coefficient; Determining the pressure loss when the standard pressure source applies pressure to the pressure transmitter body according to the loss parameter; Obtaining the pressure output detected by the pressure transmitter body; Determining an error between the pressure output and an actual pressure magnitude according to the pressure output and the pressure loss; According to the error, the range of the pressure transmitter body is calibrated until the pressure output is the same as the preset pressure.

4. The method according to claim 1, characterized in that: The method further comprises: After the pressure transmitter body is calibrated, upon receiving a second instruction indicating switching of the connection state, the connection state is set to a second target state, wherein the second target state indicates that the pressure transmitter body is connected to the production line through the electric three-way valve.

5. The method according to claim 4, characterized in that If the second instruction is not received after the first preset time period after the pressure transmitter body is calibrated, the connection state is set to the second target state after a second preset time period.

6. The method according to claim 1, characterized in that If the first instruction or the second instruction is not received within a third preset time period before the current moment, and the pressure transmitter body is in the startup state, the connection state is a second target state indicating that the pressure transmitter body is connected to the production line through the electric three-way valve.

7. The method according to claim 1, characterized in that The method further comprises: When the pressure transmitter body is in an abnormal working state, the connection state is set to a second target state indicating that the pressure transmitter body is connected to the production line through the electric three-way valve; Furthermore, when the pressure transmitter body is in an abnormal working state, a prompt message indicating that the pressure transmitter body is abnormal is issued.

8. A pressure transmitter calibration device, characterized in that: The pressure transmitter calibration device includes an electronic device, a pressure transmitter body, a calibration pressure source and an electric three-way valve, wherein the electric three-way valve is respectively connected to the production line, the calibration pressure source and the pressure transmitter body, and the electronic device is used to execute the method as described in any one of claims 1-7.

9. An electronic device, characterized in that: The electronic device comprises a processor and a memory coupled to each other, wherein the memory stores a computer program. When the computer program is executed by the processor, the electronic device executes the method as claimed in any one of claims 1 to 7.

10. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 7.