An outer window water test pipeline flow control method and system

By monitoring the dispersion of flow readings during the external window water spray test and introducing a control handover period, the pump output power was dynamically adjusted, which solved the problem of inaccurate flow meter measurement caused by bubble interference and improved the accuracy and reliability of the test.

CN120871641BActive Publication Date: 2025-12-16GUANGDONG CONSTR COMPONENT ENG CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511390828.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-26
Publication Date
2025-12-16
Estimated Expiration
2045-09-26

AI Technical Summary

Technical Problem

In existing external window water spray tests, air bubbles in the water flow cause inaccurate flow meter measurements, which in turn leads to excessive pump output power and excessive actual water spray flow, affecting the accuracy and reliability of the test results.

Method used

By continuously acquiring the instantaneous flow readings of the main pipeline flow meter, calculating the dispersion, and introducing a control handover period after the bubble interference ends, the pump output power is adjusted using a dynamic weighted average method to smoothly transition to the normal adaptive adjustment mode and suppress flow fluctuations.

Benefits of technology

Effectively identify and address bubble interference, avoid system misjudgment caused by flow meter underread, ensure the accuracy and stability of water spray tests, and avoid potential quality hazards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120871641B_ABST
    Figure CN120871641B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of outer window water tightness detection, in particular to an outer window water test pipeline flow control method and system. The method comprises the following steps: acquiring an instantaneous flow reading, and calculating the dispersion degree of the instantaneous flow reading within a preset time window; when the dispersion degree is continuously lower than a preset recovery threshold, it is judged that the air bubble interference in the water flow is over, the integral term in the forced zero self-adaptive control algorithm is cleared, and a control right handover period is triggered; within the control right handover period, the final output power of the water pump is determined according to a fixed safe output power and a calculated normal self-adaptive adjustment power, the weight of the fixed safe output power is reduced according to a first preset adjustment rule, the weight of the normal self-adaptive adjustment power is increased according to a second preset adjustment rule, and the control right is completely handed over to the normal self-adaptive adjustment power until the control right is completely handed over to the normal self-adaptive adjustment power. The method has the advantages that the problem that the flow meter measurement is inaccurate due to the air bubble interference in the water flow in the existing outer window water test, and the accuracy and reliability of the test result are affected, can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of external window water tightness testing, and more specifically, to a method and system for controlling the flow rate of an external window water spray test pipeline. Background Technology

[0002] In the field of construction engineering, the water tightness testing of exterior windows is a crucial step in ensuring building quality. This is typically achieved by simulating rainfall conditions and continuously spraying the window surface with a specific water flow rate. To conserve water and adapt to continuous operation, the testing equipment generally employs a circulating water system, precisely adjusting the spray intensity through adaptive flow control. However, in practical applications, these systems may encounter unexpected challenges in dynamic and complex on-site environments, affecting the accuracy and reliability of the test results. For example, in construction site environments, water collection tanks are usually open or semi-closed, with the water surface directly exposed to the air. During prolonged continuous testing or when affected by surrounding construction activities, the water in the collection tank may experience violent shaking or fluctuations. When significant fluctuations occur, especially when the water level drops due to continuous pumping or violent shaking, the pump suction port may periodically approach or even briefly emerge from the water surface, causing the pump to draw air into the water supply pipe along with the water flow, forming air bubbles.

[0003] When these air bubbles flow in the pipes, they can adversely affect the operation of the water pump, such as causing cavitation, reducing pumping efficiency, and even leading to operational instability. More importantly, these air bubbles will pass through the flow meter on the main water supply pipe along with the water flow. Currently used flow meters, such as electromagnetic flow meters or turbine flow meters, are based on the measurement principle of pure water flow. When a large number of air bubbles are mixed in the water flow, the measurement accuracy of the flow meter will be severely affected. The presence of air bubbles will change the fluid density, velocity distribution, and may even cause the sensor to fail to accurately capture the true state of the water flow, resulting in deviations in the real-time flow data output by the flow meter. This usually manifests as the actual flow rate being higher than the measured value, i.e., the flow meter exhibiting an "under-reading" phenomenon.

[0004] When the flow meter reports a flow rate lower than the actual value to the controller, the adaptive control system, based on its preset control logic, misjudges the current total system flow as insufficient. To increase the "detected" flow rate to the preset target value, the controller immediately issues a command to automatically increase the pump's output power or further increase the opening of the electric valve. The consequence of this compensation mechanism is that although the total flow rate data on the controller display appears stable and meets the standard, in reality, due to the flow meter's under-reading, the pump is driven to operate at higher power, resulting in an actual water flow rate delivered to the sprinkler system far exceeding the standard requirements. This means that the spray intensity and water volume experienced by the window surface actually exceed the range specified in the test standard. If the window passes the test under such "exceeding" conditions, its true watertightness may be overestimated, and leakage problems may still occur during normal heavy rain in actual use, thus leaving potential quality hazards in the building project.

[0005] To address the aforementioned issues, existing technologies urgently need improvement. Summary of the Invention

[0006] This application discloses a method and system for controlling the flow rate of a pipeline in an external window water spray test, which aims to solve the problem that in existing external window water spray tests, the flow meter measurement is inaccurate due to interference from air bubbles in the water flow, which in turn leads to excessive water pump output power, excessive actual water spray flow, and affects the accuracy and reliability of the test results.

[0007] The technical solution of this application is as follows:

[0008] In a first aspect, this application discloses a method for controlling the flow rate of a water spray test pipe for exterior windows, comprising:

[0009] Continuously acquire the instantaneous flow rate readings of the main pipeline flow meter and calculate the dispersion of the instantaneous flow rate readings within a preset time window;

[0010] When the dispersion is continuously lower than the preset recovery threshold, it is determined that the bubble interference in the water flow has ended, the integral term used to accumulate errors in the adaptive control algorithm is forcibly cleared, and the control handover period for the transition of the control system from the abnormal response mode to the normal adaptive adjustment mode is triggered.

[0011] During the control handover period, the final output power of the water pump is determined by a dynamic weighted average method based on the fixed safe output power and the calculated normal adaptive adjustment power. The weight of the fixed safe output power gradually decreases during the control handover period according to the first preset adjustment rule, while the weight of the normal adaptive adjustment power gradually increases during the control handover period according to the second preset adjustment rule, until the control is completely handed over to the normal adaptive adjustment power and the normal adaptive adjustment mode is entered.

[0012] Through this technical solution, this application can effectively identify and respond to the system state after the bubble interference in the water flow ends. By introducing a control handover period and a power determination method based on dynamic weighted average, a smooth transition from abnormal response mode to normal adaptive adjustment mode is achieved, avoiding flow fluctuations caused by excessive system response after the bubble interference is eliminated, thereby improving the accuracy and stability of the water spray test.

[0013] Furthermore, during the control handover period, the final output power of the water pump is determined by a dynamic weighted average method based on the fixed safe output power and the calculated normal adaptive adjustment power, including:

[0014] Continuously monitor the instantaneous flow fluctuation signal of the main pipeline;

[0015] Based on the comparison result between the instantaneous flow fluctuation signal and the preset comparison threshold, the weights of the fixed safe output power and the normal adaptive adjustment power are dynamically adjusted according to the first preset adjustment rule and the second preset adjustment rule in order to suppress the instantaneous flow fluctuation signal.

[0016] Through this technical solution, this application can dynamically adjust the weights of the two powers according to the real-time system operating status and traffic fluctuations, thereby effectively suppressing instantaneous traffic fluctuations during the handover of control, ensuring stable system operation, and avoiding traffic oscillations caused by improper weight adjustment.

[0017] Furthermore, based on the comparison result between the instantaneous flow fluctuation signal and the preset comparison threshold, and according to the first preset adjustment rule and the second preset adjustment rule, the weights of the fixed safe output power and the normal adaptive adjustment power are dynamically adjusted, including:

[0018] Continuously collect instantaneous flow fluctuation signals;

[0019] Calculate the rate and direction of change of the instantaneous flow fluctuation signal within a preset time window;

[0020] The fluctuation trend value of the instantaneous flow fluctuation signal within a preset time window is predicted based on the rate and direction of change.

[0021] When the fluctuation trend value indicates that the fluctuation is intensifying, the rate of decrease of the weight of the fixed safe output power and the rate of increase of the weight of the normal adaptive adjustment power are slowed down according to the third preset adjustment rule.

[0022] When the fluctuation trend value indicates that the fluctuation is weakening, the fourth preset adjustment rule accelerates the decrease of the weight of the fixed safe output power and accelerates the increase of the weight of the normal adaptive adjustment power.

[0023] Through this technical solution, this application can intelligently adjust the speed of weight change according to the real-time trend of traffic fluctuations. When the fluctuations intensify, the adjustment is slowed down to avoid deterioration, and when the fluctuations weaken, the adjustment is accelerated to speed up stabilization. This achieves fine-grained control over traffic fluctuations and further improves the stability and response speed of the system.

[0024] Furthermore, based on the rate and direction of change, the fluctuation trend of the instantaneous flow fluctuation signal within a preset time window is predicted, including:

[0025] Before entering the control handover period, based on the statistical characteristics of the historical records of fluctuation trend values ​​in the historical operation phase, determine the trend intensification threshold and trend weakening threshold used to judge the degree of fluctuation trend change;

[0026] During system operation, the fluctuation trend value is continuously updated in real time, and the updated fluctuation trend value is compared with the trend aggravation threshold and the trend weakening threshold to determine whether the current fluctuation trend value belongs to an aggravation state or a weakening state.

[0027] Through this technical solution, this application can accurately determine the trend of traffic fluctuations by training with historical data and updating in real time, providing a reliable basis for subsequent weight adjustments, and enabling the system to respond more intelligently to different fluctuation situations.

[0028] Furthermore, after predicting the fluctuation trend value of the instantaneous flow fluctuation signal within a preset time window based on the rate and direction of change, it also includes:

[0029] Based on the fluctuation trend value within the preset prediction window, a power buffer adjustment command is generated. The power buffer adjustment command is used to temporarily introduce a buffer power value when the rate of change of the weight of the fixed safe output power and the weight of the normal adaptive adjustment power exceeds the preset rate limit after adjustment according to the third or fourth preset adjustment rule. The buffer power value is between the fixed safe output power and the normal adaptive adjustment power.

[0030] The buffer power value is gradually released within the set buffer duration according to the preset buffer curve.

[0031] Through this technical solution, this application can introduce a buffer power value to provide a smooth transition when the weight change rate is too fast, effectively avoiding the flow shock caused by power change and further enhancing the stability of the system during the handover period.

[0032] Furthermore, the method also includes:

[0033] When the frequency of the instantaneous flow fluctuation signal of the main pipeline is continuously present within the preset frequency range and the fluctuation amplitude does not exceed the preset comparison threshold, it is determined to be a low-amplitude high-frequency fluctuation.

[0034] For low-amplitude, high-frequency fluctuations, a high-frequency suppression filtering algorithm is activated to smooth the instantaneous flow fluctuation signal in real time, resulting in an adjusted instantaneous flow fluctuation signal.

[0035] Through this technical solution, this application can identify and effectively suppress low-amplitude, high-frequency flow fluctuations, smooth the signal through filtering, avoid the system's over-response to small, rapid fluctuations, and improve the robustness of control.

[0036] Furthermore, during the period of control transfer, it also includes:

[0037] Real-time monitoring of instantaneous flow fluctuations and real-time operating parameters of the main pipeline;

[0038] When the fluctuation amplitude of the instantaneous flow fluctuation signal within the preset time window is detected to exceed the disturbance trigger threshold, and the change trend of the real-time operating parameters does not conform to the preset bubble interference characteristic pattern, it is determined to be a sudden disturbance event.

[0039] In response to sudden disturbance events, the weight changes of fixed safe output power and normal adaptive adjustment power are suspended, and the output power of the water pump is locked at the power value at the time of the control handover period.

[0040] After detecting that the sudden disturbance event has subsided and the instantaneous flow fluctuation signal has recovered to the preset stable range, the weight change process of the control handover period is restarted according to the preset recovery rules.

[0041] Through this technical solution, this application can promptly identify and respond to sudden disturbance events. By pausing weight changes and locking power, it effectively prevents erroneous adjustments during disturbances and smoothly resumes the handover process after the disturbance ends, ensuring the stability and reliability of the system in complex environments.

[0042] Furthermore, during the period of control transfer, it also includes:

[0043] During the change of pump output power, the weighted change rate of the fixed safe output power and the normal adaptive adjustment power is calculated in real time.

[0044] When the rate of change of weights exceeds the preset stability threshold and the duration exceeds the preset duration, the stabilization adjustment mechanism is triggered. When the stabilization adjustment mechanism is triggered, the rate of change of weights is adjusted according to the preset smoothing function.

[0045] Through this technical solution, this application can monitor the rate of weight change in real time and initiate stabilization adjustment when the rate is too fast, effectively avoiding the abruptness of power adjustment, ensuring a smooth transition of water pump output power, and further improving the operational stability of the system.

[0046] Furthermore, according to the preset buffer curve, the buffer power value is gradually released within the set buffer duration, including:

[0047] During the buffer period, monitor the rate of change of the instantaneous flow fluctuation signal in the main pipeline in real time;

[0048] When the rate of change is detected to exceed the buffer release adjustment threshold, the slope of the preset buffer curve is dynamically adjusted to slow down the power release rate.

[0049] When the rate of change is detected to be lower than the buffer release adjustment threshold, the slope of the preset buffer curve is increased to accelerate the power release speed.

[0050] By dynamically adjusting the slope, the buffer power value continuously matches the changing trend of instantaneous flow fluctuations during the release process, thereby improving the fluctuation suppression effect during the control handover period.

[0051] Through this technical solution, this application can dynamically adjust the release speed of buffer power according to the real-time change rate of flow fluctuation, so that the release process of buffer power is more in line with the actual flow fluctuation trend, thereby achieving more refined and effective fluctuation suppression and further improving the stability of the control handover period.

[0052] Secondly, this application also discloses a flow control system for an external window water spray test pipeline, comprising:

[0053] The data processing module is used to continuously acquire the instantaneous flow readings of the main pipeline flow meter and calculate the dispersion of the instantaneous flow readings within a preset time window;

[0054] The control handover module is used to determine the end of bubble interference in the water flow when the dispersion is continuously lower than the preset recovery threshold, forcibly clear the integral term used to accumulate errors in the adaptive control algorithm, and trigger the control handover period of the control system transitioning from abnormal response mode to normal adaptive adjustment mode.

[0055] The adaptive adjustment module is used to determine the final output power of the water pump during the control handover period by using a dynamic weighted average method based on the fixed safe output power and the calculated normal adaptive adjustment power. The weight of the fixed safe output power gradually decreases during the control handover period according to the first preset adjustment rule, while the weight of the normal adaptive adjustment power gradually increases during the control handover period according to the second preset adjustment rule, until the control is completely handed over to the normal adaptive adjustment power, and the normal adaptive adjustment mode is entered.

[0056] This application provides a system for implementing the above method through this technical solution. Through modular design, it can efficiently perform functions such as bubble interference judgment, control handover and adaptive adjustment, providing a stable and reliable flow control guarantee for the external window water spray test.

[0057] Beneficial effects:

[0058] This application provides a method for controlling the flow rate of a pipeline in an external window water spray test. This method continuously monitors the instantaneous flow rate reading of the main pipeline flowmeter and calculates its dispersion within a preset time window, accurately determining whether bubble interference in the water flow has ended. When bubble interference ends, the system forcibly resets the integral term used for accumulating errors in the adaptive control algorithm, effectively eliminating the impact of accumulated errors during bubble interference on subsequent control and avoiding system misjudgment and overcompensation due to error accumulation. Subsequently, the system triggers a control handover period, smoothly transitioning from an abnormal response mode to a normal adaptive adjustment mode. During the control handover period, this application uses a dynamic weighted average method to determine the final output power of the water pump, where the weight of the fixed safe output power gradually decreases, while the weight of the normal adaptive adjustment power gradually increases. This dynamic weighting mechanism ensures that after bubble interference is eliminated, the system can gradually and smoothly transfer control from the conservative safe mode to the precise adaptive adjustment mode, avoiding sudden power changes and drastic flow fluctuations. Through the above technical solution, this application effectively solves the problem in the prior art that the flow meter underreads due to bubble interference, which in turn leads to excessive water pump output power and excessive actual water spray flow. It significantly improves the accuracy and reliability of the external window water spray test and avoids potential quality hazards. Attached Figure Description

[0059] Figure 1 This is a flowchart illustrating a method for controlling the flow rate of a water spray test pipeline for an external window, as provided in this application.

[0060] Figure 2 A flowchart of a flow control system for an external window water spray test pipeline provided in this application.

[0061] In the diagram: 1. Data processing module; 2. Control handover module; 3. Adaptive adjustment module. Detailed Implementation

[0062] The technical solutions of this application will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this application, and not all embodiments. The components of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0063] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0064] Reference Figure 1 This application proposes a method for controlling the flow rate of a water spray test pipe for exterior windows, comprising:

[0065] S1000: Continuously acquires the instantaneous flow reading of the main pipeline flow meter and calculates the dispersion of the instantaneous flow reading within a preset time window;

[0066] S2000: When the dispersion is continuously lower than the preset recovery threshold, it is determined that the bubble interference in the water flow has ended, the integral term used to accumulate errors in the adaptive control algorithm is forcibly cleared, and the control handover period for the transition of the control system from the abnormal response mode to the normal adaptive adjustment mode is triggered.

[0067] S3000: During the control handover period, the final output power of the water pump is determined by a dynamic weighted average method based on the fixed safe output power and the calculated normal adaptive adjustment power. The weight of the fixed safe output power gradually decreases during the control handover period according to the first preset adjustment rule, while the weight of the normal adaptive adjustment power gradually increases during the control handover period according to the second preset adjustment rule, until the control is completely handed over to the normal adaptive adjustment power, and the normal adaptive adjustment mode is entered.

[0068] Specifically, a "main pipeline flow meter" refers to a device used to measure the water flow rate in the main water supply pipeline of a water spray test system. Its function is to provide real-time flow data so that the control system can make adjustments. Common types of flow meters include electromagnetic flow meters, turbine flow meters, or ultrasonic flow meters. "Instantaneous flow reading" refers to the flow rate value measured by the flow meter at a specific moment, usually expressed as the volume or mass passing through per unit time, such as liters per second or cubic meters per hour.

[0069] A "preset time window" refers to a pre-defined time period, such as 5 seconds, 10 seconds, or longer, used to collect instantaneous flow readings within this time period for statistical analysis.

[0070] "Dispersion" is an indicator that measures the magnitude of fluctuations in a set of data. In this application, it is used to evaluate the stability of instantaneous flow readings within a preset time window. For example, it can be represented by calculating the standard deviation, variance, or range. When air bubbles are present in the water flow, the flow readings will exhibit large fluctuations and high dispersion; when the air bubbles disappear, the flow readings tend to stabilize, and the dispersion decreases.

[0071] The "preset recovery threshold" is a pre-defined critical value for the degree of dispersion. When the dispersion of the instantaneous flow rate reading is continuously below this threshold, it indicates that the water flow has stabilized and bubble interference has been largely eliminated. "Abnormal response mode" refers to an operating state the system is in when it detects bubble interference or other abnormal conditions. In this mode, the system may adopt a conservative control strategy, such as maintaining the pump at a lower safe power to avoid overcompensation due to misjudgment. "Normal adaptive adjustment mode" refers to an operating state the system is in when the water flow is stable and there is no bubble interference. In this mode, the system can accurately adjust the pump output power based on the target flow rate and real-time flow data using an adaptive control algorithm to achieve stable flow control. The "control handover period" is a buffer phase during the transition from the abnormal response mode to the normal adaptive adjustment mode. During this period, control is gradually transferred from the fixed safe output power to the normal adaptive adjustment power to ensure a smooth transition. "Fixed safe output power" refers to a relatively conservative pump output power value set in an abnormal response mode or at the beginning of the handover of control to ensure the basic operation of the system. This power value is usually lower than the power required for normal operation, but it can guarantee a certain water supply and prevent the system from completely shutting down.

[0072] "Normal adaptive adjustment power" refers to the pump output power calculated by the adaptive control algorithm based on real-time flow data and the target flow value under normal adaptive adjustment mode. This power value can accurately maintain the flow rate within the target range. "Dynamic weighted average method" refers to determining the final pump output power by adjusting the weights of the fixed safe output power and the normal adaptive adjustment power during the control handover period and then averaging them. Dynamic weight adjustment allows the system to smoothly transition from one control strategy to another. "First preset adjustment rule" and "Second preset adjustment rule" refer to pre-set weight adjustment strategies, such as linear decreasing / increasing, exponential decreasing / increasing, or S-curve adjustment, used to control the rate and pattern of weight changes in the fixed safe output power and the normal adaptive adjustment power.

[0073] For example: the first preset adjustment rule: the monotonically decreasing trajectory of the fixed safe output power weight w_s during the handover period, such as w_s(t)=max{0,1-(t / T0)^p1};

[0074] Where T0 is the total duration of the handover period, and p1 is the curve shape factor.

[0075] p1: Curve shape factor, which controls the decreasing / increasing shape of the weight curve. p1 is a preset value, determined by experimental data or historical operating data.

[0076] The second preset adjustment rule is: the monotonically increasing trajectory of the power weight w_a under normal adaptive adjustment, such as w_a(t)=1-w_s(t);

[0077] t: a time variable representing the relative time progress during the control handover period, with a value range of [0, T0].

[0078] w_s: Weight of fixed safe output power, initially 1, tends to 0 after handover;

[0079] w_a: Weight of normal adaptive adjustment power, initially 0, tends to 1 after handover.

[0080] In practical implementation, the flow control method for the external window water spray test pipeline of this application can be implemented as follows:

[0081] First, the instantaneous flow rate readings from the main pipeline flow meter are continuously acquired, and the dispersion of these readings within a preset time window is calculated. For example, an electromagnetic flow meter can be installed on the main pipeline, capable of outputting instantaneous flow rate data in real time. This data can be acquired multiple times per second by a data acquisition module. Subsequently, a data processing unit receives these instantaneous flow rate readings and calculates their dispersion within a preset time window (e.g., every 5 seconds). The dispersion can be calculated using statistical methods such as standard deviation, variance, or range. For example, the standard deviation of all instantaneous flow rate readings within these 5 seconds can be calculated; a larger standard deviation indicates greater flow rate fluctuation and higher dispersion.

[0082] Secondly, when the dispersion continuously falls below a preset recovery threshold, the system determines that the bubble disturbance in the water flow has ended, forcibly clears the integral term used to accumulate errors in the adaptive control algorithm, and triggers a control handover period for the control system to transition from the abnormal response mode to the normal adaptive adjustment mode. For example, the system can set a preset recovery threshold, such as a standard deviation less than 0.05 L / s. When the dispersion of the instantaneous flow rate reading calculated by the data processing unit is continuously (e.g., for three consecutive time windows) below this threshold, the system determines that the bubble disturbance in the water flow has ended. At this time, to ensure the accuracy of subsequent normal adaptive adjustment, the control system forcibly clears the integral term used to accumulate errors in the adaptive control algorithm (e.g., a PID controller). This is because during the bubble disturbance, misreadings of the flow meter can cause the integral term to accumulate erroneous errors; if not cleared, it may cause overshoot or oscillation after the system recovers to normal. After clearing, the system immediately triggers a control handover period, marking the beginning of a smooth transition from the abnormal response mode to the normal adaptive adjustment mode.

[0083] During the control handover period, the final output power of the water pump is determined by a dynamic weighted average method based on the fixed safe output power and the calculated normal adaptive adjustment power. The weight of the fixed safe output power gradually decreases according to a first preset adjustment rule during the control handover period, while the weight of the normal adaptive adjustment power gradually increases according to a second preset adjustment rule, until control is fully transferred to the normal adaptive adjustment power, entering the normal adaptive adjustment mode. For example, at the beginning of the control handover period, the output power of the water pump can be mainly determined by the fixed safe output power, with a weight of 100%, while the weight of the normal adaptive adjustment power is 0%. As the handover period progresses, the weight of the fixed safe output power gradually decreases according to the first preset adjustment rule (e.g., linearly decreasing), while the weight of the normal adaptive adjustment power gradually increases according to the second preset adjustment rule (e.g., linearly increasing). These two adjustment rules can be designed to be complementary; for example, the weight of the fixed safe output power can gradually decrease from 1 to 0, while the weight of the normal adaptive adjustment power can gradually increase from 0 to 1. Finally, when the weight of the fixed safe output power drops to 0 and the weight of the normal adaptive adjustment power rises to 1, control is completely transferred to the normal adaptive adjustment power, and the system officially enters the normal adaptive adjustment mode. During this process, the final output power of the pump is the weighted average of the fixed safe output power and the normal adaptive adjustment power, for example: Final output power = Fixed safe output power × Weight 1 + Normal adaptive adjustment power × Weight 2. This dynamic weighted averaging method ensures a smooth transition in pump output power, avoiding sudden changes in flow rate caused by control mode switching.

[0084] The overall working principle of this application lies in the intelligent identification of the end of bubble interference in the water flow by continuously monitoring and analyzing the instantaneous flow readings of the main pipeline flow meter. When the system determines that the bubble interference has ended, it does not simply switch control modes immediately, but introduces a "control handover period." During this handover period, the system does not directly hand over control entirely to the adaptive adjustment algorithm, but cleverly performs a dynamic weighted average of the "fixed safe output power" and the "normal adaptive adjustment power." Specifically, at the beginning of the handover period, the system relies more on a relatively conservative fixed safe output power to ensure the initial stability of the water flow; as time progresses, the weight of the fixed safe output power gradually decreases, while the weight of the normal adaptive adjustment power calculated by the adaptive control algorithm gradually increases. This smooth weight adjustment mechanism allows the final output power of the water pump to gradually and smoothly transition from a relatively conservative level to a level precisely controlled by the adaptive algorithm. In this way, this application effectively solves the problem of flow overshoot, oscillation or instability that may be caused by the cumulative error of the integral term or the sudden switching of the control mode after the bubble interference ends in the traditional system. It ensures the accuracy and reliability of the flow control of the water spray test pipeline and guarantees that the control mode can be smoothly switched from abnormal response to normal adaptation.

[0085] Another embodiment of this application further proposes a sub-step of S3000: during the control handover period, determining the final output power of the water pump through a dynamic weighted average method based on the fixed safe output power and the calculated normal adaptive adjustment power, including:

[0086] S3130: Continuously monitors instantaneous flow fluctuation signals in the main pipeline;

[0087] S3140: Based on the comparison result between the instantaneous flow fluctuation signal and the preset comparison threshold, the weights of the fixed safe output power and the normal adaptive adjustment power are dynamically adjusted according to the first preset adjustment rule and the second preset adjustment rule to suppress the instantaneous flow fluctuation signal.

[0088] Specifically, acquiring real-time operating parameters of the water pump can include, but is not limited to, pump speed, current, voltage, power consumption, and vibration frequency. These parameters reflect the pump's current operating status and response capability, providing a basis for subsequent weight adjustments. Acquiring real-time flow data of the main pipeline refers to obtaining the overall flow value of the main pipeline, such as through the average reading of the flow meter, which provides the system with macroscopic information on the current water flow status. Continuously monitoring the instantaneous flow fluctuation signal of the main pipeline refers to identifying rapid, short-term fluctuations in flow by sampling flow meter readings at high frequency or analyzing instantaneous changes in the flow signal. These fluctuations may be caused by factors such as residual air bubbles in the pipeline, pressure transients, or system resonance. The preset comparison threshold can be set based on historical data, system characteristics, or experience to determine whether the amplitude of the instantaneous flow fluctuation signal reaches a level requiring suppression.

[0089] Based on the comparison between the instantaneous flow fluctuation signal and a preset comparison threshold, the system can comprehensively determine the nature and severity of the current flow fluctuation. Therefore, according to the first and second preset adjustment rules, the weights of the fixed safe output power and the normal adaptive adjustment power are dynamically adjusted. For example, when an instantaneous flow fluctuation signal is detected to exceed the preset comparison threshold, combined with real-time operating parameters and real-time flow data, the system can appropriately slow down or accelerate the reduction rate of the fixed safe output power weight, while simultaneously adjusting the corresponding increase rate of the normal adaptive adjustment power weight to actively suppress flow fluctuations.

[0090] This application's solution addresses the problem of insufficient flow fluctuation suppression during control handover by introducing a continuous monitoring and feedback mechanism for real-time pump operating parameters, real-time main pipeline flow data, and instantaneous flow fluctuation signals. Specifically, when the system detects instantaneous flow fluctuation signals during control handover, the comparison results of these signals with preset thresholds, combined with the pump's real-time operating parameters and the main pipeline's real-time flow data, provide the control system with comprehensive real-time status information. Based on this information, the system can accurately determine the nature and extent of the current flow fluctuation. Therefore, by dynamically adjusting the weights of the fixed safe output power and the normal adaptive adjustment power, the pump's final output power can respond in real-time and offset these instantaneous fluctuations. For example, when fluctuations intensify, the system can temporarily increase the weight of the fixed safe output power, utilizing its stability to suppress the fluctuations; when fluctuations weaken, it can accelerate the transition to the normal adaptive adjustment power. This dynamic, real-time weight adjustment mechanism ensures that the flow remains more stable during the critical period of control handover, thereby effectively suppressing instantaneous flow fluctuation signals.

[0091] In some preferred embodiments, the following specific example illustrates the situation:

[0092] Suppose that during the control handover period, the instantaneous flow rate fluctuation signal in the main pipeline suddenly experiences a brief but significant fluctuation, for example, the flow rate reading fluctuates by 5% from the target value within a short period. At this time, the system will acquire parameters such as the pump's operating current and speed, as well as the average flow rate data of the main pipeline in real time. If the amplitude of the instantaneous flow rate fluctuation signal exceeds a preset comparison threshold (e.g., set to 2%), the system will determine that intervention is necessary. Specifically, the control system will dynamically adjust the weights of the fixed safe output power and the normal adaptive adjustment power according to preset first and second adjustment rules. For example, to quickly suppress the fluctuation, the system may slightly increase the weight of the fixed safe output power for a short period and correspondingly decrease the weight of the normal adaptive adjustment power, or temporarily stop increasing the weight of the normal adaptive adjustment power, making the pump's output power more likely to be determined by the relatively stable fixed safe output power, thereby quickly smoothing out the flow rate fluctuation. Once the fluctuation signal returns to the preset stable range, the weight adjustment process will resume its original transition rate until control is completely handed over. In this way, even if sudden fluctuations occur during the control handover period, the system can respond quickly and effectively suppress them, ensuring the stability of flow control.

[0093] Another embodiment of this application further proposes that S3410 includes:

[0094] S3412: Calculate the rate and direction of change of the instantaneous flow fluctuation signal within a preset time window;

[0095] S3413: Predict the fluctuation trend value of instantaneous flow fluctuation signal within a preset time window based on the rate and direction of change;

[0096] S3414: When the fluctuation trend value indicates that the fluctuation is intensifying, the rate of decrease of the weight of the fixed safe output power and the rate of increase of the weight of the normal adaptive adjustment power shall be slowed down according to the third preset adjustment rule.

[0097] S3415: When the fluctuation trend value indicates that the fluctuation is in a weakening state, the weight of the fixed safe output power is reduced faster and the weight of the normal adaptive adjustment power is increased faster according to the fourth preset adjustment rule.

[0098] Continuous acquisition of instantaneous flow fluctuation signals refers to the control system continuously acquiring instantaneous flow data output by the main pipeline flow meter during the control handover period, and extracting or calculating the fluctuation component reflecting flow stability from it. This fluctuation signal can be obtained through high-pass filtering, differential operation, or deviation calculation from the target flow rate, with the aim of reflecting the disturbance of water flow in real time.

[0099] Calculating the rate and direction of change of instantaneous flow fluctuation signals within a preset time window refers to performing time-series analysis on the collected instantaneous flow fluctuation signals. The rate of change can be understood as the amount of change in the fluctuation amplitude per unit time, which can be obtained, for example, by performing differential or linear regression analysis on continuous sampling points; the direction of change indicates whether the fluctuation tends to increase or decrease. The preset time window is set to smooth out instantaneous noise and obtain more representative dynamic information of the fluctuations.

[0100] Therefore, predicting the fluctuation trend value of instantaneous flow fluctuation signals within a preset time window based on the rate and direction of change refers to comprehensively considering the speed and direction of change of the fluctuation signal to form a quantitative index to characterize the overall trend of the current water flow fluctuation. The fluctuation trend value is a dimensionless index used to indicate the intensification / weakening / stabilization of the fluctuation. For example, when the rate of change is large and the direction indicates that the fluctuation amplitude is continuously increasing, the fluctuation trend value will reflect that the fluctuation is intensifying; conversely, when the rate of change is small and the direction indicates that the fluctuation amplitude is continuously decreasing, the fluctuation trend value will reflect that the fluctuation is weakening. This prediction can use simple linear prediction models, Kalman filtering, or statistical models based on historical data, etc.

[0101] For example, within a preset time window W = [t - ΔT, t], a linear regression is performed on the flow fluctuation signal x(t) to obtain the slope. Therefore, the volatility trend value is defined as: T = :

[0102] Based on the above definition, the sign and magnitude of T can be used to distinguish the trend direction and intensity of flow fluctuations:

[0103] When T > 0 and the amplitude is large, it indicates increased volatility;

[0104] When T < 0 and the amplitude is large, it indicates that the fluctuation is weakening.

[0105] To improve prediction accuracy, the system can use methods such as short-term linear extrapolation or Kalman filtering to predict the changes in T, and obtain the trend sign and magnitude within the future ΔT_{pred} time window, thereby providing a priori basis for the weight adjustment strategy.

[0106] t: represents the current time;

[0107] T: Fluctuation trend value, dimensionless, unit 1 / s;

[0108] The regression slope of the flow fluctuation signal within the ΔT window;

[0109] ΔT: The length of the historical time window used in the regression analysis;

[0110] ΔT_{pred}: Prediction window duration, used to define the future interval for prediction.

[0111] Specifically, when the fluctuation trend value indicates that the fluctuation is intensifying, the rate of decrease in the weight of the fixed safe output power and the rate of increase in the weight of the normal adaptive adjustment power are slowed down according to the third preset adjustment rule. Intensifying fluctuations mean that the water flow disturbance is increasing. If control is quickly transferred to the normal adaptive adjustment power at this time, it may lead to system instability due to insufficient response to large disturbances. Therefore, slowing down the weight adjustment rate aims to provide a buffer period, allowing the system to adapt more smoothly to the current intensified fluctuations and avoiding oscillations or loss of control caused by rapid switching. The third preset adjustment rule can be a preset deceleration factor, such as multiplying the original weight change rate by a coefficient less than 1.

[0112] for example:

[0113] 1. Third preset adjustment rule (mitigation type)

[0114] When the volatility trend value indicates that volatility is intensifying, the system adjusts the time scale by introducing a mitigation factor κdown (0 < κdown < 1):

[0115] t' = κdown × t

[0116] This slows down the rate at which the fixed safe output power weight ws decreases and the rate at which the normal adaptive adjustment power weight wa increases, thereby delaying the handover process and avoiding flow oscillations caused by excessively rapid switching.

[0117] Example of weight formula:

[0118] ws(t') = max{0, 1-(t' / T0)^p1}

[0119] wa(t') = 1 - ws(t')

[0120] 2. Fourth preset adjustment rule (acceleration type)

[0121] When the volatility trend value indicates that the volatility is in a weakening state, the system adjusts the time scale by introducing an acceleration factor κup (κup > 1):

[0122] t' = κup × t

[0123] This accelerates the decrease of the fixed safety output power weight ws and the increase of the normal adaptive adjustment power weight wa, thereby completing the handover process faster and improving the system response speed and flow control accuracy.

[0124] Example of weight formula:

[0125] ws(t') = max{0, 1-(t' / T0)^p1}

[0126] wa(t') = 1 - ws(t')

[0127] Parameter definition:

[0128] t: A time variable during the handover period, ranging from [0, T0].

[0129] T0: Baseline handover period duration, representing the total handover time of the system under normal conditions without special fluctuations.

[0130] p1: Curve shape factor, controls the decreasing / increasing shape of the weight curve. The selection of p1 is based on the system's requirements for response time and accuracy during fluctuations.

[0131] ws(t): Weight of fixed safe output power;

[0132] wa(t): Weight of normal adaptive adjustment power;

[0133] κdown: a mitigation factor used to delay the handover process during periods of heightened volatility;

[0134] κup: Acceleration factor, used to speed up the handover process when volatility decreases;

[0135] When t' ≥ T0, we set ws=0 and wa=1 to indicate that the handover has been completed.

[0136] In some preferred embodiments, the following specific example illustrates the situation:

[0137] Assume that during the control handover period, the system continuously monitors the instantaneous flow fluctuation signal of the main pipeline. At a certain moment, the system detects that the amplitude of the instantaneous flow fluctuation signal has been continuously increasing over the past 5 seconds, and its rate of change shows an accelerating trend. At this time, the system calculates the rate and direction of change of the fluctuation signal, and based on this, predicts its fluctuation trend value, indicating that the fluctuation is intensifying. The prediction is for the next preset time window (e.g., ΔT = 5 seconds). For example, if the fluctuation trend value exceeds the preset "intensification threshold," the system will immediately activate a third preset adjustment rule. This rule can be set to simultaneously halve the rate at which the weight of the current fixed safe output power decreases and the rate at which the weight of the normal adaptive adjustment power increases. For example, if the original weight change per second was 0.01, it will be adjusted to 0.005 per second. This reduced adjustment rate will provide a buffer for the system, enabling it to respond more smoothly to the current intensified flow fluctuation and avoid flow control failure due to rapid switching.

[0138] Conversely, if at another moment the system detects that the amplitude of the instantaneous flow fluctuation signal has been continuously decreasing over the past 5 seconds, and its rate of change shows a decelerating trend, the system will predict that the fluctuation trend value indicates a weakening state. For example, if the fluctuation trend value is lower than a preset "weakening threshold," the system will activate a fourth preset adjustment rule. This rule can be set to simultaneously accelerate the rate at which the weight of the current fixed safe output power decreases and the rate at which the weight of the normal adaptive adjustment power increases; for example, if the original weight change was 0.01 per second, it will be adjusted to 0.02 per second. This accelerated adjustment speed will allow the control system to more quickly transfer control to the normal adaptive adjustment power, thereby achieving high-precision flow control earlier and improving the efficiency of the water spray test. In this way, the system can intelligently adjust the rhythm of control transfer according to the actual dynamics of the water flow fluctuation, thereby optimizing the overall flow control performance without changing the general direction of the flow's "gradual decrease / increase," but rather dynamically correcting the switching speed.

[0139] Another embodiment of this application further proposes that S3413 includes:

[0140] S34131: Before entering the control handover period, based on the statistical characteristics of the historical records of fluctuation trend values ​​in the historical operation phase, determine the trend intensification threshold and trend weakening threshold used to judge the degree of fluctuation trend change.

[0141] S34132: During system operation, the fluctuation trend value is continuously updated in real time, and the updated fluctuation trend value is compared with the trend aggravation threshold and the trend weakening threshold to determine whether the current fluctuation trend value belongs to the aggravation state or the weakening state.

[0142] Specifically, before the control handover period, the system fully utilizes the fluctuation trend data accumulated during historical operation. These historical records are used for in-depth statistical analysis, such as calculating statistical characteristics like the mean, standard deviation, and quantiles, to objectively determine the trend aggravation and weakening thresholds. The trend aggravation threshold can be set when the fluctuation trend value exceeds a certain upper limit, indicating that flow fluctuations are significantly aggravating; while the trend weakening threshold can be set when the fluctuation trend value falls below a certain lower limit, indicating that flow fluctuations are significantly weakening. These thresholds are determined based on actual operational data, ensuring their rationality and effectiveness, and providing a solid foundation for subsequent real-time judgments.

[0143] During system operation, specifically the "real-time execution phase of the external window water spray test," the pumps, flow meters, and control algorithms are all activated. The analysis shifts from historical data analysis to dynamic processing of real-time collected instantaneous flow readings, fluctuation trends, and other parameters. The core emphasis is on dynamic online operation, rather than offline calculations before or after the experiment.

[0144] During system operation, the fluctuation trend value of the instantaneous traffic flow signal is continuously updated in real time. The updated fluctuation trend value is then compared with pre-determined trend aggravation thresholds and trend weakening thresholds. If the updated fluctuation trend value exceeds the trend aggravation threshold, the current fluctuation trend is determined to be in an aggravated state; if the updated fluctuation trend value is lower than the trend weakening threshold, the current fluctuation trend is determined to be in a weakening state. This threshold-based comparison mechanism provides the system with a quantitative and objective basis for accurately identifying the current state of traffic flow fluctuations.

[0145] This application's solution addresses the problem of accurately judging the fluctuation state based solely on predicted fluctuation trend values ​​by introducing trend intensification and deterioration thresholds determined from historical data. Specifically, before the control handover period begins, the system fully utilizes past operational data to statistically analyze historical fluctuation trend values, thereby establishing an objective standard for judging fluctuation states. This pre-determined threshold mechanism allows the system to avoid subjective judgment in subsequent operations, instead identifying fluctuation trends based on quantified standards. During actual operation, when the real-time updated fluctuation trend values ​​are compared with these thresholds, the system can quickly and accurately determine whether the current traffic fluctuation is intensifying or deteriorating. It is precisely this mechanism based on historical data and real-time comparison that enables the system to more refined and reliablely identify traffic fluctuation trends, providing solid data support for subsequent weight adjustments.

[0146] In some preferred embodiments, a specific example is given below: Suppose that before entering the control handover period, the system collects and analyzes historical operational data from exterior window water spray tests over the past few weeks or months. This historical data includes the fluctuation trend values ​​of the instantaneous flow rate fluctuation signal in the main pipeline under different operating conditions. Statistical analysis is performed on these historical fluctuation trend values, such as calculating their mean and standard deviation. A trend aggravation threshold can be set as the mean of the historical fluctuation trend values ​​plus twice the standard deviation, while a trend weakening threshold can be set as the mean of the historical fluctuation trend values ​​minus twice the standard deviation.

[0147] Specifically, during actual operation, the system continuously collects instantaneous flow fluctuation signals and calculates their rate of change and direction in real time to predict the current fluctuation trend value. For example, if the calculated fluctuation trend value is 0.05, while the preset trend aggravation threshold is 0.03 and the trend weakening threshold is -0.02, the system will immediately determine that the current flow fluctuation is aggravated because 0.05 is greater than 0.03. Based on this determination, the control system will, according to the third preset adjustment rule, slow down the rate of weight reduction of fixed safe output power and the rate of weight increase of normal adaptive adjustment power to avoid aggravating fluctuations due to rapid switching. Conversely, if the fluctuation trend value is -0.03, which is less than the trend weakening threshold of -0.02, the system will determine that the fluctuation is weakening and, according to the fourth preset adjustment rule, accelerate the adjustment speed of the weights to promote a smooth and rapid handover of control. This judgment mechanism based on quantitative thresholds ensures that the system's response to flow fluctuations is objective and predictable.

[0148] Another embodiment of this application further proposes that, after predicting the fluctuation trend value of the instantaneous flow fluctuation signal within a preset time window based on the rate and direction of change, it also includes:

[0149] S34133: Based on the change range of the fluctuation trend value within the preset prediction window, a power buffer adjustment instruction is generated. This power buffer adjustment instruction is used to temporarily introduce a buffer power value when the change rate of the weight of the fixed safe output power and the weight of the normal adaptive adjustment power exceeds the preset rate limit after adjustment according to the third preset adjustment rule or the fourth preset adjustment rule. The buffer power value is between the fixed safe output power and the normal adaptive adjustment power.

[0150] S34134: Gradually release the buffer power value within the set buffer duration according to the preset buffer curve.

[0151] Specifically, the power buffer adjustment command refers to the system intelligently determining whether the current weight adjustment rate may cause instability based on real-time monitored fluctuation trends, particularly the magnitude of changes within a preset prediction window. After adjustment according to the third or fourth preset adjustment rule, this command is triggered when the rate of change of the weights of the fixed safe output power and the normal adaptive adjustment power (i.e., the adjustment rate of the pump output power) exceeds the preset rate limit. The preset rate limit can be set according to system characteristics, pipeline inertia, flow meter response speed, and other factors to avoid flow shocks caused by sudden power changes.

[0152] The buffer power value can be understood as an intermediate power value temporarily introduced by the system during periods of rapid weight changes, falling between the fixed safe output power and the normal adaptive adjustment power. This buffer power value is not directly calculated by the adaptive algorithm, but rather serves as a smoothing mechanism to provide a transitional power output during rapid weight switching, preventing sudden and significant jumps in pump output power. For example, when the weight of the fixed safe output power decreases rapidly while the weight of the normal adaptive adjustment power increases rapidly, the buffer power value can temporarily replace part or all of the normal adaptive adjustment power to slow down the actual rate of power change.

[0153] In practical applications, a preset buffer curve refers to a mathematical function or predefined curve used to control the release process of the buffer power value. This curve can be linear, exponential, S-shaped, or other smooth functions. Its purpose is to ensure that the buffer power value is released gradually and smoothly in a controlled manner within a set buffer time, until the pump output power is entirely determined by the dynamically weighted averaged fixed safe output power and the normal adaptive adjustment power. The set buffer time refers to the time required for the buffer power value to be fully released from its introduction. This time can be flexibly configured according to the actual system response characteristics and flow fluctuations to achieve the best smooth transition effect.

[0154] This application's solution effectively addresses the flow fluctuation problem that may occur during the control handover period when the weight change rate is too rapid by introducing a power buffer adjustment mechanism. Specifically, when the system detects that the weight change rate of the fixed safe output power and the weight change rate of the normal adaptive adjustment power exceed the preset rate limit, it means that the pump's output power may be undergoing a rapid adjustment process. Directly changing the weight at this time could cause drastic fluctuations in instantaneous flow. By generating a power buffer adjustment command, the system temporarily introduces a buffer power value. This buffer power value acts as a "soft landing" mechanism, effectively absorbing the impact caused by rapid weight changes. Subsequently, the buffer power value is gradually released within a set buffer time according to a preset buffer curve, allowing the actual output power of the pump to smoothly transition from one state to another, avoiding abrupt power changes and thus suppressing drastic fluctuations in instantaneous flow. This mechanism ensures that the flow control system maintains high stability and responsiveness even in scenarios with rapid weight adjustments.

[0155] In some preferred embodiments, a specific example is given below: Suppose that during the control handover period, the system detects a significant change in the fluctuation trend value of the instantaneous flow fluctuation signal within a preset prediction window, and the weighted change rate of the calculated fixed safe output power and the weighted change rate of the normal adaptive adjustment power instantaneously exceed preset rate limits, for example, a change exceeding 5% per second. At this time, the system immediately generates a power buffer adjustment command. This command temporarily introduces a buffer power value; for example, if the fixed safe output power is 10kW and the normal adaptive adjustment power is 15kW, the system may temporarily introduce a buffer power value of 12kW. Subsequently, the system, following a preset S-shaped buffer curve, gradually and smoothly transitions the pump's output power from the current weighted average to a state including the buffer power value within a set buffer duration (e.g., 5 seconds), and finally gradually releases the buffer power value, so that the power is entirely determined by the dynamically weighted averaged fixed safe output power and the normal adaptive adjustment power. For example, in the first 2 seconds of the buffer period, the buffer power value may be released at a slower rate to cope with the initial rapid change; in the middle 1 second, the release rate accelerates; and in the last 2 seconds, the release rate slows down again until the buffer power value is fully released. This dynamic buffer release process can effectively avoid abrupt changes in power, thereby ensuring that the instantaneous flow remains within the expected stable range during the control handover period. This significantly reduces flow fluctuations caused by excessively rapid power adjustments. In cases of "excessively fast switching rate," buffer power is forcibly introduced. After the switching rate is determined above, if the switching rate exceeds the system's allowable range, adjustments are triggered to resolve the power surge problem caused by excessively fast switching.

[0156] Another embodiment of this application further proposes a method for processing instantaneous flow fluctuation signals, which further includes:

[0157] S34135: When the frequency of the instantaneous flow fluctuation signal of the main pipeline is continuously present within the preset frequency range and the fluctuation amplitude does not exceed the preset comparison threshold, it is determined to be a low-amplitude high-frequency fluctuation.

[0158] S34136: For low-amplitude, high-frequency fluctuations, a high-frequency suppression filtering algorithm is activated to perform real-time smoothing of the instantaneous flow fluctuation signal, resulting in an adjusted instantaneous flow fluctuation signal.

[0159] Specifically, the "preset frequency range" can be understood as the frequency range of typical high-frequency interference signals caused by factors such as pump, pipe structure, valve vibration, or sensor noise in the water spray test pipeline system. For example, it can be set to 50Hz to 500Hz. The "preset comparison threshold" refers to the amplitude limit used to distinguish between normal flow fluctuations and low-amplitude high-frequency interference. Its value is usually much smaller than the flow fluctuation amplitude during normal system operation. For example, it can be set to 0.5% to 2% of the instantaneous flow average. When the frequency of the instantaneous flow fluctuation signal continuously falls within the preset frequency range, and its fluctuation amplitude is always lower than the preset comparison threshold, the system will identify it as a low-amplitude high-frequency fluctuation that requires special handling.

[0160] "High-frequency suppression filtering algorithm" refers to a digital signal processing algorithm that can effectively filter out high-frequency components in a signal, such as low-pass filters, Kalman filters, or wavelet denoising algorithms. "Real-time smoothing processing" refers to continuous, real-time filtering of instantaneous flow fluctuation signals to eliminate or significantly reduce high-frequency noise components, thereby obtaining a more stable and accurate flow signal. Its purpose is to provide cleaner input data for subsequent control algorithms and avoid interference from high-frequency noise in control decisions.

[0161] This application's solution addresses the problem of insufficient suppression of persistent low-amplitude, high-frequency interference signals by traditional adjustment mechanisms based on fluctuation trend judgment during control handover periods by introducing a specialized low-amplitude, high-frequency fluctuation detection and suppression mechanism. Specifically, when the system identifies this specific type of fluctuation, a high-frequency suppression filtering algorithm is immediately activated to smooth the instantaneous flow fluctuation signal in real time, and the adjusted instantaneous flow fluctuation signal is used for subsequent calculations. As a result, high-frequency noise components are effectively filtered out, allowing subsequent fluctuation trend prediction and weight adjustment to be based on more accurate and stable flow signals, avoiding the misleading influence of high-frequency noise on the control system's judgment, thereby improving the robustness and accuracy of control.

[0162] In some preferred embodiments, a specific example is given below: Suppose that during the control handover period, the system continuously monitors the instantaneous flow fluctuation signal of the main pipeline. When the frequency of this signal is detected to be consistently between 100Hz and 300Hz, and its fluctuation amplitude never exceeds 1% of the average instantaneous flow rate, the system determines it to be a low-amplitude, high-frequency fluctuation. At this time, a second-order Butterworth low-pass filter is immediately activated as a high-frequency suppression filtering algorithm, with its cutoff frequency set to 50Hz. This filter processes the instantaneous flow fluctuation signal in real time, effectively filtering out high-frequency noise components between 100Hz and 300Hz, thereby obtaining a smoother, adjusted instantaneous flow fluctuation signal. This smoothed signal is then used for subsequent fluctuation trend prediction and weight adjustment, significantly reducing the impact of high-frequency noise on control decisions, making the pump output power adjustment more stable and accurate.

[0163] Another embodiment of this application further proposes that, during the control transfer period, it also includes:

[0164] S4000: Real-time monitoring of instantaneous flow fluctuation signals and real-time operating parameters of the main pipeline;

[0165] S5000: When the fluctuation amplitude of the instantaneous flow fluctuation signal within the preset time window is detected to exceed the disturbance trigger threshold, and the change trend of the real-time operating parameters does not conform to the preset bubble interference characteristic mode, it is determined to be a sudden disturbance event.

[0166] S6000: In response to sudden disturbance events, it suspends the weight changes of fixed safe output power and normal adaptive adjustment power, and locks the output power of the water pump at the power value at the time of the control handover period.

[0167] S7000: After detecting that the sudden disturbance event has subsided and the instantaneous flow fluctuation signal has recovered to the preset stable range, the weight change process of the control handover period is restarted according to the preset recovery rules.

[0168] Specifically, real-time monitoring of instantaneous flow fluctuations and real-time operating parameters in the main pipeline refers to continuously collecting instantaneous flow data using flow sensors installed on the main pipeline, analyzing its fluctuation characteristics, and simultaneously acquiring real-time operating parameters such as pump speed, current, and voltage. The instantaneous flow fluctuation signal can be understood as the deviation of the instantaneous flow reading from its short-term average value or a set target value. Real-time operating parameters provide direct feedback on the current operating status of the pump.

[0169] When it is detected that the fluctuation amplitude of the instantaneous flow rate fluctuation signal instantaneously exceeds the disturbance trigger threshold within a preset time window and the change trend of the real-time operating parameters does not conform to the preset bubble interference characteristic pattern, it is determined as a sudden disturbance event. This means that the system not only pays attention to the drastic fluctuation of the flow rate but also combines the change of the operating state of the water pump itself to distinguish the types of disturbances. For example, bubble interference is usually accompanied by a specific change pattern of the water pump load, while sudden disturbances (such as pipe blockage, sudden opening or closing of valves, etc.) may show different change trends of operating parameters. The disturbance trigger threshold can be set according to the system historical data and experience to distinguish normal fluctuations from abnormal disturbances.

[0170] In the embodiment of the present application, the bubble interference characteristic pattern φ_{bubble} is defined as a vector composed of at least one of the following characteristics:

[0171] Current characteristics: current amplitude A_I, main frequency f_I of current fluctuation;

[0172] Flow correlation: correlation coefficient ρ_{I,q} between current and instantaneous flow rate fluctuation signal;

[0173] Speed characteristics: speed deviation A_n, main frequency f_n of speed fluctuation;

[0174] Other optional characteristics: such as root mean square value of vibration, harmonic energy component, etc.

[0175] During operation, extract the real-time operating parameters φ(t) and match them with the preset bubble interference characteristic pattern φ_{bubble}. The matching criterion is:

[0176] When the similarity S(φ(t), φ_{bubble}) ≥ S_{th} (or the distance D(φ(t), φ_{bubble}) ≤ D_{th}), it is considered to conform to the bubble interference characteristic pattern;

[0177] When the similarity S(φ(t), φ_{bubble}) < S_{th} (or the distance D(φ(t), φ_{bubble}) > D_{th}), it is considered not to conform to the bubble interference characteristic pattern.

[0178] Where:

[0179] S(·) is a similarity function, and its value range is [0,1]; [[ID=​​​​​

[0182] This definition, based on "multidimensional features + threshold criteria", can clearly distinguish bubble interference from other disturbances.

[0183] In response to a sudden disturbance, the weighting changes of the fixed safe output power and the normal adaptive adjustment power are suspended, and the pump's output power is locked at the value at the time of control handover. This measure aims to immediately freeze the current control state, preventing further weight adjustments when the system is unstable, thereby avoiding exacerbating fluctuations or causing system out of control due to improper adjustments. The pump's output power is locked at the value just before the disturbance occurred to maintain the system in a relatively stable state, awaiting the disturbance to subside.

[0184] After detecting the subsidence of a sudden disturbance and the return of the instantaneous flow fluctuation signal to a preset stable range, the weight change process during the control handover period restarts according to preset recovery rules. This means the system possesses self-recovery capabilities. When the flow fluctuation signal returns to an acceptable stable range, and other relevant parameters also indicate that the disturbance has disappeared, the control handover process will smoothly resume according to predetermined recovery rules (e.g., continuing from the pause point, or restarting from a safe point), ensuring the integrity and reliability of the entire handover process. The preset stable range can be defined as the flow fluctuation amplitude being less than a small threshold for a certain period of time. The preset recovery rules may include gradually restoring the weight change rate, or resuming only after confirming that the system is completely stable.

[0185] In some preferred embodiments, a specific example is given below: Suppose that during an external window water spray test, the control system is in the transition period from an abnormal response mode to a normal adaptive adjustment mode. During this period, the weight of the fixed safe output power is gradually decreasing, while the weight of the normal adaptive adjustment power is gradually increasing. Suddenly, due to debris falling from the inner wall of the pipe or external vibration causing a localized momentary blockage in the pipe, the instantaneous flow fluctuation signal of the main pipe momentarily exceeds the preset disturbance trigger threshold (e.g., ±5%) from ±0.5% within a preset time window (e.g., 500 milliseconds). Simultaneously, the system monitors that the changing trends of the real-time operating parameters of the water pump (such as current and speed) do not conform to the preset bubble interference characteristic pattern (e.g., bubble interference is usually accompanied by periodic small fluctuations in current), instead exhibiting a sudden and significant increase in current and a momentary decrease in speed.

[0186] At this point, the control system will immediately determine that this is a sudden disturbance event. In response, the system will immediately pause the weight changes of the fixed safe output power and the normal adaptive adjustment power. For example, if the weight of the fixed safe output power is 0.4 and the weight of the normal adaptive adjustment power is 0.6, these two weights will remain unchanged. Simultaneously, the pump's output power will be locked at the power value just before the sudden disturbance event occurred; for example, if the pump's output power was 80% at that time, it will remain at 80%. This locked state will continue until the system detects that the sudden disturbance event has subsided. For example, when the pipe blockage is washed away by the water flow, and the instantaneous flow fluctuation signal recovers to a preset stable range (e.g., less than ±1%) within a preset time window and remains so for a period of time (e.g., 3 seconds), the system will determine that the disturbance has subsided. Subsequently, the system will restart the weight change process during the control handover period according to preset recovery rules (e.g., continuing from the weight ratio at the time of suspension, or restarting the weight adjustment at a slower pace) to ensure a smooth transition of flow control.

[0187] Another embodiment of this application further proposes that, during the control transfer period, it also includes:

[0188] S8000: During the process of water pump output power change, calculate in real time the weighted change rate of fixed safe output power and normal adaptive adjustment power;

[0189] S9000: When the rate of change of weights exceeds the preset stability threshold and the duration exceeds the preset duration, the stabilization adjustment mechanism is triggered. When the stabilization adjustment mechanism is triggered, the rate of change of weights is adjusted according to the preset smoothing function.

[0190] Specifically, the real-time calculation of the weight change rate of the fixed safe output power and the normal adaptive adjustment power refers to the system continuously monitoring the weight values ​​assigned to the fixed safe output power and the normal adaptive adjustment power, and calculating the rate at which these weight values ​​change over time. This rate can be obtained by differentiating or differentiating the weight values ​​to reflect the speed of weight adjustment. The preset stability threshold is a pre-defined maximum allowable weight change rate used to define the stability boundary of system operation. This threshold can be empirically set based on system characteristics, experimental requirements, and historical operating data, or determined through simulation optimization. The preset duration refers to the time required for the weight change rate to continuously exceed the stability threshold, used to avoid misjudgments caused by instantaneous disturbances and ensure that only persistent unstable trends trigger the stabilization adjustment mechanism. When the above conditions are met, the stabilization adjustment mechanism is triggered, meaning the system will temporarily take over or intervene in the original weight adjustment logic. When the stabilization adjustment mechanism is triggered, the system will adjust the weight change rate according to a preset smoothing function. The preset smoothing function can be a mathematical curve, such as an S-curve, an exponential decay curve, or a linear ramp function. Its purpose is to smooth out the excessively rapid rate of change of weights, making them change slowly within an acceptable range, thereby avoiding drastic fluctuations in the output power of the water pump.

[0191] The proposed solution monitors the rate of change of the weights of the fixed safe output power and the normal adaptive adjustment power in real time and compares it with a preset stability threshold, enabling timely detection of potential system instability. When the rate of weight change is detected to be excessively rapid, the system can proactively trigger a stabilization adjustment mechanism, adjusting the rate of weight change by applying a preset smoothing function. This adjustment makes the transition of control from the fixed safe output power to the normal adaptive adjustment power smoother and more controllable, effectively avoiding instantaneous fluctuations in pump output power caused by rapid weight changes, thereby ensuring stable flow output throughout the entire water spray test.

[0192] for example:

[0193] I. Initial conditions and parameters

[0194] 1. Start time of the control handover period: t0, where t ranges from 0 to 180 seconds.

[0195] 2. Weight definition: ωsafe(t) is the fixed safe output power weight, ωadapt(t) is the normal adaptive adjustment power weight, ωadapt(t) = 1-ωsafe(t).

[0196] 3. Initial weights: ωsafe(t0) = 0.70, ωadapt(t0) = 0.30.

[0197] 4. Initial adjustment mechanism: ωsafe is linearly reduced from 0.70 to 0.10 within 60s, with an initial weight change rate of approximately 0.010 / s.

[0198] 5. Monitoring cycle: Δt = 0.5s.

[0199] 6. Stationarity threshold and persistence criterion:

[0200] 6.1 Stationarity threshold Vstab = 0.015 / s.

[0201] 6.2 Duration Tmin = 3s (It must continue for at least 3s after exceeding the threshold to trigger).

[0202] II. Integrated Continuous Process

[0203] 1. Real-time calculation of weight change rate:

[0204] 1.1 The difference approximation yields dωsafe / dt≈[ωsafe(t)-ωsafe(t-Δt)] / Δt.

[0205] 1.2 Since ωadapt=1-ωsafe, dωadapt / dt =-dωsafe / dt.

[0206] 2. Threshold determination and triggering:

[0207] 2.1 Within 3 seconds from t = 129s to 132s, it was observed that |dωsafe / dt|≈0.024 / s>Vstab, and the duration reached Tmin.

[0208] 2.2 The stabilization adjustment was triggered at t = 132s. At this time, the measured values ​​were: ωsafe(132s) = 0.58, ωadapt(132s) = 0.42.

[0209] 3. Smoothing adjustment mechanism (adjusted using a preset smoothing function):

[0210] 3.1 Set the target weight for the next stage as: ωsafe*=0.48 (to complete this round of transition).

[0211] 3.2 Apply a preset smoothing function (e.g., exponential or S-shaped rate limiter) to limit the rate of subsequent weight changes to no more than Vstab.

[0212] 3.3 Example of weight evolution after triggering (all satisfying |dω / dt| ≤ Vstab):

[0213] 3.3.1 t = 134 s: ωsafe ≈ 0.554, ωadapt ≈ 0.446.

[0214] 3.3.2 t = 136 s: ωsafe ≈ 0.535, ωadapt ≈ 0.465.

[0215] 3.3.3 t = 140 s: ωsafe ≈ 0.510, ωadapt ≈ 0.490.

[0216] 3.3.4 t = 144 s: ωsafe ≈ 0.497, ωadapt ≈ 0.503.

[0217] The "detecting over-limit → immediately limiting and smoothing" process is completed within the same logic chain, ensuring that the rate of weight change does not exceed Vstab. This avoids sudden changes in pump output power caused by excessively rapid weight changes, making the handover of control from a fixed safe output power to normal adaptive adjustment power smoother and more controllable.

[0218] The above values ​​(Vstab, Tmin, target weight, sampling period, etc.) are parameters for the example, used to illustrate the mechanism, and are not intended to limit the invention. The smoothing function can be equivalently replaced by an S-curve, a linear ramp speed limit, or a piecewise polynomial speed limit, as long as the criterion |dω / dt| ≤ Vstab and Tmin is satisfied.

[0219] In some preferred embodiments, it is assumed that during the control handover period, due to external disturbances or instantaneous adjustments in the internal algorithm, the rate of change of the weights of the fixed safe output power and the normal adaptive adjustment power suddenly increases. For example, when the system detects that the rate of change of the weights reaches a preset stability threshold of 5% per second and lasts for a preset duration of 0.5 seconds, the stabilization adjustment mechanism is triggered. At this time, the system will pause the original weight adjustment rules and instead adjust the rate of change of the weights according to a preset S-shaped smoothing function. This S-shaped function limits the instantaneous maximum slope of the weight change, allowing it to gradually and smoothly reach the target weight over the next 2 seconds, rather than jumping immediately. For example, if the original plan was to complete a 10% weight adjustment within 0.1 seconds, now this 10% adjustment will be completed within 2 seconds with a smoother curve, thereby avoiding a sharp change in the pump output power, ensuring a smooth transition of flow, and effectively suppressing possible instantaneous flow fluctuations.

[0220] In another embodiment of this application, S34134 further includes:

[0221] A1: During the buffer period, monitor the rate of change of the instantaneous flow fluctuation signal in the main pipeline in real time;

[0222] A2: When the rate of change is detected to exceed the buffer release adjustment threshold, the slope of the preset buffer curve is dynamically adjusted to slow down the power release rate;

[0223] A3: When the rate of change is detected to be lower than the buffer release adjustment threshold, the slope of the preset buffer curve is increased to accelerate the power release speed;

[0224] A4: By dynamically adjusting the slope, the buffer power value continuously matches the changing trend of instantaneous flow fluctuations during the release process, thereby improving the fluctuation suppression effect during the control handover period.

[0225] Specifically, within the buffer period, the system is configured to continuously monitor the rate of change of the instantaneous flow fluctuation signal in the main pipeline in real time. This rate of change characterizes the amplitude of the instantaneous flow fluctuation signal change per unit time, reflecting the dynamic characteristics of the current flow fluctuation. The buffer release adjustment threshold is a preset reference value used to judge the severity of the instantaneous flow fluctuation signal change. When the monitored rate of change of the instantaneous flow fluctuation signal exceeds this buffer release adjustment threshold, it indicates that the flow fluctuation is undergoing a relatively drastic change. At this time, the slope of the preset buffer curve will be dynamically adjusted to make it smoother, thereby slowing down the release rate of the buffer power value. Conversely, when the monitored rate of change is below the buffer release adjustment threshold, it indicates that the flow fluctuation is stabilizing or changing relatively slowly. At this time, the slope of the preset buffer curve will be dynamically adjusted to make it steeper, thereby accelerating the release rate of the buffer power value.

[0226] This application's solution addresses the problem of fixed buffer curves being unable to adapt to complex dynamic environments by introducing real-time monitoring of the rate of change of instantaneous flow fluctuation signals and dynamically adjusting the slope of the buffer power release curve accordingly. When the flow fluctuation signal changes drastically, slowing down the power release rate helps avoid exacerbating system instability due to sudden power changes, providing the system with more time for response and adjustment. When the flow fluctuation signal tends to stabilize, accelerating the power release rate allows for a faster transition of control to the normal adaptive adjustment mode, improving the system's response efficiency. Therefore, the buffer power value maintains a high degree of matching with the actual trend of instantaneous flow fluctuations during the release process, ensuring that the adjustment of pump output power is both smooth and efficient during the control handover period.

[0227] In some preferred embodiments, a specific example is given below: Assume that during the control handover period, the buffer power value is being gradually released according to a preset buffer curve. When the system detects a sudden increase in the rate of change of the instantaneous flow fluctuation signal in the main pipeline—for example, due to the re-formation of tiny bubbles within the pipeline or minor external disturbances—causing the instantaneous rate of change of the flow fluctuation signal to exceed a preset buffer release adjustment threshold, the control system will immediately respond by dynamically adjusting the slope of the current preset buffer curve to make it smoother, thereby slowing down the release rate of the buffer power value. This slowing down helps avoid exacerbating the current fluctuation due to rapid power changes, providing the system with a longer response time to adapt to new fluctuation trends. Conversely, if the system detects that the rate of change of the instantaneous flow fluctuation signal continues to decrease and falls below the buffer release adjustment threshold, indicating that the flow fluctuation is stabilizing or weakening, the control system will increase the slope of the preset buffer curve, accelerating the release rate of the buffer power value, thereby enabling a faster and smoother complete handover of control to the normal adaptive adjustment mode. Through this dynamic adjustment mechanism, the release process of the buffer power value can always be synchronized with the actual dynamic changes of instantaneous flow fluctuations, ensuring that the flow control system maintains optimal stability and fluctuation suppression capability throughout the entire control handover period.

[0228] Reference Figure 2 This application proposes a flow control system for an external window water spray test pipeline, comprising:

[0229] Data processing module 1 is used to continuously acquire the instantaneous flow reading of the main pipeline flow meter and calculate the dispersion of the instantaneous flow reading within a preset time window;

[0230] The control handover module 2 is used to determine the end of bubble interference in the water flow when the dispersion is continuously lower than the preset recovery threshold, forcibly clear the integral term used to accumulate error in the adaptive control algorithm, and trigger the control handover period of the control system from abnormal response mode to normal adaptive adjustment mode.

[0231] The adaptive adjustment module 3 is used to determine the final output power of the water pump by dynamic weighted averaging based on the fixed safe output power and the calculated normal adaptive adjustment power during the control handover period. The weight of the fixed safe output power gradually decreases during the control handover period according to the first preset adjustment rule, and the weight of the normal adaptive adjustment power gradually increases during the control handover period according to the second preset adjustment rule, until the control is completely handed over to the normal adaptive adjustment power and the normal adaptive adjustment mode is entered.

[0232] This application achieves intelligent identification and smooth transition control of bubble interference in water flow by dividing the functions of the flow control method into independent modules such as data processing, control handover, and adaptive adjustment. This modular design helps the system safely and smoothly switch from the abnormal response mode to the normal adaptive adjustment mode after the bubble interference ends, effectively avoiding problems caused by flow meter misreading and pump overcompensation, thus ensuring the accuracy and reliability of the water spray test. The modules work together to form a robust and efficient flow control system.

[0233] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A method for controlling the flow rate of a water spray test pipe for exterior windows, characterized in that, include: Continuously acquire the instantaneous flow rate readings of the main pipeline flow meter and calculate the dispersion of the instantaneous flow rate readings within a preset time window; When the dispersion is continuously lower than the preset recovery threshold, it is determined that the bubble interference in the water flow has ended, the integral term used to accumulate errors in the adaptive control algorithm is forcibly cleared, and the control handover period for the transition of the control system from the abnormal response mode to the normal adaptive adjustment mode is triggered. During the control handover period, the final output power of the water pump is determined by a dynamic weighted average method based on the fixed safe output power and the calculated normal adaptive adjustment power. The weight of the fixed safe output power gradually decreases during the control handover period according to a first preset adjustment rule, and the weight of the normal adaptive adjustment power gradually increases during the control handover period according to a second preset adjustment rule, until control is completely transferred to the normal adaptive adjustment power, and the system enters the normal adaptive adjustment mode.

2. The method for controlling the flow rate of the external window water spray test pipeline according to claim 1, characterized in that, During the control handover period, the final output power of the water pump is determined by a dynamic weighted average method based on the fixed safe output power and the calculated normal adaptive adjustment power, including: Continuously monitor the instantaneous flow fluctuation signal of the main pipeline; Based on the comparison result between the instantaneous flow fluctuation signal and the preset comparison threshold, the weights of the fixed safe output power and the normal adaptive adjustment power are dynamically adjusted according to the first preset adjustment rule and the second preset adjustment rule to suppress the instantaneous flow fluctuation signal.

3. The method for controlling the flow rate of the external window water spray test pipeline according to claim 2, characterized in that, The step of dynamically adjusting the weights of the fixed safe output power and the normal adaptive adjustment power according to the comparison result between the instantaneous flow fluctuation signal and the preset comparison threshold, and in accordance with the first preset adjustment rule and the second preset adjustment rule, includes: Calculate the rate of change and direction of change of the instantaneous flow fluctuation signal within a preset time window; Based on the rate and direction of change, predict the fluctuation trend value of the instantaneous flow fluctuation signal within a preset time window; When the fluctuation trend value indicates that the fluctuation is intensifying, the rate of decrease of the weight of the fixed safe output power and the rate of increase of the weight of the normal adaptive adjustment power are slowed down according to the third preset adjustment rule. When the fluctuation trend value indicates that the fluctuation is in a weakening state, the reduction rate of the weight of the fixed safe output power and the increase rate of the weight of the normal adaptive adjustment power are accelerated according to the fourth preset adjustment rule.

4. The method for controlling the flow rate of the external window water spray test pipeline according to claim 3, characterized in that, The prediction of the fluctuation trend value of the instantaneous flow fluctuation signal within a preset time window based on the rate and direction of change includes: Before entering the control handover period, based on the statistical characteristics of the historical records of fluctuation trend values ​​in the historical operation phase, a trend intensification threshold and a trend weakening threshold are determined to judge the degree of fluctuation trend change. During system operation, the fluctuation trend value is continuously updated in real time, and the updated fluctuation trend value is compared with the trend aggravation threshold and the trend weakening threshold to determine whether the current fluctuation trend value belongs to an aggravation state or a weakening state.

5. The method for controlling the flow rate of the external window water spray test pipeline according to claim 3, characterized in that, After predicting the fluctuation trend value of the instantaneous flow fluctuation signal within a preset time window based on the rate and direction of change, the method further includes: Based on the change range of the fluctuation trend value within the preset prediction window, a power buffer adjustment instruction is generated. The power buffer adjustment instruction is used to temporarily introduce a buffer power value when the weight change rate of the fixed safe output power and the weight change rate of the normal adaptive adjustment power exceed the preset rate limit after adjustment according to the third preset adjustment rule or the fourth preset adjustment rule. The buffer power value is between the fixed safe output power and the normal adaptive adjustment power. The buffer power value is gradually released within a set buffer duration according to the preset buffer curve.

6. The method for controlling the flow rate of the external window water spray test pipeline according to claim 3, characterized in that, The method further includes: When the frequency of the instantaneous flow fluctuation signal of the main pipeline is continuously present within the preset frequency range and the fluctuation amplitude does not exceed the preset comparison threshold, it is determined to be a low-amplitude high-frequency fluctuation. To address the low-amplitude, high-frequency fluctuations, a high-frequency suppression filtering algorithm is activated to smooth the instantaneous flow fluctuation signal in real time, resulting in an adjusted instantaneous flow fluctuation signal.

7. The method for controlling the flow rate of the external window water spray test pipeline according to claim 1, characterized in that, During the aforementioned period of control transfer, it also includes: Real-time monitoring of instantaneous flow fluctuations and real-time operating parameters of the main pipeline; When the fluctuation amplitude of the instantaneous flow fluctuation signal within a preset time window is detected to momentarily exceed the disturbance trigger threshold, and the change trend of the real-time operating parameters does not conform to the preset bubble interference characteristic pattern, it is determined to be a sudden disturbance event. In response to the sudden disturbance event, the weighting change of the fixed safe output power and the normal adaptive adjustment power is suspended, and the output power of the water pump is locked at the power value at the time of the control handover period. After the sudden disturbance event is detected to have subsided and the instantaneous flow fluctuation signal has recovered to the preset stable range, the weight change process of the control handover period is restarted according to the preset recovery rules.

8. The method for controlling the flow rate of the external window water spray test pipeline according to claim 1, characterized in that, During the aforementioned period of control transfer, it also includes: During the change of pump output power, the weighted change rate of the fixed safe output power and the normal adaptive adjustment power is calculated in real time. When the rate of change of the weight is detected to exceed a preset stability threshold and the duration exceeds a preset duration, a stabilization adjustment mechanism is triggered. When the stabilization adjustment mechanism is triggered, the rate of change of the weight is adjusted according to a preset smoothing function.

9. The method for controlling the flow rate of the external window water spray test pipeline according to claim 5, characterized in that, The step of gradually releasing the buffer power value according to the preset buffer curve within a set buffer duration includes: During the buffer period, the rate of change of the instantaneous flow fluctuation signal of the main pipeline is monitored in real time. When the rate of change is detected to exceed the buffer release adjustment threshold, the slope of the preset buffer curve is dynamically adjusted to slow down the power release rate. When the rate of change is detected to be lower than the buffer release adjustment threshold, the slope of the preset buffer curve is increased to accelerate the power release speed. By dynamically adjusting the slope, the buffer power value continuously matches the changing trend of instantaneous flow fluctuations during the release process, thereby improving the fluctuation suppression effect during the control handover period.

10. A flow control system for an external window water spray test pipeline, characterized in that, include: The data processing module is used to continuously acquire the instantaneous flow reading of the main pipeline flow meter and calculate the dispersion of the instantaneous flow reading within a preset time window; The control handover module is used to determine that the bubble interference in the water flow has ended when the dispersion is continuously lower than the preset recovery threshold, to forcibly clear the integral term used to accumulate errors in the adaptive control algorithm, and to trigger the control handover period of the control system transitioning from the abnormal response mode to the normal adaptive adjustment mode. An adaptive adjustment module is used to determine the final output power of the water pump during the control handover period by means of a dynamic weighted average based on the fixed safe output power and the calculated normal adaptive adjustment power. The weight of the fixed safe output power gradually decreases during the control handover period according to a first preset adjustment rule, and the weight of the normal adaptive adjustment power gradually increases during the control handover period according to a second preset adjustment rule, until the control is completely handed over to the normal adaptive adjustment power, and the system enters the normal adaptive adjustment mode.

Citation Information

Patent Citations

  • Exterior wall water spray test system and test method thereof

    CN105486461A

  • Building water spray tester

    CN201844904U