A multi-boundary joint debugging and testing method and system for river engineering model

By monitoring and comparing the flow and water level data of the river model in real time, and using the incremental PID control algorithm to adjust the model parameters and the switching degree of the electric control valve, the problem of inaccurate simulation caused by static parameter settings in the existing technology is solved, and the model is improved. accuracy and adjustment precision.

CN118534760BActive Publication Date: 2024-10-08JIANGXI ACAD OF WATER RESOURCES (JIANGXI PROVINCE DAM SAFETY MANAGEMENT CENT JIANGXI PROVINCE WATER RESOURCES MANAGEMENT CENT)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411002281.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-10-08
Estimated Expiration
2044-07-25

AI Technical Summary

Technical Problem

The existing multi-boundary joint debugging and testing methods of river engineering models rely on static parameter settings and lack the ability to dynamically adjust real-time data, resulting in inaccurate simulation under complex or changing conditions, and the inability to effectively utilize the incremental PID control algorithm for real-time adjustment. Affect decision-making accuracy and engineering safety.

Method used

Adopting a model water supply verification method based on preset test requirements, through real-time monitoring of flow and water level data, comparing model predictions with actual data, calculating the difference and triggering optimization signaling to adjust model parameters, combined with the incremental PID control algorithm to adjust the electric adjustment in real time The degree of valve opening and closing ensures accurate control of flow and water level.

Benefits of technology

It realizes dynamic adjustment of model parameters based on real-time data, improves the accuracy and adjustment precision of the model under complex conditions, and ensures the accuracy of decision-making and engineering safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118534760B_ABST
    Figure CN118534760B_ABST
Patent Text Reader

Abstract

The present invention discloses a multi-boundary joint debugging and testing method and system for a river engineering model. The present invention generates a real-time chart of flow and water level by importing collected data; compares and analyzes the actually collected data with the data predicted by the model; if there is a deviation between the flow and water level predicted by the model and the actually collected data, further calculate the difference between the predicted flow and the collected flow, and the predicted water level and the collected water level to obtain the flow difference and the water level difference, and preset the maximum allowable values ​​of the flow difference and the water level difference; if the flow difference and the water level difference at a certain moment are greater than the corresponding preset maximum allowable values, an optimization signal is triggered and sent to a mobile terminal of a technician; the technician receives the triggered optimization signal and identifies the cause of the deviation, and adjusts the parameters of the model based on the identified cause of the deviation, so that the model parameters can be dynamically adjusted according to real-time data.
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 conservancy engineering, and in particular to a multi-boundary joint debugging and testing method and system for a river engineering model. Background Art

[0002] In the field of water conservancy engineering technology, the simulation and testing of river engineering models are important means to understand and predict the dynamic behavior of rivers. Traditional river engineering model testing methods often have certain limitations, such as technical limitations in real-time monitoring and data analysis. These limitations may lead to deviations between model predictions and actual conditions, affecting the accuracy of decision-making and the safety of the project.

[0003] However, the multi-boundary joint debugging and testing method of river engineering model in the prior art still has the following shortcomings:

[0004] Reliance on static parameter settings and lack of the ability to dynamically adjust model parameters based on real-time data limits the accuracy of the model in simulating complex or changing conditions;

[0005] At the same time, it cannot be combined with an incremental PID control algorithm to realize real-time collection, analysis and processing of electromagnetic flowmeter data, thereby adjusting the switching degree of the electric control valve in real time, and the accuracy of the adjustment cannot be guaranteed.

[0006] Therefore, a multi-boundary joint debugging and testing method and system for river engineering models are proposed. Summary of the invention

[0007] In view of this, the present invention provides a multi-boundary joint debugging and testing method and system for a river engineering model to solve the problems raised by the above background technology.

[0008] The purpose of the present invention can be achieved by the following technical solution: A multi-boundary joint debugging and joint testing method for a river engineering model, comprising:

[0009] Model water supply verification: Based on the preset test requirements, verify the accuracy of the model test and adjust the model parameters according to the verification results;

[0010] Specifically:

[0011] The maximum flood flow in the application area is obtained as the maximum flow. According to the flow scale, the obtained maximum flow is multiplied by the preset multiple x; x=1.2, and the technicians can adjust and optimize it according to the actual application situation; the maximum flow required for the model inlet is obtained; to ensure that the model can simulate the water supply demand under extreme conditions; that is, if the measured maximum flow is 1000 m³ / h, the maximum flow of the model test is 1200 m³ / h;

[0012] Set the operating parameters of each group of water pumps, including head and power; the specific number of water pumps is set according to the test requirements; turn on all water pumps according to the set operating parameters, control the valves to start water supply, use flow meters and water level sensors to monitor and record flow and water level data in real time, and transmit the collected data to the control center via Ethernet;

[0013] The control center imports the collected data and generates real-time charts of flow and water level; compares and analyzes the actual collected data with the data predicted by the model. If there is a deviation between the flow and water level predicted by the model and the actual collected data, further calculate the difference between the predicted flow and collected flow, and the predicted water level and collected water level to obtain the flow difference and water level difference, and preset the maximum allowable value of the flow difference and water level difference. If the flow difference and water level difference at a certain moment are greater than the corresponding preset maximum allowable value, the optimization signal is triggered and sent to the technician's mobile terminal. The technician receives the triggered optimization signal and identifies the cause of the deviation, and adjusts the model parameters based on the identified cause of the deviation; the deviation causes include the efficiency of the water pump, the calibration of the flow meter, the water level control logic, etc.

[0014] Estimate the required volume of the horizontal water tower by multiplying the maximum water supply by 100s to ensure the water storage capacity of the water supply;

[0015] For example,

[0016] According to the measured data in the application area, the maximum flood flow is 1000 m³ / h;

[0017] According to the magnification of 1.2, the maximum flow rate required for the model test is 1200 m³ / h;

[0018] Based on the maximum water supply (1200 m³ / h) and the demand for 100 seconds, the volume of the horizontal water tower is calculated to be 80m³, the dimensions are 8.0m high, 7.0m long and wide, and the water depth is 2.5m;

[0019] Equipped with 5 water pumps, the power is 22KW, 37KW, 37KW, 55KW, 55KW, and the head is 12.0m;

[0020] Altivar 61F inverter and ADAM 4055 module are used to realize pump speed control and valve operation;

[0021] According to the test requirements, set the operating parameters of each water pump, start the water pump and start supplying water;

[0022] Utilize flow meters and water level sensors installed in the system to monitor and record data in real time;

[0023] Transmit monitoring data to the control center via Ethernet;

[0024] The control center receives the data and generates real-time graphs showing flow and water level changes;

[0025] Compare the model-predicted flows and water levels with the actual collected data;

[0026] If there is a deviation, calculate the flow difference and water level difference;

[0027] Set the maximum allowable flow rate difference and water level difference, for example, the flow rate difference does not exceed ±5%, and the water level difference does not exceed ±0.1m;

[0028] If the flow difference at a certain moment reaches 1200 m³ / h * 5% = 60 m³ / h, or the water level difference exceeds 0.1m, the optimization signaling is triggered;

[0029] The technicians adjust the model parameters after identifying the problem based on the deviation;

[0030] After adjustment, rerun the model and perform data collection and comparative analysis again until the preset accuracy requirements are met;

[0031] Flow analysis control: collect the data of electromagnetic flowmeter in real time, analyze and process the collected data, and control the opening and closing degree of electric regulating valve according to the results of analysis and processing;

[0032] Specifically:

[0033] Select a pipe with a suitable diameter, preset the target flow rate, collect the data of the electromagnetic flowmeter at the current moment as the actual flow rate, and calculate the deviation between the collected flow rate and the target flow rate. = target flow - actual flow to calculate and get the deviation value at the kth moment ; Where k represents the number of the current moment;

[0034] Further calculate the controller sampling output value at the kth moment, through

[0035] , (1)

[0036] The sampling output value of the controller at the K-1th moment is:

[0037] , (2)

[0038] Subtracting equations (1) and (2) from each other, we get the incremental PID control algorithm formula:

[0039] , (3)

[0040] (4);

[0041] in represents the deviation at the kth moment; is the proportional gain, the proportional term in the PID controller, which is used to adjust the effect of the deviation on the controller output; j represents the sampling point; T represents the sampling period, that is, the time interval between two samples, and They represent the integral time and the differential time respectively; and denote the output values ​​of the controller at the kth moment and the k−1th moment respectively;

[0042] Using a constant sampling period T, A, B, and C are determined, and the control increment at k moments can be calculated by using the deviation of the three previous and subsequent measurements. ;

[0043] In the experiment, by using the incremental PID control algorithm, the control error accuracy of the flow rate is no more than ;

[0044] Determine the switching degree range of the electric control valve, convert the calculated control increment into the valve opening change, and preset the gain coefficient corresponding to the conversion; the gain coefficient represents the conversion factor that maps the PID output range to the valve opening range; the preset gain coefficient is formed with the calculated control increment to obtain the valve opening change;

[0045] The obtained valve opening change is added to the current valve opening to obtain a new valve opening, and the calculated new valve opening is used to generate a control signal and sent to the driver of the electric regulating valve;

[0046] The water level control process is similar to the flow control mentioned above. The tracking water level meter is used to measure the downstream water level of the model and transmit the measured water level to the computer. The computer compares the measured water level with the expected value, calculates the opening value of the tailgate through PID, and outputs the signal to the electric actuator to control the tailgate action, change its water discharge capacity, and complete the automatic control of the water level.

[0047] It is important to ensure that the new valve opening does not exceed the physical limits of the valve (0% to 100%).

[0048] For example,

[0049] The initial target flow rate is set to 100 cubic meters per hour (m³ / h); the sampling period is 1 minute;

[0050] The proportional gain is 2, the integral time is 10 minutes, and the derivative time is 0.1 minutes;

[0051] Electric regulating valve opening range: 0% to 100%;

[0052] Collect the electromagnetic flowmeter data at the current time k and get the actual flow rate of 90 m³ / h;

[0053] The calculated deviation is 10 m³ / h;

[0054] According to the above formula, the control increment is calculated as −10

[0055] Convert the control increment to the valve opening change, assuming the gain factor is 0.1 (which means that each unit control increment corresponds to a 1% change in valve opening): the valve opening change value is obtained by −10×0.1=−1%;

[0056] Assuming the current valve opening is 50%, the updated valve opening is 50%−1%=49%;

[0057] And check whether the new valve opening is within the range of 0% to 100%. In this example, 49% is valid; send the new valve opening 49% as a control signal to the driver of the electric control valve;

[0058] Repeat the above steps in the next sampling period until the flow rate stabilizes near the target value;

[0059] Abnormal evaluation and analysis: Determine the key time indicators in the abnormal detection and response process, that is, the processing time corresponding to the optimization signaling and control signaling, preset the reference time range of the processing time corresponding to the optimization signaling and control signaling, and if the processing time of a certain optimization signaling or control signaling is longer than the corresponding preset reference time range, trigger the response abnormal signaling and execute the corresponding steps;

[0060] The processing time corresponding to the optimization signaling and control signaling is obtained, specifically:

[0061] The specific calculation process of the processing time of the optimized signaling is as follows: mark the trigger time point as the start time, mark the end time when the model is adjusted, calculate the time difference between the start time and the end time, and obtain the processing time of the optimized signaling;

[0062] The specific calculation process of the processing time of the control signal is as follows: the time point when the control signal is generated is marked as the start time, the time point when the electric control valve driver receives the control signal and completes the adjustment is marked as the end time, and the time difference between the start time and the end time is calculated to obtain the processing time of the control signal;

[0063] Trigger response exception signaling and execute corresponding steps, specifically:

[0064] S1: If the response abnormal signaling is triggered by the processing time of the optimized signaling, the current triggering response abnormal signaling is used as the segmentation time point, and the number of response abnormal signalings triggered by the processing time of the optimized signaling within the set time period before the segmentation time point is extracted, and the extracted number is used as the optimization triggering number Lp within the set time period;

[0065] Further extract the optimized signaling processing duration corresponding to each trigger response abnormal signaling, mark the maximum value of the optimized signaling processing duration corresponding to the preset reference duration range as the comparison value, and calculate the difference between the optimized signaling processing duration corresponding to each trigger response abnormal signaling and the comparison value to obtain the optimized timeout value;

[0066] The calculated optimization timeout values ​​of each group are accumulated as the optimization trigger overvalue Lu within the set time period; the optimized signaling processing time of the trigger response abnormal signaling is extracted, and the ratio between the current optimized signaling processing time and the comparison value is calculated, that is, the ratio is calculated by the current optimized signaling processing time / comparison value, and the calculated ratio is used as the optimization additional value Lt within the set time period;

[0067] S2: If the response abnormal signaling is triggered by the processing time of the control signaling, the current triggering response abnormal signaling is used as the segmentation time point, and the number of response abnormal signalings triggered by the control signaling processing time in the set time period before the segmentation time point is extracted, and the extracted number is used as the control triggering number Lc in the set time period;

[0068] Further extract the control signaling processing time corresponding to each trigger response abnormal signaling, mark the maximum value of the control signaling processing time corresponding to the preset reference time range as the comparison value, calculate the difference between the control signaling processing time corresponding to each trigger response abnormal signaling and the comparison value, and obtain the control timeout value;

[0069] The calculated control timeout values ​​of each group are accumulated as the control trigger overvalue Lr within the set time period; the control signaling processing time of the current trigger response abnormal signaling is extracted, and the ratio between the current control signaling processing time and the comparison value is calculated, that is, the ratio is calculated by the current control signaling processing time / comparison value, and the calculated ratio is used as the control additional value La within the set time period;

[0070] S3: Substitute the parameters in step S1 and step S2 into formulas (1) and (2) respectively to calculate and obtain the optimized abnormality index Fe and the control abnormality index Fb of the current trigger response abnormal signaling, that is, ;in and They represent the preset maximum allowable values ​​of the optimization trigger times Lc and the optimization trigger excess value Lu under the optimization signaling, respectively. , as well as They are the influencing weight factors of the optimization trigger times Lp, optimization trigger excess value Lu and optimization additional value Lt respectively;

[0071] in and They represent the preset maximum allowable values ​​of the control trigger times Lc and the control trigger excess value Lr under the optimization signaling, , as well as They are the influence weight factors of the control trigger times Lc, the control trigger excess value Lr and the control additional value La respectively;

[0072] S4: respectively presetting three groups of index value ranges of the optimization abnormality index Fe and the control abnormality index Fb, setting each group of index value ranges corresponding to the optimization abnormality index Fe and the control abnormality index Fb to correspond to an abnormality assessment level; matching the optimization abnormality index Fe or the control abnormality index Fb corresponding to the current trigger response abnormal signaling with the corresponding three groups of index value ranges, and obtaining the abnormality assessment level of the current trigger response abnormal signaling; the abnormality assessment level is divided into general abnormality, medium abnormality and severe abnormality;

[0073] S5: Integrate the abnormality assessment level corresponding to the current trigger response abnormality signaling into a data packet and send it to the technician's mobile terminal;

[0074] It should be noted that the water level and flow rate measurement mentioned above mainly includes automatic water level meter, flow rate acquisition instrument, and serial port device networking server. 50 automatic water level measurement points are arranged. Considering the real-time nature of water level measurement data, 4 Ethernet networking servers are used on site. Each server is independently responsible for the collection of water level automatic measurement point data in the arranged area. All water level measurement data are transmitted to the industrial computer in the control center via Ethernet.

[0075] The water level meter and flow meter with superior performance are the key to water level and flow rate measurement. The automatic water level meter uses a high-precision screw as a sensor, and the water level probe touches the water up and down to achieve repeated measurement of the water level. In order to achieve good repeatability, the signal is specially processed to overcome the problem of inaccurate counting caused by frequent up and down switching of the water level probe, and achieve high-precision detection of the water level position. The main technical parameters are: range: 300mm; resolution: 0.05mm; reading accuracy: 0.05mm; probe speed: 25mm / s;

[0076] The on-site cross-sectional flow velocity measurement uses a self-developed eight-line intelligent flow meter, which is a highly adaptable and reliable measuring instrument for synchronous collection and automatic calculation of eight-channel flow velocity, developed with a single-chip computer as the main processor, and equipped with LCD character display module, membrane panel switch and other advanced technologies;

[0077] The instrument is easy to operate, widely adaptable, and has perfect data processing functions, which can greatly improve the work efficiency of on-site measurements of test personnel;

[0078] Further, a multi-boundary joint debugging and testing system for river engineering models includes a water supply verification module, a flow analysis module, a control center module, and an abnormality processing module;

[0079] The water supply verification module is used to measure water level and flow data, compare and analyze the actual collected data with the data predicted by the model, trigger optimization signaling based on the comparison results, and send the triggered optimization signaling to the control center module;

[0080] The flow analysis module is used to collect data from the electromagnetic flowmeter, analyze and process the collected data, generate control signals based on the analysis and processing results, and send them to the control center module;

[0081] The control center module is used to perform corresponding operations according to the specific signaling triggered;

[0082] The exception handling module is used to determine key time indicators, trigger response exception signaling based on the comparison results, and evaluate the exception level according to the processing time.

[0083] Compared with the prior art, the present invention has the following beneficial effects:

[0084] The present invention generates a real-time chart of flow and water level by importing the collected data; compares and analyzes the actually collected data with the data predicted by the model; if there is a deviation between the flow and water level predicted by the model and the actually collected data, further calculates the difference between the predicted flow and the collected flow, and between the predicted water level and the collected water level, obtains the flow difference and the water level difference, and presets the maximum allowable values ​​of the flow difference and the water level difference; if the flow difference and the water level difference at a certain moment are greater than the corresponding preset maximum allowable values, an optimization signal is triggered and sent to a mobile terminal of a technician; the technician receives the triggered optimization signal and identifies the cause of the deviation, and adjusts the parameters of the model based on the identified cause of the deviation, thereby being able to dynamically adjust the model parameters according to real-time data;

[0085] The present invention determines the switching degree range of the electric control valve, converts the control increment calculated by the PID algorithm into the valve opening change, presets the gain coefficient corresponding to the conversion, forms the preset gain coefficient and the calculated control increment to obtain the valve opening change, adds the obtained valve opening change to the current valve opening to obtain a new valve opening, so that the electric control valve can be adjusted according to the new valve opening, thereby improving the accuracy of the adjustment. BRIEF DESCRIPTION OF THE DRAWINGS

[0086] Further details, features and advantages of the present application are disclosed in the following description of exemplary embodiments in conjunction with the accompanying drawings, in which:

[0087] Figure 1 It is a flowchart of the present invention;

[0088] Figure 2 It is a principle block diagram of the present invention. DETAILED DESCRIPTION

[0089] Several embodiments of the present application will be described in more detail below with reference to the accompanying drawings so that those skilled in the art can implement the present application. The present application can be embodied in many different forms and purposes and should not be limited to the embodiments described herein. These embodiments are provided to make the present application comprehensive and complete, and to fully convey the scope of the present application to those skilled in the art. The embodiments do not limit the present application.

[0090] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which this application belongs. It will be further understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the relevant art and / or the context of this specification, and will not be interpreted in an idealized or overly formal sense unless explicitly defined as such herein. Example 1

[0091] See also Figure 1 As shown, a multi-boundary joint debugging and testing method for a river engineering model includes:

[0092] Model water supply verification: Based on the preset test requirements, verify the accuracy of the model test and adjust the model parameters according to the verification results;

[0093] Specifically:

[0094] The maximum flood flow in the application area is obtained as the maximum flow. According to the flow scale, the obtained maximum flow is multiplied by the preset multiple x; x=1.2, and the technicians can adjust and optimize it according to the actual application situation; the maximum flow required for the model inlet is obtained; to ensure that the model can simulate the water supply demand under extreme conditions; that is, if the measured maximum flow is 1000 m³ / h, the maximum flow of the model test is 1200 m³ / h;

[0095] Set the operating parameters of each group of water pumps, including head and power; the specific number of water pumps is set according to the test requirements; turn on all water pumps according to the set operating parameters, control the valves to start water supply, use flow meters and water level sensors to monitor and record flow and water level data in real time, and transmit the collected data to the control center via Ethernet;

[0096] The control center imports the collected data and generates real-time charts of flow and water level; compares and analyzes the actual collected data with the data predicted by the model. If there is a deviation between the flow and water level predicted by the model and the actual collected data, further calculate the difference between the predicted flow and collected flow, and the predicted water level and collected water level to obtain the flow difference and water level difference, and preset the maximum allowable value of the flow difference and water level difference. If the flow difference and water level difference at a certain moment are greater than the corresponding preset maximum allowable value, the optimization signal is triggered and sent to the technician's mobile terminal. The technician receives the triggered optimization signal and identifies the cause of the deviation, and adjusts the model parameters based on the identified cause of the deviation; the deviation causes include the efficiency of the water pump, the calibration of the flow meter, the water level control logic, etc.

[0097] It should be noted that the required volume of the horizontal water tower is estimated by multiplying the maximum water supply by 100s to ensure the water storage capacity of the water supply.

[0098] The above is a summary of the river model water supply verification process, including all aspects from parameter setting, system configuration to real-time monitoring, data analysis and model optimization; these steps ensure that the model can accurately simulate the actual water flow conditions and make adjustments when necessary to improve the accuracy and reliability of the model;

[0099] For example,

[0100] According to the measured data in the application area, the maximum flood flow is 1000 m³ / h;

[0101] According to the magnification of 1.2, the maximum flow rate required for the model test is 1200 m³ / h;

[0102] Based on the maximum water supply (1200 m³ / h) and the demand for 100 seconds, the volume of the horizontal water tower is calculated to be 80m³, the dimensions are 8.0m high, 7.0m long and wide, and the water depth is 2.5m;

[0103] Equipped with 5 water pumps, the power is 22KW, 37KW, 37KW, 55KW, 55KW, and the head is 12.0m;

[0104] Altivar 61F inverter and ADAM 4055 module are used to realize pump speed control and valve operation;

[0105] According to the test requirements, set the operating parameters of each water pump, start the water pump and start supplying water;

[0106] Utilize flow meters and water level sensors installed in the system to monitor and record data in real time;

[0107] Transmit monitoring data to the control center via Ethernet;

[0108] The control center receives the data and generates real-time graphs showing flow and water level changes;

[0109] Compare the model-predicted flows and water levels with the actual collected data;

[0110] If there is a deviation, calculate the flow difference and water level difference;

[0111] Set the maximum allowable flow rate difference and water level difference, for example, the flow rate difference does not exceed ±5%, and the water level difference does not exceed ±0.1m;

[0112] If the flow difference at a certain moment reaches 1200 m³ / h * 5% = 60 m³ / h, or the water level difference exceeds 0.1m, the optimization signaling is triggered;

[0113] The technicians adjust the model parameters after identifying the problem based on the deviation;

[0114] After adjustment, rerun the model and perform data collection and comparative analysis again until the preset accuracy requirements are met;

[0115] Flow analysis control: collect the data of electromagnetic flowmeter in real time, analyze and process the collected data, and control the opening and closing degree of electric regulating valve according to the results of analysis and processing;

[0116] Specifically:

[0117] Select a pipe with a suitable diameter, preset the target flow rate, collect the data of the electromagnetic flowmeter at the current moment as the actual flow rate, and calculate the deviation between the collected flow rate and the target flow rate. = target flow - actual flow to calculate and get the deviation value at the kth moment ; Where k represents the number of the current moment;

[0118] Further calculate the controller sampling output value at the kth moment, through

[0119] , (1)

[0120] The sampling output value of the controller at the K-1th moment is:

[0121] , (2)

[0122] Subtracting equations (1) and (2) from each other, we get the incremental PID control algorithm formula:

[0123] , (3)

[0124] (4);

[0125] in represents the deviation at the kth moment; is the proportional gain, the proportional term in the PID controller, which is used to adjust the effect of the deviation on the controller output; j represents the sampling point; T represents the sampling period, that is, the time interval between two samples, and They represent the integral time and the differential time respectively; and denote the output values ​​of the controller at the kth moment and the k−1th moment respectively;

[0126] Using a constant sampling period T, A, B, and C are determined, and the control increment at k moments can be calculated by using the deviation of the three previous and subsequent measurements. ;

[0127] It should be noted that in the experiment, by using the incremental PID control algorithm, the control error accuracy of the flow rate is no more than ;

[0128] Determine the switching degree range of the electric control valve, convert the calculated control increment into the valve opening change, and preset the gain coefficient corresponding to the conversion; the gain coefficient represents the conversion factor that maps the PID output range to the valve opening range; the preset gain coefficient is formed with the calculated control increment to obtain the valve opening change;

[0129] The obtained valve opening change is added to the current valve opening to obtain a new valve opening, and the calculated new valve opening is used to generate a control signal and sent to the driver of the electric regulating valve;

[0130] It should be noted that the water level control process is similar to the above-mentioned flow control. The tracking water level meter is used to measure the downstream water level of the model and transmit the measured water level to the computer. The computer compares the measured water level with the expected value, calculates the opening value of the tailgate through PID, and outputs the signal to the electric actuator to control the tailgate action, change its water discharge capacity, and complete the automatic control of the water level.

[0131] It is important to ensure that the new valve opening does not exceed the physical limits of the valve (0% to 100%).

[0132] For example,

[0133] The initial target flow rate is set to 100 cubic meters per hour (m³ / h); the sampling period is 1 minute;

[0134] The proportional gain is 2, the integral time is 10 minutes, and the derivative time is 0.1 minutes;

[0135] Electric regulating valve opening range: 0% to 100%;

[0136] Collect the electromagnetic flowmeter data at the current time k and get the actual flow rate of 90 m³ / h;

[0137] The calculated deviation is 10 m³ / h;

[0138] According to the above formula, the control increment is calculated as −10

[0139] Convert the control increment to the valve opening change, assuming the gain factor is 0.1 (which means that each unit control increment corresponds to a 1% change in valve opening): the valve opening change value is obtained by −10×0.1=−1%;

[0140] Assuming the current valve opening is 50%, the updated valve opening is 50%−1%=49%;

[0141] And check whether the new valve opening is within the range of 0% to 100%. In this example, 49% is valid; send the new valve opening 49% as a control signal to the driver of the electric control valve;

[0142] Repeat the above steps in the next sampling period until the flow rate stabilizes near the target value;

[0143] Abnormal evaluation and analysis: Determine the key time indicators in the abnormal detection and response process, that is, the processing time corresponding to the optimization signaling and control signaling, preset the reference time range of the processing time corresponding to the optimization signaling and control signaling, and if the processing time of a certain optimization signaling or control signaling is longer than the corresponding preset reference time range, trigger the response abnormal signaling and execute the corresponding steps;

[0144] The processing time corresponding to the optimization signaling and control signaling is obtained, specifically:

[0145] The specific calculation process of the processing time of the optimized signaling is as follows: mark the trigger time point as the start time, mark the end time when the model is adjusted, calculate the time difference between the start time and the end time, and obtain the processing time of the optimized signaling;

[0146] The specific calculation process of the processing time of the control signal is as follows: the time point when the control signal is generated is marked as the start time, the time point when the electric control valve driver receives the control signal and completes the adjustment is marked as the end time, and the time difference between the start time and the end time is calculated to obtain the processing time of the control signal;

[0147] Trigger response exception signaling and execute corresponding steps, specifically:

[0148] S1: If the response abnormal signaling is triggered by the processing time of the optimized signaling, the current triggering response abnormal signaling is used as the segmentation time point, and the number of response abnormal signalings triggered by the processing time of the optimized signaling within the set time period before the segmentation time point is extracted, and the extracted number is used as the optimization triggering number Lp within the set time period;

[0149] Further extract the optimized signaling processing duration corresponding to each trigger response abnormal signaling, mark the maximum value of the optimized signaling processing duration corresponding to the preset reference duration range as the comparison value, and calculate the difference between the optimized signaling processing duration corresponding to each trigger response abnormal signaling and the comparison value to obtain the optimized timeout value;

[0150] The calculated optimization timeout values ​​of each group are accumulated as the optimization trigger overvalue Lu within the set time period; the optimized signaling processing time of the trigger response abnormal signaling is extracted, and the ratio between the current optimized signaling processing time and the comparison value is calculated, that is, the ratio is calculated by the current optimized signaling processing time / comparison value, and the calculated ratio is used as the optimization additional value Lt within the set time period;

[0151] S2: If the response abnormal signaling is triggered by the processing time of the control signaling, the current triggering response abnormal signaling is used as the segmentation time point, and the number of response abnormal signalings triggered by the control signaling processing time in the set time period before the segmentation time point is extracted, and the extracted number is used as the control triggering number Lc in the set time period;

[0152] Further extract the control signaling processing time corresponding to each trigger response abnormal signaling, mark the maximum value of the control signaling processing time corresponding to the preset reference time range as the comparison value, calculate the difference between the control signaling processing time corresponding to each trigger response abnormal signaling and the comparison value, and obtain the control timeout value;

[0153] The calculated control timeout values ​​of each group are accumulated as the control trigger overvalue Lr within the set time period; the control signaling processing time of the current trigger response abnormal signaling is extracted, and the ratio between the current control signaling processing time and the comparison value is calculated, that is, the ratio is calculated by the current control signaling processing time / comparison value, and the calculated ratio is used as the control additional value La within the set time period;

[0154] S3: Substitute the parameters in step S1 and step S2 into formulas (1) and (2) respectively to calculate and obtain the optimized abnormality index Fe and the control abnormality index Fb of the current trigger response abnormal signaling, that is, ;in and They represent the preset maximum allowable values ​​of the optimization trigger times Lc and the optimization trigger excess value Lu under the optimization signaling, respectively. , as well as They are the influencing weight factors of the optimization trigger times Lp, optimization trigger excess value Lu and optimization additional value Lt respectively;

[0155] in and They represent the preset maximum allowable values ​​of the control trigger times Lc and the control trigger excess value Lr under the optimization signaling, , as well as They are the influence weight factors of the control trigger times Lc, the control trigger excess value Lr and the control additional value La respectively;

[0156] S4: respectively presetting three groups of index value ranges of the optimization abnormality index Fe and the control abnormality index Fb, setting each group of index value ranges corresponding to the optimization abnormality index Fe and the control abnormality index Fb to correspond to an abnormality assessment level; matching the optimization abnormality index Fe or the control abnormality index Fb corresponding to the current trigger response abnormal signaling with the corresponding three groups of index value ranges, and obtaining the abnormality assessment level of the current trigger response abnormal signaling; the abnormality assessment level is divided into general abnormality, medium abnormality and severe abnormality;

[0157] S5: Integrate the abnormality assessment level corresponding to the current trigger response abnormality signaling into a data packet and send it to the technician's mobile terminal;

[0158] It should be noted that the water level and flow rate measurement mentioned above mainly includes automatic water level meter, flow rate acquisition instrument, and serial port device networking server. 50 automatic water level measurement points are arranged. Considering the real-time nature of water level measurement data, 4 Ethernet networking servers are used on site. Each server is independently responsible for the collection of water level automatic measurement point data in the arranged area. All water level measurement data are transmitted to the industrial computer in the control center via Ethernet.

[0159] The water level meter and flow meter with superior performance are the key to water level and flow rate measurement. The automatic water level meter uses a high-precision screw as a sensor, and the water level probe touches the water up and down to achieve repeated measurement of the water level. In order to achieve good repeatability, the signal is specially processed to overcome the problem of inaccurate counting caused by frequent up and down switching of the water level probe, and achieve high-precision detection of the water level position. The main technical parameters are: range: 300mm; resolution: 0.05mm; reading accuracy: 0.05mm; probe speed: 25mm / s;

[0160] The on-site cross-sectional flow velocity measurement uses a self-developed eight-line intelligent flow meter, which is a highly adaptable and reliable measuring instrument for synchronous collection and automatic calculation of eight-channel flow velocity, developed with a single-chip computer as the main processor, and equipped with LCD character display module, membrane panel switch and other advanced technologies;

[0161] The instrument is easy to operate, widely adaptable, and has perfect data processing functions, which can greatly improve the work efficiency of on-site measurements of test personnel; Example 2

[0162] See also Figure 2 As shown, based on a multi-boundary joint debugging and testing method of a river engineering model provided in Example 1 of the present application, Example 2 of the present application proposes a multi-boundary joint debugging and testing system of a river engineering model. Example 2 is only a preferred method of Example 1, and the implementation of Example 2 will not affect the independent implementation of Example 1.

[0163] Specifically, the multi-boundary joint debugging and testing system for river engineering models provided in Example 2 of the present application is different in that it includes a water supply verification module, a flow analysis module, a control center module, and an abnormality handling module;

[0164] The water supply verification module is used to measure water level and flow data, compare and analyze the actual collected data with the data predicted by the model, trigger optimization signaling based on the comparison results, and send the triggered optimization signaling to the control center module;

[0165] The flow analysis module is used to collect data from the electromagnetic flowmeter, analyze and process the collected data, generate control signals based on the analysis and processing results, and send them to the control center module;

[0166] The control center module is used to perform corresponding operations according to the specific signaling triggered;

[0167] The exception handling module is used to determine the key time indicators, trigger the response exception signaling based on the comparison results, and evaluate the exception level according to the processing time;

[0168] The above formulas are obtained by collecting a large amount of data and performing software simulation, and a formula close to the actual value is selected. The influencing weight factor and specific coefficient value in the formula are set by technical personnel in this field according to actual conditions, and can be adjusted and modified later.

[0169] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only specific implementation methods. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. A multi-boundary joint debugging and testing method for river engineering models, characterized in that: include: Model water supply verification: Based on the preset test requirements, verify the accuracy of the model test and adjust the model parameters according to the verification results; Flow analysis control: collect the data of electromagnetic flowmeter in real time, analyze and process the collected data, and control the opening and closing degree of electric regulating valve according to the results of analysis and processing; Specifically: Select a pipe with a suitable diameter, preset the target flow rate, collect the data of the electromagnetic flowmeter at the current moment as the actual flow rate, and calculate the deviation between the collected flow rate and the target flow rate. = target flow - actual flow to calculate and get the deviation value at the kth moment ; Where k represents the number of the current moment; Further calculate the controller sampling output value at the kth moment, through ,(1) The sampling output value of the controller at the K-1th moment is: ,(2) Subtracting equations (1) and (2) from each other, we get the incremental PID control algorithm formula: , (3) (4); in represents the deviation at the kth moment; is the proportional gain, the proportional term in the PID controller, which is used to adjust the effect of the deviation on the controller output; j represents the sampling point; T represents the sampling period, that is, the time interval between two samples, and They represent the integral time and the differential time respectively; and denote the output values ​​of the controller at the kth moment and the k−1th moment respectively; Using a constant sampling period T, A, B, and C are determined, and the control increment at k moments can be calculated by using the deviation of the three previous and subsequent measurements. ; Determine the switching degree range of the electric control valve, convert the calculated control increment into the valve opening change, and preset the gain coefficient corresponding to the conversion; form the preset gain coefficient with the calculated control increment to obtain the valve opening change; The obtained valve opening change is added to the current valve opening to obtain a new valve opening, and the calculated new valve opening is used to generate a control signal and sent to the driver of the electric regulating valve; Abnormal evaluation and analysis: Determine the key time indicators in the abnormal detection and response process, that is, the processing time corresponding to the optimization signaling and control signaling, and preset the reference time range for the processing time corresponding to the optimization signaling and control signaling. If the processing time of a certain optimization signaling or control signaling is longer than the corresponding preset reference time range, the response abnormal signaling is triggered and the corresponding steps are executed.

2. A multi-boundary joint debugging and testing method for river engineering model according to claim 1, characterized in that: According to the verification results, the parameters of the model are adjusted, specifically: The maximum flood flow in the application area is obtained as the maximum flow, and according to the flow scale, the obtained maximum flow is multiplied by the preset multiple x to obtain the maximum flow required for the model inlet; Set the operating parameters of each group of water pumps, including head and power; turn on all water pumps according to the set operating parameters, control the valves to start water supply, monitor and record flow and water level data in real time, and transmit the collected data to the control center; The control center imports the collected data and generates real-time charts of flow and water level; compares and analyzes the actual collected data with the data predicted by the model. If there is a deviation between the flow and water level predicted by the model and the actual collected data, the difference between the predicted flow and collected flow, the predicted water level and collected water level is further calculated to obtain the flow difference and water level difference, and the maximum allowable values ​​of the flow difference and water level difference are preset. If the flow difference and water level difference at a certain moment are greater than the corresponding preset maximum allowable values, an optimization signal is triggered and sent to the technician's mobile terminal. The technician receives the triggered optimization signal and identifies the cause of the deviation, and adjusts the model parameters based on the identified cause of the deviation.

3. The multi-boundary joint debugging and testing method of river engineering model according to claim 1 is characterized in that: The processing time corresponding to the optimization signaling and control signaling is obtained, specifically: The specific calculation process of the processing time of the optimized signaling is as follows: mark the trigger time point as the start time, mark the end time when the model is adjusted, calculate the time difference between the start time and the end time, and obtain the processing time of the optimized signaling; The specific calculation process of the processing time of the control signal is as follows: mark the time point when the control signal is generated as the start time, mark the time point when the electric control valve driver receives the control signal and completes the adjustment as the end time, calculate the time difference between the start time and the end time, and obtain the processing time of the control signal.

4. The multi-boundary joint debugging and testing method of a river engineering model according to claim 1 is characterized in that: Trigger response exception signaling and execute corresponding steps, specifically: S1: If the response abnormal signaling is triggered by the processing time of the optimized signaling, the current triggering response abnormal signaling is used as the segmentation time point, and the number of response abnormal signalings triggered by the processing time of the optimized signaling within the set time period before the segmentation time point is extracted, and the extracted number is used as the optimization triggering number Lp within the set time period; Further extract the optimized signaling processing duration corresponding to each trigger response abnormal signaling, mark the maximum value of the optimized signaling processing duration corresponding to the preset reference duration range as the comparison value, and calculate the difference between the optimized signaling processing duration corresponding to each trigger response abnormal signaling and the comparison value to obtain the optimized timeout value; The calculated optimization timeout values ​​of each group are accumulated as the optimization trigger overvalue Lu within the set time period; the optimized signaling processing time of the trigger response abnormal signaling is extracted, and the ratio between the current optimized signaling processing time and the comparison value is calculated, that is, the ratio is calculated by the current optimized signaling processing time / comparison value, and the calculated ratio is used as the optimization additional value Lt within the set time period; S2: If the response abnormal signaling is triggered by the processing time of the control signaling, the current triggering response abnormal signaling is used as the segmentation time point, and the number of response abnormal signalings triggered by the control signaling processing time in the set time period before the segmentation time point is extracted, and the extracted number is used as the control triggering number Lc in the set time period; Further extract the control signaling processing time corresponding to each trigger response abnormal signaling, mark the maximum value of the control signaling processing time corresponding to the preset reference time range as the comparison value, calculate the difference between the control signaling processing time corresponding to each trigger response abnormal signaling and the comparison value, and obtain the control timeout value; The calculated control timeout values ​​of each group are accumulated as the control trigger overvalue Lr within the set time period; the control signaling processing time of the current trigger response abnormal signaling is extracted, and the ratio between the current control signaling processing time and the comparison value is calculated, that is, the ratio is calculated by the current control signaling processing time / comparison value, and the calculated ratio is used as the control additional value La within the set time period.

5. A multi-boundary joint debugging and testing method for river engineering model according to claim 4, characterized in that: Triggering response abnormal signaling and executing corresponding steps also includes: S3: Substitute the parameters in step S1 and step S2 into formulas (1) and (2) respectively to calculate and obtain the optimized abnormality index Fe and the control abnormality index Fb of the current trigger response abnormal signaling, that is, ;in and They represent the preset maximum allowable values ​​of the optimization trigger times Lc and the optimization trigger excess value Lu under the optimization signaling, respectively. , as well as They are the influencing weight factors of the optimization trigger times Lp, optimization trigger excess value Lu and optimization additional value Lt respectively; in and They represent the preset maximum allowable values ​​of the control trigger times Lc and the control trigger excess value Lr under the optimization signaling, , as well as They are the influence weight factors of the control trigger times Lc, the control trigger excess value Lr and the control additional value La respectively; S4: respectively presetting three groups of index value ranges of the optimization abnormality index Fe and the control abnormality index Fb, setting each group of index value ranges corresponding to the optimization abnormality index Fe and the control abnormality index Fb to correspond to an abnormality assessment level; matching the optimization abnormality index Fe or the control abnormality index Fb corresponding to the current trigger response abnormal signaling with the corresponding three groups of index value ranges, and obtaining the abnormality assessment level of the current trigger response abnormal signaling; the abnormality assessment level is divided into general abnormality, medium abnormality and severe abnormality; S5: Integrate the abnormality assessment level corresponding to the current trigger response abnormality signaling into a data packet and send it to the technician's mobile terminal.

6. A river engineering model multi-boundary joint debugging and joint testing system, applied to the river engineering model multi-boundary joint debugging and joint testing method described in any one of claims 1 to 5, characterized in that: include: Water supply verification module: measures water level and flow data, compares and analyzes the actual collected data with the data predicted by the model, triggers optimization signaling based on the comparison results, and sends the triggered optimization signaling to the control center module; Flow analysis module: collects data from the electromagnetic flowmeter, analyzes and processes the collected data, generates control signals based on the results of the analysis and processing, and sends them to the control center module; Control center module: performs corresponding operations according to the specific signaling triggered; Exception handling module: Determine key time indicators, trigger response exception signaling based on comparison results, and evaluate the exception level based on processing time.