A method, system, and storage medium for calibrating a flow meter
By calculating the initial calibration coefficient of the flow meter and quickly judging the stability of the standard flow value, rapid calibration of the flow meter is achieved, solving the problem of low calibration efficiency in the existing technology and improving calibration efficiency and accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HANGZHOU ZHONGPEI ELECTRONICS
- Filing Date
- 2023-09-01
- Publication Date
- 2026-07-24
AI Technical Summary
Existing flow meter calibration methods are inefficient, requiring a significant amount of time to complete the calibration of multiple flow points, resulting in high calibration costs and low efficiency.
By acquiring the test flow rate and initial flow rate, calculating the initial calibration coefficient, adjusting the flow meter measurement error, and determining the stage calibration result after the standard flow rate value stabilizes, the final calibration result is generated, and rapid calibration is performed using the standard table and the actual flow rate value.
This improves the efficiency of flow meter calibration, reduces the calibration time for each flow meter, thereby improving overall calibration efficiency and saving time costs.
Smart Images

Figure CN117168582B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of instrument calibration technology, and in particular to a calibration method, system and storage medium for a flow meter. Background Technology
[0002] Flow meters are a major category of instruments in process automation instruments and devices, widely used in various sectors of the national economy, including metallurgy, power, coal, chemical, food, pharmaceutical, agriculture, and daily life. They are important tools for developing industrial and agricultural production, conserving resources, improving product quality, and enhancing economic efficiency and management. Inaccurate flow meter readings can lead to serious consequences, such as loss of control during production, safety issues, and disruption of the production line; or, at the very least, increased production costs or failure to meet customer quality requirements. Therefore, flow meters must be calibrated before being put into use; only properly calibrated flow meters are qualified for use on production lines.
[0003] Currently, a calibration system is generally used to calibrate flow meters, consisting of a water storage tank, water pump, pressure tank, clamp, calibration platform, pipeline, weighing container, weighing instrument, and controller. The clamp is mounted on the calibration platform and used to fix the flow meter being calibrated. Water from the water storage tank is pumped through pipelines to the pressure tank. After high-frequency fluctuations are eliminated in the pressure tank, the water flows out of the pressure tank and then through pipelines, passing sequentially through one end of the clamp on the calibration platform, the flow meter being calibrated, the other end of the clamp, and another pipeline before flowing into the weighing container. The weighing container is then placed on the weighing instrument, which weighs the water to obtain a weight value. This weight value is sent to the controller, which compares the received weight value with the flow rate value sent by the flow meter being calibrated to complete the calibration of the flow meter at the current flow point.
[0004] The calibration of a flow meter requires calibration at multiple different flow points. However, to minimize the error in the weighing value obtained by the weighing device, a certain weight of water must be stored in the weighing container before the water is transferred to the weighing device. This process inevitably takes a significant amount of time to ensure the weighing container is filled with water, resulting in a long calibration time required for each flow point and consequently, a high overall calibration efficiency. Summary of the Invention
[0005] To improve the calibration efficiency of flow meters, embodiments of this application provide a calibration method, system, and storage medium for flow meters.
[0006] Firstly, this embodiment provides a calibration method for a flow meter, the method comprising: Obtain the currently given test flow value and the initial flow value corresponding to each calibrated flow meter based on the test flow value. Determine the initial calibration coefficient of each calibrated flow meter based on the test flow value, the corresponding initial flow value, and the preset initial coefficient, and send the initial calibration coefficient to the corresponding calibrated flow meter. Receive the initial calibration signal sent by the calibrated flow meter based on the initial calibration coefficient, obtain the standard flow value of the corresponding standard meter and the actual flow value corresponding to each calibrated flow meter based on the initial calibration signal; Determine whether the standard flow value is in a stable state. If it is, determine the stage calibration result for each calibrated flow meter under the test flow value based on the standard flow value and the corresponding actual flow value. Determine whether the test flow value is the last test flow value in the calibration process. If so, generate the final calibration result for each calibrated flow meter based on the stage calibration results corresponding to all test flow values.
[0007] In some embodiments, each flow meter of the same model corresponds to a uniquely determined initial coefficient. Determining the initial calibration coefficient of each calibrated flow meter based on the test flow value, the corresponding initial flow value, and the preset initial coefficient includes: The initial error of each calibrated flow meter is obtained by subtracting the test flow value from the initial flow value corresponding to the same calibrated flow meter and then dividing by the test flow value. The initial calibration coefficient for each flow meter is obtained by dividing the initial coefficient corresponding to the same flow meter by the sum of the initial error and the value one.
[0008] In some embodiments, determining whether the standard flow rate value is in a stable state includes: The initial time corresponding to the received standard flow value and the monitoring time corresponding to the current monitoring time are obtained. When the time difference between the monitoring time and the initial time is not less than a preset time, it is determined whether all standard flow values within the time difference fall within the preset flow range corresponding to the test flow value. If they all fall within the preset flow range, the standard flow value is in a stable state. If at least one of them is not included, then the standard flow value is not in a stable state.
[0009] In some embodiments, the method further includes: If the standard flow value is not in a stable state, obtain the reference time corresponding to the last time the standard flow value within the time difference did not fall into the corresponding preset flow range, update the initial time to the reference time, and continue to monitor whether the time difference between the current monitoring time and the initial time is not less than the preset time.
[0010] In some embodiments, determining the stage calibration result for each flow meter at the test flow value based on the standard flow value and the corresponding actual flow value includes: Subtract the standard flow value from each actual flow value and then divide by the standard flow value to obtain the adjustment error corresponding to each calibrated flow meter; Each adjustment error is determined to be within the preset allowable error range. If it is, the stage calibration result of the flow meter corresponding to the adjustment error is qualified. If the error does not fall within the acceptable range, the calibration result of the flow meter corresponding to the adjustment error is considered unqualified.
[0011] In some embodiments, generating the final calibration result for each calibrated flow meter based on the stage calibration results corresponding to all test flow values includes: Determine whether all stage calibration results corresponding to the same calibrated flow meter are qualified. If all are qualified, the final calibration result of the calibrated flow meter is qualified. If at least one is unqualified, the final calibration result of the calibrated flow meter is unqualified.
[0012] In some embodiments, the method further includes: If the test flow value is not the last test flow value in the calibration process, continue to obtain the next test flow value, as well as the initial flow value corresponding to the next test flow value for each calibrated flow meter.
[0013] In some embodiments, if the test flow value is not the last test flow value of the calibration process, it may also include: Generate a flow valve action command corresponding to the test flow value, and send the flow valve action command to the corresponding flow valve. The flow valve action command includes a closing command indicating that the current valve corresponding to the test flow value needs to be closed, and an opening command indicating that the next valve corresponding to the next test flow value needs to be opened.
[0014] Secondly, this embodiment provides a calibration system for a flow meter, the system comprising: an initial calibration module, a signal transmission module, a flow value acquisition module, a status monitoring module, a recalibration module, and a calibration result generation module; wherein, The initial calibration module is used to obtain the currently given test flow value and the initial flow value corresponding to the test flow value for each calibrated flow meter, and to determine the initial calibration coefficient for each calibrated flow meter based on the test flow value, the corresponding initial flow value, and the preset initial coefficient. The signal transmitting module is used to send the initial calibration coefficient to the corresponding calibrated flow meter; The flow rate acquisition module is used to receive the initial calibration signal sent by the calibrated flow meter based on the initial calibration coefficient, and to acquire the standard flow rate value of the corresponding standard meter and the actual flow rate value corresponding to each calibrated flow meter based on the initial calibration signal. The status monitoring module is used to determine whether the standard flow value is in a stable state; The recalibration module is used to determine the stage calibration result corresponding to each calibrated flow meter under the test flow value, based on the standard flow value and the corresponding actual flow value, if the test flow value is being tested. The calibration result generation module is used to determine whether the test flow value is the last test flow value of the calibration work. If so, it generates the final calibration result of each calibrated flow meter based on the stage calibration results corresponding to all test flow values.
[0015] Thirdly, embodiments of this application provide a storage medium storing a computer program that can run on a processor, wherein the computer program, when executed by the processor, implements a calibration method for a flow meter as described in the first aspect.
[0016] By employing the above method, this application first obtains the currently given test flow rate value and the initial flow rate value corresponding to each calibrated flow meter based on that test flow rate value. Then, based on the test flow rate value, the corresponding initial flow rate value, and the preset initial coefficient, the initial calibration coefficient of each calibrated flow meter is determined. This allows for the adjustment of the flow meters in a simple and direct way to improve their measurement accuracy, completing the initial calibration of the current calibrated flow meters and reducing the possibility of serious measurement inaccuracies during the subsequent formal operation of the calibration equipment with the currently given test flow rate value.
[0017] After the initial calibration of each flow meter is completed, the standard meter is used to verify whether the measurement accuracy of each flow meter is up to standard. That is, the initial calibration signal sent by the flow meter based on the initial calibration coefficient is received first, and the standard flow value of the corresponding standard meter and the actual flow value of each flow meter are obtained based on the initial calibration signal.
[0018] Then, it is determined whether the standard flow rate value is stable. Only when the standard flow rate value is stable is the calibration result for each calibrated flow meter at the test flow rate value determined based on the standard flow rate value and the corresponding actual flow rate value. If all goes smoothly, the initial calibration and recalibration of a test flow rate value for that stage can be completed in just 16 seconds, saving time compared to using a weighing device, thus improving calibration efficiency. Even if it doesn't go smoothly, the time required will only be extended by a few seconds. Compared to the current method of using a weighing device to calibrate flow meters, which takes tens of minutes to complete the calibration of a test flow rate value for that stage, this still saves time and improves calibration efficiency.
[0019] Finally, it is determined whether the test flow value is the last test flow value in the calibration process. Only after completing the calibration work for all stages corresponding to all test flow values can the final calibration result for each calibrated flow meter be generated based on the calibration results for all stages corresponding to all test flow values. Since each stage corresponding to a test flow value saves time, completing the calibration work for this batch of calibrated flow meters by linear superposition will also save time compared to using the weighing device in the existing method, thereby improving calibration efficiency. Attached Figure Description
[0020] Figure 1 This is a block diagram of the calibration equipment used in the calibration method for a flow meter provided in this embodiment.
[0021] Figure 2 This is a block diagram of a calibration method for a flow meter provided in this embodiment.
[0022] Figure 3 This embodiment provides a block diagram for determining the initial calibration coefficients of each calibrated flow meter based on the test flow value, the corresponding initial flow value, and the preset initial coefficients.
[0023] Figure 4 This implementation provides a flowchart of the stage calibration results for each flow meter under the test flow value, based on the standard flow value and the corresponding actual flow value.
[0024] Figure 5 This is a framework diagram of a calibration system for a flow meter provided in this embodiment. Detailed Implementation
[0025] To better understand the purpose, technical solutions, and advantages of this application, it has been described and illustrated below with reference to the accompanying drawings and embodiments. However, those skilled in the art should understand that this application can be implemented without these details. It will be apparent to those skilled in the art that various modifications can be made to the embodiments disclosed in this application, and the general principles defined in this application can be applied to other embodiments and application scenarios without departing from the principles and scope of this application. Therefore, this application is not limited to the illustrated embodiments, but is consistent with the broadest scope claimed in this application.
[0026] The embodiments of this application will now be described in further detail with reference to the accompanying drawings.
[0027] A flow meter is an instrument that measures the flow rate and / or the total volume of fluid within a selected time interval. Simply put, it is an instrument used to measure the flow rate of fluid in pipes or open channels. Figure 1 This is a block diagram of the calibration equipment used in the calibration method for a flow meter provided in this embodiment. For example... Figure 1 As shown, the calibration equipment includes a water storage tank, a water pump, a pressure stabilizing tank, pipelines, several clamp gauges, a calibration platform, a controller, several flow valves, and a standard flow meter (hereinafter referred to as the standard meter) corresponding to each flow valve. The outlet of the water storage tank is sealed to the inlet of the water pump via a pipeline, and the outlet of the water pump is sealed to the inlet of the pressure stabilizing tank via a pipeline. Based on the direction in which water flows out of the water storage tank, the end of the calibration platform where water first flows is designated as the first end, and the end of the calibration platform where water last flows is designated as the second end. The outlet of the pressure stabilizing tank is sealed to the first end of the calibration platform via a pipeline. Several clamping devices are installed on the calibration platform. All clamping devices are connected sequentially along the platform from one end to the other via pipes. The clamping device closest to the first end is designated as the first clamping device, and subsequent clamping devices are designated as the second, third, and so on, until the last clamping device. The first end of the calibration platform is also sealed to the inlet of the first clamping device via a pipe. The outlet of the first clamping device is sealed to the inlet of the second clamping device via a pipe, and so on, until the outlet of the last clamping device is sealed to the second end of the calibration platform via a pipe. Each clamping device can be equipped with a flow meter to be calibrated, allowing the flow meter on the clamping device to display the real-time flow rate.
[0028] Furthermore, even without a flow meter installed on the clamp, water from the first end of the calibration platform can still flow normally to the second end of the calibration platform through the aforementioned pipes and clamp. The second end of the calibration platform is connected to the inlet of each flow valve via pipes, with a corresponding pipe connecting the second end of the calibration platform to each flow valve. The outlet of each flow valve flows into a water storage tank via a pipe, and a standard meter is installed on the pipe between the outlet of each flow valve and the water storage tank. The controller can establish communication with the components in the calibration equipment via wireless or wired means.
[0029] Based on the aforementioned calibration equipment, its workflow is as follows: water in the storage tank flows into the pipeline under the action of a water pump, then sequentially passes through the water pump, pressure stabilizing tank, various clamps on the calibration platform, a flow valve, and the corresponding standard meter, finally flowing back into the storage tank from the pipeline containing the standard meter, thus forming a closed-loop operation of the device. Each component in the calibration equipment has a communication connection with the controller, enabling the equipment to send relevant information to and receive information from the controller during operation. The number of clamps on the control panel can be determined based on actual conditions, but the number should be an integer not less than one. If the number of clamps is zero, the flow meter to be calibrated cannot be installed, and the calibration of the flow meter cannot be achieved. Not every clamp needs to be equipped with the flow meter to be calibrated; this can be determined based on actual conditions.
[0030] Before calibrating the flow meters, the flow meters to be calibrated must first be installed on the clamping devices, with a maximum of one flow meter to be calibrated on each clamping device. Then, all flow meters installed on the clamping devices are calibrated simultaneously, allowing for the simultaneous calibration of multiple flow meters. The calibration process involves performing the calibration under the influence of multiple test flow values. Finally, the final calibration result for each flow meter installed on the clamping device is obtained based on the results of all calibrations corresponding to all test flow values. Figure 2 This is a block diagram of a calibration method for a flow meter provided in this embodiment. Figure 2 As shown, a calibration method for a flow meter includes the following steps: Step S100: Obtain the currently given test flow value and the initial flow value corresponding to the test flow value for each calibrated flow meter. Determine the initial calibration coefficient for each calibrated flow meter based on the test flow value, the corresponding initial flow value, and the preset initial coefficient, and send the initial calibration coefficient to the corresponding calibrated flow meter.
[0031] The aforementioned test flow rate value represents the water flow rate that the reservoir needs to supply to the flow meter to be calibrated. Multiple ordered test flow rate values are stored at the controller. The controller needs to control the water flow rate supplied by the reservoir to the flow meter to be calibrated according to these ordered test flow rate values. That is, each time a batch of flow meters installed on the clamp is calibrated, the first test flow rate value is used to complete the calibration of that stage, then the second test flow rate value is used to complete another stage, and so on, until the last test flow rate value is used to complete the final stage. The water flow rate value supplied to the flow meter to be calibrated is a fixed value when completing a certain stage of calibration. The flow meter installed on the clamp is the flow meter being calibrated. The aforementioned initial flow rate value represents the flow rate value measured by the flow meter itself. Each flow meter can send its measured flow rate value to the controller wirelessly or via wired connection.
[0032] The controller obtains the current test flow rate value by observing the test flow rate value sent to the water pump. Simultaneously, it obtains the initial flow rate value corresponding to the test flow rate value for each calibrated flow meter by receiving the measured flow rate values sent by each calibrated flow meter. Each calibrated flow meter has a unique location number, which corresponds to the location number of the clamp unit where the calibrated flow meter is located. Thus, each initial flow rate value corresponds to a specific location number.
[0033] Furthermore, each flow meter of the same model has a unique initial coefficient, which is set uniformly at the factory and affects the accuracy of the flow meter measurement. The controller stores the initial coefficients for each flow meter model. After obtaining the current given test flow value and the corresponding initial flow value for each calibrated flow meter under that test flow value, the controller determines the initial calibration coefficient for each calibrated flow meter based on the test flow value, the corresponding initial flow value, and the preset initial coefficient. This initial calibration coefficient is then sent to the corresponding calibrated flow meter wirelessly or via wired connection, allowing each calibrated flow meter to replace its original factory-set initial coefficient. Many factors can affect the inaccuracy of flow meter measurements, and the initial coefficient is just one of them, and one that is easily adjusted. By adjusting the flow meter in a simple and direct way to improve its measurement accuracy, the initial calibration of the current calibrated flow meter is completed, reducing the possibility of serious measurement inaccuracies during subsequent formal operation of the calibration equipment with the current given test flow value.
[0034] Figure 3This embodiment provides a block diagram for determining the initial calibration coefficients of each calibrated flow meter based on the test flow rate value, the corresponding initial flow rate value, and preset initial coefficients. (See diagram for example.) Figure 3 As shown, determining the initial calibration coefficient for each calibrated flow meter based on the test flow rate value, the corresponding initial flow rate value, and the preset initial coefficient includes the following steps: Step S101: Subtract the test flow value from the initial flow value of the same calibrated flow meter and then divide by the test flow value to obtain the initial error of each calibrated flow meter.
[0035] Step S102: Divide the initial coefficient of the same calibrated flow meter by the sum of the initial error and the value one to obtain the initial calibration coefficient of each calibrated flow meter.
[0036] Each calibrated flow meter corresponds to a test flow value, an initial flow value, and an initial coefficient. First, substitute the test flow value and initial flow value for each calibrated flow meter into the formula: Initial Error = (Initial Flow Value - Test Flow Value) / Test Flow Value. This yields the initial error for each calibrated flow meter, where each initial error corresponds to a location number. After obtaining the initial error, substitute the initial coefficient and initial error for each calibrated flow meter into the formula: Initial Calibration Coefficient = Initial Coefficient / (Initial Error + 1). This yields the initial calibration coefficient for each calibrated flow meter. The controller stores these two formulas and performs a simple calculation to quickly calculate the initial calibration coefficient for each calibrated flow meter. This coefficient is then sent to the corresponding flow meter, allowing it to quickly adjust its factory-set initial coefficient, reducing waiting time for subsequent calibration work and minimizing its impact on later calibration processes. After the initial calibration of each calibrated flow meter is completed, continue to use the standard meter and check whether each calibrated flow meter is qualified in terms of measurement accuracy.
[0037] Step S200: Receive the initial calibration signal sent by the calibrated flow meter based on the initial calibration coefficient, and obtain the standard flow value of the corresponding standard meter and the actual flow value corresponding to each calibrated flow meter based on the initial calibration signal.
[0038] The aforementioned standard flow rate value represents the flow rate measured by the standard meter, while the aforementioned actual flow rate value represents the flow rate measured by the calibrated flow meter. After correcting the original factory initial coefficients to the initial calibration coefficients, the calibrated flow meter automatically sends an initial calibration signal to the controller. Upon receiving the initial calibration signal from the calibrated flow meter, the controller uses this initial calibration signal to obtain the standard flow rate value sent by the standard meter corresponding to the currently given test flow rate value, as well as the flow rate value sent by each calibrated flow meter.
[0039] The number of flow valves and standard meters corresponds to the number of test flow values stored in the controller. Each test flow value corresponds to a unique flow valve and standard meter. When the calibration equipment is operating at the currently given test flow value, only the flow valve corresponding to that value will be open, while all other flow valves will be closed. This ensures that water flowing from the second end of the calibration platform will only flow into the flow valve corresponding to the currently given test flow value, and only then will the corresponding standard meter display the standard flow value. Similarly, when the calibration equipment is operating at other test flow values, only the flow valve corresponding to that specific test flow value will be open, while all other flow valves will be closed. By setting multiple flow valves and corresponding standard meters, the frequency of flow adjustment can be minimized, thereby improving calibration efficiency.
[0040] During the calibration process, each flow meter being calibrated and each standard meter automatically sends their measured flow values to the controller, which then stores them in the controller's storage unit. Upon receiving the initial calibration signal, the controller can retrieve the standard flow value sent by the standard meter corresponding to the currently given flow value, as well as the flow value sent by each flow meter being calibrated, by accessing the information in the storage unit.
[0041] Step S300: Determine whether the standard flow value is in a stable state. If it is, determine the stage calibration result of each calibrated flow meter under the test flow value based on the standard flow value and the corresponding actual flow value.
[0042] A standard flow meter is a type of flow meter that can accurately obtain flow values. Its accuracy is ensured by periodically calibrating it. The standard flow value measured by the standard flow meter is only meaningful if it is in a stable state. Therefore, before determining the stage calibration result for each calibrated flow meter under a given flow test value, it is necessary to first determine whether the currently obtained standard flow value is in a stable state. Only when the currently obtained standard flow value is in a stable state can the stage calibration result for each calibrated flow meter under the given test flow value be further determined. Determining whether the standard flow value is in a stable state includes the following steps: Step S301: Obtain the initial time corresponding to the received standard flow value and the monitoring time corresponding to the current monitoring time. When the time difference between the monitoring time and the initial time is not less than a preset time, determine whether all standard flow values within the time difference fall within the preset flow range corresponding to the test flow value. If they all fall within the preset flow range, the standard flow value is in a stable state.
[0043] In step S302, if at least one of them is not included, the standard flow rate value is not in a stable state.
[0044] The initial time mentioned above is the time when the controller receives the initial calibration signal. The controller also includes a clock unit. Upon receiving the initial calibration signal, the controller records the time of receipt and stores it in its memory unit in a format corresponding to the currently given test flow rate value. Therefore, the initial time corresponding to the received standard flow rate value can be obtained by checking the memory unit. Additionally, by checking the clock unit, the current monitoring time can be monitored, and the initial time is subtracted from the monitoring time in real time to obtain the time difference. Each time difference is compared with a preset time. If the time difference is less than the preset time, it indicates that no time interval has elapsed, and monitoring continues until the time difference is not less than the preset time. If the time difference is not less than the preset time, it indicates that time has elapsed since the initial calibration signal was received, and theoretically, the standard flow rate value obtained by the standard meter should be in a stable state. At this point, by comparing all standard flow rate values received within the aforementioned time difference with the preset flow range corresponding to the currently given test flow rate value, it is further determined whether all standard flow rate values obtained by the standard meter are truly in a stable state. The preset flow range refers to a fluctuation range centered on the test flow rate value, where the fluctuation value can be determined according to the actual situation. The preset time mentioned above can be determined according to the actual situation of the calibration equipment. In this embodiment, the preset time is selected as 16s.
[0045] If all the standard flow values within the time difference fall within the preset flow range corresponding to the test flow value, it indicates that the standard flow value is in a stable state. If at least one of all the standard flow values within the time difference does not fall within the preset flow range corresponding to the test flow value, it indicates that the standard flow value is not in a stable state. In this way, compared with only relying on the length of time to determine whether the standard flow value obtained by the standard meter is in a stable state, the result of whether the standard flow value is in a stable state will be more persuasive and authentic.
[0046] When it is determined that the standard flow value is in a stable state, the controller will determine the stage calibration result corresponding to each calibrated flow meter at the test flow value based on the standard flow value and the corresponding actual flow value. Figure 4 It is a block diagram of determining the stage calibration result corresponding to each flow meter at the test flow value based on the standard flow value and the corresponding actual flow value provided in this embodiment. As Figure 4 shown, determining the stage calibration result corresponding to each flow meter at the test flow value based on the standard flow value and the corresponding actual flow value includes the following steps: Step S301, subtract the standard flow value from each actual flow value and then divide by the standard flow value respectively to obtain the adjustment error corresponding to each calibrated flow meter.
[0047] Step S302, respectively determine whether each adjustment error falls within the preset allowable error. If it falls within, the stage calibration result of the flow meter corresponding to the adjustment error is qualified.
[0048] Step S303, if it does not fall within, the stage calibration result of the flow meter corresponding to the adjustment error is unqualified.
[0049] Each calibrated flow meter corresponds to an actual flow value and a standard flow value. Substitute the actual flow value and the standard flow value corresponding to each calibrated flow meter into the calculation formula of adjustment error = (actual flow value - standard flow value) / standard flow value respectively, and the adjustment error of each calibrated flow meter can be obtained. Then, respectively determine whether each adjustment error falls within the allowable error. If it falls within, it indicates that the stage calibration result of the calibrated flow meter corresponding to this adjustment error is qualified at the current given test flow value stage. If it does not fall within, it indicates that the stage calibration result of the calibrated flow meter corresponding to this adjustment error is unqualified at the current given test flow value stage. Among them, the allowable error is a range, and the specific value corresponding to this allowable error can be determined according to industry standards.
[0050] In addition, if the standard flow value is not in a stable state, and the last standard flow value within the acquisition time difference does not fall within the corresponding preset flow range reference time, the initial time will be updated to the reference time, and the monitoring time corresponding to the current time and the time difference of the initial time will continue to be monitored to see if they are not less than the preset time.
[0051] If, after starting from the initial time and a preset time has elapsed, the standard flow rate remains unstable, the system acquires the standard flow rate value that does not fall within the corresponding preset flow range within the specified time difference, along with the corresponding marker time. The marker time closest to the current time is designated as the reference time, and this reference time is updated using the initial time. The system then continues to monitor whether the time difference between the current monitoring time and the initial time is not less than the preset time, thus determining if the standard flow rate is stable. This process continues until the standard flow rate is stable before proceeding to the next step. This ensures that only when the standard flow rate is stable can the calibration result for each calibrated flow meter at the given test flow rate be determined, indirectly guaranteeing the accuracy of the stage calibration results. Furthermore, if successful, this process can complete the initial calibration and recalibration of a test flow rate for that stage in just 16 seconds, saving time compared to using a weighing instrument and thus improving calibration efficiency. Even if things don't go smoothly, the time extension will only be in the s range. Compared to the current time when it takes tens of minutes to complete the calibration work corresponding to a test traffic value, this will save time and improve calibration efficiency.
[0052] Step S400: Determine whether the test flow value is the last test flow value in the calibration work. If so, generate the final calibration result for each calibrated flow meter based on the stage calibration results corresponding to all test flow values.
[0053] Once the calibration results for all calibrated flow meters for each stage are obtained, the currently given test flow value is compared with the last test flow value among the multiple stored ordered test flow values. If the currently given test flow value is equal to the last test flow value among the multiple stored ordered test flow values, it indicates that the currently given test flow value is the last test flow value of the calibration work; if the currently given test flow value is not equal to the last test flow value among the multiple stored ordered test flow values, it indicates that the currently given test flow value is not the last test flow value of the calibration work.
[0054] The current given test flow value is the last test flow value in the calibration process, indicating that this batch of flow meters installed on the clamp has completed the stage calibration work corresponding to all test flow values. The final calibration result for each flow meter can be generated based on the stage calibration results corresponding to all test flow values. Generating the final calibration result for each flow meter based on the stage calibration results corresponding to all test flow values includes the following steps: Step S401: Determine whether all stage calibration results corresponding to the same calibrated flow meter are qualified. If they are all qualified, the final calibration result of the calibrated flow meter is qualified.
[0055] In step S402, if at least one is unqualified, the final calibration result of the calibrated flow meter is unqualified.
[0056] By checking whether all calibration results of the same flow meter are qualified, the final calibration result of the flow meter is qualified if all are qualified. If at least one is unqualified, the final calibration result of the flow meter is unqualified. This process is repeated for each flow meter on the calibration platform to obtain the final calibration result for each flow meter. Since each stage corresponding to a test flow value saves time, linear superposition can complete the calibration of all flow meters in this batch, saving time compared to using a weighing device in existing methods, thus improving calibration efficiency.
[0057] If the current given test flow value is not the last test flow value in the calibration process, it means that this batch of flow meters installed on the clamp has not yet completed the stage calibration work corresponding to all test flow values. It is necessary to continue to obtain the next test flow value after the current given test flow value, as well as the initial flow value of each flow meter based on the next test flow value. This will not be elaborated further here.
[0058] Additionally, if the currently given test flow value is not the last test flow value in the calibration process, the process also includes: generating a flow valve action command corresponding to the test flow value and sending the flow valve action command to the corresponding flow valve. The flow valve action command includes a closing command indicating that the current valve corresponding to the test flow value needs to be closed, and an opening command indicating that the next valve corresponding to the next test flow value needs to be opened.
[0059] Upon determining that the currently given test flow value is not the last test flow value for calibration, the controller generates a flow valve action command containing a close command and an open command. The close command is sent to the flow valve corresponding to the currently given test flow value to close it, and the open command is sent to the flow valve corresponding to the next test flow value to open it, thereby preparing for the work of the next test flow value stage.
[0060] Figure 5 This is a framework diagram of a calibration system for a flow meter provided in this embodiment. Figure 5 As shown, a calibration system for a flow meter includes: an initial calibration module, a signal transmission module, a flow value acquisition module, a status monitoring module, a recalibration module, and a calibration result generation module.
[0061] The calibration module comprises the following components: Initial calibration module, which acquires the given test flow rate value and the initial flow rate value corresponding to each calibrated flow meter based on the test flow rate value; and determines the initial calibration coefficient for each calibrated flow meter based on the test flow rate value, the corresponding initial flow rate value, and preset initial coefficients. Signal transmission module, which sends the initial calibration coefficients to the corresponding calibrated flow meter. Flow rate value acquisition module, which receives the initial calibration signal sent by the calibrated flow meter based on the initial calibration coefficients; and acquires the standard flow rate value of the corresponding standard meter and the actual flow rate value corresponding to each calibrated flow meter based on the initial calibration signal. Status monitoring module, which determines whether the standard flow rate value is in a stable state. Recalibration module, if stable, determines the stage calibration result for each calibrated flow meter at the test flow rate value based on the standard flow rate value and the corresponding actual flow rate value. Calibration result generation module, which determines whether the test flow rate value is the last test flow rate value in the calibration process; if so, it generates the final calibration result for each calibrated flow meter based on the stage calibration results corresponding to all test flow rates.
[0062] The other functions performed in the aforementioned initial calibration module, signal transmission module, flow value acquisition module, status monitoring module, recalibration module, and calibration result generation module, as well as the technical details of each function, are the same as or similar to the corresponding features in the calibration method of a flow meter described above, and therefore will not be repeated here.
[0063] This application provides a computer-readable storage medium storing a computer program that, when run on a computer, enables the computer to execute the relevant content in the aforementioned embodiment of a flow meter calibration method.
[0064] It should be understood that although the steps in the flowcharts in the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order requirement for the execution of these steps, and they can be performed in other orders.
[0065] The above description is only a partial embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A calibration method for a flow meter, characterized in that, The method includes: Obtain the currently given test flow value and the initial flow value corresponding to each calibrated flow meter based on the test flow value. Determine the initial calibration coefficient of each calibrated flow meter based on the test flow value, the corresponding initial flow value, and the preset initial coefficient, and send the initial calibration coefficient to the corresponding calibrated flow meter. Receive the initial calibration signal sent by the calibrated flow meter based on the initial calibration coefficient, obtain the standard flow value of the corresponding standard meter and the actual flow value corresponding to each calibrated flow meter based on the initial calibration signal; Determine whether the standard flow value is in a stable state. If it is, determine the stage calibration result for each calibrated flow meter under the test flow value based on the standard flow value and the corresponding actual flow value. Determine whether the test flow value is the last test flow value in the calibration process. If so, generate the final calibration result for each calibrated flow meter based on the stage calibration results corresponding to all test flow values. Each flow meter of the same model has a unique initial coefficient. The initial calibration coefficient for each calibrated flow meter is determined based on the test flow rate value, the corresponding initial flow rate value, and the preset initial coefficient, including: The initial error of each calibrated flow meter is obtained by subtracting the test flow value from the initial flow value corresponding to the same calibrated flow meter and then dividing by the test flow value. Divide the initial coefficient corresponding to the same calibrated flow meter by the sum of the initial error and the value one to obtain the initial calibration coefficient for each calibrated flow meter. Determining whether the standard flow rate value is in a stable state includes: The initial time corresponding to the received standard flow value and the monitoring time corresponding to the current monitoring time are obtained. When the time difference between the monitoring time and the initial time is not less than a preset time, it is determined whether all standard flow values within the time difference fall within the preset flow range corresponding to the test flow value. If they all fall within the preset flow range, the standard flow value is in a stable state. If at least one of them is not included, then the standard flow rate value is not in a stable state; The method further includes: If the standard flow value is not in a stable state, obtain the reference time corresponding to the last time the standard flow value within the time difference did not fall into the corresponding preset flow range, update the initial time to the reference time, and continue to monitor whether the time difference between the current monitoring time and the initial time is not less than the preset time.
2. The method according to claim 1, characterized in that, Based on the standard flow rate value and the corresponding actual flow rate value, the stage calibration result for each flow meter under the test flow rate value is determined as follows: Subtract the standard flow value from each actual flow value and then divide by the standard flow value to obtain the adjustment error corresponding to each calibrated flow meter; Each adjustment error is determined to be within the preset allowable error range. If it is, the stage calibration result of the flow meter corresponding to the adjustment error is qualified. If the error does not fall within the acceptable range, the calibration result of the flow meter corresponding to the adjustment error is considered unqualified.
3. The method according to claim 2, characterized in that, The final calibration result for each calibrated flow meter is generated based on the stage calibration results corresponding to all test flow values, including: Determine whether all stage calibration results corresponding to the same calibrated flow meter are qualified. If all are qualified, the final calibration result of the calibrated flow meter is qualified. If at least one is unqualified, the final calibration result of the calibrated flow meter is unqualified.
4. The method according to claim 1, characterized in that, The method further includes: If the test flow value is not the last test flow value in the calibration process, continue to obtain the next test flow value, as well as the initial flow value corresponding to the next test flow value for each calibrated flow meter.
5. The method according to claim 4, characterized in that, If the test flow value is not the last test flow value in the calibration process, it also includes: Generate a flow valve action command corresponding to the test flow value, and send the flow valve action command to the corresponding flow valve. The flow valve action command includes a closing command indicating that the current valve corresponding to the test flow value needs to be closed, and an opening command indicating that the next valve corresponding to the next test flow value needs to be opened.
6. A calibration system for a flow meter, characterized in that, The system includes: an initial calibration module, a signal transmission module, a flow rate acquisition module, a status monitoring module, a recalibration module, and a calibration result generation module; wherein, The initial calibration module is used to obtain the currently given test flow value and the initial flow value corresponding to the test flow value for each calibrated flow meter, and to determine the initial calibration coefficient for each calibrated flow meter based on the test flow value, the corresponding initial flow value, and the preset initial coefficient. The signal transmitting module is used to send the initial calibration coefficient to the corresponding calibrated flow meter; The flow rate acquisition module is used to receive the initial calibration signal sent by the calibrated flow meter based on the initial calibration coefficient, and to acquire the standard flow rate value of the corresponding standard meter and the actual flow rate value corresponding to each calibrated flow meter based on the initial calibration signal. The status monitoring module is used to determine whether the standard flow value is in a stable state; The recalibration module is used to determine the stage calibration result corresponding to each calibrated flow meter under the test flow value, based on the standard flow value and the corresponding actual flow value, if the test flow value is being tested. The calibration result generation module is used to determine whether the test flow value is the last test flow value of the calibration work. If so, it generates the final calibration result of each calibrated flow meter based on the stage calibration results corresponding to all test flow values. Each flow meter of the same model has a unique initial coefficient. The initial calibration coefficient for each calibrated flow meter is determined based on the test flow rate value, the corresponding initial flow rate value, and the preset initial coefficient, including: The initial error of each calibrated flow meter is obtained by subtracting the test flow value from the initial flow value corresponding to the same calibrated flow meter and then dividing by the test flow value. Divide the initial coefficient corresponding to the same calibrated flow meter by the sum of the initial error and the value one to obtain the initial calibration coefficient for each calibrated flow meter. Determining whether the standard flow rate value is in a stable state includes: The initial time corresponding to the received standard flow value and the monitoring time corresponding to the current monitoring time are obtained. When the time difference between the monitoring time and the initial time is not less than a preset time, it is determined whether all standard flow values within the time difference fall within the preset flow range corresponding to the test flow value. If they all fall within the preset flow range, the standard flow value is in a stable state. If at least one of them is not included, then the standard flow rate value is not in a stable state; If the standard flow value is not in a stable state, obtain the reference time corresponding to the last time the standard flow value within the time difference did not fall into the corresponding preset flow range, update the initial time to the reference time, and continue to monitor whether the time difference between the current monitoring time and the initial time is not less than the preset time.
7. A computer-readable storage medium having a computer program stored thereon that can run on a processor, characterized in that, When the computer program is executed by the processor, it implements a calibration method for a flow meter as described in any one of claims 1 to 5.