Water flow adjusting method, device and equipment based on environment temperature adaptation and medium
By adjusting the water flow threshold in real time within the air source heat pump system, combined with ambient temperature and operating mode, the problems of misjudgment and shutdown caused by traditional fixed thresholds are solved. This achieves system self-adaptation, precise protection, and smooth recovery, improving the operational stability of the equipment and the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-22
- Publication Date
- 2026-04-07
AI Technical Summary
In existing air source heat pump systems, the traditional water flow protection mechanism uses a fixed threshold, which leads to rigid protection thresholds, poor mode adaptability, and is prone to misjudgment and unnecessary system shutdown under different operating modes. It also lacks intelligent diagnostic capabilities, affecting the continuous and stable operation of the equipment.
The water flow regulation method based on environmental temperature adaptation dynamically calculates the minimum flow protection threshold and recovery threshold, and combines it with intelligent recovery judgment technology for hysteresis intervals to adjust the water flow threshold in real time, thereby constructing an intelligent safety boundary and avoiding false protection and fault recovery oscillations.
It improves the system's inherent stability and security under complex operating conditions, reduces unnecessary downtime, enhances the user experience, and ensures a smooth and reliable recovery process.
Smart Images

Figure CN121807013A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automation technology, and in particular to a method, apparatus, equipment and medium for regulating water flow based on environmental temperature adaptation. Background Technology In existing air source heat pump systems, traditional water flow protection mechanisms typically use a fixed threshold for detection. Once the actual flow rate is detected to be lower than this preset fixed value, the system directly implements shutdown protection. However, this seemingly simple solution reveals several inherent flaws in practical applications. First, its protection threshold suffers from severe rigidity and poor mode adaptability. Because the system heat load and actual water flow demand of an air source heat pump differ significantly under different operating modes such as cooling, heating, and hot water, using a single fixed threshold for judgment is prone to misjudgment under certain specific operating conditions, leading to unnecessary system shutdowns and severely impacting the continuous and stable operation of the equipment. Second, this mechanism lacks continuous and intelligent diagnostic capabilities for water flow signals, failing to effectively distinguish between transient instantaneous fluctuations and actual, persistent faults. Summary of the Invention
[0002] This application provides a water flow regulation method, device, equipment, and medium based on ambient temperature adaptation, aiming to solve the problem of poor operational stability of water pumps under different ambient temperatures and complex water system conditions.
[0003] In a first aspect, embodiments of this application provide a water flow rate adjustment method based on ambient temperature adaptation, comprising: configuring a water flow rate threshold calculation strategy based on the current water flow rate information of the target water pump and ambient temperature information; calculating a minimum flow rate protection threshold and a recovery threshold based on the water flow rate threshold calculation strategy to obtain threshold adjustment strategy information; comparing the current water flow rate value in the current water flow rate information with the minimum flow rate protection threshold to determine whether the current water flow rate value is less than the minimum flow rate protection threshold and the duration is greater than a preset first monitoring duration; if the current water flow rate value is less than the minimum flow rate protection threshold and the duration is greater than the preset first monitoring duration, generating a fault protection command; controlling the water pump to suspend operation and prepare for restart according to the fault protection command and a preset pause delay duration; obtaining the updated current water flow rate value after the target water pump restarts, determining whether the current water flow rate value is greater than a preset recovery threshold and the duration is greater than a preset second monitoring duration; if the current water flow rate value is greater than the recovery threshold and the duration is greater than the second monitoring duration, generating a normal start command to control the water pump to start normally.
[0004] Secondly, embodiments of this application also provide a water flow regulation device based on ambient temperature adaptation, comprising: a strategy configuration unit for configuring a water flow threshold calculation strategy based on the acquired current water flow information of the target water pump and ambient temperature information; a calculation unit for performing minimum flow protection threshold calculation and recovery threshold calculation based on the water flow threshold calculation strategy to obtain threshold adjustment strategy information; a first monitoring unit for comparing the current water flow value in the current water flow information with the minimum flow protection threshold, determining whether the current water flow value is less than the minimum flow protection threshold, and whether the duration is greater than a preset first monitoring duration; and a first instruction. The generation unit is used to generate a fault protection command if the current water flow value is less than the minimum flow protection threshold and the duration is greater than the preset first monitoring duration; the restart unit is used to control the water pump to stop running and prepare for restarting according to the fault protection command and the preset pause delay duration; the second monitoring unit is used to obtain the updated current water flow value after the target water pump restarts, determine whether the current water flow value is greater than the preset recovery threshold and the duration is greater than the preset second monitoring duration; the second command generation unit is used to generate a normal start command to control the water pump to start normally if the current water flow value is greater than the recovery threshold and the duration is greater than the second monitoring duration. Thirdly, embodiments of this application also provide a computer device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described method.
[0005] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, the computer program including program instructions, which, when executed by a processor, can implement the above-described method.
[0006] This application provides a method, apparatus, device, and medium for water flow regulation based on ambient temperature adaptation. The method includes configuring a water flow threshold calculation strategy based on the acquired current water flow information of a target water pump and ambient temperature information; calculating a minimum flow protection threshold and a recovery threshold based on the water flow threshold calculation strategy to obtain threshold adjustment strategy information; comparing the current water flow value in the current water flow information with the minimum flow protection threshold to determine if the current water flow value is less than the minimum flow protection threshold and the duration is greater than a preset first monitoring duration; if the current water flow value is less than the minimum flow protection threshold and the duration is greater than the preset first monitoring duration, generating a fault protection command; controlling the water pump to pause operation and prepare for restart according to the fault protection command and a preset pause delay duration; acquiring the updated current water flow value after the target water pump restarts, determining if the current water flow value is greater than a preset recovery threshold and the duration is greater than a preset second monitoring duration; if the current water flow value is greater than the recovery threshold and the duration is greater than the second monitoring duration, generating a normal start command to control the water pump to start normally. The aforementioned method implements an adaptive flow threshold dynamic calculation technology based on ambient temperature. This technology uses ambient temperature and operating mode as key input variables to calculate the minimum flow protection threshold and recovery threshold in real time, thereby constructing an intelligent safety boundary that can adjust in real time according to operating conditions, completely replacing the traditional rigid fixed threshold scheme. Closely coupled with this technology is an intelligent recovery judgment technology with a hysteresis range. By setting the recovery threshold to be always greater than the minimum flow protection threshold, the oscillation phenomenon of repeated start-stop at the fault critical point is fundamentally eliminated, ensuring a smooth and reliable recovery process. In summary, the synergistic effect of the above technologies, through the precise coordination and linkage of multiple sensors, not only greatly improves the inherent stability and safety of the system under various complex operating conditions, but also significantly improves the user's equipment experience and comfort by reducing unnecessary downtime and achieving smooth self-recovery. Attached Figure Description
[0007] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0008] Figure 1 A schematic flowchart of a water flow rate regulation method based on ambient temperature adaptation provided in an embodiment of this application; Figure 2 A schematic diagram of a sub-process of a water flow rate regulation method based on ambient temperature adaptation provided in an embodiment of this application; Figure 3Another sub-process diagram of the water flow rate regulation method based on ambient temperature adaptation provided in the embodiments of this application; Figure 4 A schematic diagram of another sub-process of the water flow rate regulation method based on ambient temperature adaptation provided in the embodiments of this application; Figure 5 A schematic diagram of another sub-process of the water flow rate regulation method based on ambient temperature adaptation provided in the embodiments of this application; Figure 6 A schematic block diagram of a water flow regulation device based on ambient temperature adaptation provided in the embodiments of this application; Figure 7 A schematic block diagram of a computer device provided in an embodiment of this application. Detailed Implementation
[0009] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application. It should be understood that when used in this specification and appended claims, the terms "comprising" and "protecting" indicate the presence of the described features, integrals, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or collections thereof. It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit this application. As used in this specification and appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly indicates otherwise. It should also be further understood that the term "and / or" as used in this specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes such combinations.
[0010] This application provides a method, apparatus, device, and medium for regulating water flow based on ambient temperature adaptation.
[0011] The entity executing the water flow regulation based on ambient temperature adaptation can be the water flow regulation device based on ambient temperature adaptation provided in the embodiments of this application, or a computer device integrating the water flow regulation device based on ambient temperature adaptation. The water flow regulation device based on ambient temperature adaptation can be implemented in hardware or software. The computer device can be a terminal or a server. The terminal can be a smartphone, tablet computer, handheld computer, or laptop computer, etc.
[0012] This water flow regulation method based on environmental temperature adaptation is applied to Figure 7 Among the 500 computer devices.
[0013] Figure 1 This is a schematic flowchart of a water flow rate regulation method based on ambient temperature adaptation provided in an embodiment of this application. The method includes the following steps S110-170.
[0014] S110. Configure a water flow threshold calculation strategy based on the current water flow information of the target water pump and the ambient temperature information.
[0015] Configuration and calculation of dynamic threshold strategy (corresponding to steps S110-S120) The starting point of this invention is step S110, the system first acquires the current water flow rate information of the target water pump and, crucially, the ambient temperature information. Based on this real-time data, the system configures an appropriate water flow rate threshold calculation strategy. This "strategy configuration" is one of the key innovations of this invention; it means that the system does not employ a single algorithm but selects different calculation models based on the current operating mode (such as cooling, heating, or hot water).
[0016] S120. Calculate the minimum flow protection threshold and the recovery threshold based on the water flow threshold calculation strategy to obtain threshold adjustment strategy information.
[0017] S130. Compare the current water flow value in the current water flow information with the minimum flow protection threshold to determine whether the current water flow value is less than the minimum flow protection threshold and whether the duration is greater than the preset first monitoring duration.
[0018] S140. If the current water flow rate is less than the minimum flow protection threshold and the duration is greater than the preset first monitoring duration, a fault protection command is generated.
[0019] Precise fault diagnosis and protection triggering (corresponding to steps S130-S140): After obtaining the dynamic Q_min, the system enters the fault monitoring stage in step S130. This step embodies another major innovation of the present invention: a dual confirmation mechanism. The system not only determines whether the current water flow value is less than Q_min, but also confirms that the duration of this state is greater than a preset first monitoring duration (e.g., 5 seconds). This combined "threshold + time" determination effectively filters out misjudgments caused by instantaneous fluctuations in water flow or sensor noise, greatly improving the accuracy of fault identification. Once the dual conditions are confirmed to be met, step S140 immediately generates a fault protection command. This command will trigger a series of preset protection actions, such as shutting down core components like the compressor and fan, and controlling the water pump to delay shutdown by a preset pause hysteresis duration to ensure safe system shutdown.
[0020] S150: Control the water pump to stop running and prepare for restart according to the fault protection command and the preset pause delay time.
[0021] S160. Obtain the current water flow value updated after the target water pump restarts, determine whether the current water flow value is greater than the preset recovery threshold, and whether the duration is greater than the preset second monitoring duration.
[0022] S170. If the current water flow rate is greater than the recovery threshold and the duration is longer than the second monitoring duration, a normal start command is generated to control the water pump to start normally.
[0023] Intelligent Recovery and System Restart (corresponding to steps S150-S170) The outstanding advantage of this invention also lies in its intelligent recovery mechanism. After executing the protection command in step S150, the system does not simply wait but enters "restart preparation work." After a preset pause delay period (e.g., 5 minutes), the system automatically restarts the water pump, creating conditions for recovery. Monitoring after restart is performed in step S160, which also employs a dual confirmation mechanism, but with stricter standards. The system determines whether the updated current water flow value must be greater than the previously calculated recovery threshold (Q_recover), and whether the duration is greater than the preset second monitoring period (e.g., 10 seconds). The key here is: using Q_recover instead of Q_min: because Q_recover > Q_min, a "hysteresis interval" is formed, fundamentally avoiding the oscillation phenomenon of the system repeatedly "tripping-recovering-tripping again" near the fault critical point. The longer second monitoring period ensures that the water flow recovery is stable and reliable, rather than a brief, instantaneous satisfaction. Only when all the above conditions are met will step S170 generate a normal startup command, allowing core components such as the compressor to restart and the system to resume normal operation. If multiple attempts fail (e.g., 3 consecutive attempts), the system will enter a locked state to prevent damage to the equipment from invalid restarts and prompt for manual intervention. In summary, the method provided by this embodiment of the invention achieves the following beneficial effects through a complete closed loop of "ambient temperature sensing -> dynamic threshold calculation -> dual-condition fault determination -> intelligent recovery with hysteresis": The protection threshold is dynamically adjusted according to ambient temperature and operating mode, overcoming the rigidity of traditional fixed thresholds and achieving precise protection. Through the dual confirmation mechanism of "threshold + duration", the true fault and instantaneous fluctuation are effectively distinguished, significantly reducing the false protection rate. The stable recovery mechanism introduces a recovery threshold design with hysteresis intervals, solving the common fault recovery dead loop problem in traditional solutions and ensuring the stability of system operation. Comprehensive system protection integrates protection logic for automatic restart, multiple attempts, and final lockout, which not only improves the level of automation but also provides ultimate safety assurance for the equipment.
[0024] Specifically, this invention aims to address the technical challenges in existing air-source heat pump systems caused by the use of fixed flow thresholds, such as rigid protection, high false alarm rates, and unintelligent recovery mechanisms. This invention constructs a dynamic and intelligent closed-loop control strategy, achieving precise and adaptive water flow protection and recovery, significantly improving system stability and user experience. It transforms the traditional "passive, fixed threshold" protection strategy into an "active, dynamic predictive" intelligent management mode. This method proactively adjusts the system's safe operating boundaries by real-time sensing of the key external variable affecting the system's heat load—ambient temperature—and combines it with recovery logic featuring hysteresis and a multi-confirmation mechanism to construct a robust system that can respond promptly to real faults while effectively avoiding instantaneous interference and frequent start-stop cycles. In a more specific implementation, the system dynamically calculates two core thresholds based on the configured strategy: the minimum flow protection threshold (Q_min) and the recovery threshold (Q_recover). This calculation process is the core technology of this invention. For example, in cooling mode, the system calls a function that monotonically increases with rising ambient temperature (such as the S-shaped function F_cool(T_env)) to calculate Q_min. This aligns with the thermodynamic principle that higher ambient temperatures result in higher condensing loads and require higher safe flow rates. In heating mode, a function that monotonically increases with decreasing ambient temperature (such as the linear function F_heat(T_env)) is used to ensure sufficient flow to prevent evaporator frosting at low temperatures. More importantly, the recovery threshold Q_recover is calculated by introducing a hysteresis coefficient (Δr) on top of Q_min (e.g., Q_recover = Q_min * (1 + Δr)), which lays the foundation for subsequent stable recovery. In summary, this invention transforms traditional rigid fixed threshold water flow protection into a precise, adaptive, and self-healing intelligent protection mechanism. By establishing a dynamic threshold calculation model based on ambient temperature and operating mode, the system can match the actual safety requirements under different operating conditions in real time, thereby significantly reducing false protection caused by operating condition mismatch and avoiding unnecessary downtime. Meanwhile, by introducing a recovery threshold with hysteresis and multiple confirmation logic, the "start-stop dead loop" problem that traditional solutions are prone to fall into during fault recovery is fundamentally solved, ensuring that the system can automatically and reliably resume operation after the fault is eliminated, and improving the operational stability and reliability of the air source heat pump system in complex and variable environments.
[0025] like Figure 2 As shown, in a more specific embodiment, the execution method S110 further includes execution steps S111-S112.
[0026] S111. Divide the ambient temperature information into fluctuation ranges to obtain water flow threshold classification calculation parameters corresponding to each preset ambient temperature sensitivity category.
[0027] S112. Fill the environmental temperature adaptability parameters corresponding to each environmental temperature sensitivity category into the preset water flow threshold calculation model.
[0028] Specifically, in a more detailed embodiment, the process of executing method S110 to configure the water flow threshold calculation strategy is more refined and intelligent. The system not only treats ambient temperature as a single numerical input, but first executes step S111 to classify the fluctuation range of the acquired ambient temperature information. This step aims to assess the stability of the current ambient temperature and categorize it into preset ambient temperature sensitivity categories, such as "stable operating condition," "gradually changing operating condition," or "drastically changing operating condition." Each sensitivity category corresponds to a unique set of water flow threshold classification calculation parameters. Subsequently, in step S112, the system dynamically fills the corresponding ambient temperature adaptability parameters into the preset water flow threshold calculation model (such as the aforementioned S-shaped function or linear function) according to the current sensitivity category. This means that even with the same calculation model, its specific function shape (such as the steepness of the S-shaped function and the position of the center point) will be adjusted in real time according to the fluctuation characteristics of the ambient temperature. In this way, under conditions of rapid ambient temperature fluctuations, even if the current temperature value is not high, the system's heat load may be in an unstable state, and using conventional dynamic thresholds still carries risks. This solution introduces the perception and classification of temperature fluctuations, enabling the protection strategy to anticipate such instability. For example, when a "drastic change in operating conditions" is detected, the system automatically selects a more conservative set of adaptive parameters, thereby generating a flow threshold with a larger safety margin. Therefore, the system's adaptive capability is elevated from "changing with temperature values" to a higher dimension of "changing with environmental conditions," significantly enhancing the unit's operational robustness under complex and dynamic climatic conditions and further reducing potential operational risks caused by environmental disturbances.
[0029] like Figure 3 As shown, in a more specific embodiment, before executing method S112, steps S1121-S1122 are also specifically included.
[0030] S1121. Based on the preset environmental temperature adaptability items, classify the water flow threshold calculation parameters into adaptability levels to obtain the environmental temperature adaptability level information corresponding to the environmental temperature adaptability items.
[0031] S1122. Configure the environmental temperature adaptability level information into a threshold calculation rule.
[0032] Specifically, to achieve ultra-refined environmental adaptability, before executing step S112 (filling the adaptability parameters into the calculation model), the system also performs a crucial rule generation process, which includes steps S1121 and S1122. In step S1121, the system classifies the previously obtained water flow threshold calculation parameters into adaptability levels based on preset environmental temperature adaptability items. Here, "adaptability items" go beyond a single temperature value or fluctuation range; it is a multi-dimensional evaluation system that may include: the absolute value level of the current environmental temperature, the level of the temperature change rate, and even levels related to other environmental factors affecting heat pump efficiency such as humidity and wind speed. The system sets different levels for each item, for example, classifying the temperature change rate into three levels: "stable," "gradual," and "drastic." Through this classification, the system obtains a set of structured environmental temperature adaptability level information, which is equivalent to constructing a precise "digital profile" of the current environmental conditions. In step S1122, the system configures this "digital profile"—i.e., the environmental temperature adaptability level information—into a specific threshold calculation rule. This rule is no longer a simple function call, but a decision instruction. By introducing a multi-project, multi-level evaluation and rule generation mechanism, this invention enables the formulation of protection strategies to comprehensively consider the coupling effects of multiple environmental factors.
[0033] like Figure 4 As shown, in a more specific embodiment, after executing method S1122, steps S1123-S1125 are also specifically included.
[0034] S1123. The environmental temperature adaptability parameter that reaches the corresponding threshold adjustment urgent lower limit level in the threshold calculation rule is used as the initial qualified parameter.
[0035] S1124. Determine whether the initial qualified parameters have reached the preset parameter mitigation upper limit.
[0036] S1125. If the initial qualified parameters do not reach the upper limit of parameter tolerance, the corresponding initial qualified parameters will be sent to the preset parameter recycling library for training the water flow threshold calculation model.
[0037] Specifically, in step S1123, the system does not directly use all parameters that meet the rules for calculation, but performs a more rigorous screening. It identifies environmental temperature adaptability parameters that only reach the threshold adjustment emergency lower limit as initial qualified parameters. This "emergency lower limit" is a key technical threshold, meaning that the current environmental conditions are sufficient to trigger the adjustment of the protection strategy, and these parameters therefore have value for analysis and learning. Subsequently, in step S1124, the system performs a secondary evaluation on these initial qualified parameters to determine whether they have reached the preset parameter mitigation upper limit. The purpose of this step is to distinguish between "typical operating conditions" and "extreme operating conditions." Parameters that reach the "mitigation upper limit" represent extremely rare or stringent operating boundaries, and this data may not have universal learning value. In step S1125, the system executes its core self-learning logic. If an initial qualified parameter does not reach the parameter mitigation upper limit, that is, it represents a representative but non-extreme operating condition, the system will send the parameter to a preset parameter recycling library. This recycling database is not simply a data storage system, but a dynamic database used to train and optimize water flow threshold calculation models. The system periodically, or under specific conditions, utilizes the large amount of real-world operating data accumulated in the recycling database to retrain and iteratively update the original calculation models (such as the parameters of sigmoid functions and linear functions) through algorithms (such as machine learning and curve fitting). like Figure 5 As shown, in a more specific embodiment, the execution method S130 further includes execution steps S131-S132.
[0038] S131. Determine whether the cumulative duration for which the current water flow value is less than the minimum flow protection threshold is greater than the first monitoring duration, so as to determine whether the current water flow value meets the preset flow auxiliary judgment condition.
[0039] S132. If the continuous duration of the current water flow value being less than the minimum flow protection threshold is less than the first monitoring duration, and the cumulative duration of the current water flow value being less than the minimum flow protection threshold is greater than the first monitoring duration, then the current water flow value is determined to meet the flow auxiliary judgment condition.
[0040] In a more specific embodiment, to further improve the accuracy and foresight of fault determination, the flow comparison logic in method S130 is designed to be more refined. Its core lies in distinguishing between two different low flow states: one is instantaneous, occasional fluctuations, and the other is recurring, intermittent fluctuations that characterize potential system problems. To this end, the system introduces an auxiliary judgment mechanism based on "cumulative duration," specifically including steps S131 and S132. First, in step S131, the system introduces a new judgment dimension: whether the cumulative duration of the current water flow value being less than the minimum flow protection threshold is greater than the first monitoring duration. The purpose of this step is to establish a flow auxiliary judgment condition, which is no longer limited to a single continuous time window but focuses on the total time of low flow events within a wider observation period. In step S132, the system precisely defines this auxiliary judgment condition. It determines that the auxiliary judgment condition is met when: the continuous duration of the current water flow value being less than the minimum flow protection threshold has not reached the first monitoring duration (this excludes persistent serious faults), but its cumulative duration has exceeded the first monitoring duration. This design cleverly captures a specific "sub-healthy" operating state. For example, when a water pump experiences slight cavitation or partial blockage in the pipeline, the water flow rate may fluctuate frequently and rapidly around a threshold. Each instance of flow rate falling below the threshold may be short enough to trigger traditional continuous-time protection, but this recurring fluctuation itself is a strong signal of system instability. Through the logic in S131-S132, the system can accurately identify this "discontinuous but frequent" low-flow pattern.
[0041] Further, the method obtains the updated current water flow value after the target water pump restarts, determines whether the current water flow value is greater than a preset recovery threshold, and determines whether the duration is greater than a preset second monitoring duration. If the current water flow value is less than the recovery threshold, or the duration of the current water flow value being greater than the recovery threshold is less than the second monitoring duration, then a water pump restart command is generated to control the target water pump to restart.
[0042] Furthermore, after generating a water pump restart command to control the restart of the target water pump, the method includes determining whether the restart of the target water pump has failed and whether the number of failures exceeds three; if the restart of the target water pump fails and the number of failures exceeds three, a water pump lock-up command and a warning message are generated.
[0043] Specifically, a dynamic calculation model is established with ambient temperature (T_env) as the independent variable and minimum flow threshold (Q_min) and recovery flow threshold (Q_recover) as dependent variables. The control system collects ambient temperature and operating mode data in real time, and calculates the most reasonable safe operating boundary using a predefined continuous function or high-precision data table that conforms to thermodynamic laws. Based on the current operating mode, the system dynamically calculates the minimum flow threshold (Q_min) as the benchmark for fault determination.
[0044] Cooling mode calculation formula: Q_min = Q_rated * F_cool(T_env) Function definition: F_cool(T_env) is the cooling temperature coefficient function, a designed, smooth, and monotonically increasing continuous function. Its mathematical characteristics ensure that as the ambient temperature rises, the system's safety requirements for water flow increase synchronously to adapt to higher condensing loads. F_heat(T_env) is the heating temperature coefficient function, a smooth, monotonically decreasing continuous function. Its design is based on the principle of preventing evaporator frosting and requiring higher flow rates in low-temperature environments. F_heat(T_env) = 0.68 - 0.006 * (T_env - 7) (This function is assigned a higher coefficient at low temperatures to ensure a safety margin for flow rates in cold weather.) The functions F_cool(T_env) and F_heat(T_env) are piecewise functions determined based on the unit's thermodynamic characteristics and experimental data. Their specific forms can be achieved through table lookup or by using a fitting formula preset in the control system. The value of F_cool(T_env) increases as the ambient temperature T_env increases, and the value of F_heat(T_env) increases as the ambient temperature T_env decreases. It should be noted that the functions F_cool(T_env) and F_heat(T_env) are determined based on the thermodynamic characteristics of the unit and a large amount of experimental data. Their specific forms can be implemented in the control system through table lookup or a preset fitting formula. Their variation rules are as follows: the value of F_cool(T_env) increases as the ambient temperature T_env increases; the value of F_heat(T_env) increases as the ambient temperature T_env decreases. Fault judgment logic: After the circulating water pump is turned on and runs stably for 45 seconds, if the system detects that the actual water flow rate is less than the dynamically calculated minimum flow rate Q_min for 5 consecutive seconds, it is judged as a low water flow fault. Intelligent fault protection action: When a fault is triggered, the compressor and fan will be shut down, the four-way valve will remain in the state before shutdown, the main circulating water pump and domestic hot water pump will be delayed for 2 minutes (or 1 minute if the compressor is not turned on when this fault is triggered), the main circuit electronic expansion valve will return to its initial opening, the enthalpy-increasing electronic expansion valve will be closed, and the electric heating will be turned off.
[0045] To avoid false protection caused by instantaneous fluctuations and to achieve automated unit recovery, adaptive intelligent recovery employs a hysteresis-based dynamic recovery threshold and a multiple-try mechanism. The recovery process includes the following steps: calculating the dynamic recovery threshold (Q_recover), which uses the same temperature-adaptive logic as the minimum protection threshold Q_min. However, a hysteresis coefficient Δr is introduced into the recovery threshold, making the recovery standard slightly higher than the fault protection standard, thus preventing frequent oscillations of "trip-recover-trip" in the unit.
[0046] Cooling mode: Q_recover=Q_min(1+Δr); Δr is 8%, Heating / hot water mode: Q_recover=Q_min(1+Δr); Δr is 10%, Recovery condition: The system needs to continuously detect the actual water flow rate for 10 seconds that is higher than the dynamic recovery threshold Q_recover before it can be determined that the fault condition has been eliminated. Automatic restart and lock-up protection, Automatic restart: 5 minutes after the fault occurs, the circulating water pump will be automatically restarted, and the detection in step (1) will be re-executed after 50 seconds. Circulation limit: If the restart fails 3 times in a row, it will enter the lock-up state and manual intervention is required. Normal operation recovery: Only when the water flow rate is stable enough to meet the recovery condition and the system passes the self-test can the unit start the compressor and fan normally and resume full operation. Through the above scheme, the unit calculates the minimum safe water flow rate Q_min in real time according to the ambient temperature, and sets a recovery threshold Q_recover with 8% to 10% hysteresis on this basis, so that the unit can accurately identify insufficient water flow and avoid false protection under different operating conditions. It provides timely protection during low flow, intelligent recovery after the flow stabilizes, and avoids cyclic restarts during continuous faults, thereby improving the operational stability and reliability of the unit under different ambient temperatures and complex water system conditions.
[0047] Using ambient temperature as the core variable, the minimum flow protection threshold (Q_min) and recovery threshold (Q_recover) are calculated in real time under different operating modes (cooling / heating). This technology transforms the protection standard from a fixed value into an intelligent boundary that adjusts in real time according to the current ambient temperature. To prevent system oscillation at critical points, this invention designs a hysteresis recovery mechanism based on dynamic thresholds. The recovery threshold (Q_recover) is set to always be greater than the minimum flow threshold (Q_min), fundamentally preventing frequent protection and restarts. The coordination and linkage between multiple sensors greatly improves system stability and safety, and significantly enhances customer comfort and experience.
[0048] Figure 6This is a schematic block diagram of a water flow regulation device based on ambient temperature adaptation, provided in an embodiment of this application. As shown in the figure, corresponding to the above-described water flow regulation based on ambient temperature adaptation, this application also provides a water flow regulation device 100 based on ambient temperature adaptation. This water flow regulation device includes a unit for performing the above-described water flow regulation based on ambient temperature adaptation, and the device can be configured in a desktop computer, tablet computer, laptop computer, or other terminal. Specifically, please refer to... Figure 6 The water flow regulation device 100 based on ambient temperature adaptation includes a strategy configuration unit 110, used to configure a water flow threshold calculation strategy based on the acquired current water flow information of the target water pump and ambient temperature information; a calculation unit 120, used to calculate a minimum flow protection threshold and a recovery threshold based on the water flow threshold calculation strategy to obtain threshold adjustment strategy information; a first monitoring unit 130, used to compare the current water flow value in the current water flow information with the minimum flow protection threshold, determine whether the current water flow value is less than the minimum flow protection threshold, and whether the duration is greater than a preset first monitoring duration; and a first instruction generation unit 140, used to... If the current water flow rate is less than the minimum flow protection threshold and the duration is greater than the preset first monitoring duration, a fault protection command is generated; the restart unit 150 is used to control the water pump to stop running and prepare for restarting according to the fault protection command and the preset pause delay duration; the second monitoring unit 160 is used to obtain the updated current water flow rate after the target water pump restarts, determine whether the current water flow rate is greater than the preset recovery threshold, and whether the duration is greater than the preset second monitoring duration; the second command generation unit 170 is used to generate a normal start command to control the water pump to start normally if the current water flow rate is greater than the recovery threshold and the duration is greater than the second monitoring duration.
[0049] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned water flow regulation device and its various units based on environmental temperature adaptation can be referred to the corresponding descriptions in the foregoing method embodiments. For the sake of convenience and brevity, these details will not be repeated here.
[0050] The aforementioned water flow regulation device based on ambient temperature adaptation can be implemented as a computer program, which can, for example... Figure 7 It runs on the computer device shown.
[0051] Please see Figure 7This diagram illustrates a schematic block diagram of a computer device provided in an embodiment of this application. The computer device 500 can be a terminal or a server. The terminal can be an electronic device with communication functions, such as a smartphone, tablet, laptop, desktop computer, personal digital assistant, or wearable device. The server can be a standalone server or a server cluster consisting of multiple servers.
[0052] The computer device 500 includes a processor 502, a memory, and a network interface 505 connected via a system bus 501. The memory may include a non-volatile storage medium 503 and internal memory 504.
[0053] The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions that, when executed, cause the processor 502 to perform a water flow regulation based on ambient temperature adaptation.
[0054] The processor 502 provides computing and control capabilities to support the operation of the entire computer device 500.
[0055] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can perform a water flow regulation based on ambient temperature adaptation.
[0056] This network interface 505 is used for network communication with other devices. Those skilled in the art will understand that... Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device 500 to which the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0057] It should be understood that in the embodiments of this application, the processor 502 may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0058] It will be understood by those skilled in the art that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program includes program instructions and can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.
[0059] Therefore, this application also provides a storage medium. This storage medium can be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor, the processor performs the following steps: configuring a water flow threshold calculation strategy based on the acquired current water flow information of the target water pump and ambient temperature information; calculating a minimum flow protection threshold and a recovery threshold based on the water flow threshold calculation strategy to obtain threshold adjustment strategy information; comparing the current water flow value in the current water flow information with the minimum flow protection threshold to determine whether the current water flow value is less than the minimum flow protection threshold and whether the duration is greater than a preset first monitoring duration; if the current water flow value is less than the minimum flow protection threshold and the duration is greater than the preset first monitoring duration, generating a fault protection instruction; controlling the water pump to pause operation and prepare for restart according to the fault protection instruction and a preset pause delay duration; acquiring the updated current water flow value after the target water pump restarts, determining whether the current water flow value is greater than a preset recovery threshold and whether the duration is greater than a preset second monitoring duration; if the current water flow value is greater than the recovery threshold and the duration is greater than the second monitoring duration, generating a normal start instruction to control the water pump to start normally.
[0060] The storage medium can be any computer-readable storage medium that can store program code, such as a USB flash drive, external hard drive, read-only memory (ROM), magnetic disk, or optical disk.
[0061] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.
[0062] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.
[0063] The steps in the methods of this application embodiment can be adjusted, merged, or deleted according to actual needs. The units in the apparatus of this application embodiment can be merged, divided, or deleted according to actual needs. Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0064] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.
[0065] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A water flow regulation method based on environmental temperature adaptation, characterized in that, The water flow regulation method based on environmental temperature adaptation includes: Configure a water flow threshold calculation strategy based on the obtained current water flow information of the target water pump and the ambient temperature information; Based on the water flow threshold calculation strategy, the minimum flow protection threshold and the recovery threshold are calculated to obtain threshold adjustment strategy information; The current water flow value in the current water flow information is compared with the minimum flow protection threshold to determine whether the current water flow value is less than the minimum flow protection threshold and whether the duration is greater than the preset first monitoring duration. If the current water flow rate is less than the minimum flow protection threshold and the duration is greater than the preset first monitoring duration, a fault protection command is generated. According to the fault protection command and the preset pause delay time, the water pump is controlled to stop running and prepare for restart. Obtain the current water flow value updated after the target water pump restarts, determine whether the current water flow value is greater than a preset recovery threshold, and whether the duration is greater than a preset second monitoring duration; If the current water flow rate is greater than the recovery threshold and the duration is longer than the second monitoring duration, a normal start command is generated to control the water pump to start normally.
2. The water flow regulation method based on environmental temperature adaptation according to claim 1, characterized in that, The step of configuring a water flow threshold calculation strategy based on the obtained current water flow information of the target water pump and ambient temperature information includes: The ambient temperature information is divided into fluctuation ranges to obtain water flow threshold classification calculation parameters corresponding to each preset ambient temperature sensitivity category. The environmental temperature adaptability parameters corresponding to each of the environmental temperature sensitivity categories are filled into the preset water flow threshold calculation model.
3. The water flow regulation method based on environmental temperature adaptation according to claim 2, characterized in that, Before filling the environmental temperature adaptability parameters corresponding to each of the environmental temperature sensitivity categories into the preset water flow threshold calculation model, the method includes: The water flow threshold classification calculation parameters are divided into adaptability levels according to the preset environmental temperature adaptability items to obtain environmental temperature adaptability level information corresponding to the environmental temperature adaptability items. Configure the environmental temperature adaptability level information into a threshold calculation rule.
4. The water flow regulation method based on environmental temperature adaptation according to claim 3, characterized in that, After configuring the environmental temperature adaptability level information into a threshold calculation rule, the method includes: The environmental temperature adaptability parameter that reaches the corresponding threshold adjustment urgent lower limit level in the threshold calculation rule is used as the initial qualified parameter; Determine whether the initial qualified parameters have reached the preset parameter mitigation upper limit; If the initial qualified parameters do not reach the upper limit of the parameter tolerance level, the corresponding initial qualified parameters are sent to a preset parameter recycling library for training the water flow threshold calculation model.
5. The water flow regulation method based on environmental temperature adaptation according to claim 1, characterized in that, The step of determining whether the current water flow value is less than the minimum flow protection threshold and whether the duration is greater than a preset first monitoring duration includes: Determine whether the cumulative duration for which the current water flow value is less than the minimum flow protection threshold is greater than the first monitoring duration, so as to determine whether the current water flow value meets the preset flow auxiliary judgment condition; If the duration for which the current water flow value is less than the minimum flow protection threshold is less than the first monitoring duration, and the cumulative duration for which the current water flow value is less than the minimum flow protection threshold is greater than the first monitoring duration, then the current water flow value is determined to meet the flow auxiliary judgment condition.
6. The water flow regulation method based on environmental temperature adaptation according to claim 1, characterized in that, The method includes obtaining the updated current water flow value after the target water pump restarts, determining whether the current water flow value is greater than a preset recovery threshold, and determining whether the duration is greater than a preset second monitoring period. If the current water flow rate is less than the recovery threshold, or if the duration for which the current water flow rate is greater than the recovery threshold is less than the second monitoring duration, a water pump restart command is generated to control the target water pump to restart.
7. The water flow regulation method based on environmental temperature adaptation according to claim 1, characterized in that, After generating the pump restart command to control the target pump to restart, the method includes: Determine whether the restart operation of the target water pump has failed and the number of failures exceeds three; If the target water pump fails to restart more than three times, a water pump lock-up command and a warning message will be generated.
8. A water flow regulation device based on ambient temperature adaptation, employing the water flow regulation method based on ambient temperature adaptation as described in any one of claims 1-7, characterized in that, include: The strategy configuration unit is used to configure the water flow threshold calculation strategy based on the current water flow information of the target water pump and the ambient temperature information. The calculation unit is used to calculate the minimum flow protection threshold and the recovery threshold based on the water flow threshold calculation strategy, so as to obtain threshold adjustment strategy information; The first monitoring unit is used to compare the current water flow value in the current water flow information with the minimum flow protection threshold, determine whether the current water flow value is less than the minimum flow protection threshold, and whether the duration is greater than a preset first monitoring duration. The first instruction generation unit is used to generate a fault protection instruction if the current water flow value is less than the minimum flow protection threshold and the duration is greater than a preset first monitoring duration. The restart unit is used to control the water pump to stop running and prepare for restarting according to the fault protection command and the preset pause delay time; The second monitoring unit is used to obtain the current water flow value updated after the target water pump is restarted, determine whether the current water flow value is greater than a preset recovery threshold, and whether the duration is greater than a preset second monitoring duration; The second instruction generation unit is used to generate a normal start instruction to control the water pump to start normally if the current water flow value is greater than the recovery threshold and the duration is greater than the second monitoring duration.
9. A computer device, characterized in that, The computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which includes program instructions that, when executed by a processor, can implement the method as described in any one of claims 1-7.