Simultaneous calibration method and device for flow meters
By using the communication address conversion module during the calibration process of the electromagnetic flowmeter, automatically converting and sending correction coefficient values, the operation complexity problem caused by the same address in the 485 communication mode is solved, and the calibration efficiency and accuracy of the flowmeter are improved.
Patent Information
- Application Number
- CN202411206220.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-08-30
AI Technical Summary
During the calibration process of electromagnetic flowmeters, the 485 communication method has the same communication address, so that multiple flowmeters are simultaneously calibrated on the production line require complex settings and recovery addresses, which increases operational complexity.
By adding a communication address conversion module between the flow controller host and the flowmeter to be detected, the obtained address value and correction coefficient value are automatically converted and sent, and the flow coefficient of the flowmeter to be detected is modified to avoid address duplication. Modification simplifies the calibration process.
It reduces the complexity of calibrating multiple flow meters at the same time, improves calibration efficiency, and ensures that the accuracy of the flow meters meets the requirements.
Smart Images

Figure CN118980417A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of flow meter calibration, and in particular relates to a simultaneous calibration method and device for a flow meter. Background Art
[0002] One of the processes in the production of electromagnetic flowmeters is calibration. During the calibration process, the parameters in the flowmeter need to be modified and saved. There are usually two ways to modify the parameters. The first is to modify them manually through the buttons on the flowmeter; the second is to modify them using 485 communication. The advantage of manual modification is that it is intuitive, but inefficient. In comparison, the communication modification method can both improve efficiency and maintain intuitive visibility. However, there is also a problem with the communication method: the devices on the 485 communication bus are distinguished according to the communication address of the device; on a production line, multiple flowmeters need to be calibrated at the same time, and the device communication address of each flowmeter is the same when it leaves the factory. In this way, the address of each flowmeter needs to be set to a different one before calibration; after the calibration work is completed, it is restored to the original default address. This brings about operational complexity. Summary of the invention
[0003] In order to solve the deficiencies of the prior art and achieve the purpose of improving the efficiency of flow meter calibration, the present invention adopts the following technical solutions: A simultaneous calibration method for a flow meter comprises the following steps: Step S1: Establishing the initial state of flow meter calibration; Step S2: Obtain the accumulated flow of a standard flow meter and a group of flow meters under test for a period of time; Step S3: Calculate the error of the flow meter under test based on the accumulated flow rate, and calculate the corrected flow coefficient value according to the initial flow coefficient and the error; Step S4: The correction coefficient value is transmitted to each corresponding flow meter under test through 485 communication mode and after communication address conversion. Since the communication address of each flow meter under test is the same when it leaves the factory and cannot be distinguished, a communication address conversion module is added between the flow controller host and the flow meter under test for automatic conversion of the communication address. The conversion of the communication address is achieved by obtaining the address value and correction coefficient value corresponding to the flow meter under test, and sending the correction coefficient value and the factory default address to the corresponding flow meter under test according to the address value. The flow meter under test modifies its own flow coefficient according to the correction coefficient value. Step S5: Return to step S2 to continue calibration until the error meets the accuracy requirement.
[0004] Furthermore, in step S1, the flow controller host controls the opening of the water pump and the regulating valve so that the water flow in the flow straight pipe section is close to a preset target value; and waits for the water flow to stabilize for a suitable period of time.
[0005] Furthermore, in step S2, the flow controller host starts timing and clears the accumulated flow of the standard flow meter and the flow meter under test at the same time; stops timing after a period of time based on the flow value, and reads the accumulated flow of the standard flow meter and the flow meter under test.
[0006] Furthermore, in step S3, the error calculation formula is as follows: E=(Fv-F) / F*100% Among them, E represents the error value, Fv represents the accumulated flow rate of the flow meter under test, and F represents the accumulated flow rate of the standard flow meter.
[0007] Furthermore, in step S3, after the error value is obtained, the process returns to step S2 to repeat the acquisition, and calculates the average error Ev based on the number of acquisitions to calculate the corrected flow coefficient value: K=K0 / (1+Ev).
[0008] Wherein, K represents the corrected flow coefficient value, and K0 represents the initial flow coefficient value.
[0009] Furthermore, in step S5, after the coefficient modification is completed, steps S2 to S3 are repeated to calculate a new average error Ev1; if the error Ev1 meets the accuracy requirement, the calibration process ends, otherwise, the above step S4 needs to be repeatedly performed until the error meets the accuracy requirement.
[0010] Furthermore, the step S4 comprises the following steps: Step S4.1: Encapsulate the address value and correction coefficient value corresponding to the flow meter being inspected and other necessary data into a data packet, and send the data packet to the communication address conversion module through the 485 communication line; Step S4.2: After receiving the data packet, the communication address conversion module checks the address value therein, binds the data packet to the corresponding output port according to the address value and forwards the data packet. Before forwarding, the address value therein needs to be modified to the factory default address of the flow meter, and other data remain unchanged; Step S4.3: After receiving the data packet, the flow meter under inspection modifies its own flow coefficient according to the correction coefficient value in the data packet.
[0011] A simultaneous calibration device for flow meters, comprising a flow controller host, a water pump, a regulating valve, and a standard flow meter. The calibration device also comprises a communication address conversion module. The flow controller host controls the water pump and the regulating valve, obtains the cumulative flow of the standard flow meter and a group of flow meters to be tested within a period of time, calculates the error of the flow meter to be tested based on the cumulative flow, calculates the corrected flow coefficient value according to the initial flow coefficient and the error, the communication address conversion module obtains the address value and the correction coefficient value corresponding to the flow meter to be tested, sends the correction coefficient value and the factory default address to the corresponding flow meter to be tested according to the address value, and the flow meter to be tested modifies its own flow coefficient according to the correction coefficient value.
[0012] Furthermore, the flow controller host encapsulates the address value and correction coefficient value corresponding to the inspected flow meter and other necessary data in a data packet, and sends the data packet to the communication address conversion module through the 485 communication line; after receiving the data packet, the communication address conversion module checks the address value therein, binds the data packet to the corresponding output port according to the address value and forwards the data packet. Before forwarding, the address value needs to be modified to the factory default address of the flow meter, and other data remain unchanged; after receiving the data packet, the inspected flow meter modifies its own flow coefficient according to the correction coefficient value in the data packet.
[0013] Furthermore, the flow controller host collects the cumulative flow of the standard flow meter and the flow meter under test for multiple times, calculates the error average value Ev, and calculates the corrected flow coefficient value K=K0 / (1+Ev) based on the error average value Ev and the initial flow coefficient value K0. After the coefficient modification is completed, the cumulative flow is repeatedly collected to calculate the average error until the average error meets the accuracy requirement.
[0014] The advantages and beneficial effects of the present invention are: A simultaneous calibration method and device for flow meters of the present invention sends a correction coefficient value and a factory default address to the corresponding flow meter under test according to the address value corresponding to the flow meter under test, and avoids the problem of repeatedly modifying the flow meter address during the flow meter calibration process by converting the communication address, thereby reducing the complexity of calibrating multiple flow meters at the same time. The present invention can be promoted and used in the production process of electromagnetic flow meters, and can also be used in flow meter calibration institutions. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 Schematic diagram of the structure of the device in the embodiment of the present invention.
[0016] Figure 2 is a flow chart of a method in an embodiment of the present invention. DETAILED DESCRIPTION
[0017] The specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present invention, and is not used to limit the present invention.
[0018] like Figure 1 As shown, a simultaneous calibration device for flowmeters is composed of a flow controller host 1, a water pump 2, a regulating valve 3, a flow straight pipe section 4, a standard flowmeter 5, a plurality of flowmeters to be tested 6 and a communication address conversion module 7. There is an electrical connection between the flow controller host 1 and the water pump 2, the regulating valve 3, the standard flowmeter 5 and the flowmeter to be tested 6. The regulating valve 3, the standard flowmeter 5 and the flowmeter to be tested 6 are fixedly installed on the flow straight pipe section 4 in sequence. The flow controller host 1 and the communication address conversion module 7 are connected using a 485 communication line; the communication address conversion module 7 and each flowmeter to be tested 6 are connected using a 485 communication line.
[0019] like Figure 2 As shown, a simultaneous calibration method for a flow meter comprises the following steps: Step S1: the flow controller host 1 sends instructions to control the opening of the water pump 2 and the opening of the regulating valve 3, so that the water flow in the flow straight pipe section 4 is close to the preset target value; wait for the water flow to stabilize for a suitable period of time.
[0020] Step S2: the flow controller host 1 starts timing, and clears the accumulated flow of the standard flow meter 3 and the flow meter under test 6 to 0; after timing for a suitable period of time which differs according to the size of the flow value, the flow controller host 1 stops timing; the flow controller host 1 reads the accumulated flow of the standard flow meter 5, recorded as F; reads the accumulated flow of each flow meter under test 6, recorded as Fv.
[0021] Step S3: Calculate the error of the flow meter 6 under test, the calculation formula is E=(Fv-F) / F*100%; return to step S2 to repeat the collection, a total of 3 times; calculate the average error Ev=(E1+E2+E3) / 3 for 3 times; calculate the corrected coefficient flow value K=K0 / (1+Ev) based on the initial flow coefficient value K0 and the error value Ev.
[0022] Step S4: The calculated correction coefficient value K is transmitted to each corresponding flow meter 6 through 485 communication. Since the communication address of each flow meter 6 is the same when it leaves the factory and cannot be distinguished, a communication address conversion module 7 is added between the flow controller host 1 and the flow meter 6 to automatically convert the communication address, which specifically includes the following steps: Step S4.1: When the flow controller host 1 wants to download the correction coefficient to the Nth flow meter 6 to be tested, the address value of the Nth flow meter 6 to be tested and the corresponding correction coefficient value and other necessary data are encapsulated in a data packet, and the data packet is sent to the communication address conversion module 7 through the 485 communication line; Step S4.2: After receiving the data packet, the communication address conversion module 7 checks the communication address therein, binds the data packet to the corresponding output port according to the address and forwards the data packet. Before forwarding, the communication address therein needs to be modified to the factory default address of the flow meter, and other data remain unchanged; Step S4.3: After receiving the data packet, the flow meter 6 No. N to be inspected modifies its own flow coefficient according to the correction coefficient value in the data packet.
[0023] Step S5: After the coefficient modification is completed, repeat steps S2 to S3 to calculate a new average error Ev1; if the error Ev1 meets the accuracy requirement, the calibration process ends, otherwise the above step S4 needs to be repeatedly performed until the error meets the accuracy requirement.
[0024] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some or all of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A simultaneous calibration method for a flow meter, characterized in that The steps include: Step S1: Establishing the initial state of flow meter calibration; Step S2: Obtaining the accumulated flow of the standard flow meter (3) and a group of flow meters to be tested (6) over a period of time; Step S3: calculating the error of the flow meter (6) under test based on the accumulated flow rate, and calculating a corrected flow coefficient value based on the initial flow coefficient and the error; Step S4: the correction coefficient value is transmitted to the flow meter (6) under test after the communication address conversion. The communication address conversion is performed by obtaining the address value and the correction coefficient value corresponding to the flow meter (6) under test, and sending the correction coefficient value and the factory default address to the corresponding flow meter (6) under test according to the address value. The flow meter (6) under test modifies its own flow coefficient according to the correction coefficient value. Step S5: Return to step S2 to continue calibration until the error meets the accuracy requirement.
2. The simultaneous calibration method of a flow meter according to claim 1, characterized in that: In step S1, the flow controller host (1) controls the opening of the water pump (2) and the regulating valve (3) so that the water flow in the flow straight pipe section (4) is close to a preset target value.
3. The simultaneous calibration method of a flow meter according to claim 1, characterized in that: In step S2, the flow controller host (1) starts timing and simultaneously clears the accumulated flow of the standard flow meter (3) and the flow meter to be tested (6); after a period of time based on the flow value, the timing is stopped and the accumulated flow of the standard flow meter (5) and the flow meter to be tested (6) is read.
4. The simultaneous calibration method of a flow meter according to claim 1, characterized in that: In step S3, the error calculation formula is as follows: E=(Fv-F) / F*100% Wherein, E represents the error value, Fv represents the accumulated flow rate of the flow meter under test (6), and F represents the accumulated flow rate of the standard flow meter (5).
5. The simultaneous calibration method of a flow meter according to claim 1, characterized in that: In step S3, after the error value is obtained, the process returns to step S2 to repeat the acquisition, and calculates the average error Ev based on the number of acquisitions to calculate the corrected flow coefficient value: K=K0 / (1+Ev) Wherein, K represents the corrected flow coefficient value, and K0 represents the initial flow coefficient value.
6. A simultaneous calibration method for a flow meter according to claim 5, characterized in that: In step S5, after the coefficient modification is completed, steps S2 to S3 are repeated to calculate a new average error Ev1; if the error Ev1 meets the accuracy requirement, the calibration process ends, otherwise, the above step S4 needs to be repeatedly performed until the error meets the accuracy requirement.
7. The simultaneous calibration method of a flow meter according to claim 1, characterized in that: The step S4 comprises the following steps: Step S4.1: encapsulate the address value and correction coefficient value corresponding to the flow meter (6) to be inspected and other necessary data into a data packet, and send the data packet to the communication address conversion module (7); Step S4.2: After receiving the data packet, the communication address conversion module (7) checks the address value therein, binds the data packet to the corresponding output port according to the address value and forwards the data packet. Before forwarding, the address value therein needs to be modified to the factory default address of the flow meter; Step S4.3: After receiving the data packet, the flow meter (6) under test modifies its own flow coefficient according to the correction coefficient value in the data packet.
8. A flow meter simultaneous calibration device, comprising a flow controller host (1), a water pump (2), a regulating valve (3), and a standard flow meter (5), characterized in that: The calibration device further comprises a communication address conversion module (7); the flow controller host (1) controls the water pump (2) and the regulating valve (3); within a period of time, the accumulated flow of the standard flow meter (5) and a group of flow meters to be tested (6) is obtained, and the error of the flow meter to be tested (6) is calculated based on the accumulated flow; the corrected flow coefficient value is calculated based on the initial flow coefficient and the error; the communication address conversion module (7) obtains the address value and the correction coefficient value corresponding to the flow meter to be tested (6); according to the address value, the correction coefficient value and the factory default address are sent to the corresponding flow meter to be tested (6); the flow meter to be tested (6) modifies its own flow coefficient according to the correction coefficient value.
9. A simultaneous calibration device for a flow meter according to claim 8, characterized in that: The flow controller host (1) encapsulates the address value and correction coefficient value corresponding to the flow meter (6) under test and other necessary data into a data packet, and sends the data packet to the communication address conversion module (7); after receiving the data packet, the communication address conversion module (7) checks the address value therein, binds the data packet to the corresponding output port according to the address value, and forwards the data packet. Before forwarding, the address value therein needs to be modified to the factory default address of the flow meter; after receiving the data packet, the flow meter (6) under test modifies its own flow coefficient according to the correction coefficient value in the data packet.
10. The simultaneous calibration device for a flow meter according to claim 8, characterized in that: The flow controller host (1) collects the accumulated flow of the standard flow meter (5) and the flow meter under test (6) for multiple times, calculates the error average value Ev, and calculates the modified flow coefficient value K=K0 / (1+Ev) based on the error average value Ev and the initial flow coefficient value K0. After the coefficient modification is completed, the accumulated flow is repeatedly collected to calculate the average error until the average error meets the accuracy requirement.
Citation Information
Patent Citations
Car air quality flow meter calibration device and calibration method
CN102944292A
Control network establishment method of IEEE802.15.4-based intelligent home system
CN103973528A
Sensor automatic recognition method and device of water quality monitoring terminal
CN111050235A
Flowmeter calibration system, method, device and storage medium
CN111344542A
Mode for automatically generating communication address
CN113965549A
