Natural gas flow meter calibration method, device, equipment and storage medium
By receiving client requests and controlling the valve to achieve flow point calibration, it solves the problem of low manual operation efficiency in the existing technology, realizes automated calibration of natural gas flow meters, and improves calibration efficiency and accuracy.
Patent Information
- Application Number
- CN202310681901.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-09
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2043-06-09
AI Technical Summary
The existing natural gas flow meter calibration method relies on manual operation, which is inefficient, cumbersome and difficult to achieve automated calibration.
By receiving the calibration request sent by the client, determine the type of the flow meter to be calibrated and control the opening and closing of the valve on the target standard pipeline to realize the flow rate of the flow point, determine the calibration result of each flow point, and send it to the customer based on the comprehensive calibration result terminal to achieve automatic verification over long distances.
It improves the work efficiency and intelligence level of operation and maintenance personnel, realizes automatic calibration of flow meters, reduces the error rate and improves the accuracy of calibration.
Smart Images

Figure CN116539127B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of flow meter calibration, and in particular to a natural gas flow meter calibration method, device, equipment and storage medium. Background Art
[0002] The calibration of natural gas flow meters is a very important task. In related technologies, operation and maintenance personnel can only manually calibrate the flow meters on site. For example, it involves a large number of valve switching operations, which is cumbersome and inefficient. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present application provides a natural gas flow meter calibration method, device, equipment and storage medium to solve the above problems.
[0004] According to a first aspect of an embodiment of the present application, a natural gas flow meter calibration method is provided, the method comprising:
[0005] Receiving a verification request sent by a client, wherein the verification request carries the type of flow meter to be verified and multiple flow points;
[0006] Determining a target standard pipeline related to the flow meter being tested according to the type of the flow meter being tested;
[0007] Controlling the opening and closing of the valve on the target standard meter pipeline to achieve the flow rate at the flow point;
[0008] Determining the calibration result of the calibrated flow meter at each flow point;
[0009] Determining the comprehensive verification result of the verified flow meter according to the verification result of each flow point;
[0010] The comprehensive verification result is sent to the client.
[0011] In one embodiment, for each calibration of each flow point, after the calibration is completed, the calibration parameters of the flow point are obtained;
[0012] In response to determining that the calibration is invalid according to the calibration parameters, the flow point continues to be calibrated.
[0013] In one embodiment, the verification parameters include: flow rate, temperature and pressure;
[0014] Determining that the verification is invalid according to the verification parameters includes:
[0015] Determining a flow difference between a flow rate and a predetermined flow threshold, and in response to the flow difference being greater than the predetermined flow difference threshold, determining that the verification is invalid;
[0016] Determining the temperature of the gas at the flow point, and in response to a change in the temperature being greater than a predetermined temperature change threshold, determining that the verification is invalid;
[0017] The pressure fluctuation ratio of the flow point is determined, and in response to the pressure fluctuation ratio being greater than a predetermined pressure fluctuation ratio threshold, the verification is determined to be invalid.
[0018] In one embodiment, for each flow point, after the calibration is completed, in response to determining that the calibration is valid according to the calibration parameters, the method further includes: determining the calibration result of the calibrated flow meter according to the calibration parameters of the flow point, specifically including:
[0019] Determine a corresponding accuracy grade table according to the type of the flow meter being calibrated;
[0020] The verification result is determined according to the accuracy grade table.
[0021] In one embodiment, it further includes:
[0022] Obtain the instantaneous flow rate of each target standard meter pipeline in real time;
[0023] In response to a flow rate of any target standard meter pipeline being equal to or greater than a predetermined first flow rate threshold and less than a predetermined second flow rate threshold, sending a first alarm message to the client;
[0024] In response to a flow rate of any target standard meter pipeline being equal to or greater than a predetermined second flow rate threshold, sending a second alarm message to the client;
[0025] The priority of the second alarm message is higher than the priority of the first alarm message.
[0026] In one embodiment, it further includes:
[0027] Obtain the instantaneous flow rate of each flow meter pipeline being tested in real time;
[0028] In response to the flow rate of any one of the calibrated flow meter pipelines being greater than or equal to a predetermined third flow rate threshold and less than a predetermined fourth flow rate threshold, sending a third alarm message to the client;
[0029] In response to the flow rate of any target standard meter pipeline being equal to or greater than a predetermined fourth flow rate threshold, sending a fourth alarm message to the client;
[0030] The priority of the fourth alarm message is higher than the priority of the third alarm message.
[0031] In one embodiment, it further includes:
[0032] Obtain inlet and outlet pressure difference and pressure drop rate in real time;
[0033] In response to the inlet and outlet pressure difference being equal to or greater than a predetermined pressure difference threshold, and / or the pressure drop rate being equal to or greater than a predetermined pressure drop rate threshold, a fifth alarm message is sent to the client.
[0034] In a second aspect, the present application proposes a natural gas flow meter calibration device, comprising:
[0035] A receiving module, used for receiving a verification request sent by a client, wherein the verification request carries the type of flow meter to be verified and a plurality of flow points;
[0036] A first determination module, used for determining a target standard pipeline related to the flow meter to be verified according to the type of the flow meter to be verified;
[0037] A control module, used to control the opening and closing of the valve on the target standard meter pipeline to achieve the flow rate at the flow point;
[0038] A second determination module is used to determine the verification result of the verified flow meter at each flow point;
[0039] A third determination module, used to determine the comprehensive verification result of the verified flow meter according to the verification result of each flow point;
[0040] A sending module is used to send the comprehensive verification result to the client.
[0041] In a third aspect, the present application proposes a natural gas flow meter calibration device, comprising:
[0042] a processor; a memory for storing instructions executable by the processor;
[0043] The processor is configured to execute the executable instructions to implement any of the above methods.
[0044] In a fourth aspect, the present application proposes a non-temporary computer-readable storage medium having computer program instructions stored thereon, which implement the steps of any of the above-mentioned methods when executed by a processor.
[0045] The technical solution provided by the embodiments of the present application may include the following beneficial effects: In the above-mentioned technical solution of the present application, the server receives the calibration request sent by the client, determines the type of the flow meter to be calibrated, and then determines the target standard pipeline related to the calibrated flow meter. The valve opening and closing on the target standard pipeline is controlled to achieve the flow rate at each flow point, and the calibration result of the calibrated flow meter at each flow point is determined. According to the calibration result of each flow point, the final calibration result of the calibrated flow meter is determined and sent to the above-mentioned client. The operation and maintenance personnel can realize the automatic calibration of the flow meter at a long distance, realize automatic calibration, and improve the work efficiency and intelligence level of the operation and maintenance personnel.
[0046] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0048] Figure 1 is a flow chart of a natural gas flow meter calibration method according to an exemplary embodiment;
[0049] Figure 2 is a flow chart of an advanced natural gas flow meter intelligent verification method according to an exemplary embodiment;
[0050] Figure 3 is a structural block diagram of a natural gas flow meter calibration device according to an exemplary embodiment;
[0051] Figure 4 The present invention is a structural block diagram of a natural gas flow meter calibration device according to an exemplary embodiment. DETAILED DESCRIPTION
[0052] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numerals in different drawings represent the same or similar elements.
[0053] A natural gas flow meter calibration method, see attached Figure 1 , the method comprises the following steps:
[0054] In step S102, a verification request sent by the client is received, wherein the verification request carries the type of flow meter to be verified and multiple flow points.
[0055] In this embodiment, the operation and maintenance personnel can set a verification request on the client and send the verification request to the server. The server can receive the verification request sent by the client. After receiving the above verification request, the server can automatically complete the verification task.
[0056] The types of the flow meter to be calibrated include one or more of the following: turbine flow meter, ultrasonic flow meter, orifice flow meter, mass flow meter, sonic nozzle flow meter, and channel flow meter.
[0057] The calibration request may include a calibration task list, and the calibration task list may also include the following parameters of this calibration: flow meter caliber, maximum flow, and number of flow points.
[0058] In step S104, a target standard pipeline related to the flow meter to be tested is determined according to the type of the flow meter to be tested.
[0059] In this embodiment, the turbine flowmeter corresponds to the first standard pipeline, and the ultrasonic flowmeter corresponds to the second standard pipeline. If the flowmeter to be tested is a turbine flowmeter, the first standard pipeline is determined, and if the flowmeter to be tested is an ultrasonic flowmeter, the second standard pipeline is determined.
[0060] In step S106, the valves on the target standard pipeline are controlled to open and close to achieve the flow rate at each flow point.
[0061] In this embodiment, the server is electrically connected to the valves on the above-mentioned target standard pipeline. The server can control the opening and closing of each valve, as well as the degree of opening, so as to adjust the flow on the target standard pipeline so that the flow on the target standard pipeline reaches the flow value of the flow point.
[0062] In step S108, the calibration result of the calibrated flow meter at each flow point is determined.
[0063] In this embodiment, for any flow point, the server controls the opening and closing of the relevant valves to achieve the flow value of the flow point on the target pipeline. The server can also control the relevant standard flow meter for calibration to complete the calibration process of the calibrated flow meter.
[0064] The above-mentioned standard flowmeters are pre-set, in multiple quantities, and are set in parallel. Specifically, multiple standard flowmeters can be connected in parallel and then in series with the flowmeter to be tested, and the calibration can be performed based on the principle that the volume of gas flowing through the standard device and the flowmeter to be tested is equal in the same time, so as to finally achieve the accuracy evaluation of the flowmeter to be tested, complete the actual flow calibration work, and issue a calibration certificate or calibration report.
[0065] The plurality of standard flow meters mentioned above can be electrically connected to the server and send data to the server.
[0066] After the calibration is completed, the calibration result of the calibration is determined, and the calibration result includes a qualified calibration or a failed calibration.
[0067] In some embodiments, an upper limit threshold of the number of detections may be preset. If the test still fails when the upper limit threshold of the number of detections is reached, the test of the next flow point will be automatically entered.
[0068] In step S110, the comprehensive verification result of the verified flow meter is determined according to the verification result of each flow point.
[0069] In this embodiment, when determining the comprehensive verification result of the verified flow meter according to the verification result of each flow point, the following rules may be used:
[0070] If the calibration result of at least one flow point is unqualified, the comprehensive calibration result is unqualified; only when the calibration results of all flow points are qualified, the comprehensive calibration result is qualified.
[0071] Of course, redundancy can also be set. When the number of unqualified inspection results of a predetermined number of flow points is equal to or greater than a predetermined number threshold, the comprehensive inspection result is determined to be unqualified. If the number of unqualified inspection results is less than the predetermined number threshold, the comprehensive inspection result is determined to be qualified.
[0072] The above comprehensive inspection results include qualified inspection or unqualified inspection.
[0073] In step S112, the comprehensive verification result is sent to the client.
[0074] In this embodiment, the server can send the above-mentioned calibration results to the above-mentioned client, and the above-mentioned client receives and displays the above-mentioned calibration results, which is convenient for operation and maintenance personnel to calibrate the flow meter under test remotely, and helps to improve the calibration work efficiency of operation and maintenance personnel.
[0075] In the above technical solution of the present application, the server receives the calibration request sent by the client, determines the type of the flow meter to be calibrated, and then determines the target standard pipeline related to the calibrated flow meter. The valve on the target standard pipeline is controlled to open and close to achieve the flow rate at each flow point, and the calibration result of the calibrated flow meter at each flow point is determined. According to the calibration result of each flow point, the final calibration result of the calibrated flow meter is determined and sent to the above client. The operation and maintenance personnel can realize the automatic calibration of the flow meter at a long distance, realize automatic calibration, and improve the work efficiency and intelligence level of the operation and maintenance personnel.
[0076] In one embodiment, for each calibration of each flow point, after the calibration is completed, the calibration parameters of the flow point are obtained.
[0077] In response to determining that the calibration is invalid according to the calibration parameters, the flow point continues to be calibrated.
[0078] In this embodiment, for any flow point, after the calibration is completed, the calibration parameters of this time can be obtained, and whether the calibration is valid can be determined based on the above calibration parameters. If it is valid, the calibration result is determined. If it is invalid, the flow point is continuously calibrated, that is, the current flow value is kept unchanged and the calibration is continued until the calibration is valid. The above method of the present application can improve the effectiveness of the calibration by judging whether the calibration is valid, thereby reducing the error rate of the calibration and improving the accuracy of the calibration.
[0079] In one embodiment, the verification parameters include one or more of the following: flow rate, temperature and pressure.
[0080] Determining that the verification is invalid according to the verification parameters may further include the following steps:
[0081] A flow difference between the flow rate and a predetermined flow threshold is determined, and in response to the flow difference being greater than the predetermined flow difference threshold, the verification is determined to be invalid.
[0082] In this embodiment, the above-mentioned flow difference threshold can be set flexibly.
[0083] For example, during the calibration process, the deviation between the actual calibration flow rate and the set flow rate at each flow point shall not exceed ±5% of the set flow rate or ±1% of the maximum flow rate for an ultrasonic flowmeter, and shall not exceed ±5% of the set flow rate for a turbine flowmeter.
[0084] The temperature of the gas at the flow point is determined, and in response to a change in the temperature being greater than a predetermined temperature change threshold, the verification is determined to be invalid.
[0085] In this embodiment, the above-mentioned temperature change threshold can be set flexibly.
[0086] For example, for flow meters with an accuracy level not lower than level 1.0, the temperature change of the calibration gas should not exceed ±0.5°C during each calibration process at each flow point. For flow meters with an accuracy level lower than level 1.0, the temperature change of the calibration gas should not exceed ±1°C during each calibration process at each flow point.
[0087] The pressure fluctuation ratio of the flow point is determined, and in response to the pressure fluctuation ratio being greater than a predetermined pressure fluctuation ratio threshold, the verification is determined to be invalid.
[0088] In this embodiment, the above-mentioned pressure fluctuation ratio threshold value can be set flexibly.
[0089] For example, during the calibration process at each flow point, the pressure fluctuation should not exceed ±0.5%
[0090] In some embodiments, in step S104, determining the target standard pipeline related to the flow meter to be tested according to the type of the flow meter to be tested may further include the following steps:
[0091] When establishing a reinforcement learning model, in the initial stage, there is a lack of actual on-site operation data, and training can be performed based on the first hydraulic optimization model algorithm to reduce on-site learning time.
[0092] In the initial stage of actual operation on site, the first hydraulic optimization model algorithm can be selected for actual calculation. At this time, the second hydraulic optimization model algorithm also runs normally and automatically learns according to the actual data on site to achieve the purpose of learning optimization.
[0093] After the training is completed, the first hydraulic optimization model algorithm or the second hydraulic optimization model algorithm can be automatically selected for control to realize the standard device pipeline combination calculation, the optimal calculation of the main flow regulating pipeline and the bypass flow regulating pipeline combination, and the target valve position calculation, and finally cooperate with the control system to realize the standard device pipeline switching, automatic switching of the pressure regulating pipeline and automatic adjustment of pressure and flow.
[0094] In order to implement flow over-limit protection for the standard table, in one implementation, the above method may further include the following steps:
[0095] The instantaneous flow of each target standard meter pipeline is acquired in real time, and in response to the flow of any target standard meter pipeline being equal to or greater than a predetermined first flow threshold and less than a predetermined second flow threshold, a first alarm message is sent to the client.
[0096] In this embodiment, the first flow threshold and the second flow threshold can be flexibly set according to actual conditions. For example, the first flow threshold can be 80% of the set upper limit value, and in addition to sending the first alarm message to the client, the first alarm message can be displayed on the host computer.
[0097] The first alarm message may be a voice message or a text message. For example, the first alarm message is, "The traffic exceeds the limit, please handle it."
[0098] In response to the flow rate of any target standard meter pipeline being equal to or greater than a predetermined second flow rate threshold, a second alarm message is sent to the client.
[0099] The priority of the second alarm message is higher than the priority of the first alarm message.
[0100] In this embodiment, the second flow rate threshold is greater than the first flow rate threshold. When the flow rate of the target standard meter pipeline is equal to or greater than the predetermined second flow rate threshold, it indicates that the exceeding of the standard is more serious and needs to be reported in time. For example, the second alarm message is that the flow rate is seriously exceeding the standard, please deal with it immediately.
[0101] In some embodiments, after the above alarm, the server can perform related control work, for example, it can control the verification loop outlet regulating valve to close, and can control the bypass pipeline regulating valve to open. Of course, the above outlet regulating valve and bypass pipeline regulating valve can also be set to manual control. If the flow rate drops to less than 80%, the verification loop regulating valve stops closing, the bypass loop stops opening, and the current state is maintained, and the work waits for the verification to continue.
[0102] In order to achieve flow protection for the calibrated flow meter, in one embodiment, the above method may further include the following steps:
[0103] Obtain the instantaneous flow rate of each flow meter pipeline being tested in real time.
[0104] In response to the flow rate of any calibrated flow meter pipeline being greater than or equal to a predetermined third flow rate threshold and less than a predetermined fourth flow rate threshold, a third alarm message is sent to the client.
[0105] In response to the flow rate of any target standard meter pipeline being equal to or greater than a predetermined fourth flow rate threshold, a fourth alarm message is sent to the client.
[0106] The priority of the fourth alarm message is higher than the priority of the third alarm message.
[0107] In order to prevent the downstream from being cut off and to adjust the pressure drop rate too fast, in one embodiment, the above method may further include the following steps:
[0108] Obtain inlet and outlet pressure difference and pressure drop rate in real time;
[0109] In response to the inlet and outlet pressure difference being equal to or greater than a predetermined pressure difference threshold, and / or the pressure drop rate being equal to or greater than a predetermined pressure drop rate threshold, a fifth alarm message is sent to the client.
[0110] In this embodiment, in order to prevent the downstream from being cut off and to adjust the pressure drop rate too fast, the inlet and outlet pressure difference and pressure drop rate are monitored in real time and the alarm value can be set. When the pressure drop rate exceeds the limit value too fast, an alarm is required in real time. The bypass regulating valve needs to be adjusted in steps to prevent the downstream pressure from rising instantly and being consistent with the upstream pressure. During the flow regulation process, it is necessary to prevent the calibration pipeline regulating valve and the bypass regulating valve from being suddenly closed at the same time.
[0111] See attached Figure 2 The flowchart of an advanced natural gas flow meter intelligent verification method is shown in FIG. 1 , and the method includes the following steps:
[0112] Tasks are automatically loaded;
[0113] Task configuration;
[0114] Set traffic points;
[0115] Switch traffic points;
[0116] For any flow point, determine whether the flow point is stable;
[0117] If it is stable, calibrate the flow point;
[0118] Determine whether the test is qualified and valid;
[0119] If not, the calibration times will be automatically increased to continue the calibration of the flow point.
[0120] If valid, determine whether all flow points are completed. If not, calibrate the flow points that have not been calibrated. If yes, the calibration is completed.
[0121] If it is unstable, a flow adjustment request is sent to the intelligent control system;
[0122] The intelligent control system calculates the optimal marking pipeline combination according to the flow rate;
[0123] Automatically switch the standard meter pipeline;
[0124] Calculate the optimal regulating pipeline combination according to the hydraulic optimization model;
[0125] Calculate and adjust pipeline combinations based on deep reinforcement learning method;
[0126] Control the bypass flow regulating pipeline valve to reach the specified valve position;
[0127] Control the main flow regulating pipeline valve to reach the specified valve position;
[0128] Verify flow rate coarse adjustment;
[0129] Determine whether the flow is stable. If not, return to the previous step;
[0130] If the flow rate is stable, verify that the flow rate is precisely adjusted;
[0131] Valve speed limiting;
[0132] Determine whether the standard pipeline flow exceeds the limit. If so, an alarm will be sounded and the corresponding valve will be shut down;
[0133] If it is not exceeded, it will determine whether the flow rate of the pipeline under inspection is exceeded. If so, an alarm will be sounded and the corresponding valve will be closed;
[0134] Determine whether the inlet and outlet pressure difference exceeds the standard. If so, an alarm will be sounded and the corresponding valve will be shut down;
[0135] Determine whether the conditions for preventing gas failure protection are met, and if so, alarm;
[0136] The above condition is that the calibration pipeline regulating valve and the bypass regulating valve are closed at the same time.
[0137] In the second aspect, the present application proposes a natural gas flow meter calibration device, see attached Figure 3 The structural block diagram of a natural gas flow meter calibration device 2 shown in FIG. 1 includes:
[0138] The receiving module 21 is used to receive a verification request sent by a client, wherein the verification request carries the type of the flow meter to be verified and multiple flow points;
[0139] A first determination module 22, for determining a target standard pipeline related to the flow meter to be tested according to the type of the flow meter to be tested;
[0140] A control module 23, used to control the opening and closing of the valve on the target standard meter pipeline to achieve the flow rate at the flow point;
[0141] A second determination module 24 is used to determine the verification result of the verified flow meter at each flow point;
[0142] A third determination module 25, for determining a comprehensive verification result of the verified flow meter according to the verification result of each flow point;
[0143] The sending module 26 is used to send the comprehensive verification result to the client.
[0144] In one embodiment, it further includes: a verification module 27, which is used to obtain the verification parameters of each flow point after each verification of each flow point;
[0145] In response to determining that the calibration is invalid according to the calibration parameters, the flow point continues to be calibrated.
[0146] In one embodiment, the verification parameters include: flow rate, temperature and pressure;
[0147] The inspection module 27 is further used to determine a flow difference between the flow rate and a predetermined flow threshold, and in response to the flow difference being greater than the predetermined flow difference threshold, determine that the inspection is invalid;
[0148] Determining the temperature of the gas at the flow point, and in response to a change in the temperature being greater than a predetermined temperature change threshold, determining that the verification is invalid;
[0149] The pressure fluctuation ratio of the flow point is determined, and in response to the pressure fluctuation ratio being greater than a predetermined pressure fluctuation ratio threshold, the verification is determined to be invalid.
[0150] In one embodiment, the second determination module 24 is further configured to, for each flow point, after the verification is completed, in response to determining that the verification is valid according to the verification parameters, determine the verification result of the verified flow meter according to the verification parameters of the flow point, specifically including:
[0151] Determine a corresponding accuracy grade table according to the type of the flow meter being calibrated;
[0152] The verification result is determined according to the accuracy grade table.
[0153] In one embodiment, it further includes a first protection alarm module 28 for obtaining the instantaneous flow of each target standard meter pipeline in real time;
[0154] In response to a flow rate of any target standard meter pipeline being equal to or greater than a predetermined first flow rate threshold and less than a predetermined second flow rate threshold, sending a first alarm message to the client;
[0155] In response to a flow rate of any target standard meter pipeline being equal to or greater than a predetermined second flow rate threshold, sending a second alarm message to the client;
[0156] The priority of the second alarm message is higher than the priority of the first alarm message.
[0157] In one embodiment, it further includes a second protection alarm module 29 for obtaining the instantaneous flow of each flow meter pipeline being tested in real time;
[0158] In response to the flow rate of any one of the calibrated flow meter pipelines being greater than or equal to a predetermined third flow rate threshold and less than a predetermined fourth flow rate threshold, sending a third alarm message to the client;
[0159] In response to the flow rate of any target standard meter pipeline being equal to or greater than a predetermined fourth flow rate threshold, sending a fourth alarm message to the client;
[0160] The priority of the fourth alarm message is higher than the priority of the third alarm message.
[0161] In one embodiment, a third protection alarm module 210 is further included, which is used to obtain the inlet and outlet pressure difference and pressure drop rate in real time;
[0162] In response to the inlet and outlet pressure difference being equal to or greater than a predetermined pressure difference threshold, and / or the pressure drop rate being equal to or greater than a predetermined pressure drop rate threshold, a fifth alarm message is sent to the client.
[0163] In the third aspect, the present application proposes a natural gas flow meter calibration device, see the attached Figure 4 , the device comprises:
[0164] A processor 41; a memory 42 for storing instructions executable by the processor 41;
[0165] The processor 41 is configured to execute the executable instructions to implement any of the above methods.
[0166] In a fourth aspect, the present application proposes a non-temporary computer-readable storage medium having computer program instructions stored thereon, which implement the steps of any of the above-mentioned methods when executed by a processor.
[0167] In the embodiment of the present invention, the processor may be an integrated circuit chip having the signal processing capability. The processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0168] The various methods, steps and logic block diagrams of the application in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method applied in conjunction with the embodiments of the present invention can be directly embodied as a hardware decoding processor for execution, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The processor reads the information in the storage medium and completes the steps of the above method in conjunction with its hardware.
[0169] The storage medium may be a memory, which may be, for example, a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memory.
[0170] Among them, the non-volatile memory can be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
[0171] The volatile memory may be a random access memory (RAM) which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DRRAM).
[0172] The storage media described in the embodiments of the present invention are intended to include, but are not limited to, these and any other suitable types of memory.
[0173] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in the present invention can be implemented using a combination of hardware and software. When software is used, the corresponding functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. Storage media can be any available media that can be accessed by general or special-purpose computers.
[0174] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0175] The above description is only the preferred embodiment of the present application and is not intended to limit 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 natural gas flow meter calibration method, characterized in that: include: Receiving a verification request sent by a client, wherein the verification request carries the type of flow meter to be verified and multiple flow points; Determining a target standard meter pipeline related to the flow meter being tested according to the type of the flow meter being tested; Controlling the opening and closing of the valve on the target standard meter pipeline to achieve the flow rate at the flow point; Determining the calibration result of the calibrated flow meter at each flow point; Determining the comprehensive verification result of the verified flow meter according to the verification result of each flow point; Sending the comprehensive verification result to the client; The turbine flowmeter corresponds to the first standard pipeline; the ultrasonic flowmeter corresponds to the second standard pipeline; For each calibration of each flow point, after the calibration is completed, the calibration parameters of the flow point are obtained; In response to determining that the verification is invalid according to the verification parameters, continuing to verify the flow point; The verification parameters include: flow rate, temperature and pressure; Determining that the verification is invalid according to the verification parameters includes: Determining a flow difference between a flow rate and a predetermined flow threshold, and in response to the flow difference being greater than the predetermined flow difference threshold, determining that the verification is invalid; Determining the temperature of the gas at the flow point, and in response to a change in the temperature being greater than a predetermined temperature change threshold, determining that the verification is invalid; determining a pressure fluctuation ratio of the flow point, and in response to the pressure fluctuation ratio being greater than a predetermined pressure fluctuation ratio threshold, determining that the verification is invalid; For each flow point, after the verification is completed, in response to determining that the verification is valid according to the verification parameters, the method further includes: determining the verification result of the verified flow meter according to the verification parameters of the flow point, specifically including: Determine a corresponding accuracy grade table according to the type of the flow meter being tested; Determine the verification result according to the accuracy grade table; During the calibration process, it provides flow over-limit protection for the standard meter, flow protection for the flow meter being calibrated, and prevents downstream gas cut-off and excessive pressure drop rate. The type of flow meter to be tested includes one or more of the following: turbine flow meter, ultrasonic flow meter, orifice flow meter, mass flow meter, sonic nozzle flow meter, channel flow meter; The calibration request includes a calibration task list, which also includes the following parameters for this calibration: flow meter caliber, maximum flow rate, and number of flow points; Preset the upper limit threshold of the number of detection times. If the test still fails when the upper limit threshold of the number of detection times is reached, the test of the next flow point will be automatically entered; For any flow point, the server controls the opening and closing of the relevant valves to achieve the flow on the target pipeline to be the flow value of the flow point. The server can also control the relevant standard flow meter to perform calibration, and complete the calibration process of the calibrated flow meter; the above-mentioned standard flow meter is pre-set, and is calibrated by connecting multiple standard flow meters in parallel and then in series with the calibrated flow meter, using the principle that the volume of gas flowing through the standard device and the calibrated flow meter is equal in the same time, and finally the accuracy evaluation of the calibrated flow meter is achieved; The comprehensive verification results adopt the following rules: If the calibration result of at least one flow point is unqualified, the comprehensive calibration result is unqualified; the comprehensive calibration result is qualified only when the calibration results of all flow points are qualified; or redundancy is set, and the comprehensive calibration result is determined to be unqualified only when the number of unqualified calibration results of a predetermined number of flow points is equal to or greater than the predetermined number threshold, and if the number of unqualified results is less than the predetermined number threshold, the comprehensive calibration result is determined to be qualified.
2. The natural gas flow meter calibration method according to claim 1, characterized in that: Also includes: Obtain the instantaneous flow rate of each target standard meter pipeline in real time; In response to a flow rate of any target standard meter pipeline being equal to or greater than a predetermined first flow rate threshold and less than a predetermined second flow rate threshold, sending a first alarm message to the client; In response to a flow rate of any target standard meter pipeline being equal to or greater than a predetermined second flow rate threshold, sending a second alarm message to the client; The priority of the second alarm message is higher than the priority of the first alarm message.
3. The natural gas flow meter calibration method according to claim 1, characterized in that: Also includes: Obtain the instantaneous flow rate of each flow meter pipeline being tested in real time; In response to the flow rate of any one of the calibrated flow meter pipelines being greater than or equal to a predetermined third flow rate threshold and less than a predetermined fourth flow rate threshold, sending a third alarm message to the client; In response to the flow rate of any target standard meter pipeline being equal to or greater than a predetermined fourth flow rate threshold, sending a fourth alarm message to the client; The priority of the fourth alarm message is higher than the priority of the third alarm message.
4. The natural gas flow meter calibration method according to claim 1, characterized in that: Also includes: Obtain inlet and outlet pressure difference and pressure drop rate in real time; In response to the inlet and outlet pressure difference being equal to or greater than a predetermined pressure difference threshold, and / or the pressure drop rate being equal to or greater than a predetermined pressure drop rate threshold, a fifth alarm message is sent to the client.
5. A natural gas flow meter calibration device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions to implement the method according to any one of claims 1 to 4.
6. A non-transitory computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 4 are implemented.
