CN114777884A - Flowmeter calibration method and device, electronic equipment and storage medium - Google Patents

Flowmeter calibration method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114777884A
CN114777884A CN202210317174.5A CN202210317174A CN114777884A CN 114777884 A CN114777884 A CN 114777884A CN 202210317174 A CN202210317174 A CN 202210317174A CN 114777884 A CN114777884 A CN 114777884A
Authority
CN
China
Prior art keywords
oil injection
calibration
flow
pulse
flowmeter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210317174.5A
Other languages
Chinese (zh)
Inventor
彭朝林
郑威
陈明浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongshan Kaixuan Vacuum Science and Technology Co Ltd
Original Assignee
Zhongshan Kaixuan Vacuum Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongshan Kaixuan Vacuum Science and Technology Co Ltd filed Critical Zhongshan Kaixuan Vacuum Science and Technology Co Ltd
Priority to CN202210317174.5A priority Critical patent/CN114777884A/en
Publication of CN114777884A publication Critical patent/CN114777884A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Measuring Volume Flow (AREA)

Abstract

The application provides a flowmeter calibration method and device, electronic equipment and a storage medium, which can realize accurate calibration of a flowmeter when measuring the flow of different media, and the method comprises the following steps: and acquiring the pulse equivalent of the flowmeter, wherein the pulse equivalent represents the specific relation between the number of pulses output by the flowmeter and the oil injection flow detected by the flowmeter. And acquiring a specified first oil injection flow, and calculating the target pulse number corresponding to the flowmeter according to the pulse equivalent and the first oil injection flow. And controlling the oil injection device to inject oil into the equipment to be injected according to the target pulse number. And acquiring calibration configuration information, and determining the configuration state of the flowmeter according to the calibration configuration information. And if the configuration state is the calibration state, acquiring the actual oil injection amount inside the equipment to be injected, and calibrating the pulse equivalent according to the target pulse number and the actual oil injection amount to obtain new pulse equivalent.

Description

Flowmeter calibration method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of oil injection treatment, in particular to a flowmeter calibration method and device, electronic equipment and a storage medium.
Background
At present, a flowmeter manufacturer can calibrate measurement parameters for a flowmeter at the product delivery stage so that a user can directly use the flowmeter to measure the fluid flow, and the flowmeter manufacturer is applied to the field of oil injection treatment. In practice, it has been found that a pre-calibrated flowmeter is generally suitable for a medium with a specific density, and measurement deviation is easy to occur when measuring the flow rates of different media, thereby increasing the inconvenience of calibrating the flowmeter.
Disclosure of Invention
The application provides a flowmeter calibration method and device, electronic equipment and a storage medium, and mainly aims to realize accurate calibration of a flowmeter when the flow of different media is measured.
To achieve the above object, an embodiment of the present application provides a method for calibrating a flow meter, where the method includes:
acquiring a pulse equivalent of a flowmeter, wherein the flowmeter is used for detecting the oil injection flow of an oil injection device, and the pulse equivalent represents the ratio relationship between the number of pulses output by the flowmeter and the oil injection flow detected by the flowmeter;
acquiring a specified first oiling flow;
calculating the target pulse number corresponding to the flowmeter according to the pulse equivalent and the first oil injection flow;
controlling the oil injection device to inject oil into the equipment to be injected with oil according to the target pulse number;
acquiring calibration configuration information, and determining the configuration state of the flowmeter according to the calibration configuration information;
and if the configuration state is a calibration state, acquiring the actual oil injection amount inside the equipment to be injected, and calibrating the pulse equivalent according to the target pulse number and the actual oil injection amount to obtain a new pulse equivalent.
In order to achieve the above object, an embodiment of the present application further provides a flow meter calibration apparatus, where the apparatus includes:
the device comprises an acquisition module, a detection module and a control module, wherein the acquisition module is used for acquiring the pulse equivalent of a flow meter, the flow meter is used for detecting the oil injection flow of an oil injection device, and the pulse equivalent represents the specific relation between the number of pulses output by the flow meter and the oil injection flow detected by the flow meter; acquiring a specified first oiling flow;
the calculating module is used for calculating the target pulse number corresponding to the flowmeter according to the pulse equivalent and the first oiling flow;
the control module is used for controlling the oil injection device to inject oil into the equipment to be injected with oil according to the target pulse number;
the acquisition module is further used for acquiring calibration configuration information;
a determination module configured to determine a configuration state of the flow meter based on the calibration configuration information;
the obtaining module is further configured to obtain an actual oil filling amount inside the device to be filled when the configuration state is a calibration state;
and the calibration module is used for calibrating the pulse equivalent according to the target pulse number and the actual oil injection amount to obtain a new pulse equivalent.
In order to achieve the above object, an electronic device is further provided in an embodiment of the present application, where the electronic device includes a memory and a processor, and the memory stores a program, and the program implements the steps of the foregoing method when executed by the processor.
To achieve the above object, the present application provides a storage medium for a computer-readable storage, the storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the aforementioned method.
According to the method and the device for calibrating the flow meter, the electronic equipment and the storage medium, the target pulse number corresponding to the flow meter can be calculated by obtaining the appointed first oil injection flow and the pulse equivalent of the flow meter, so that the oil injection device is controlled to inject oil into the equipment to be injected with oil according to the target pulse number. Based on the method, if the flow meter is identified to be in the calibration state according to the calibration configuration information adjusted by the user, the actual oil injection amount in the equipment to be injected is obtained, and therefore a new pulse equivalent is determined for the flow meter according to the target pulse number and the actual oil injection amount. Therefore, the pulse equivalent is a variable and is used for representing the ratio relation between the pulse number output by the flowmeter and the detected oiling flow, so that the method can respond to the actual requirement of a user, flexibly calibrate the pulse equivalent of the flowmeter when measuring the flow of different media, is beneficial to widening the application scene of the flowmeter, and simultaneously improves the measurement accuracy so that the oiling device stably operates.
Drawings
FIG. 1 is a block diagram of a flow meter prover system for use with an embodiment of the application;
fig. 2 is a block diagram of an electronic device to which an embodiment of the present application is applied;
FIG. 3 is a schematic diagram of the composition of an oil injection system used in an embodiment of the present application;
FIG. 4 is a flow chart illustrating a method for calibrating a flow meter according to an embodiment of the present application;
FIG. 5 is a schematic view of a monitoring interface used in an embodiment of the present application;
FIG. 6 is a schematic diagram of a calibration configuration interface used in accordance with an embodiment of the present application;
fig. 7 is a block diagram of a flowmeter calibrating device used in an embodiment of the present application.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no peculiar meaning by themselves. Thus, "module", "component" or "unit" may be used mixedly.
The pulse flowmeter is an instrument for measuring the flow of fluid in a pipeline or an open channel by pulse counting, and the working principle of the pulse flowmeter is as follows: when fluid flows through the sensor shell, the blades of the impeller have certain angles with the flow direction, and the impulsive force of the fluid enables the blades to have rotating torque, so that the blades rotate after overcoming the friction torque and the fluid resistance, and the rotating speed is stabilized after the torque is balanced. Under certain conditions, the rotating speed is in direct proportion to the flow speed, and the blades have magnetic conductivity and are positioned in a magnetic field of a signal detector (consisting of permanent magnetic steel and a coil), so that the rotating blades cut magnetic lines of force, the magnetic flux of the coil is periodically changed, and electric pulse signals are induced at two ends of the coil. The electric pulse signal is amplified and shaped by the amplifier to form a continuous rectangular pulse wave with a certain amplitude, and the continuous rectangular pulse wave can be transmitted to a display instrument to display the instantaneous flow or the total amount of the fluid.
At present, a flowmeter manufacturer can calibrate measurement parameters for a flowmeter at the product delivery stage so that a user can directly use the flowmeter to measure the fluid flow, and the flowmeter manufacturer is applied to the field of oil injection treatment. In practice, it has been found that a pre-calibrated flow meter is generally suitable for a medium with a specific density, and measurement deviation is easy to occur when measuring the flow rates of different media, thereby increasing the inconvenience of the calibration of the flow meter.
In order to solve the above problem, the present application provides a method for calibrating a flow meter, which is applied to a flow meter calibration system. Referring to fig. 1, fig. 1 is a block diagram of a flow meter calibration system applied in an embodiment of the present application. The flowmeter calibration system at least comprises an oiling system and electronic equipment 20, wherein the oiling system at least comprises an oiling device 11, a flowmeter 12, equipment to be oiled 13 and a vacuumizing device 14, and the electronic equipment 20 is electrically connected with the oiling device 11, the vacuumizing device 14 and the flowmeter 12 respectively, so that the data acquisition and remote control functions of each equipment or device are realized.
Referring to fig. 2, fig. 2 is a block diagram of an electronic device 20 to which the embodiment of the present application is applied.
In the embodiment of the present application, the electronic device 20 may be a terminal device having an arithmetic function, such as a server, a smart phone, a tablet computer, a portable computer, and a desktop computer.
The electronic device 20 includes: memory 21, processor 22, network interface 23, and data bus 24.
The memory 21 includes at least one type of readable storage medium, which may be a non-volatile storage medium such as a flash memory, a hard disk, a multimedia card, a card type memory, or the like. In some embodiments, the readable storage medium may be an internal storage unit of the electronic device 20, such as a hard disk of the electronic device 20. In other embodiments, the readable storage medium may also be an external memory of the electronic device 20, such as a plug-in hard disk provided on the electronic device 20, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and so on.
In the present embodiment, the readable storage medium of the memory 21 is generally used for storing a flowmeter calibration program, a Programmable Logic Controller (PLC) program, and the like, which are installed in the electronic device 20. The memory 21 may also be used to temporarily store data that has been output or is to be output.
Processor 22, which in some embodiments may be a Central Processing Unit (CPU), microprocessor or other data Processing chip, executes program code stored in memory 21 or processes data, such as executing a flow meter calibration program.
The network interface 23 may optionally include a standard wired interface, a wireless interface (e.g., a WI-FI interface), and is typically used to establish a communication link between the electronic device 20 and other electronic devices.
A data bus 24 is used to enable connection communication between these components.
Fig. 2 only shows an electronic device having components 21-24, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
To facilitate understanding of the components of the oiling system, referring to fig. 3, fig. 3 is a schematic diagram of the oiling system applied to the embodiment of the present application. The oil injection device 11 may include an oil storage tank for containing oil and at least one oil delivery pipeline, and the oil storage tank is connected with the equipment 13 to be injected through the oil delivery pipeline so as to form an oil injection passage. The oil injection system shown in fig. 3 includes 6 oil pipelines, which is only an example and does not constitute a specific limitation on the number of oil pipelines. Based on this, each oil pipeline is provided with a flow meter 12, and the flow meter 12 may be specifically a pulse flow meter 12, and is used for measuring the flow rate of the oil pipeline (that is, the oil injection flow rate of the oil injection device 11) by outputting pulses. It is to be understood that fig. 3 shows only one flow meter 12 provided in the oil delivery line, and is not limiting. Optionally, an oil delivery valve and an oil delivery pump (not shown) may be disposed in series with the flow meter 12. In practical applications, the electronic device 20 may be connected to the oil delivery valve and the oil delivery pump, respectively, and control the opening or closing of the oil delivery valve to control the passage of the oil injection passage, and control the oil delivery pump to provide power for oil delivery in the oil delivery pipe.
Referring to fig. 3, the device 13 to be filled with oil includes a tank 131 and a tank door 132, a placing cavity is formed in the tank 131, the placing cavity is used for placing a container to be filled with oil, the tank 131 is provided with an oil inlet, a pressure regulating inlet and an opening communicated with the outside, the tank door 132 is movably disposed at the opening to close or not close the opening, the oil inlet is used for connecting an oil pipeline, and the pressure regulating inlet is used for connecting the vacuum pumping device 14. In one implementation, a weighing device (e.g., an electronic scale) is disposed in the tank 131, so that a user may first place the container to be filled with oil on the weighing device, and then control the oil filling process of the container to be filled with oil by the electronic device 20, so that the electronic device 20 obtains weight information of the container to be filled with oil by the weighing device; or, the weighing device is provided with a display screen for displaying the weighing value, the tank body 131 is provided with an observation window, and a user can directly observe the display screen of the weighing device through the observation window to manually read the weighing value. In another embodiment, the user may also place a weighing device on a mobile device (e.g., a cart, a dolly, etc.) and place the container to be filled with oil on the weighing device. Based on this, the user pushes the mobile device into the tank body, and then closes the tank door 132 to form a closed space in the tank body 131, so that the operation is convenient.
Referring to fig. 3, the vacuum pumping device 14 may include a vacuum gauge, an evacuation pipeline, a condenser, a roots pump, and a vacuum pump, one end of the vacuum gauge is connected to the device 13 to be filled with oil, the other end of the vacuum gauge is connected to the condenser and one end of the evacuation pipeline, respectively, the other end of the evacuation pipeline is connected to the oil storage tank, and the condenser is further connected in series with the roots pump and the vacuum pump in sequence. The oil storage condenser is used for condensing and pumping gas in the evacuation pipeline, the roots pump and the vacuum pump are both used for evacuating, and the vacuum gauge is used for measuring the vacuum degree.
In practical application, the electronic device 20 controls the vacuum pumping device 14 to work, so that the vacuum pumping device 14 automatically performs pressure regulation or vacuum pumping treatment on the interior of the device 13 to be filled with oil, at this time, a pressure difference exists between the interior of the oil filling device 11 and the interior of the device 13 to be filled with oil, then the oil in the oil storage tank is sequentially injected into the device 13 to be filled with oil through the oil conveying pipeline and the oil inlet of the device 13 to be filled with oil, and meanwhile, the flowmeter 12 arranged on the oil conveying pipeline generates pulses and sends the pulses to the electronic device 20.
The following describes a method for calibrating a flow meter disclosed in an embodiment of the present application.
As shown in fig. 4, fig. 4 is a schematic flowchart of a method for calibrating a flow meter according to an embodiment of the present application. Based on the electronic apparatus shown in fig. 2, the following steps S400 to S450 are implemented when the processor 22 executes the program stored in the memory 21.
Step S400: the pulse equivalent of the flow meter is obtained.
In the embodiment of the present application, the pulse equivalent represents the relation between the number of pulses output from the flow meter and the oil filling flow rate detected by the flow meter. The pulse equivalent is calibrated in advance when the flowmeter leaves a factory, and then the flowmeter is calibrated by the calibration method in the steps S400 to S450, so that the pulse equivalent can be continuously updated, and the latest calibrated pulse equivalent is stored, which is convenient for being directly called when the flowmeter is calibrated next time.
Step S410: and acquiring a specified first oiling flow.
In the embodiment of the application, the first oiling flow rate can be specified and adjusted by people. In an optional implementation manner, a monitoring interface may be generated on the electronic device, so that the composition structure and corresponding state information of the oiling system are displayed on the monitoring interface. Referring to fig. 5, fig. 5 is a schematic diagram of a monitoring interface applied in the embodiment of the present application. As shown in fig. 5, a status bar 50 corresponding to each flow meter is generated in the monitoring interface, and the status bar 50 includes a clear control 501, a first information frame 502, a second information frame 503, and a third information frame 504. The first information box 502 is used for displaying the first oil injection flow rate of the corresponding flow meter, and based on this, the electronic device may further obtain the first oil injection flow rate which is manually input through the first information box 502. The second information box 503 and the third information box 504 are used to display the current flow rate and the current flow velocity of the corresponding flow meter, respectively. And when a confirmation operation (such as a click operation) on the clear control 501 is detected, performing clear processing on the corresponding flow meter.
In addition, the monitoring interface is also used for graphically displaying various components and connection relations of the oil filling system shown in fig. 3, for example, an icon 51 represents a flow meter, an icon 52 represents equipment to be filled, an icon 53 represents an oil storage tank, an icon 54 represents a vacuum gauge, detection information 541 of the vacuum gauge is displayed at the icon 54, an icon 55 represents an evacuation pipeline, an icon 56 represents a condenser, an icon 57 represents a roots pump, and an icon 58 represents a vacuum pump, so that the visualization degree of oil filling monitoring is optimized.
Step S420: and calculating the target pulse number corresponding to the flowmeter according to the pulse equivalent and the first oil injection flow.
In an alternative embodiment, the target number of pulses is equal to the pulse equivalent × the first injection flow rate. In another embodiment, the proportionality coefficient for calculating the target pulse number may be adjusted according to actual demand, for example, where k is the proportionality coefficient, k is k × pulse equivalent × first oil injection flow rate.
Step S430: and controlling the oil injection device to inject oil into the equipment to be injected according to the target pulse number.
Specifically, the electronic device can control the oil injection device to open the oil delivery valve, so that the oil delivery pipeline is conducted, the oil injection device injects oil into the equipment to be injected, and the flow meter generates pulses to start pulse counting. When the accumulated pulse number acquired by the electronic equipment through the flowmeter reaches the target pulse number, the electronic equipment controls the oil injection device to close the oil delivery valve, so that the oil delivery channel is disconnected, oil injection is finished, and the primary oil injection process is completed.
Step S440: and acquiring calibration configuration information, and determining the configuration state of the flowmeter according to the calibration configuration information.
In some alternative embodiments, before step S440, the electronic device may generate a calibration configuration interface, and generate a configuration region corresponding to the flow meter in the calibration configuration interface, where the configuration region includes the selection control and the input region. Correspondingly, step S440 specifically includes: the electronic device detects operational information for the selection control and determines a configuration state of the flow meter based on the operational information. And acquiring the actual oil injection amount inside the equipment to be injected through the input area. The electronic device determines calibration configuration information based on the configuration status and the actual fill level.
Referring to fig. 6, fig. 6 is a schematic diagram of a calibration configuration interface according to an embodiment of the present application. As shown in fig. 6, the electronics display the configuration area of each flow meter in the calibration configuration interface, i.e., the row area in table 60. The configuration area includes selection controls (i.e., calibration selection boxes), an input area for detecting manually entered information, such as actual fill volume, and a display area for entering information that does not require configuration, such as the flow meter's numbered information "calibration selection 921" or the like. When the user needs to calibrate the flow meter with the serial number information of the calibration selection 921, the calibration selection frame corresponding to the flow meter can be selected, and then the electronic device determines that the configuration state of the flow meter is the calibration state. Conversely, when the user does not check the calibration selection box corresponding to a certain flow meter, for example, the flow meter with the number information of "calibration selection 922", the electronic device determines that the configuration state of the flow meter is not the calibration state.
In another alternative embodiment, the electronic device may also directly obtain weighing information of the device to be filled with oil through a weighing device, and calculate an actual amount of oil filled in the device to be filled according to a formula v-m/ρ, where v represents the actual amount of oil filled, m represents the weighing information, and ρ represents the medium density of the oil.
Step S450: and if the configuration state is the calibration state, acquiring the actual oil injection amount inside the equipment to be injected, and calibrating the pulse equivalent according to the target pulse number and the actual oil injection amount to obtain new pulse equivalent.
In an alternative embodiment, in step S450, if the configuration status is the calibration status, the electronic device may further calculate a flow deviation value according to the actual oil injection amount and the first oil injection flow rate. If the flow deviation value does not satisfy the preset calibration condition, calculating a new pulse equivalent according to the target pulse number and the actual oil injection amount, and continuing to execute the step S410. The preset calibration condition may be set and adjusted manually, for example, the preset calibration condition is that the flow deviation value does not exceed 0.1L, which is not limited specifically. Therefore, the electronic equipment can calibrate the flowmeter for multiple times until the latest flow deviation value does not meet the preset calibration condition, and the accuracy of flowmeter calibration can be optimized.
In some optional embodiments, in order to observe the actual oil injection condition more accurately, the electronic device may further acquire a designated acquisition period, and sequentially acquire the first pulse number and the second pulse number output by the flow meter according to the acquisition period during the process of controlling the oil injection device to inject oil into the device to be injected with oil. And then, the electronic equipment subtracts the second pulse number from the first pulse data to obtain a periodic pulse number, so that the flow rate information of the flowmeter is calculated according to the periodic pulse number and the pulse equivalent, and the oiling speed monitoring during the acquisition period is realized. Optionally, referring to fig. 5, the electronic device may determine, in the monitoring interface, that the third information box 504 corresponding to the flow meter displays the flow rate information.
Further, in an implementation manner, the electronic device may specifically calculate, according to a preset flow rate calculation formula, the flow rate information of the flow meter by combining the number of periodic pulses and the pulse equivalent. Wherein, the flow velocity formula is: flow rate information is (number of periodic pulses divided by pulse equivalent) × (preset duration divided by collection period). The preset time duration is related to a unit of the flow rate information, for example, if the flow unit is liter/minute, the preset time duration is 60 seconds, and if the flow unit is liter/hour, the preset time duration is 3600 seconds.
In some alternative embodiments, after step S450, the electronics can also add one to the running total of the number of calibrations for the flow meter to update the calibration count. Based on this, for each calibration, in step S410, the electronic device may first obtain the calibration time of the flow meter, and in a case that the calibration time of the flow meter is the first time, take the preset oil injection flow rate as the specified first oil injection flow rate. The preset oil injection flow rate is manually specified and adjusted, for example, the preset oil injection flow rate is 10 liters or 12 liters, which is not particularly limited.
And under the condition that the calibration times are not the first time, the electronic equipment acquires the historical oiling flow rate appointed in the last calibration, and calculates the appointed first oiling flow rate according to the historical oiling flow rate. It can be understood that the calculated relationship between the historical oiling flow rate and the first oiling flow rate can be adjusted according to actual needs.
For example, in one implementation, the first oil injection flow rate is equal to the historical oil injection flow rate + (the number of times of calibration-1) × the preset oil injection flow rate, for example, if the preset oil injection flow rate is 10 liters, the first oil injection flow rate specified in the second calibration is 20 liters. In another mode, the flow deviation value calculated in the last calibration may be obtained as a history deviation value, and the history deviation value is converted into a matching weighted weight, so that the first oil injection flow is the history oil injection flow + the weighted weight × the preset oil injection flow, where the history deviation value and the weighted weight may satisfy a positive correlation conversion relationship, and no limitation is made. Therefore, according to the deviation degree of the last calibration, the oiling flow can be adaptively adjusted, the calibration requirement is met, and the calibration efficiency is favorably improved.
In the case of adding the calibration count, further, in some optional embodiments, step S430 may specifically be: and under the condition that the calibration times are the first time, the electronic equipment initializes the flowmeter, and controls the vacuumizing device to vacuumize the equipment to be filled until the vacuum degree in the equipment to be filled meets the preset vacuum degree. The initialization process includes, but is not limited to, a process of clearing the number of pulses of the flow meter. And then, the electronic equipment controls the oil injection device to inject oil into the equipment to be injected, and detects the accumulated pulse number output by the flowmeter in the oil injection process. And when the accumulated pulse number reaches the target pulse number, controlling the oil injection device to stop oil injection so as to realize oil injection control.
In practical application, as shown in fig. 6, the electronic device may further generate a first configuration area 61 and a second configuration area 62 in the calibration configuration interface, detect an acquisition cycle input by the user through the first configuration area 61, and detect a preset vacuum degree input by the user through the second configuration area 62, so that the operation is convenient.
Therefore, by implementing the method embodiment, the pulse equivalent is taken as a variable for representing the ratio relation between the pulse number output by the flowmeter and the detected oiling flow, so that the method can respond to the actual requirement of a user, flexibly calibrate the pulse equivalent of the flowmeter when measuring different medium flows, is beneficial to widening the application scene of the flowmeter, and simultaneously improves the measurement accuracy so that the oiling device stably operates.
The embodiment of the application further provides a flowmeter calibrating device. Referring to fig. 7, fig. 7 is a block diagram illustrating a flowmeter calibrating device according to an embodiment of the present application. As shown in fig. 7, the flow meter calibration apparatus includes an acquisition module 710, a calculation module 720, a control module 730, a determination module 740, and a calibration module 750, wherein:
the acquiring module 710 is configured to acquire a pulse equivalent of a flow meter, where the flow meter is configured to detect an oil injection flow rate of an oil injection device, and the pulse equivalent represents a ratio relationship between the number of pulses output by the flow meter and the oil injection flow rate detected by the flow meter; acquiring a specified first oiling flow;
the calculating module 720 is used for calculating the target pulse number corresponding to the flowmeter according to the pulse equivalent and the first oil injection flow;
the control module 730 is used for controlling the oil injection device to inject oil into the equipment to be injected with oil according to the target pulse number;
the obtaining module 710 is further configured to obtain calibration configuration information;
a determining module 740 for determining a configuration status of the flow meter based on the calibration configuration information;
the obtaining module 710 is further configured to obtain an actual oil filling amount inside the device to be filled when the configuration state is the calibration state;
and the calibration module 750 is used for calibrating the pulse equivalent according to the target pulse number and the actual oil injection amount to obtain a new pulse equivalent.
In some alternative embodiments, the calibration module 750 is specifically configured to calculate a flow deviation value based on the actual fueling amount and the first fueling flow; and if the flow deviation value does not meet the preset calibration condition, calculating a new pulse equivalent according to the target pulse number and the actual oil injection amount, and continuously executing the step of acquiring the specified first oil injection flow.
In some optional embodiments, the flow meter calibration device further comprises a generation module. The generating module is configured to generate a calibration configuration interface before the obtaining module 710 obtains the calibration configuration information, and generate a configuration area corresponding to the flow meter in the calibration configuration interface, where the configuration area includes a selection control and an input area. Correspondingly, the acquisition module is also used for detecting the operation information of the selection control and determining the configuration state of the flowmeter according to the operation information; acquiring the actual oil injection amount inside equipment to be injected through an input area; based on the configuration status and the actual amount of fuel, calibration configuration information is determined.
In some optional embodiments, the flow meter calibration device further comprises a flow rate calculation module. The flow velocity calculation module is used for acquiring a specified acquisition period; in the process of controlling the oil injection device to inject oil into equipment to be injected, acquiring a first pulse number and a second pulse number which are sequentially output by a flow meter according to an acquisition cycle; subtracting the first pulse data from the second pulse data to obtain the number of periodic pulses; and calculating to obtain the flow rate information of the flowmeter according to the number of the periodic pulses and the pulse equivalent.
Further, in some optional embodiments, the flow rate calculation module is further configured to calculate, according to a preset flow rate calculation formula, the flow rate information of the flow meter by combining the number of periodic pulses and the pulse equivalent. Wherein, the flow velocity calculation formula is as follows: flow rate information ═ (number of periodic pulses ÷ pulse equivalent) × (preset duration ÷ acquisition period).
In some optional embodiments, the flow meter calibration device further comprises a counting module. The counting module is used for calibrating the pulse equivalent according to the target pulse number and the actual oil injection amount by the calibration module 750, and after a new pulse equivalent is obtained, the calibration times of the flow meter are accumulated and increased by one. Correspondingly, the obtaining module 710 is further configured to, when the calibration number of the flow meter is the first time, take the preset oil injection flow rate as the specified first oil injection flow rate; and under the condition that the calibration times are not the first time, acquiring the designated historical oiling flow rate in the last calibration, and calculating the designated first oiling flow rate according to the historical oiling flow rate.
Further, in some optional embodiments, the control module 730 is further configured to, in a case that the number of times of calibration is the first time, perform initialization processing on the flow meter, and control the vacuum pumping device to perform vacuum pumping processing on the device to be filled with oil until a vacuum degree inside the device to be filled with oil meets a preset vacuum degree; controlling an oil injection device to inject oil into equipment to be injected, and detecting the accumulated pulse number output by a flow meter in the oil injection process; and when the accumulated pulse number reaches the target pulse number, controlling the oil injection device to stop injecting oil.
It should be noted that, for the specific implementation process of this embodiment, reference may be made to the specific implementation process of the foregoing method embodiment, and details are not described again.
An embodiment of the present application further provides an electronic device, where the electronic device includes a memory and a processor, where the memory stores a program, and the program is executed by the processor to implement the flow meter calibration method.
Embodiments of the present application also provide a storage medium for a computer readable storage, the storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the flow meter calibration method described above.
One of ordinary skill in the art will appreciate that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as is well known to those skilled in the art.
The preferred embodiments of the present application have been described above with reference to the accompanying drawings, and are not intended to limit the scope of the claims of the application accordingly. Any modifications, equivalents, and improvements made by those skilled in the art without departing from the scope and spirit of the present application should be within the scope of the claims of the present application.

Claims (10)

1. A method of calibrating a flow meter, the method comprising:
acquiring a pulse equivalent of a flow meter, wherein the flow meter is used for detecting the oil injection flow of an oil injection device, and the pulse equivalent represents the ratio relation between the number of pulses output by the flow meter and the oil injection flow detected by the flow meter;
acquiring a specified first oiling flow;
calculating the target pulse number corresponding to the flowmeter according to the pulse equivalent and the first oil injection flow;
controlling the oiling device to perform oiling to the equipment to be oiled according to the target pulse number;
acquiring calibration configuration information, and determining the configuration state of the flowmeter according to the calibration configuration information;
and if the configuration state is a calibration state, acquiring the actual oil injection amount in the equipment to be injected, and calibrating the pulse equivalent according to the target pulse number and the actual oil injection amount to obtain a new pulse equivalent.
2. The method of claim 1, wherein said calibrating said pulse equivalent based on said target number of pulses and said actual amount of fill comprises:
calculating a flow deviation value according to the actual oil injection amount and the first oil injection flow;
and if the flow deviation value does not meet the preset calibration condition, calculating a new pulse equivalent according to the target pulse number and the actual oil injection amount, and continuously executing the step of acquiring the specified first oil injection flow.
3. The method of claim 1, wherein prior to obtaining calibration configuration information, the method further comprises:
generating a calibration configuration interface;
generating a configuration area corresponding to the flowmeter in the calibration configuration interface, wherein the configuration area comprises a selection control and an input area;
the acquiring calibration configuration information includes:
detecting operation information of the selection control, and determining the configuration state of the flowmeter according to the operation information;
acquiring the actual oil injection amount in the equipment to be injected through an input area;
and determining calibration configuration information according to the configuration state and the actual oil filling amount.
4. The method according to any one of claims 1 to 3, further comprising:
acquiring a specified acquisition period;
in the process of controlling the oil injection device to inject oil into equipment to be injected, sequentially acquiring a first pulse number and a second pulse number output by the flowmeter according to the acquisition period;
subtracting the first pulse data from the second pulse data to obtain the number of periodic pulses;
and calculating to obtain the flow rate information of the flowmeter according to the number of the periodic pulses and the pulse equivalent.
5. The method of claim 4, wherein calculating flow rate information for the flow meter based on the number of periodic pulses and the pulse equivalent comprises:
calculating to obtain flow rate information of the flowmeter according to a preset flow rate calculation formula and by combining the number of the periodic pulses and the pulse equivalent;
wherein the flow velocity calculation formula is as follows:
flow rate information is (number of periodic pulses divided by pulse equivalent) × (preset duration divided by collection period).
6. The method according to any one of claims 1 to 3, wherein after calibrating the pulse equivalent based on the target number of pulses and the actual amount of fill, obtaining a new pulse equivalent, the method further comprises:
adding one to the calibration times of the flowmeter;
the acquiring of the specified first oiling flow rate comprises the following steps:
acquiring the calibration times of the flowmeter;
taking a preset oil injection flow as a specified first oil injection flow under the condition that the calibration times of the flowmeter are the first time;
and under the condition that the calibration times are not the first time, acquiring the appointed historical oiling flow rate during the last calibration, and calculating the appointed first oiling flow rate according to the historical oiling flow rate.
7. The method according to claim 6, wherein the step of controlling the oil injection device to inject oil into the equipment to be injected according to the target pulse number comprises the following steps:
under the condition that the calibration times are the first time, initializing the flowmeter, and controlling a vacuumizing device to vacuumize equipment to be injected until the vacuum degree inside the equipment to be injected meets the preset vacuum degree;
controlling the oil injection device to inject oil into the equipment to be injected, and detecting the accumulated pulse number output by the flowmeter in the oil injection process;
and when the accumulated pulse number reaches the target pulse number, controlling the oil injection device to stop injecting oil.
8. A flow meter prover device, the device comprising:
the device comprises an acquisition module, a detection module and a control module, wherein the acquisition module is used for acquiring the pulse equivalent of a flow meter, the flow meter is used for detecting the oil injection flow of an oil injection device, and the pulse equivalent represents the specific relation between the number of pulses output by the flow meter and the oil injection flow detected by the flow meter; acquiring a specified first oiling flow;
the calculating module is used for calculating the target pulse number corresponding to the flowmeter according to the pulse equivalent and the first oil injection flow;
the control module is used for controlling the oil injection device to inject oil into the equipment to be injected with oil according to the target pulse number;
the acquisition module is further used for acquiring calibration configuration information;
a determination module configured to determine a configuration state of the flow meter based on the calibration configuration information;
the obtaining module is further configured to obtain an actual oil injection amount inside the device to be injected when the configuration state is the calibration state;
and the calibration module is used for calibrating the pulse equivalent according to the target pulse number and the actual oil injection amount to obtain a new pulse equivalent.
9. An electronic device comprising a memory, a processor, a program stored on the memory and executable on the processor, and a data bus for enabling communications of a connection between the processor and the memory, the program when executed by the processor implementing a method of calibrating a flow meter according to any of claims 1 to 7.
10. A storage medium for computer readable storage, wherein the storage medium stores one or more programs, the one or more programs being executable by one or more processors to implement the flow meter calibration method of any of claims 1 to 7.
CN202210317174.5A 2022-03-29 2022-03-29 Flowmeter calibration method and device, electronic equipment and storage medium Pending CN114777884A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210317174.5A CN114777884A (en) 2022-03-29 2022-03-29 Flowmeter calibration method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210317174.5A CN114777884A (en) 2022-03-29 2022-03-29 Flowmeter calibration method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114777884A true CN114777884A (en) 2022-07-22

Family

ID=82425720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210317174.5A Pending CN114777884A (en) 2022-03-29 2022-03-29 Flowmeter calibration method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114777884A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116698163A (en) * 2023-07-31 2023-09-05 宁德时代新能源科技股份有限公司 Method and device for calibrating flowmeter
CN116952338A (en) * 2023-09-14 2023-10-27 黑龙江惠达科技股份有限公司 Method and device for calibrating flowmeter of plant protection unmanned aerial vehicle

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116698163A (en) * 2023-07-31 2023-09-05 宁德时代新能源科技股份有限公司 Method and device for calibrating flowmeter
CN116698163B (en) * 2023-07-31 2024-01-12 宁德时代新能源科技股份有限公司 Method and device for calibrating flowmeter
CN116952338A (en) * 2023-09-14 2023-10-27 黑龙江惠达科技股份有限公司 Method and device for calibrating flowmeter of plant protection unmanned aerial vehicle
CN116952338B (en) * 2023-09-14 2024-02-02 黑龙江惠达科技股份有限公司 Method and device for calibrating flowmeter of plant protection unmanned aerial vehicle

Similar Documents

Publication Publication Date Title
CN114777884A (en) Flowmeter calibration method and device, electronic equipment and storage medium
US5601413A (en) Automatic low fluid shut-off method for a pumping system
US5056017A (en) System to monitor fuel level in a tank, and fuel dispensed from the tank, to determine fuel leakage and theft losses
US9891088B2 (en) Real-time flow compensation in usage accumulation
US5016187A (en) Linearized turbine flow meter for fuel dispensers
KR100362054B1 (en) Overfill compensation method for batch delivery equipment
US4830218A (en) Flow compensated pump
US6792361B2 (en) Controller for monitoring fluid flow volume
EP2354556A1 (en) Method in connection with a pump driven with a frequency converter and a frequency converter
KR101228427B1 (en) Digital meter capable of modifying flow and automatic modifying system for the same digital meter
JP2014505246A (en) Method and apparatus for measuring the mass of fluid flowing through a flow meter at a constant consumption time
AU2019219753B2 (en) System for automatic determination of liquid volume
CN106104139B (en) Pressurized fluid bottle comprising electronic data display device
US5497664A (en) Method and apparatus for calculating flow rates through a pumping station
EP0674154A1 (en) Method and device for determining the flow rate of a pumped fluid
US11196359B2 (en) Supervisory monitor for energy measurement
KR101522243B1 (en) a gas mass flow meter program using turbine and the measuring device using thereof
CN110849460B (en) Precision detection device, humectant modulation system and precision detection method
US6644133B2 (en) Flow meter module for a controller
KR102465159B1 (en) Weighing apparatus with flowmeter function
KR20140124292A (en) System and method for charging gas rate corrected by temperature and pressure
US20190247809A1 (en) Portable Dosing System and Method of Use
JP2005227053A (en) Physical quantity measurement device
JP3291772B2 (en) Appliance identification device
JPH0318135B2 (en)

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination