A reservoir water level automatic control method and system

By setting up a butterfly valve in the reservoir and automatically adjusting the opening degree using the estimated model, the problems of data error and refined control in traditional water level adjustment methods are solved, and more accurate and efficient water level adjustment is achieved, extending the equipment life.

CN118732721BActive Publication Date: 2024-11-26SHENZHEN RONGHENG IND GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411235493.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-11-26
Estimated Expiration
2044-09-04

AI Technical Summary

Technical Problem

Traditional reservoir water level adjustment methods rely on water level detection and are susceptible to environmental factors, resulting in measurement data errors and difficult to achieve refined flow control. Especially when rapid response or fine-tuning of water level is required, the adjustment is not accurate enough.

Method used

The automatic water level control method of reservoir is adopted. By setting butterfly valves at the inlet and outlet of the reservoir, the pre-trained butterfly valve opening prediction model is used to automatically adjust the butterfly valve opening according to the initial and real-time pressure values, so as to realize the bidirectional flow adjustment of the reservoir water level and real-time real-time adjust.

Benefits of technology

It improves the accuracy of water level adjustment and refined control capabilities, reduces the wear and maintenance costs of butterfly valve equipment, and extends the service life of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118732721B_ABST
    Figure CN118732721B_ABST
Patent Text Reader

Abstract

The embodiment of the present application relates to the technical field of water level control, and discloses a reservoir water level automatic control method and system, which first obtains a water level automatic adjustment control instruction, and then obtains the initial pressure values ​​of the reservoir water inlet and the reservoir water outlet based on the water level automatic adjustment control instruction; then the initial pressure values ​​of the reservoir water inlet and the reservoir water outlet are input into a pre-trained butterfly valve opening estimation model to obtain the initial opening values ​​of the first butterfly valve and the second butterfly valve; then, based on the initial opening values ​​of the first butterfly valve and the second butterfly valve, the first butterfly valve and the second butterfly valve are controlled to open to perform two-way flow regulation of the reservoir water level; finally, based on the real-time pressure values ​​of the reservoir water inlet and the reservoir water outlet, the opening value of the target butterfly valve is adjusted to perform real-time regulation and control of the reservoir water level, thereby realizing refined automatic regulation of the reservoir water level, which is beneficial to improving the accuracy of water level regulation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of water level control, and in particular to a reservoir water level automatic control method and system. Background Art

[0002] In reservoir management, water level regulation is an important link to ensure the effective use of water resources, flood control safety, and meet the needs of power generation, irrigation, etc. Traditionally, the water level regulation of reservoirs mainly relies on the monitoring results of water level detection instruments, and controls the opening and closing of equipment such as water inlet gates and flood discharge gates through manual judgment or preset automated programs to achieve the rise or fall of water levels. However, this method of direct regulation based on water level detection has certain disadvantages. First, water level detection instruments may be affected by environmental factors such as wind and waves, floating objects, etc., resulting in errors in measurement data, which in turn affects the accuracy of water level regulation. Secondly, even if the data is accurate, it is difficult to achieve refined flow control by simply relying on water level changes as the basis for regulation, especially when rapid response or fine-tuning of water levels is required. Summary of the invention

[0003] The main purpose of the present invention is to provide a reservoir water level automatic control method and system, aiming to solve the technical problem that refined water level control cannot be achieved in the prior art.

[0004] To achieve the above objectives, in a first aspect, an embodiment of the present application provides a reservoir water level automatic control method, which is applied to a water level control system, wherein the water level control system includes a first butterfly valve provided at a reservoir water inlet and a second butterfly valve provided at a reservoir water outlet, and the method includes:

[0005] Obtaining a water level automatic regulation control instruction, wherein the water level automatic regulation control instruction is used to instruct the reservoir water level to perform two-way flow automatic regulation control;

[0006] Acquiring initial pressure values ​​of a reservoir inlet and a reservoir outlet based on the water level automatic adjustment control instruction;

[0007] Inputting the initial pressure values ​​of the reservoir water inlet and the reservoir water outlet into the pre-trained butterfly valve opening estimation model to obtain the initial opening values ​​of the first butterfly valve and the second butterfly valve;

[0008] Based on the initial opening values ​​of the first butterfly valve and the second butterfly valve, the first butterfly valve and the second butterfly valve are controlled to open to adjust the water level of the reservoir in both directions, and the real-time pressure values ​​of the reservoir inlet and the reservoir outlet are monitored in real time during the water level adjustment process;

[0009] The opening value of the target butterfly valve is adjusted based on the real-time pressure values ​​of the reservoir inlet and the reservoir outlet to perform real-time regulation and control of the reservoir water level. The target butterfly valve is one or both of the first butterfly valve and the second butterfly valve.

[0010] In a possible implementation, the water level control system further includes a first water pressure sensor provided at the water inlet of the reservoir and a second water pressure sensor provided at the water outlet of the reservoir, and the initial pressure values ​​of the water inlet and the water outlet of the reservoir are obtained based on the water level automatic adjustment control instruction, including:

[0011] Obtaining a first initial pressure value based on the sensing data of the first water pressure sensor, and obtaining a second initial pressure value based on the sensing data of the second water pressure sensor;

[0012] Correcting the first initial pressure value according to the water turbidity at the reservoir inlet to obtain an initial pressure value at the reservoir inlet;

[0013] The second initial pressure value is corrected according to the water turbidity at the reservoir outlet to obtain the initial pressure value of the reservoir outlet.

[0014] In a possible implementation, the inputting the initial pressure values ​​of the reservoir inlet and the reservoir outlet into a pre-trained butterfly valve opening estimation model to obtain the initial opening values ​​of the first butterfly valve and the second butterfly valve includes:

[0015] A butterfly valve opening estimation model is trained based on a target water inlet flow rate of the reservoir inlet to obtain a first mapping curve model, wherein the first mapping curve model is a mapping relationship curve between the first butterfly valve opening and the reservoir inlet pressure;

[0016] A butterfly valve opening estimation model is trained based on a target water flow rate at the reservoir outlet to obtain a second mapping curve model, wherein the second mapping curve model is a mapping relationship curve between the second butterfly valve opening and the reservoir outlet pressure;

[0017] The initial pressure value of the reservoir water inlet is input into a pre-trained first mapping curve model to obtain an initial opening value of the first butterfly valve, and the initial pressure value of the reservoir water outlet is input into a pre-trained second mapping curve model to obtain an initial opening value of the second butterfly valve.

[0018] In a possible implementation, the controlling the first butterfly valve and the second butterfly valve to open based on the initial opening values ​​of the first butterfly valve and the second butterfly valve to perform bidirectional flow regulation of the reservoir water level includes:

[0019] Determining whether the initial opening value of the first butterfly valve is greater than a preset opening value;

[0020] When the initial opening value of the first butterfly valve is greater than a preset opening value, when the real-time opening value of the first butterfly valve reaches a preset ratio of the initial opening value, the drive is closed so that the first butterfly valve automatically moves to the initial opening value through inertia; and / or,

[0021] Determining whether the initial opening value of the second butterfly valve is greater than a preset opening value;

[0022] When the initial opening value of the second butterfly valve is greater than the preset opening value, the drive is closed when the real-time opening value of the second butterfly valve reaches the preset ratio of the initial opening value to automatically open the second butterfly valve to the initial opening value through inertia.

[0023] In a possible implementation, adjusting the opening value of the target butterfly valve based on the real-time pressure values ​​of the reservoir inlet and the reservoir outlet to perform real-time regulation and control of the reservoir water level includes:

[0024] The real-time pressure values ​​of the reservoir inlet and the reservoir outlet are input into the pre-trained butterfly valve opening estimation model to obtain the target opening values ​​of the first butterfly valve and the second butterfly valve;

[0025] Determining the opening adjustment values ​​of the first butterfly valve and the second butterfly valve based on the initial opening values ​​and the target opening values ​​of the first butterfly valve and the second butterfly valve;

[0026] The opening value of the target butterfly valve is adjusted based on the opening adjustment values ​​of the first butterfly valve and the second butterfly valve to perform real-time adjustment and control of the reservoir water level.

[0027] In a possible implementation, the step of adjusting the opening value of the target butterfly valve based on the opening adjustment values ​​of the first butterfly valve and the second butterfly valve to perform real-time regulation and control of the reservoir water level includes:

[0028] Determining whether the butterfly valve system is overloaded according to the working parameters of the first butterfly valve and the second butterfly valve;

[0029] If both the first butterfly valve and the second butterfly valve in the butterfly valve system are overloaded, the first butterfly valve and the second butterfly valve are controlled to alternately serve as target butterfly valves to adjust the opening value;

[0030] If one of the first butterfly valve and the second butterfly valve is not overloaded and the other is overloaded, the butterfly valve that is not overloaded is controlled as the target butterfly valve to adjust the opening value;

[0031] If the first butterfly valve and the second butterfly valve are not overloaded, the butterfly valve with a lower load is controlled as the target butterfly valve to adjust the opening value, wherein the butterfly valve with a lower load is a butterfly valve with a shorter total action execution time.

[0032] In a possible implementation, the working parameters include the current temperature of the butterfly valve and the total execution time of the action, and judging whether the butterfly valve system is overloaded according to the working parameters of the first butterfly valve and the second butterfly valve includes:

[0033] determining whether the first butterfly valve and the second butterfly valve are overloaded according to current temperature values ​​of the first butterfly valve and the second butterfly valve;

[0034] When the current temperature values ​​of the first butterfly valve and the second butterfly valve are both greater than or equal to the temperature threshold, it is determined that the first butterfly valve and the second butterfly valve are both overloaded; or,

[0035] Determining whether the first butterfly valve and the second butterfly valve are overloaded according to the total execution time of the first butterfly valve and the second butterfly valve;

[0036] When the total execution time of the actions of the first butterfly valve and the second butterfly valve is greater than or equal to the preset time value, it is determined that the first butterfly valve and the second butterfly valve are both overloaded.

[0037] In a possible implementation, the controlling the first butterfly valve and the second butterfly valve to alternately serve as target butterfly valves to adjust the opening value includes:

[0038] Control the first butterfly valve and the second butterfly valve to alternately serve as the target butterfly valves to adjust the opening value at a preset interval; or,

[0039] The first butterfly valve and the second butterfly valve are controlled to perform opening value adjustment alternately with a preset execution opening value as the target butterfly valve.

[0040] In a possible implementation, obtaining a water level automatic adjustment control instruction includes:

[0041] Obtain the current water level of the reservoir and the water flow parameters of the reservoir in real time;

[0042] When the current water level of the reservoir is lower than the minimum water level warning value and the water fluidity parameter is lower than the fluidity parameter threshold, the water level automatic adjustment control instruction is triggered.

[0043] In a second aspect, an embodiment of the present application provides a water level control system, comprising a memory and a processor, wherein the memory is used to store program codes, and the processor is used to call the program codes to execute the method described in the first aspect.

[0044] Different from the prior art, the reservoir water level automatic control method provided in the embodiment of the present application first obtains a water level automatic adjustment control instruction, and then obtains the initial pressure values ​​of the reservoir water inlet and the reservoir water outlet based on the water level automatic adjustment control instruction; then the initial pressure values ​​of the reservoir water inlet and the reservoir water outlet are input into a pre-trained butterfly valve opening estimation model to obtain the initial opening values ​​of the first butterfly valve and the second butterfly valve; then, based on the initial opening values ​​of the first butterfly valve and the second butterfly valve, the first butterfly valve and the second butterfly valve are controlled to open to perform bidirectional flow regulation of the reservoir water level, and And during the water level regulation process, the real-time pressure values ​​of the reservoir inlet and the reservoir outlet are monitored in real time; finally, the opening value of the target butterfly valve is adjusted based on the real-time pressure values ​​of the reservoir inlet and the reservoir outlet to perform real-time regulation and control of the reservoir water level; that is, first, the initial opening value of the corresponding butterfly valve is determined according to the initial pressure values ​​of the reservoir inlet and the reservoir outlet, and then the opening of the butterfly valve is automatically adjusted according to the real-time pressure values ​​of the reservoir inlet and the reservoir outlet, thereby realizing refined automatic regulation of the reservoir water level, which is beneficial to improving the accuracy of water level regulation. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0046] Figure 1 This is a schematic diagram of the structure of a water level control system and a reservoir in some embodiments of the present application;

[0047] Figure 2 This is a schematic flow chart of a reservoir water level automatic control method in some embodiments of the present application;

[0048] Figure 3 This is a schematic diagram of a butterfly valve opening estimation model curve in some embodiments of the present application;

[0049] Figure 4 This is a schematic diagram of the hardware structure of the water level control system in some embodiments of the present application.

[0050] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0053] In addition, the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, "and / or" in the full text includes three solutions. Taking A and / or B as an example, it includes technical solution A, technical solution B, and technical solution that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0054] In reservoir management, water level regulation is an important link to ensure the effective use of water resources, flood control safety, and meet the needs of power generation, irrigation, etc. Traditionally, the water level regulation of reservoirs mainly relies on the monitoring results of water level detection instruments, and controls the opening and closing of equipment such as water inlet gates and flood discharge gates through manual judgment or preset automated programs to achieve the rise or fall of water levels. However, this method of direct regulation based on water level detection has certain disadvantages. First, water level detection instruments may be affected by environmental factors such as wind and waves, floating objects, etc., resulting in errors in measurement data, which in turn affects the accuracy of water level regulation. Secondly, even if the data is accurate, it is difficult to achieve refined flow control by simply relying on water level changes as the basis for regulation, especially when rapid response or fine-tuning of water levels is required.

[0055] In view of the above problems, this application proposes a reservoir water level automatic control method, which is applied to the water level control system, such as Figure 1As shown, a water level control system is provided in the reservoir SK, and the water level control system includes a butterfly valve system and a sensor system. The butterfly valve system includes a first butterfly valve D1 provided at the water inlet of the reservoir and a second butterfly valve D2 provided at the water outlet of the reservoir. The sensor system includes a first water pressure sensor (not shown) provided at the water inlet of the reservoir and a second water pressure sensor (not shown) provided at the water outlet of the reservoir. The first water pressure sensor is configured to sense the water pressure at the water inlet of the reservoir, and the second water pressure sensor is configured to sense the water pressure at the water outlet of the reservoir. In order to reduce the influence of water flow on the sensing data of the water pressure sensor, the first water pressure sensor and the second water pressure sensor are both provided on a non-water flow path.

[0056] The overall idea of ​​the technical solution of the present application is: first, according to the target inlet flow rate of the reservoir inlet and the target outlet flow rate of the reservoir outlet, the estimation models of the opening of the first butterfly valve and the second butterfly valve under different water level regulation speeds are trained respectively, and then the initial pressure values ​​of the reservoir inlet and the reservoir outlet are input into the corresponding estimation models to determine the initial opening value of the corresponding butterfly valve, and finally the butterfly valve is automatically opened in real time according to the real-time pressure values ​​of the reservoir inlet and the reservoir outlet, so as to realize the refined automatic regulation of the reservoir water level.

[0057] It should be noted that the flow difference between the inflow of the reservoir inlet and the outflow of the reservoir outlet can be used to characterize the water level regulation speed. When the inflow of the reservoir inlet is greater than the outflow of the reservoir outlet, it means that the reservoir water level is rising. For example, when the inflow of the reservoir inlet is greater than the outflow of the reservoir outlet and the difference is 100m³ / s, the rising speed of the reservoir water level can be calculated according to the area S of the reservoir (that is, the rising speed of the water level height is 100 / S); when the inflow of the reservoir inlet is less than the outflow of the reservoir outlet and the difference is 100m³ / s, the falling speed of the reservoir water level can also be calculated according to the area of ​​the reservoir (that is, the falling speed of the water level height is 100 / S); when the inflow of the reservoir inlet is equal to the outflow of the reservoir outlet, the reservoir water level does not change, but the water flow in the reservoir changes. In this way, users can train the estimation model of the butterfly valve opening under different water level adjustment speeds according to their needs, that is, they can train the estimation model of the butterfly valve opening under multiple target water inlet flow rates and target water outlet flow rates.

[0058] For example, Figure 3As shown, for the regulation demand of reservoir water level balance (water level neither rises nor falls), at this time, the inflow flow of the reservoir inlet is equal to the outflow flow of the reservoir outlet. Therefore, the butterfly valve opening prediction model can be trained under the premise that the flow difference is 0; in other examples, the butterfly valve opening prediction model can also be trained under the premise that the flow difference is not equal to 0. For example, the inventor of the present application maintains the reservoir inlet flow at 200m³ / s and the reservoir outlet flow at 300m³ / s, and obtains the relationship curve L1 of the opening of the first butterfly valve D1 with the change of the reservoir inlet pressure by controlling a single variable (water pressure, butterfly valve opening) for data collection and fitting training, and obtains the relationship curve L2 of the opening of the second butterfly valve D2 with the change of the reservoir outlet pressure by controlling a single variable (water pressure, butterfly valve opening) for data collection and fitting training. It can be understood that since the pressure at the reservoir inlet has a blocking effect on the water flow entering, therefore, as the pressure at the reservoir inlet increases, in order to ensure a constant inflow of water, it is necessary to increase the opening of the first butterfly valve D1; and the pressure at the reservoir outlet has a boosting effect on the outflow of water, therefore, as the pressure at the reservoir outlet increases, in order to ensure a constant outflow of water, it is necessary to reduce the opening of the first butterfly valve D2. In other words, the change relationship curve L1 is an upward change trend, and the change relationship curve L2 is a downward change trend. The opening of the butterfly valve refers to the proportion of the area of ​​the butterfly valve open to the total area.

[0059] like Figure 1-3 As shown, the following will mainly describe the specific steps of the reservoir water level automatic control method. It should be noted that although the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order from here. Figure 2 , the method comprises the following steps:

[0060] S100, obtaining a water level automatic regulation control instruction, wherein the water level automatic regulation control instruction is used to instruct the reservoir water level to perform two-way flow automatic regulation control;

[0061] It can be understood that water level regulation can be the regulation control of water level rise, the regulation control of water level drop, or the regulation control of water level balance. For water level rise, one-way flow control can be adopted, that is, the control measure of keeping the outlet butterfly valve closed and the inlet butterfly valve open, or two-way flow control can be adopted, that is, the control measure of keeping both the outlet butterfly valve and the inlet butterfly valve open; for water level drop, one-way flow control or two-way flow control can be adopted, and for the regulation control of water level balance, two-way flow control needs to be adopted, and the flow rates of the outlet and the inlet need to be kept consistent.

[0062] In one embodiment, the step S100: obtaining a water level automatic adjustment control instruction includes:

[0063] S110, obtaining the current water level of the reservoir and the water flow parameters of the reservoir in real time;

[0064] S120. When the current water level of the reservoir is lower than the minimum water level warning value and the water fluidity parameter is lower than the fluidity parameter threshold, triggering a water level automatic adjustment control instruction.

[0065] Specifically, the water fluidity parameter can be the water flow velocity in a local area of ​​the reservoir, such as the water flow velocity in the center of the reservoir. When it is detected that the current water level of the reservoir is lower than the minimum water level warning value and the water flow velocity in the center of the reservoir is lower than the flow velocity threshold, it means that two-way flow control is needed to activate the fluidity of the reservoir water body to meet water demand.

[0066] In other embodiments, bidirectional flow control may be performed based solely on water fluidity parameters. For example, when the reservoir water level meets the requirements but the reservoir water flow rate cannot meet the demand, bidirectional flow control may be used to activate the fluidity of the reservoir water body to meet the water demand.

[0067] S200, obtaining initial pressure values ​​of a reservoir water inlet and a reservoir water outlet based on the water level automatic adjustment control instruction;

[0068] It can be understood that the pressure at the reservoir inlet has a blocking effect on the water flow entering the reservoir, and the pressure at the reservoir outlet has a boosting effect on the water flow out of the reservoir. Therefore, when the inlet flow rate is constant, the opening of the first butterfly valve at the inlet is related to the inlet pressure, and when the inlet pressure changes, in order to maintain the stability of the inlet flow rate, the opening value of the first butterfly valve must also change accordingly; similarly, when the outlet flow rate is constant, the opening of the second butterfly valve at the outlet is related to the outlet pressure, and when the outlet pressure changes, in order to maintain the stability of the outlet flow rate, the opening of the second butterfly valve must also change accordingly.

[0069] Therefore, under the premise of setting the water inlet flow rate and the water outlet flow rate, in order to obtain the required opening values ​​of the first butterfly valve and the second butterfly valve, it is first necessary to obtain the pressure values ​​of the reservoir inlet and the reservoir outlet. The pressure value of the water body is affected by the turbidity of the water body. The greater the turbidity of the water body, the greater the pressure value of the water body.

[0070] Based on this, in one embodiment, the step S200: obtaining the initial pressure values ​​of the reservoir inlet and the reservoir outlet based on the water level automatic adjustment control instruction includes:

[0071] Obtaining a first initial pressure value based on the sensing data of the first water pressure sensor, and obtaining a second initial pressure value based on the sensing data of the second water pressure sensor;

[0072] Correcting the first initial pressure value according to the water turbidity at the reservoir inlet to obtain an initial pressure value at the reservoir inlet;

[0073] The second initial pressure value is corrected according to the water turbidity at the reservoir outlet to obtain the initial pressure value of the reservoir outlet.

[0074] Specifically, firstly, a first initial pressure value is obtained according to the sensing data of the first water pressure sensor, and then the first initial pressure value is corrected according to the water turbidity of the reservoir water inlet to obtain the initial pressure value of the reservoir water inlet. When the turbidity of the water body is large, the actual pressure value (average pressure value) of the water body will be larger than the pressure sensing value (because the sensor only senses data at a fixed position). Therefore, when the water turbidity of the reservoir water inlet is greater than the turbidity threshold, the first initial pressure value is positively corrected to obtain the reservoir water inlet. The initial pressure value of the water outlet, that is, the initial pressure value of the reservoir water inlet is obtained by adding the correction value to the first initial pressure value; when the water turbidity of the reservoir outlet is greater than the turbidity threshold, the second initial pressure value is positively corrected to obtain the initial pressure value of the reservoir outlet, that is, the correction value is added to the second initial pressure value to obtain the initial pressure value of the reservoir outlet; in this way, the accuracy of obtaining the initial pressure values ​​of the reservoir inlet and the reservoir outlet can be improved, providing accurate data support for the subsequent opening adjustment of the butterfly valve.

[0075] S300, inputting the initial pressure values ​​of the reservoir water inlet and the reservoir water outlet into a pre-trained butterfly valve opening estimation model to obtain the initial opening values ​​of the first butterfly valve and the second butterfly valve;

[0076] In one embodiment, the step S300: inputting the initial pressure values ​​of the reservoir inlet and the reservoir outlet into a pre-trained butterfly valve opening estimation model to obtain the initial opening values ​​of the first butterfly valve and the second butterfly valve includes:

[0077] S310, training a butterfly valve opening estimation model based on a target water inlet flow rate at a reservoir water inlet to obtain a first mapping curve model, wherein the first mapping curve model is a mapping relationship curve between a first butterfly valve opening and a pressure at a reservoir water inlet;

[0078] S320, training a butterfly valve opening estimation model based on a target water outlet flow rate of the reservoir outlet to obtain a second mapping curve model, where the second mapping curve model is a mapping relationship curve between the second butterfly valve opening and the reservoir outlet pressure;

[0079] S330, inputting the initial pressure value of the reservoir water inlet into a pre-trained first mapping curve model to obtain an initial opening value of the first butterfly valve, and inputting the initial pressure value of the reservoir water outlet into a pre-trained second mapping curve model to obtain an initial opening value of the second butterfly valve.

[0080] Specifically, a butterfly valve opening prediction model is first trained based on the target water inlet flow rate of the reservoir inlet to obtain a first mapping curve model, and a butterfly valve opening prediction model is trained based on the target water outlet flow rate of the reservoir outlet to obtain a second mapping curve model. Finally, the initial pressure value of the reservoir inlet is input into the pre-trained first mapping curve model to obtain the initial opening value of the first butterfly valve, and the initial pressure value of the reservoir outlet is input into the pre-trained second mapping curve model to obtain the initial opening value of the second butterfly valve.

[0081] It can be understood that when the water level regulation speed is determined, the flow difference between the inflow and outflow can be determined according to the reservoir area, and then the appropriate inflow and outflow can be selected according to the flow difference between the inflow and outflow and the flow threshold range of the butterfly valve to control the inflow control and outflow control of the butterfly valve, that is, select the target inflow and target outflow to perform inflow control and outflow control. When the water level regulation speed is determined, the adjustment change value of the water level can be calculated according to the adjustment time, and from reverse deduction, the target inflow and target outflow can be obtained after knowing the water level adjustment change value. After obtaining the target inflow and target outflow, the butterfly valve opening estimation model under the corresponding flow can be selected to estimate the butterfly valve opening.

[0082] For example, when the target water inlet flow rate is 200m³ / s and the target water outlet flow rate is 300m³ / s, the butterfly valve opening prediction model training under the corresponding flow state can be performed in advance, such as Figure 3 As shown, the inventor maintained the flow rate at the reservoir inlet at 200m³ / s and the flow rate at the reservoir outlet at 300m³ / s, and obtained the relationship curve L1 of the opening of the first butterfly valve D1 changing with the pressure at the reservoir inlet by controlling a single variable (water pressure, butterfly valve opening) for data collection and fitting training, and obtained the relationship curve L2 of the opening of the second butterfly valve D2 changing with the pressure at the reservoir outlet by controlling a single variable (water pressure, butterfly valve opening) for data collection and fitting training.

[0083] After obtaining the relationship curve L1 of the opening of the first butterfly valve D1 changing with the pressure of the reservoir inlet and the relationship curve L2 of the opening of the second butterfly valve D2 changing with the pressure of the reservoir outlet, the initial pressure value P1 of the reservoir inlet can be input into the pre-trained first mapping curve model L1 to obtain the initial opening value K1 of the first butterfly valve, and the initial pressure value P2 of the reservoir outlet can be input into the pre-trained second mapping curve model L2 to obtain the initial opening value K2 of the second butterfly valve.

[0084] S400, based on the initial opening values ​​of the first butterfly valve and the second butterfly valve, control the first butterfly valve and the second butterfly valve to open to perform bidirectional flow regulation of the reservoir water level, and monitor the real-time pressure values ​​of the reservoir inlet and the reservoir outlet in real time during the water level regulation process;

[0085] It is understandable that when the butterfly valve is controlled to open and the opening is large, a larger execution force or a longer execution time is required. In this case, if the control is stopped only when the actual opening of the butterfly valve reaches the opening requirement value (initial opening value), the butterfly valve will automatically increase the opening due to inertia, resulting in a certain deviation in the opening value, affecting the accuracy of water level control. Therefore, in one embodiment, the step S400: based on the initial opening values ​​of the first butterfly valve and the second butterfly valve, the first butterfly valve and the second butterfly valve are controlled to open to adjust the bidirectional flow of the reservoir water level, including:

[0086] S410, determining whether the initial opening value of the first butterfly valve is greater than a preset opening value;

[0087] S420, when the initial opening value of the first butterfly valve is greater than a preset opening value, when the real-time opening value of the first butterfly valve reaches a preset ratio of the initial opening value, the drive is turned off to allow the first butterfly valve to automatically open to the initial opening value through inertia; and / or

[0088] S430, determining whether the initial opening value of the second butterfly valve is greater than a preset opening value;

[0089] S440: When the initial opening value of the second butterfly valve is greater than the preset opening value, when the real-time opening value of the second butterfly valve reaches a preset ratio of the initial opening value, the drive is closed to allow the second butterfly valve to automatically open to the initial opening value through inertia.

[0090] Specifically, when it is determined that the initial opening value of the first butterfly valve is greater than the preset opening value, the drive is closed when the real-time opening value of the first butterfly valve reaches the preset ratio of the initial opening value (such as reaching 80% of the opening ratio) so that the first butterfly valve automatically executes to the initial opening value through inertia, so that not only can the energy waste caused by excessive opening or closing be avoided, but also the failure of water level control caused by excessive opening can be prevented. The control principle and strategy of the second butterfly valve are the same as those of the first butterfly valve, and will not be repeated here.

[0091] S500, adjusting the opening value of the target butterfly valve based on the real-time pressure values ​​of the reservoir inlet and the reservoir outlet to perform real-time regulation and control of the reservoir water level, the target butterfly valve being one or both of the first butterfly valve and the second butterfly valve.

[0092] It can be understood that when the pressure at the reservoir inlet and the reservoir outlet changes, in order to ensure that the target water inlet flow and the target water outlet flow remain unchanged, the opening of the first butterfly valve and the second butterfly valve needs to be adjusted in real time to achieve precise adjustment of the water level.

[0093] In one embodiment, the step S500: adjusting the opening value of the target butterfly valve based on the real-time pressure values ​​of the reservoir inlet and the reservoir outlet to perform real-time regulation and control of the reservoir water level includes:

[0094] S510, inputting the real-time pressure values ​​of the reservoir inlet and the reservoir outlet into the pre-trained butterfly valve opening estimation model to obtain the target opening values ​​of the first butterfly valve and the second butterfly valve;

[0095] S520, determining the opening adjustment values ​​of the first butterfly valve and the second butterfly valve based on the initial opening values ​​and target opening values ​​of the first butterfly valve and the second butterfly valve;

[0096] S530: Based on the opening adjustment values ​​of the first butterfly valve and the second butterfly valve, the opening value of the target butterfly valve is adjusted to perform real-time regulation and control of the reservoir water level.

[0097] Specifically, the real-time pressure value of the reservoir inlet can be input into the pre-trained first mapping curve model L1 to obtain the target opening value of the first butterfly valve, and the real-time pressure value of the reservoir outlet can be input into the pre-trained second mapping curve model L2 to obtain the target opening value of the second butterfly valve. The opening adjustment value of the first butterfly valve is then subtracted from the initial opening value of the first butterfly valve from the target opening value of the first butterfly valve. The opening adjustment value of the second butterfly valve can be obtained by the same calculation method. Then, according to the opening adjustment values ​​of the first butterfly valve and the second butterfly valve, the opening value of the target butterfly valve (both butterfly valves are adjusted at the same time) is adjusted to perform real-time regulation and control of the reservoir water level, so as to achieve real-time and precise regulation of the reservoir water level.

[0098] From the above, it can be seen that when the real-time pressure values ​​of the reservoir inlet and the reservoir outlet change, the opening values ​​of the first butterfly valve and the second butterfly valve need to be continuously adjusted, which will increase the wear of the two butterfly valve equipment. Therefore, in order to reduce the wear of the equipment and increase the service life of the butterfly valve equipment, you can choose to adjust the opening of one of the butterfly valves in real time to avoid the need for frequent execution of both butterfly valves and affect the service life of the butterfly valves.

[0099] In one embodiment, the step S530: adjusting the opening value of the target butterfly valve based on the opening adjustment values ​​of the first butterfly valve and the second butterfly valve to perform real-time regulation and control of the reservoir water level includes:

[0100] S531, judging whether the butterfly valve system is overloaded according to the working parameters of the first butterfly valve and the second butterfly valve;

[0101] S532: If both the first butterfly valve and the second butterfly valve in the butterfly valve system are overloaded, the first butterfly valve and the second butterfly valve are controlled to alternately serve as target butterfly valves to adjust the opening value;

[0102] S533: If one of the first butterfly valve and the second butterfly valve is not overloaded and the other is overloaded, the butterfly valve that is not overloaded is controlled as the target butterfly valve to adjust the opening value;

[0103] S534. If the first butterfly valve and the second butterfly valve are not overloaded, the butterfly valve with a lower load is controlled as the target butterfly valve to adjust the opening value, wherein the butterfly valve with a lower load is a butterfly valve with a shorter total action execution time.

[0104] Specifically, whether the butterfly valves are overloaded can be determined based on whether the current temperatures of the first butterfly valve and the second butterfly valve exceed the temperature threshold. When the current temperature of a butterfly valve exceeds the temperature threshold, it means that its action execution time is too long, resulting in a higher operating temperature, and it is already running overloaded. Whether each butterfly valve is overloaded can be determined independently by its current temperature value. Whether the butterfly valves are overloaded can also be determined based on whether the total action execution time of the first butterfly valve and the second butterfly valve exceeds the preset time. When the total action execution time of a butterfly valve exceeds the preset time value, it means that its action execution time is too long and it is already running overloaded. Whether each butterfly valve is overloaded can be determined independently by its total action execution time.

[0105] If both the first butterfly valve and the second butterfly valve are overloaded, if one or both butterfly valves are allowed to work continuously at this time, it will be detrimental to the life of the butterfly valves. Therefore, the first butterfly valve and the second butterfly valve can be controlled to alternately serve as the target butterfly valve for opening value adjustment. The first butterfly valve and the second butterfly valve can alternately perform opening adjustment at time intervals, for example, the first butterfly valve first performs opening adjustment for 5 minutes, and then the second butterfly valve performs opening adjustment for 5 minutes, and so on and so forth; the first butterfly valve and the second butterfly valve can alternately perform opening adjustment at opening value, for example, when the first butterfly valve performs opening adjustment cumulatively reaches a preset opening value, the second butterfly valve takes over to perform opening adjustment, and after the second butterfly valve performs opening adjustment cumulatively reaches a preset opening value, the first butterfly valve takes over to perform opening adjustment, and so on and so forth. If one of the first butterfly valve and the second butterfly valve is not overloaded and the other is overloaded, the butterfly valve that is not overloaded can be controlled as the target butterfly valve for opening value adjustment. The opening adjustment value of the target butterfly valve can be obtained by conversion calculation or approximate calculation. If the first butterfly valve and the second butterfly valve are not overloaded, the butterfly valve with a lower control load is used as the target butterfly valve for opening value adjustment. The opening adjustment value of the target butterfly valve can also be obtained through conversion calculation or approximate calculation. In this way, the original two butterfly valves need to be operated at the same time, but only one butterfly valve needs to be operated, which can reduce the execution frequency of the butterfly valve, extend the service life of the equipment, and reduce maintenance costs.

[0106] For example, if it is calculated that the first butterfly valve needs to increase its opening by 1% (increase water inflow), and the second butterfly valve needs to decrease its opening by 1% (reduce water outflow), if only the first butterfly valve is controlled for adjustment at this time, and the second butterfly valve is not adjusted (maintaining the original opening), therefore, the first butterfly valve can be obtained by an approximate calculation method, such as only controlling the first butterfly valve to increase its opening by 1.5%, so that the water level regulation can meet the needs under the double butterfly valve regulation.

[0107] Based on this, the reservoir water level automatic control method of the present application first determines the initial opening value of the corresponding butterfly valve according to the initial pressure values ​​of the reservoir inlet and the reservoir outlet, and then automatically adjusts the opening of the butterfly valve according to the real-time pressure values ​​of the reservoir inlet and the reservoir outlet, thereby realizing refined automatic adjustment of the reservoir water level, which is beneficial to improving the accuracy of water level regulation. When the butterfly valve automatically adjusts its opening, the original two butterfly valves that need to be executed simultaneously are converted into only one butterfly valve required to execute the action, which can reduce the execution frequency of the butterfly valve and extend the service life of the equipment.

[0108] The present application also provides a water level control system. Figure 4 , Figure 4 A schematic diagram of the hardware structure of a water level control system provided for some embodiments of the present application; comprising a memory 110 and a processor 120, wherein the memory 110 is used to store program codes, and the processor 120 is used to call the program codes to execute the method described above.

[0109] The processor 120 is used to provide computing and control capabilities to control the water level control system to perform corresponding tasks, for example, to control the water level control system to perform a reservoir water level automatic control method in any of the above method embodiments, the method comprising: obtaining a water level automatic adjustment control instruction, the water level automatic adjustment control instruction is used to instruct the reservoir water level to perform two-way flow automatic adjustment control; based on the water level automatic adjustment control instruction, obtaining the initial pressure values ​​of the reservoir water inlet and the reservoir water outlet; inputting the initial pressure values ​​of the reservoir water inlet and the reservoir water outlet into the water level control unit; The pre-trained butterfly valve opening estimation model is input to obtain the initial opening values ​​of the first butterfly valve and the second butterfly valve; based on the initial opening values ​​of the first butterfly valve and the second butterfly valve, the first butterfly valve and the second butterfly valve are controlled to open to perform two-way flow regulation of the reservoir water level, and the real-time pressure values ​​of the reservoir water inlet and the reservoir water outlet are monitored in real time during the water level regulation process; based on the real-time pressure values ​​of the reservoir water inlet and the reservoir water outlet, the opening value of the target butterfly valve is adjusted to perform real-time regulation and control of the reservoir water level, and the target butterfly valve is one of the first butterfly valve and the second butterfly valve.

[0110] The processor 120 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), a hardware chip, or any combination thereof; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0111] The memory 110, as a non-transient computer-readable storage medium, can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the reservoir water level automatic control method in the embodiment of the present application. The processor 120 can implement the reservoir water level automatic control method in any of the above method embodiments by running the non-transient software programs, instructions and modules stored in the memory 110.

[0112] Specifically, the memory 110 may include a volatile memory (VM), such as a random access memory (RAM); the memory 110 may also include a non-volatile memory (NVM), such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD) or other non-transitory solid-state storage device; the memory 110 may also include a combination of the above types of memory.

[0113] In summary, the water level control system of the present application adopts the technical solution of any one of the above-mentioned reservoir water level automatic control method embodiments, and therefore, has at least the beneficial effects brought by the technical solution of the above-mentioned embodiments, which will not be described one by one here.

[0114] The embodiment of the present application also provides a computer-readable storage medium, such as a memory including a program code, and the program code can be executed by a processor to complete the reservoir water level automatic control method in the above embodiment. For example, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CDROM), a magnetic tape, a floppy disk, and an optical data storage device.

[0115] The present application also provides a computer program product, which includes one or more program codes stored in a computer-readable storage medium. The processor of the water level control system reads the program code from the computer-readable storage medium, and the processor executes the program code to complete the steps of the reservoir water level automatic control method provided in the above embodiment.

[0116] A person skilled in the art will appreciate that all or part of the steps for implementing the above embodiments may be accomplished by hardware or by hardware associated with a program code, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0117] It should be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0118] Through the description of the above embodiments, it can be clearly understood by those skilled in the art that each embodiment can be implemented by means of software plus a general hardware platform, or by hardware. It can be understood by those skilled in the art that all or part of the processes in the above embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0119] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the inventive concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.

Claims

1. A reservoir water level automatic control method, applied to a water level control system, characterized in that: The water level control system comprises a first butterfly valve provided at a water inlet of the reservoir and a second butterfly valve provided at a water outlet of the reservoir, and the method comprises: Obtaining a water level automatic regulation control instruction, wherein the water level automatic regulation control instruction is used to instruct the reservoir water level to perform two-way flow automatic regulation control; Acquiring initial pressure values ​​of a reservoir inlet and a reservoir outlet based on the water level automatic adjustment control instruction; Inputting the initial pressure values ​​of the reservoir water inlet and the reservoir water outlet into the pre-trained butterfly valve opening estimation model to obtain the initial opening values ​​of the first butterfly valve and the second butterfly valve; Based on the initial opening values ​​of the first butterfly valve and the second butterfly valve, the first butterfly valve and the second butterfly valve are controlled to open to adjust the water level of the reservoir in both directions, and the real-time pressure values ​​of the reservoir inlet and the reservoir outlet are monitored in real time during the water level adjustment process; Based on the real-time pressure values ​​of the reservoir inlet and the reservoir outlet, the opening value of the target butterfly valve is adjusted to perform real-time regulation and control of the reservoir water level, and the target butterfly valve is one or both of the first butterfly valve and the second butterfly valve; The step of inputting the initial pressure values ​​of the reservoir water inlet and the reservoir water outlet into a pre-trained butterfly valve opening estimation model to obtain the initial opening values ​​of the first butterfly valve and the second butterfly valve includes: A butterfly valve opening estimation model is trained based on a target water inlet flow rate of the reservoir inlet to obtain a first mapping curve model, wherein the first mapping curve model is a mapping relationship curve between the first butterfly valve opening and the reservoir inlet pressure; A butterfly valve opening estimation model is trained based on a target water flow rate at the reservoir outlet to obtain a second mapping curve model, wherein the second mapping curve model is a mapping relationship curve between the second butterfly valve opening and the reservoir outlet pressure; The initial pressure value of the reservoir water inlet is input into a pre-trained first mapping curve model to obtain an initial opening value of the first butterfly valve, and the initial pressure value of the reservoir water outlet is input into a pre-trained second mapping curve model to obtain an initial opening value of the second butterfly valve.

2. The reservoir water level automatic control method according to claim 1, characterized in that: The water level control system further includes a first water pressure sensor provided at the water inlet of the reservoir and a second water pressure sensor provided at the water outlet of the reservoir. The initial pressure values ​​of the water inlet and the water outlet of the reservoir are obtained based on the water level automatic adjustment control instruction, including: Obtaining a first initial pressure value based on the sensing data of the first water pressure sensor, and obtaining a second initial pressure value based on the sensing data of the second water pressure sensor; Correcting the first initial pressure value according to the water turbidity at the reservoir inlet to obtain an initial pressure value at the reservoir inlet; The second initial pressure value is corrected according to the water turbidity at the reservoir outlet to obtain the initial pressure value of the reservoir outlet.

3. The reservoir water level automatic control method according to claim 1, characterized in that: The method of controlling the first butterfly valve and the second butterfly valve to open based on the initial opening values ​​of the first butterfly valve and the second butterfly valve to perform bidirectional flow regulation of the reservoir water level includes: Determining whether the initial opening value of the first butterfly valve is greater than a preset opening value; When the initial opening value of the first butterfly valve is greater than a preset opening value, when the real-time opening value of the first butterfly valve reaches a preset ratio of the initial opening value, the drive is turned off so that the first butterfly valve automatically moves to the initial opening value through inertia; and / or, Determining whether the initial opening value of the second butterfly valve is greater than a preset opening value; When the initial opening value of the second butterfly valve is greater than the preset opening value, the drive is closed when the real-time opening value of the second butterfly valve reaches the preset ratio of the initial opening value to automatically open the second butterfly valve to the initial opening value through inertia.

4. The reservoir water level automatic control method according to claim 1, characterized in that: The method of adjusting the opening value of the target butterfly valve based on the real-time pressure values ​​of the reservoir inlet and the reservoir outlet to perform real-time regulation and control of the reservoir water level includes: The real-time pressure values ​​of the reservoir inlet and the reservoir outlet are input into the pre-trained butterfly valve opening estimation model to obtain the target opening values ​​of the first butterfly valve and the second butterfly valve; Determining the opening adjustment values ​​of the first butterfly valve and the second butterfly valve based on the initial opening values ​​and the target opening values ​​of the first butterfly valve and the second butterfly valve; The opening value of the target butterfly valve is adjusted based on the opening adjustment values ​​of the first butterfly valve and the second butterfly valve to perform real-time adjustment and control of the reservoir water level.

5. The reservoir water level automatic control method according to claim 4, characterized in that: The method of adjusting the opening value of the target butterfly valve based on the opening adjustment values ​​of the first butterfly valve and the second butterfly valve to perform real-time regulation and control of the reservoir water level includes: Determining whether the butterfly valve system is overloaded according to the working parameters of the first butterfly valve and the second butterfly valve; If both the first butterfly valve and the second butterfly valve in the butterfly valve system are overloaded, the first butterfly valve and the second butterfly valve are controlled to alternately serve as target butterfly valves to adjust the opening value; If one of the first butterfly valve and the second butterfly valve is not overloaded and the other is overloaded, the butterfly valve that is not overloaded is controlled as the target butterfly valve to adjust the opening value; If the first butterfly valve and the second butterfly valve are not overloaded, the butterfly valve with a lower load is controlled as the target butterfly valve to adjust the opening value, wherein the butterfly valve with a lower load is a butterfly valve with a shorter total action execution time.

6. The reservoir water level automatic control method according to claim 5, characterized in that: The working parameters include the current temperature of the butterfly valve and the total duration of the action execution. The judging whether the butterfly valve system is overloaded according to the working parameters of the first butterfly valve and the second butterfly valve includes: determining whether the first butterfly valve and the second butterfly valve are overloaded according to current temperature values ​​of the first butterfly valve and the second butterfly valve; When the current temperature values ​​of the first butterfly valve and the second butterfly valve are both greater than or equal to the temperature threshold, it is determined that the first butterfly valve and the second butterfly valve are both overloaded; or, Determining whether the first butterfly valve and the second butterfly valve are overloaded according to the total execution time of the first butterfly valve and the second butterfly valve; When the total execution time of the actions of the first butterfly valve and the second butterfly valve is greater than or equal to the preset time value, it is determined that the first butterfly valve and the second butterfly valve are both overloaded.

7. The reservoir water level automatic control method according to claim 6, characterized in that: The controlling the first butterfly valve and the second butterfly valve to alternately serve as target butterfly valves to adjust the opening value includes: Control the first butterfly valve and the second butterfly valve to alternately serve as the target butterfly valves to adjust the opening value at a preset interval; or, The first butterfly valve and the second butterfly valve are controlled to perform opening value adjustment alternately with a preset execution opening value as the target butterfly valve.

8. The reservoir water level automatic control method according to claim 1, characterized in that: Obtain water level automatic adjustment control instructions, including: Obtain the current water level of the reservoir and the water flow parameters of the reservoir in real time; When the current water level of the reservoir is lower than the minimum water level warning value and the water fluidity parameter is lower than the fluidity parameter threshold, the water level automatic adjustment control instruction is triggered.

9. A water level control system, characterized in that: The method comprises a memory and a processor, wherein the memory is used to store program codes, and the processor is used to call the program codes to execute the method according to any one of claims 1 to 8.