Water meter detection system and method
By combining the design of a graded flow stabilizer and a pressure stabilizing tank with sensors and PID algorithms, the problem of mutual interference between flow stabilization and pressure stabilization in water meter detection is solved, achieving high-precision and stable water meter detection.
Patent Information
- Application Number
- CN202511969749.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-24
- Publication Date
- 2026-02-27
AI Technical Summary
During water meter testing, interference between steady flow and steady pressure can lead to inaccurate test results and affect testing accuracy.
By adopting a synergistic design of a graded flow stabilizer and a pressure stabilizing tank, and combining components such as a flow velocity sensor, differential pressure transmitter, flow meter, and water pump, the system achieves stable flow and pressure through PID algorithm and feedforward-feedback verification anti-interference method.
It improves the accuracy and stability of water meter detection, ensures that the water flow remains stable and the pressure is stable throughout the process, flexibly adjusts the water flow rate, and reduces water consumption.
Smart Images

Figure CN121577129A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of instrument testing technology, and in particular to a water meter testing system and method. Background Technology
[0002] Before packaging water meters for shipment, water meter manufacturers need to conduct flow rate comparison tests to ensure that the water meter products leaving the factory are qualified.
[0003] However, in the process of water meter testing, the separation of flow stabilization and pressure stabilization often leads to inaccurate test results. For example, in traditional water meter testing devices, the flow stabilizer and pressure stabilizing tank work independently without coordination, and are prone to mutual interference due to the coupling characteristics of "flow-pressure" (such as increased pressure fluctuations during flow stabilization and decreased flow uniformity during pressure stabilization).
[0004] Therefore, solving the problems of flow stabilization and pressure stabilization in water meter detection simultaneously is of great significance for improving the accuracy of water meter detection. Summary of the Invention
[0005] This application provides a water meter testing system and method to solve the problem that water meter testing in the prior art is easily affected by the mutual interference between steady flow and steady pressure.
[0006] In a first aspect, this application provides a water meter detection system, comprising: Water tank; A graded flow stabilizer is connected to the water tank via a first pipe; The pressure stabilizing tank is connected to the staged flow stabilizer via a second pipe; The first inlet valve is connected to the pressure stabilizing tank via a third pipe; The second inlet valve is connected to the first inlet valve via a fourth pipe; A static current stabilizer is connected to the fourth pipe via a fifth pipe; At least one water meter to be tested is installed on the sixth pipe, which is connected to the second inlet valve.
[0007] In one embodiment, the outlet of the graded flow stabilizer is equipped with a flow rate sensor, and the pressure stabilizing tank is equipped with a differential pressure transmitter.
[0008] In one embodiment, the system further includes: A flow meter is installed in the sixth pipe and located after the at least one water meter to be tested; A water pump is also installed between the water tank and the pressure stabilizing tank.
[0009] In one embodiment, the water pump includes an acceleration sensor.
[0010] Secondly, this application provides a water meter testing method, including: The water tank, the first inlet valve, and the second inlet valve are opened, and the static flow stabilizer is controlled to supply water, so as to determine the first measurement value of at least one water meter to be tested; The water tank and the first inlet valve are closed, the second inlet valve is opened, and the static flow stabilizer is controlled to release water at a first flow rate to determine the second measurement value of the at least one water meter to be tested; The water tank and the first inlet valve are closed, the second inlet valve is opened, and the static flow stabilizer is controlled to release water at a second flow rate different from the first flow rate, in order to determine the third measurement value of the at least one water meter to be tested; The measurement results of the at least one water meter to be tested are determined based on the first measurement value, the second measurement value, and the third measurement value.
[0011] In one embodiment, the method further includes: Obtain the actual outlet flow velocity of the staged flow stabilizer and the actual outlet pressure of the pressure stabilizing tank; The outlet flow rate error is determined based on the actual outlet flow rate and the target outlet flow rate, and the outlet pressure error is determined based on the actual outlet pressure and the target outlet pressure. The proportional-integral-differential algorithm is used to calculate the outlet flow velocity error and the outlet pressure error, as well as the constraints on the outlet flow velocity control quantity and the outlet pressure control quantity, to obtain the outlet flow velocity control quantity and the outlet pressure control quantity. The outlet flow rate of the staged flow stabilizer is adjusted based on the outlet flow rate control amount, and the outlet pressure of the pressure stabilizing tank is adjusted based on the outlet pressure control amount.
[0012] In one embodiment, the method further includes: Obtain flow data from the flow meter; Adjust the pump speed based on the changes in the flow rate data.
[0013] In one embodiment, the method further includes: Acquire acceleration data from the accelerometer; The pressure compensation amount is determined based on the acceleration data; The outlet pressure control value is corrected based on the pressure compensation amount.
[0014] Thirdly, this application provides a water meter detection device, comprising: The first measurement module is used to control the opening of the water tank, the first inlet valve, and the second inlet valve, and to control the water intake of the static flow stabilizer, so as to determine the first measurement value of at least one water meter to be tested. The second measurement module is used to control the water tank and the first inlet valve to close, control the second inlet valve to open, and control the static flow stabilizer to release water at a first flow rate, so as to determine the second measurement value of the at least one water meter to be tested; The third measurement module is used to control the water tank and the first inlet valve to close, control the second inlet valve to open, and control the static flow stabilizer to release water at a second flow rate different from the first flow rate, so as to determine the third measurement value of the at least one water meter to be tested. An analysis module is used to determine the measurement results of the at least one water meter to be tested based on the first measurement value, the second measurement value, and the third measurement value.
[0015] Fourthly, this application provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method described in the second aspect above.
[0016] Fifthly, this application provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the second aspect above.
[0017] In a sixth aspect, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the method described in the second aspect above.
[0018] The water meter detection system and method provided in this application can simultaneously achieve the effects of stabilizing water flow and stabilizing pressure through the synergistic effect of the graded flow stabilizer and the pressure stabilizing tank, thereby effectively improving the accuracy of water meter detection. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is one of the structural schematic diagrams of the water meter detection system provided in the embodiments of this application.
[0021] Figure 2 This is the second structural schematic diagram of the water meter detection system provided in the embodiments of this application.
[0022] Figure 3 This is the third structural schematic diagram of the water meter detection system provided in the embodiments of this application.
[0023] Figure 4 This is the fourth structural schematic diagram of the water meter detection system provided in the embodiments of this application.
[0024] Figure 5 This is the fifth schematic diagram of the water meter detection system provided in the embodiments of this application.
[0025] Figure 6 This is the sixth schematic diagram of the water meter detection system provided in the embodiments of this application.
[0026] Figure 7 This is a flowchart illustrating the water meter testing method provided in the embodiments of this application.
[0027] Figure 8 This is a schematic diagram of the structure of the water meter detection device provided in the embodiments of this application.
[0028] Figure 9 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0029] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0030] In this application, "at least one" means one or more. "More than one" means two or more. The descriptions of "first," "second," etc., appearing in the embodiments of this application are only for illustration and to distinguish the described objects, and have no order, nor do they indicate a special limitation on the number in the embodiments of this application, and cannot constitute any limitation on the embodiments of this application.
[0031] In this application, terms such as "exemplary," "in some embodiments," and "in other embodiments" are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Rather, the term "exemplary" is used to present the concept in a specific manner.
[0032] Figure 1 This is one of the structural schematic diagrams of the water meter detection system provided in the embodiments of this application. For example... Figure 1 As shown, the water meter detection system provided in this application may include: Water tank 110; The graded flow stabilizer 120 is connected to the water tank 110 through the first pipe C1; The pressure stabilizing tank 130 is connected to the staged flow stabilizer 120 via the second pipe C2; The first inlet valve 140 is connected to the pressure tank 130 through the third pipe C3; The second inlet valve 150 is connected to the first inlet valve 140 through the fourth pipe C4; The static current stabilizer 160 is connected to the fourth pipe C4 via the fifth pipe C5. At least one water meter 170 to be tested is installed on the sixth pipe C6, which is connected to the second inlet valve 150.
[0033] Specifically, the number of water meters 170 to be tested can be, for example, 6, 8, 10, etc., and this application embodiment does not specifically limit this.
[0034] Each water meter 170 to be tested can be connected in series on the sixth pipe C6.
[0035] The water meter detection system provided in this application embodiment can also integrate a control unit (not shown in the figure). The control unit can be specifically implemented by, for example, a microcontroller unit (MCU), a host computer, a programmable logic controller (PLC), etc., to control the operation of each component of the water meter detection system.
[0036] The following is combined with Figure 1 The working principle of the water meter detection system provided in this application embodiment is described below: First, the control unit controls the water tank 110, the first inlet valve 140, and the second inlet valve 150 to open, and controls the static flow stabilizer 160 to enter water, so as to obtain the first measurement value (Q3) of at least one water meter to be tested 170.
[0037] Specifically, the water in the water tank 110 enters the graded flow stabilizer 120 through the first pipe C1 for flow stabilization treatment to obtain a water flow with uniform velocity.
[0038] After being stabilized by the staged flow stabilizer 120, the water flow will enter the pressure stabilizing tank 130 through the second pipe C2 for pressure stabilization treatment, so as to obtain a water flow with uniform flow rate and stable pressure.
[0039] It should be noted that, depending on actual needs, the order of the staged flow stabilizer 120 and the pressure stabilizing tank 130 can also be reversed, and this application embodiment does not specifically limit this.
[0040] After being stabilized by the flow stabilizer 120 and the pressure stabilizer 130, the water flows through the third pipe C3 and the first inlet valve 140 and enters two branches: The water flowing into the first branch enters the static flow stabilizer 160 through the fourth pipe C4 and the fifth pipe C5, so that the static flow stabilizer 160 stores water with uniform flow rate and stable pressure.
[0041] The water flow entering the second branch passes through the fourth pipe C4 and the second inlet valve 150, thereby being used to test each water meter 170 to determine the first measurement value (Q3) of at least one water meter 170.
[0042] It should be noted that, since the water flow velocity is uniform and the pressure is stable after being stabilized by the graded flow stabilizer 120 and the pressure stabilizer 130, the accuracy of the first measurement value (Q3) can be effectively improved.
[0043] Next, the control unit controls the water tank 110 and the first inlet valve 140 to close, controls the second inlet valve 150 to open, and controls the static flow stabilizer 160 to release water at the first flow rate to obtain the second measurement value (Q2) of each water meter to be tested 170.
[0044] Specifically, since the water flow required for the second and third measurements is usually less than that for the first measurement, by controlling the water tank 110 and the first inlet valve 140 to close, on the one hand, the large water flow provided by the water tank 110 can be prevented from affecting the accuracy of the second and third measurements, and on the other hand, water resources can be effectively saved and the economic efficiency of the water meter detection system can be improved.
[0045] Furthermore, by controlling the second inlet valve 150 to open and controlling the static flow stabilizer 160 to release water at the first flow rate, the appropriate water flow rate provided by the static flow stabilizer 160 can be used to determine the second measurement value of each water meter 170 to be tested.
[0046] It should be noted that, since the water flow rate and pressure stored in the static flow stabilizer 160 are uniform and stable, and the static flow stabilizer 160 itself can also achieve the function of stabilizing the flow, the water flow from the static flow stabilizer 160 can still maintain a uniform flow rate and stable pressure, thereby ensuring the accuracy of the second measurement value.
[0047] Next, the controller controls the water tank 110 and the first inlet valve 120 to close, controls the second inlet valve 150 to open, and controls the static flow stabilizer 160 to release water at a second flow rate different from the first flow rate, in order to determine a third measurement value (Q1) of at least one water meter to be tested 170.
[0048] It is understandable that the only difference between this step and the steps mentioned above is that the static flow stabilizer 160 discharges water at a second flow rate different from the first flow rate, so it will not be described in detail here.
[0049] Finally, the control can determine the measurement results of each water meter 170 to be tested based on the first measurement value, the second measurement value, and the third measurement value.
[0050] As can be seen from the above, the water meter detection system provided in this application embodiment can simultaneously achieve stable water flow and pressure through the synergistic effect of the graded flow stabilizer and pressure stabilizing tank, thereby effectively improving the accuracy of water meter detection. Furthermore, through the overall design of the first inlet valve, the second inlet valve, the static flow stabilizer, and all pipelines, the water flow detected by the water meter can maintain a stable flow and pressure state throughout the entire process, with flexible adjustment of the water flow rate, thereby improving the stability and flexibility of water meter detection.
[0051] In one embodiment, a flow rate sensor (not shown in the figure) is provided at the outlet of the graded flow stabilizer 120, and a differential pressure transmitter (not shown in the figure) is provided in the pressure stabilizing tank 130.
[0052] The control unit can obtain the actual outlet flow rate of the staged flow stabilizer 120 through the flow rate sensor. The actual outlet pressure of the pressure stabilizing tank is obtained through a differential pressure transmitter. .
[0053] If the actual outflow velocity If the change in flow rate exceeds the threshold for the change in flow rate, such as ±0.5%, the control unit can adjust the outlet flow rate of the graded flow stabilizer 120 to a certain extent to ensure that the outlet flow rate is uniform.
[0054] If the actual water pressure If the change in pressure exceeds the pressure change threshold, such as ±0.01 MPa, the control unit can adjust the outlet pressure of the pressure stabilizing tank 130 to a certain extent to ensure that the outlet pressure is stable.
[0055] Furthermore, the controller can also use the "dual-parameter PID algorithm" proposed in the embodiments of this application to realize the linkage regulation of the flow rate of the graded flow stabilizer and the pressure of the pressure stabilizing tank.
[0056] Specifically, the control unit can be based on the actual outflow velocity. With the target outflow velocity Determine the error of the outflow velocity Based on actual water pressure With target outlet pressure Determine the outlet pressure error ; Furthermore, the control unit can use a proportional-integral-derivative (PID) algorithm to adjust the effluent flow rate error. Error with outlet water pressure The constraints on the control of the effluent flow velocity and the control of the effluent pressure are calculated to obtain the effluent flow velocity control quantity. and water pressure control ; Finally, the control unit controls the amount based on the outflow velocity. Adjust the outlet flow rate of the staged flow stabilizer 120 and control the amount based on the outlet pressure. Adjust the outlet water pressure of pressure stabilizing tank 130.
[0057] For example, the control unit can implement a "two-parameter PID algorithm" according to a certain control cycle.
[0058] Specifically, in the k-th control cycle, the effluent flow rate error... Error with outlet water pressure They are respectively: in, For the first The target effluent flow rate for each control cycle; For the first The actual outflow velocity of each control cycle; For the first The target outlet pressure for each control cycle; For the first The actual outlet pressure of each control cycle.
[0059] No. Outflow velocity control quantity per control cycle and water pressure control We can obtain the following through correlation using the coupling coefficient: ; in, , , These are the proportional, integral, and differential coefficients of the velocity loop, respectively. , , These are the proportional, integral, and differential coefficients of the pressure ring, respectively; T is the sampling period; α and β are the cross-coupling coefficients (used to achieve dual-parameter linkage, usually α, β < 1).
[0060] To avoid water flow rate control With outlet water pressure control Conflicts require the addition of coordination constraints: in, This represents the minimum value of the water flow velocity control quantity; This indicates the maximum value of the water flow velocity control quantity; This indicates the minimum value of the outlet water pressure control quantity; This indicates the maximum value of the outlet water pressure control quantity; , , These are the system safety operation constraint coefficients.
[0061] It should be noted that the controller determines the water flow rate control quantity. With outlet water pressure control Subsequently, the water flow velocity will be controlled based on the aforementioned collaborative constraints. With outlet water pressure control Make corrections to ensure precise linkage between the flow rate of the staged flow stabilizer and the pressure of the pressure tank.
[0062] The water meter detection system provided in this application embodiment, by setting a flow velocity sensor at the outlet of the graded flow stabilizer and a differential pressure transmitter at the pressure stabilizing tank, can realize the individual adjustment of the flow velocity of the flow stabilizer and the pressure of the pressure stabilizing tank, as well as the linkage adjustment of the two, thereby further ensuring the stability of water flow and pressure, and improving the stability of water meter detection.
[0063] like Figure 2 As shown, in one embodiment, the water meter detection system provided in this application may further include at least one of the following: The first pressure sensor 210 is disposed in the sixth pipe C6 and located on at least one side of at least one water meter 170 to be tested; The second pressure sensor 220 is installed in the fifth pipe C5 and located between the static flow stabilizer 160 and the fourth pipe C4.
[0064] It should be noted that, in response to the problem of unstable pressure at the beginning and end of the water meter pipeline in the prior art, the water meter detection system provided in this application proposes a "feedforward-feedback verification and anti-interference" method to complete differential pressure monitoring.
[0065] In terms of feedback, the water meter detection system provided in this application embodiment can collect the pressure data at the beginning and end of the water meter pipeline (sixth pipeline C6) in real time by setting the first pressure sensor 210 and / or the second pressure sensor 220, thereby providing a basis for the control unit to adjust the water meter detection system.
[0066] Specifically, the first pressure sensor 210 and the second pressure sensor 220 can be high-precision pressure sensors (e.g., accuracy ±0.005MPa) to provide accurate pressure detection data.
[0067] Furthermore, the static flow stabilizer 160 can use a servo proportional valve (e.g., adjustment accuracy of 0.1%FS) to replace the traditional solenoid valve, and work with a brushless variable frequency pump (e.g., speed adjustment resolution of 1rpm) to ensure continuous water flow output.
[0068] When the control unit determines that the pressure data of the first pressure sensor 210 and / or the second pressure sensor 220 are inconsistent, or the change in the pressure data of the first pressure sensor 210 and / or the second pressure sensor 220 exceeds a certain threshold, the control unit can determine that there is a fluctuation in the pressure at the beginning and end of the water meter pipeline (sixth pipeline C6). The control unit will then control the water output frequency of the static flow stabilizer 160 to precisely adjust the pressure at the beginning and end of the water meter pipeline (sixth pipeline C6) to a certain extent.
[0069] The water meter detection system provided in this application embodiment can detect the pressure data at the beginning and end of the water meter pipeline by setting a first pressure sensor and / or a second pressure sensor, and adjust the pressure at the beginning and end of the water meter pipeline accordingly, thereby further improving the stability of water meter detection.
[0070] like Figure 3 As shown, in one embodiment, the water meter detection system provided in this application may further include: Flow meter 310 is installed in the sixth pipe C6 and located after at least one water meter 170 to be tested; A water pump 320 is also installed between the water tank 110 and the pressure stabilizing tank 130.
[0071] The flow meter 310 is used to detect the flow rate in the sixth pipe C6. The water pump 320 is used to deliver water from the water tank 110 to the pressure stabilizing tank 130.
[0072] The flow meter 310 can be a specific type of flow meter, such as an electromagnetic flow meter or a physical flow meter, but this application does not specifically limit it in this embodiment.
[0073] The water pump 320 can be set before or after the staged flow stabilizer 120, but this application embodiment does not specifically limit this.
[0074] In the flow feedforward aspect of the "feedforward-feedback verification and anti-interference" method, the control unit can obtain the flow data of the flow meter 310, thereby obtaining the flow change of the sixth pipe C6.
[0075] Specifically, relative to determining the outlet water pressure control quantity, the control unit can detect the change in the flow data of the flow meter 310 a certain time in advance, such as 100ms. And according to the pipeline hydraulic formula This is to pre-adjust the speed of the water pump 320, thereby offsetting pressure fluctuations. This represents the hydraulic resistance coefficient of the pipeline, and its specific value is determined by the inherent characteristics of the pipeline system.
[0076] Specifically, when At that time, That is, as pipe resistance increases, the outlet water pressure will rise; when At that time, This means that as pipe resistance decreases, the outlet water pressure will drop. The control unit can adjust accordingly. The direction (positive or negative value) of the pump speed is adjusted to increase or decrease the pump speed, thereby offsetting the pressure rise and fall caused by the increase in pipeline resistance, thus compensating for pressure changes in advance.
[0077] The water meter detection system provided in this application embodiment can further improve the stability of water meter detection by setting up a flow meter and a water pump, and adjusting the speed of the water pump according to the change in the flow data of the flow meter to offset pressure fluctuations.
[0078] In one embodiment, the water pump 320 also includes an acceleration sensor.
[0079] In the vibration feedforward aspect of the "feedforward-feedback verification and anti-interference" method, the control unit can acquire the vibration signal detected by the accelerometer and convert the vibration signal into a pressure compensation quantity after filtering. And based on pressure compensation amount For the control of water pressure Make corrections.
[0080] Specifically, the control unit can compensate for the pressure. Superimposed on the outlet pressure control amount As shown in the following formula: in, For the first The output water pressure control quantity before correction for each control cycle; For the first The change in flow data over a control cycle; For the first Pressure compensation amount per control cycle; , These are the feedforward coefficients, determined through offline calibration.
[0081] The water meter detection system provided in this application embodiment can further improve the stability of water meter detection by setting an acceleration sensor for the water pump and determining the pressure compensation amount based on the acceleration data of the speed sensor to correct the outlet pressure control amount.
[0082] like Figure 4 As shown, in one embodiment, the water meter detection system provided in this application may further include at least one of the following: The first temperature sensor 410 is installed in the water tank 110; The second temperature sensor 420 is disposed in the sixth pipe C6 and located on at least one side of at least one water meter 170 to be tested.
[0083] Understandably, by setting the first temperature sensor 410 and / or the second temperature sensor 420, the water meter detection system can detect the water flow temperature at various key locations, thereby further providing a basis for the stability of the water meter detection.
[0084] Specifically, based on this, the water meter detection system can achieve the function of enhanced feedback immunity.
[0085] For example, the control unit can incorporate an extended state observer model to estimate unmodeled dynamics (such as pipe leaks, water temperature changes, etc.) and unknown disturbances in real time. and in the control of water pressure Direct compensation: in, For the first The output water pressure control quantity before correction for each control cycle; For the first Unknown disturbances in each control cycle.
[0086] The water meter detection system provided in this application embodiment can further improve the stability of water meter detection by setting a first temperature sensor and / or a second temperature sensor.
[0087] like Figure 5 As shown, in one embodiment, the water meter detection system provided in this application may further include: The booster cylinder 510 is connected to the sixth pipe C6, and the connection is located between at least one water meter to be tested 170 and the second inlet valve 150.
[0088] Understandably, the booster cylinder 510 can pressurize the water flow used for water meter testing, i.e., the water flow flowing into the sixth pipe C6, thereby meeting the high-pressure testing requirements.
[0089] like Figure 6 As shown, in one embodiment, the water meter detection system provided in this application may further include: Pressure relief device 610 is connected to the sixth pipe C6.
[0090] Understandably, the pressure relief device 61 can be activated when the pressure in the sixth pipe C6 exceeds the limit, thereby ensuring the safety of the water meter detection system.
[0091] It should be noted that, in addition to the components mentioned above, the water meter detection system provided in this application embodiment can also have various subsequent structures set after at least one water meter 170 to be tested in the sixth pipe C6 to expand the functionality of the system.
[0092] For example, a weighing unit can be set up to determine the weight of water used by the water meter. Furthermore, the weighing unit may also include a drain valve for discharging the water contained within the weighing unit as needed.
[0093] The above are merely examples for subsequent structures and are not intended to limit the specific uses / functions of subsequent structures. The embodiments of this application do not impose any specific limitations on them.
[0094] Based on the water meter testing systems provided in the above embodiments, this application also provides a water meter testing method. For example... Figure 7 As shown, the water meter testing method may include: Step 710: Control the water tank, the first inlet valve, and the second inlet valve to open, and control the static flow stabilizer to supply water, so as to determine the first measurement value of at least one water meter to be tested; Step 720: Close the water tank and the first inlet valve, open the second inlet valve, and control the static flow stabilizer to release water at the first flow rate to determine the second measurement value of at least one water meter to be tested; Step 730: Control the water tank and the first inlet valve to close, control the second inlet valve to open, and control the static flow stabilizer to release water at a second flow rate different from the first flow rate, so as to determine the third measurement value of at least one water meter to be tested; Step 740: Determine the measurement result of at least one water meter to be tested based on the first measurement value, the second measurement value, and the third measurement value.
[0095] It should be noted that the execution entity of the water meter detection method provided in this application embodiment can be the control unit of the water meter detection system. The control unit can be specifically implemented by, for example, an MCU, a host computer, or a PLC, and is used to control the operation of each component of the water meter detection system.
[0096] The specific implementation and corresponding technical effects of the water meter detection method provided in this application can be referred to the above-described embodiments of the water meter detection system, and will not be repeated below.
[0097] In one embodiment, the method further includes: Obtain the actual outlet flow velocity of the staged flow stabilizer and the actual outlet pressure of the pressure stabilizing tank; The outlet flow rate error is determined based on the actual outlet flow rate and the target outlet flow rate, and the outlet pressure error is determined based on the actual outlet pressure and the target outlet pressure. The proportional-integral-differential algorithm is used to calculate the outlet flow velocity error and the outlet pressure error, as well as the constraints on the outlet flow velocity control quantity and the outlet pressure control quantity, to obtain the outlet flow velocity control quantity and the outlet pressure control quantity. The outlet flow rate of the staged flow stabilizer is adjusted based on the outlet flow rate control amount, and the outlet pressure of the pressure stabilizing tank is adjusted based on the outlet pressure control amount.
[0098] In one embodiment, the method further includes: Obtain flow data from the flow meter; Adjust the pump speed based on the changes in the flow rate data.
[0099] In one embodiment, the method further includes: Acquire acceleration data from the accelerometer; The pressure compensation amount is determined based on the acceleration data; The outlet pressure control value is corrected based on the pressure compensation amount.
[0100] The water meter testing device provided by the present invention will be described below. The water meter testing device described below can be referred to in correspondence with the water meter testing method described above, and can achieve the same technical effect. It will not be repeated here.
[0101] Figure 8 This is a structural schematic diagram of the water meter testing device provided in this application. Figure 8 As shown, the device may include: The first measurement module 810 is used to control the opening of the water tank, the first inlet valve, and the second inlet valve, and to control the water intake of the static flow stabilizer, so as to determine the first measurement value of at least one water meter to be tested. The second measurement module 820 is used to control the water tank and the first inlet valve to close, control the second inlet valve to open, and control the static flow stabilizer to release water at a first flow rate, so as to determine the second measurement value of the at least one water meter to be tested; The third measurement module 830 is used to control the water tank and the first inlet valve to close, control the second inlet valve to open, and control the static flow stabilizer to release water at a second flow rate different from the first flow rate, so as to determine the third measurement value of the at least one water meter to be tested. Analysis module 840 is used to determine the measurement results of the at least one water meter to be tested based on the first measurement value, the second measurement value, and the third measurement value.
[0102] In one embodiment, the device further includes a control module (not shown) for: Obtain the actual outlet flow velocity of the staged flow stabilizer and the actual outlet pressure of the pressure stabilizing tank; The outlet flow rate error is determined based on the actual outlet flow rate and the target outlet flow rate, and the outlet pressure error is determined based on the actual outlet pressure and the target outlet pressure. The proportional-integral-differential algorithm is used to calculate the outlet flow velocity error and the outlet pressure error, as well as the constraints on the outlet flow velocity control quantity and the outlet pressure control quantity, to obtain the outlet flow velocity control quantity and the outlet pressure control quantity. The outlet flow rate of the staged flow stabilizer is adjusted based on the outlet flow rate control amount, and the outlet pressure of the pressure stabilizing tank is adjusted based on the outlet pressure control amount.
[0103] In one embodiment, the control module is further configured to: Obtain flow data from the flow meter; Adjust the pump speed based on the changes in the flow rate data.
[0104] In one embodiment, the control module is further configured to: Acquire acceleration data from the accelerometer; The pressure compensation amount is determined based on the acceleration data; The outlet pressure control value is corrected based on the pressure compensation amount.
[0105] Figure 9 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 9 As shown, the electronic device may include: a processor 910, a communications interface 920, a memory 930, and a communication bus 940, wherein the processor 910, the communications interface 920, and the memory 930 communicate with each other via the communication bus 940. The processor 910 can call logical instructions in the memory 930 to execute the methods described in any of the above embodiments, such as including: The water tank, the first inlet valve, and the second inlet valve are opened, and the static flow stabilizer is controlled to supply water, so as to determine the first measurement value of at least one water meter to be tested; The water tank and the first inlet valve are closed, the second inlet valve is opened, and the static flow stabilizer is controlled to release water at a first flow rate to determine the second measurement value of the at least one water meter to be tested; The water tank and the first inlet valve are closed, the second inlet valve is opened, and the static flow stabilizer is controlled to release water at a second flow rate different from the first flow rate, in order to determine the third measurement value of the at least one water meter to be tested; The measurement results of the at least one water meter to be tested are determined based on the first measurement value, the second measurement value, and the third measurement value.
[0106] Furthermore, the logical instructions in the aforementioned memory 930 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0107] On the other hand, this application also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer is able to perform the methods described in any of the above embodiments, such as including: The water tank, the first inlet valve, and the second inlet valve are opened, and the static flow stabilizer is controlled to supply water, so as to determine the first measurement value of at least one water meter to be tested; The water tank and the first inlet valve are closed, the second inlet valve is opened, and the static flow stabilizer is controlled to release water at a first flow rate to determine the second measurement value of the at least one water meter to be tested; The water tank and the first inlet valve are closed, the second inlet valve is opened, and the static flow stabilizer is controlled to release water at a second flow rate different from the first flow rate, in order to determine the third measurement value of the at least one water meter to be tested; The measurement results of the at least one water meter to be tested are determined based on the first measurement value, the second measurement value, and the third measurement value.
[0108] In another aspect, this application also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform the methods described in any of the above embodiments, for example including: The water tank, the first inlet valve, and the second inlet valve are opened, and the static flow stabilizer is controlled to supply water, so as to determine the first measurement value of at least one water meter to be tested; The water tank and the first inlet valve are closed, the second inlet valve is opened, and the static flow stabilizer is controlled to release water at a first flow rate to determine the second measurement value of the at least one water meter to be tested; The water tank and the first inlet valve are closed, the second inlet valve is opened, and the static flow stabilizer is controlled to release water at a second flow rate different from the first flow rate, in order to determine the third measurement value of the at least one water meter to be tested; The measurement results of the at least one water meter to be tested are determined based on the first measurement value, the second measurement value, and the third measurement value.
[0109] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0110] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0111] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A water meter detection system, characterized in that, include: Water tank; A graded flow stabilizer is connected to the water tank via a first pipe; The pressure stabilizing tank is connected to the staged flow stabilizer via a second pipe; The first inlet valve is connected to the pressure stabilizing tank via a third pipe; The second inlet valve is connected to the first inlet valve via a fourth pipe; A static current stabilizer is connected to the fourth pipe via a fifth pipe; At least one water meter to be tested is installed on the sixth pipe, which is connected to the second inlet valve.
2. The water meter detection system according to claim 1, characterized in that, The outlet of the graded flow stabilizer is equipped with a flow velocity sensor, and the pressure stabilizing tank is equipped with a differential pressure transmitter.
3. The water meter detection system according to claim 2, characterized in that, Also includes: A flow meter is installed in the sixth pipe and located after the at least one water meter to be tested; A water pump is also installed between the water tank and the pressure stabilizing tank.
4. The water meter detection system according to claim 3, characterized in that, The water pump includes an acceleration sensor.
5. A water meter testing method, characterized in that, include: The water tank, the first inlet valve, and the second inlet valve are opened, and the static flow stabilizer is controlled to supply water, so as to determine the first measurement value of at least one water meter to be tested; The water tank and the first inlet valve are closed, the second inlet valve is opened, and the static flow stabilizer is controlled to release water at a first flow rate to determine the second measurement value of the at least one water meter to be tested; The water tank and the first inlet valve are closed, the second inlet valve is opened, and the static flow stabilizer is controlled to release water at a second flow rate different from the first flow rate, in order to determine the third measurement value of the at least one water meter to be tested; The measurement results of the at least one water meter to be tested are determined based on the first measurement value, the second measurement value, and the third measurement value.
6. The water meter testing method according to claim 5, characterized in that, The method further includes: Obtain the actual outlet flow velocity of the staged flow stabilizer and the actual outlet pressure of the pressure stabilizing tank; The outlet flow rate error is determined based on the actual outlet flow rate and the target outlet flow rate, and the outlet pressure error is determined based on the actual outlet pressure and the target outlet pressure. The proportional-integral-differential algorithm is used to calculate the outlet flow velocity error and the outlet pressure error, as well as the constraints on the outlet flow velocity control quantity and the outlet pressure control quantity, to obtain the outlet flow velocity control quantity and the outlet pressure control quantity. The outlet flow rate of the staged flow stabilizer is adjusted based on the outlet flow rate control amount, and the outlet pressure of the pressure stabilizing tank is adjusted based on the outlet pressure control amount.
7. The water meter testing method according to claim 6, characterized in that, The method further includes: Obtain flow data from the flow meter; Adjust the pump speed based on the changes in the flow rate data.
8. The water meter testing method according to claim 7, characterized in that, The method further includes: Acquire acceleration data from the accelerometer; The pressure compensation amount is determined based on the acceleration data; The outlet pressure control value is corrected based on the pressure compensation amount.
9. A water meter testing device, characterized in that, include: The first measurement module is used to control the opening of the water tank, the first inlet valve, and the second inlet valve, and to control the water intake of the static flow stabilizer, so as to determine the first measurement value of at least one water meter to be tested. The second measurement module is used to control the water tank and the first inlet valve to close, control the second inlet valve to open, and control the static flow stabilizer to release water at a first flow rate, so as to determine the second measurement value of the at least one water meter to be tested; The third measurement module is used to control the water tank and the first inlet valve to close, control the second inlet valve to open, and control the static flow stabilizer to release water at a second flow rate different from the first flow rate, so as to determine the third measurement value of the at least one water meter to be tested. An analysis module is used to determine the measurement results of the at least one water meter to be tested based on the first measurement value, the second measurement value, and the third measurement value.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the water meter detection method as described in any one of claims 5 to 8.