Variable frequency water pump flow prediction method, device and equipment and storage medium
By obtaining the absolute distance between the input power and the preset power in the flow prediction of variable frequency water pumps, determining the weight value and performing weighted calculation, the problem of insufficient accuracy caused by error accumulation in the prior art is solved, and higher accuracy flow prediction is achieved.
Patent Information
- Application Number
- CN202511001596.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-21
- Publication Date
- 2025-11-11
AI Technical Summary
Existing linear or polynomial interpolation methods suffer from error accumulation in variable frequency pump flow prediction, resulting in poor prediction accuracy.
By obtaining the absolute distance between the input power of the variable frequency water pump and each preset power, the weight value of each preset power is determined based on the absolute distance value, and the preset flow rate is weighted and calculated based on the weight value to obtain the flow rate prediction value.
It significantly improves the accuracy of flow prediction for variable frequency pumps, reduces error accumulation, and enhances the accuracy and stability of flow prediction.
Smart Images

Figure CN120926073A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of heat pump automation control technology, and in particular to a method, apparatus, equipment and storage medium for predicting the flow rate of a variable frequency water pump. Background Technology
[0002] In a heat pump system, the water pump, as the core power component of the water circulation, directly determines the system's heat exchange efficiency, energy consumption level, and operational stability through its flow parameters. The heat pump absorbs and releases heat through water circulation. When the water pump flow rate is too low, the medium velocity in the evaporator or condenser is insufficient, leading to inadequate heat exchange. This not only reduces heating or cooling efficiency but may also cause safety hazards such as freezing and cracking due to localized low temperatures. Conversely, excessively high flow rates cause a surge in water pump energy consumption, violating energy-saving operation principles. Therefore, real-time and accurate prediction of water pump flow rate is crucial for achieving intelligent control of the heat pump system and reducing operation and maintenance costs.
[0003] Currently, linear or polynomial interpolation is commonly used for flow prediction of variable frequency pumps. However, linear or polynomial interpolation methods can lead to error accumulation, causing subsequent predicted values to deviate from the actual flow rate. Therefore, existing interpolation methods for predicting the flow rate of variable frequency pumps have relatively poor accuracy. Summary of the Invention
[0004] This application provides a method, apparatus, device, and storage medium for predicting the flow rate of a variable frequency water pump, which can solve the technical problem of poor flow prediction accuracy. Based on the weight value of each preset power, the accumulation of errors can be effectively reduced. The flow prediction of the variable frequency water pump is performed according to the weight value of each preset power, which significantly improves the accuracy of the flow prediction of the variable frequency water pump. In a first aspect, embodiments of this application provide a method for predicting the flow rate of a variable frequency water pump, comprising: Obtain the input power of the variable frequency water pump and determine the absolute distance between the input power and each preset power, wherein each preset power corresponds to a preset flow rate value; When all absolute distance values are greater than zero, the weight value corresponding to each preset power is determined based on the absolute distance value. The weight value is used to characterize the reference factor of the preset flow rate value on the pump flow rate of the input power. The preset traffic value is weighted according to the weight value to obtain the traffic prediction value.
[0005] Furthermore, after obtaining the input power of the variable frequency water pump and determining the absolute distance between the input power and each preset power, the process also includes: When there is an absolute distance value equal to zero, the preset flow rate value corresponding to the absolute distance value is determined as the flow rate prediction value.
[0006] Furthermore, after obtaining the input power of the variable frequency water pump, the following is also included: Compare the input power with the minimum preset power; When the input power is less than the minimum preset power, the preset flow rate value corresponding to the minimum preset power is determined as the flow rate prediction value.
[0007] Furthermore, after obtaining the input power of the variable frequency water pump, the following is also included: Compare the input power with the maximum value of the preset power; When the input power is greater than the maximum value of the preset power, the preset flow rate value corresponding to the maximum value of the preset power is determined as the flow rate prediction value.
[0008] Furthermore, when all absolute distance values are greater than zero, a weight value corresponding to each preset power is determined based on the absolute distance value, including: When all absolute distance values are greater than zero, according to the formula: Calculate the weight value corresponding to each preset power; in, For input power, For the first A preset power, The preset power quantity, For the first A preset power weight value.
[0009] Furthermore, the preset traffic values are weighted according to the weight values to obtain the traffic prediction values, including: Based on the weight value and formula The preset flow rate values are weighted and calculated to obtain the predicted flow rate. in, Forecast traffic volume For the first A preset power weight value, For the first A preset flow rate value, The preset power level.
[0010] Furthermore, before obtaining the input power of the variable frequency water pump, the following steps are also included: Acquire historical data under the calibration conditions, including historical power data and historical flow data; Determine the power-flow relationship curve based on historical data; Obtain the preset power and corresponding preset flow value based on the power-flow relationship curve; The preset power and the corresponding preset flow rate are stored in array form.
[0011] In a second aspect, embodiments of this application provide a variable frequency water pump flow prediction device, comprising: Input power acquisition module, used to acquire the input power of the variable frequency water pump; The absolute distance determination module is used to determine the absolute distance value between the input power and each preset power, wherein each preset power corresponds to a preset flow rate value; The weight value determination module is used to determine the weight value corresponding to each preset power based on the absolute distance value when all absolute distance values are greater than zero. The weight value is used to characterize the reference factor of the preset flow rate value on the pump flow rate of the input power. The traffic prediction value determination module is used to perform weighted calculations on preset traffic values based on weight values to obtain traffic prediction values.
[0012] In a third aspect, embodiments of this application provide a variable frequency water pump flow prediction device, comprising: Memory and one or more processors; Memory, used to store one or more programs; When one or more programs are executed by one or more processors, the one or more processors implement the variable frequency pump flow prediction method as described in the first aspect.
[0013] In a fourth aspect, embodiments of this application provide a storage medium for storing computer-executable instructions, which, when executed by a computer processor, are used to perform the variable frequency water pump flow prediction method as described in the first aspect.
[0014] This embodiment of the application determines the absolute distance between the input power of the variable frequency water pump and each predicted power when predicting the flow rate of the variable frequency water pump. When all absolute distance values are greater than zero, a weight value corresponding to each preset power is determined based on the absolute distance value. The preset flow rate values are then weighted and calculated according to the weight values to obtain the predicted flow rate. By employing the above technical means, predicting the flow rate of the variable frequency water pump based on the weight value corresponding to each preset power, the technical problem of poor flow prediction accuracy can be avoided. The weight value based on each preset power effectively reduces error accumulation. Therefore, predicting the flow rate of the variable frequency water pump based on the weight value corresponding to each preset power can effectively reduce prediction errors and significantly improve the accuracy of variable frequency water pump flow prediction.
[0015] The beneficial effects of the variable frequency pump flow prediction device, variable frequency pump flow prediction equipment, and storage medium provided above can be referenced from the beneficial effects of the variable frequency pump flow prediction method. Attached Figure Description
[0016] Figure 1 This is a flowchart of a variable frequency water pump flow prediction method provided in an embodiment of this application; Figure 2 This is a schematic diagram of a power-flow relationship curve provided in an embodiment of this application; Figure 3 This is a flowchart illustrating another variable frequency pump flow prediction method provided in an embodiment of this application; Figure 4 This is a flowchart illustrating another variable frequency pump flow prediction method provided in the embodiments of this application; Figure 5 This is a flowchart illustrating another variable frequency pump flow prediction method provided in an embodiment of this application; Figure 6 This is a schematic diagram of the structure of a variable frequency water pump flow prediction device provided in an embodiment of this application; Figure 7 This is a schematic diagram of the structure of a variable frequency water pump flow prediction device provided in an embodiment of this application. Detailed Implementation
[0017] To make the objectives, technical solutions, and advantages of this application clearer, specific embodiments of this application will be described in further detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely for explaining this application and not for limiting it. It should also be noted that, for ease of description, only the parts relevant to this application are shown in the drawings, not all of them. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe operations (or steps) as sequential processes, many of these operations can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but may also have additional steps not included in the drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.
[0018] Currently, linear or polynomial interpolation is commonly used for flow prediction of variable frequency pumps. Linear interpolation assumes that the flow rate between adjacent points changes linearly with operating parameters (such as frequency). However, the actual relationship between pump flow rate and frequency is influenced by pipeline characteristic curves (non-linear) and equipment efficiency curves (non-linear), and the true relationship is closer to a quadratic or higher-order function. In this case, the assumption of linear change leads to the accumulation of interpolation errors between adjacent points as the distance increases; that is, the greater the distance, the larger the deviation. If polynomial interpolation (such as cubic interpolation) is used, "overfitting" may occur in order to fit known points, resulting in severe oscillations (Runge phenomenon) in sparse data intervals. This causes the prediction error at intermediate points to be much larger than the original data error, forming "error amplification." Therefore, existing linear or polynomial interpolation methods result in error accumulation, causing subsequent predicted values to deviate from the actual flow rate. Consequently, existing interpolation methods for predicting the flow rate of variable frequency pumps have poor accuracy.
[0019] Based on this, this application provides a method, apparatus, device, and storage medium for predicting the flow rate of a variable frequency water pump. The aim is to determine the absolute distance between the input power of the variable frequency water pump and each predicted power when predicting the flow rate of the variable frequency water pump. When all absolute distance values are greater than zero, a weight value corresponding to each preset power is determined based on the absolute distance value. The preset flow rate is then weighted and calculated based on the weight value to obtain the predicted flow rate. By employing the above technical means, predicting the flow rate of the variable frequency water pump based on the weight value corresponding to each preset power, the technical problem of poor flow prediction accuracy can be avoided. The weight value based on each preset power can effectively reduce error accumulation. Compared with existing methods that predict flow rate using interpolation, this embodiment, by predicting the flow rate of the variable frequency water pump based on the weight value corresponding to each preset power, can effectively reduce prediction errors and significantly improve the accuracy of variable frequency water pump flow prediction.
[0020] Figure 1 A flowchart of a variable frequency pump flow prediction method provided in this application embodiment is given. The variable frequency pump flow prediction method provided in this embodiment can be executed by a variable frequency pump flow prediction device, which can be implemented by software and / or hardware. The variable frequency pump flow prediction device can be composed of two or more physical entities, or it can be composed of a single physical entity. Generally, the variable frequency pump flow prediction device can be a computer device.
[0021] The following description uses a computer device as the main component for executing the variable frequency pump flow prediction method. (Refer to...) Figure 1 The variable frequency pump flow prediction method specifically includes: S11. Obtain the input power of the variable frequency water pump and determine the absolute distance between the input power and each preset power, wherein each preset power corresponds to a preset flow rate value.
[0022] When predicting the flow rate of a variable frequency water pump, the current input power of the pump can be obtained, and the pump flow rate can be predicted based on this input power. Based on the obtained input power, the absolute distance between the input power and each preset power value can be determined, where each preset power value corresponds to a preset flow rate value. The absolute distance value is the absolute value of the difference between the input power and the corresponding preset power, and the absolute distance value is greater than or equal to zero.
[0023] For example, the input power (unit: kW or W) of the variable frequency water pump during operation can be acquired in real time by a power sensor (such as a Hall sensor or a high-precision power transmitter) installed in the power supply circuit of the variable frequency water pump. If a power sensor is not directly equipped, the corresponding input power can also be calculated by acquiring real-time voltage, current, and power factor. The aforementioned input power is a real-time dynamic value, reflecting the current load state of the variable frequency water pump; for example, the power fluctuates with changes in operating conditions such as flow rate and pipeline resistance.
[0024] For example, the input power acquired in real time is Preset power includes The absolute distance between the input power and each preset power is obtained based on the absolute value of the difference between the input power and each preset power. For example, the absolute distance value... .
[0025] As described above, the proximity of the real-time input power to each preset power can be quantified by the absolute distance value. Compared with the existing interpolation method that only relies on two adjacent preset points for traffic prediction, this embodiment introduces information from multiple preset points based on the absolute distance value between the input power and each preset power. This disperses the error influence of a single calibration data and avoids the accumulation of errors between adjacent points, thereby improving the accuracy of the traffic prediction value obtained in subsequent predictions.
[0026] In one embodiment, before obtaining the input power of the variable frequency pump, it is necessary to first obtain the corresponding preset power and the corresponding preset flow rate value. Historical data under calibration conditions can be obtained, i.e., historical power data and corresponding historical flow rate data, where each historical power corresponds to a historical flow rate value. Calibration conditions must ensure the stability of invariant parameters to eliminate interference from irrelevant factors on the power-flow relationship. During calibration, pipeline resistance can be fixed (e.g., closing / opening specific valves to keep the pipeline characteristic curve unchanged), medium parameters (e.g., water temperature, density, and water pressure), and environmental conditions (e.g., stable voltage and no external vibration interference). These parameters are maintained stable through a condition control device (e.g., PLC or variable frequency control cabinet) to ensure that the collected historical data only reflects the intrinsic relationship between power and flow rate, rather than the influence of external condition fluctuations. When collecting historical data, high-precision sensors can be used for synchronous acquisition. For example, power data can be obtained through a power transmitter with an accuracy of 0.5 class or higher (sampling frequency ≥ 10Hz), and flow rate data can be obtained through a flow meter with an accuracy of 0.2 class or higher (e.g., an electromagnetic flow meter). When collecting historical data, the variable frequency pump can be controlled to continuously adjust from its minimum operating power to its maximum operating power according to a preset step size. For example, the frequency can be gradually increased from 20Hz to 50Hz, with a preset step size of 1Hz. At each stable operating point (frequency stable for more than 30 seconds, ensuring no significant fluctuations in flow and power), one set of data is recorded, i.e., the input power and corresponding flow value at that time, for a total of N sets of data. It should be noted that N needs to be large enough, such as covering 50-200 sets of data, to avoid data sparsity leading to distortion of the relationship curve. Data timestamps, historical power data, and historical flow data can be stored synchronously through a data acquisition device to form a historical dataset. The raw data in the historical dataset is cleaned to remove outliers and duplicates, and continuous data with small fluctuations is smoothed to reduce the impact of random noise on curve fitting, obtaining valid historical data. Based on the power-flow characteristics of the pump, a preset fitting model is selected to fit the valid historical data, resulting in a power-flow relationship curve. Figure 2 This is a schematic diagram of a power-flow relationship curve provided in an embodiment of this application, referred to... Figure 2 Based on valid historical data, a fitting process is performed to obtain the following results: Figure 2 The power-flow relationship curve is shown. Based on the power-flow relationship curve, a preset amount of preset power and the corresponding preset flow rate value can be obtained. A corresponding key point can be selected from the power-flow relationship curve, and the input power value corresponding to the key point can be determined as the preset power, and the flow rate value corresponding to the key point can be determined as the preset flow rate value.
[0027] For example, key points can be selected differentially based on the sensitive and linear intervals of the power-flow relationship curve. For instance, key points can be more densely selected in the more non-linear intervals (i.e., sensitive intervals) of the power-flow relationship curve, such as the low-power segment or near the maximum power segment, where the curve slope changes significantly and is considered a more non-linear interval. In the linear (or near-linear) interval, key points can be selected more sparsely, such as in the middle power segment where the curve slope is stable and is considered a linear (or near-linear) interval. Key points can also be forcibly acquired, for example, by acquiring key points corresponding to minimum power, rated power, and maximum power to ensure reliable reference under extreme operating conditions. Key points obtained from the power-flow relationship curve include preset power and corresponding preset flow values. For example, the acquired key points are (75, 0.5), (85, 1.5), (95, 2.5), and (105, 3.5), where the preset power is in W and the preset flow value is in m³ / h. The obtained preset power and corresponding preset flow rate values are stored in array form. For example, the array corresponding to the preset power is power_x=[75,85,95,105], where the unit of preset power is W, and the array corresponding to the preset flow rate values is flowrate_y=[0.5,1.5,2.5,3.5], where the unit of preset flow rate values is m³ / h.
[0028] It should be noted that the number of key points for obtaining specific preset power and corresponding preset flow rate values can be set according to actual conditions. The above embodiment of obtaining four sets of data is only an example.
[0029] As described above, strict control of the calibration conditions avoids interference from external environmental fluctuations (such as pipeline leaks or changes in medium temperature) on historical data, ensuring the purity of the power-flow relationship and thus improving the reliability of the obtained power-flow curve. This, in turn, enhances the accuracy and reliability of the final preset power and corresponding preset flow values. Furthermore, storing the preset power and corresponding preset flow values in array format, based on this array-based structured storage, allows for direct access to the preset data via indexes, reducing data reading complexity and improving subsequent data reading efficiency. This meets the real-time requirements of high-frequency regulation in variable frequency water pumps.
[0030] S12. When all absolute distance values are greater than zero, determine the weight value corresponding to each preset power based on the absolute distance value. The weight value is used to characterize the reference factor of the preset flow rate value on the pump flow rate of the input power.
[0031] After determining the absolute distance between the input power and each preset power, based on the fact that the absolute distance is greater than or equal to zero, we can first determine whether all absolute distance values are greater than zero. If all absolute distance values are greater than zero, it means that the input power at this time is not the same as any preset power. Therefore, the corresponding flow prediction value can be determined through corresponding calculations. The weight value of the corresponding preset power can be calculated based on each absolute distance value. The weight value is used to characterize the reference factor of the preset flow value corresponding to the preset power on the pump flow rate of the input power. It can be understood that the smaller the absolute distance between the input power and the preset power, the larger the corresponding weight value. A larger weight value indicates that the pump flow rate of the variable frequency pump is closer to the corresponding preset flow rate value, the operating conditions of the preset power (i.e., the preset flow rate value) at that time are highly similar to the operating conditions of the current input power, and the greater the contribution of the preset flow rate value to the prediction result (i.e., the flow prediction value). Conversely, the larger the absolute distance between the input power and the preset power, the smaller the corresponding weight value. A smaller weight value indicates that the difference between the pump flow rate of the variable frequency pump and the corresponding preset flow rate value is greater, and the lower the reference value of the preset flow rate value.
[0032] As mentioned above, the traditional interpolation method relies on only two adjacent preset points. If the calibration error of these two points is large, the error will directly dominate the prediction result, resulting in a large error in the preset result. However, this embodiment distributes the error of a single preset point among multiple weights by weighting multiple preset points, which significantly reduces the risk of a single point error dominating the prediction. This reduces the accumulation of errors from a mechanism perspective, thereby improving the accuracy of the traffic prediction value calculated based on the weight value.
[0033] In one embodiment, after determining the absolute distance between the input power and each preset power, based on the absolute distance value being greater than or equal to zero, it can be determined whether all absolute distance values are greater than zero. If all absolute distance values are greater than zero, it means that the input power at this time is not the same as any preset power. Therefore, the corresponding flow prediction value at this time can be determined through corresponding calculations. This can be done according to the formula: Calculate the weight value corresponding to each preset power; where, For input power, For the first A preset power, The preset power quantity, For the first Each preset power weight value. It is a weighted normalization factor for all absolute distance values, used to ensure that the sum of all weight values is 1, i.e. For example, taking the array corresponding to the preset power as power_x=[75,85,95,105] and the array corresponding to the preset flow rate as flowrate_y=[0.5,1.5,2.5,3.5] as an example, assuming the input power is 90W, according to the formula: The corresponding weight values are calculated as follows: ; ; ; .
[0034] Therefore, the weight value corresponding to the preset power of 75W is 0.2, the weight value corresponding to the preset power of 85W is 0.3, the weight value corresponding to the preset power of 95W is 0.3, and the weight value corresponding to the preset power of 105W is 0.2. As mentioned above, the traditional interpolation method relies only on two adjacent preset points. If the calibration error of these two points is large, the error will directly dominate the prediction result, leading to a large error in the preset result. This embodiment, however, distributes the error of a single preset point across multiple weights through weight allocation of multiple preset points, significantly reducing the risk of a single-point error dominating the prediction. This reduces error accumulation from a mechanistic perspective, thereby improving the accuracy of the subsequent flow prediction value calculated based on the weight values.
[0035] S13. Calculate the preset flow rate value by weighting it according to the weight value to obtain the flow rate prediction value.
[0036] After determining the weight value for each preset power, the preset flow rate values are weighted and calculated according to the weight values to obtain the predicted flow rate value corresponding to the current input power. Traditional interpolation methods rely solely on the averaging of two adjacent preset flow rate values to obtain the predicted flow rate value. If there is a calibration error between these two points, it will directly determine the prediction result, leading to a significant error. This embodiment, however, integrates multiple preset flow rate values through weighted calculation. The influence of each preset flow rate value is limited by its weight, significantly reducing the dependence on a single data point, thereby weakening error accumulation and improving the accuracy and reliability of the final predicted flow rate value. Furthermore, since the power-flow relationship of variable frequency pumps exhibits strong nonlinearity due to factors such as efficiency changes and pipeline characteristics, this embodiment assigns differentiated weights to preset flow rate values in different power ranges through weighted calculation. This allows for flexible fitting of nonlinear curves, enhancing the adaptability to nonlinear operating conditions and thus improving the accuracy of variable frequency pump flow rate prediction. Furthermore, the real-time power signal (i.e., input power) may experience instantaneous fluctuations due to electromagnetic interference. If traditional interpolation methods are used, such fluctuations will directly cause jumps in the predicted flow rate, resulting in significant errors in the prediction results. However, in the weighted calculation of this embodiment, the weight value of a single preset flow rate is constrained by multiple points. The weight change corresponding to the fluctuating power is smoothed by the weighting effect of multiple preset flow rates, reducing the impact of signal noise on the prediction results and thus improving the stability and anti-interference ability of the prediction results.
[0037] In one embodiment, after determining the weight value for each preset power as described above, the weight value can be used to formulate a formula. The predicted flow rate is obtained by weighting the preset flow rate values. Forecast traffic volume For the first A preset power weight value, For the first A preset flow rate value, This refers to the number of preset power values. For example, taking the array corresponding to the preset power values as power_x=[75,85,95,105] and the corresponding array of preset flow rate values as flowrate_y=[0.5,1.5,2.5,3.5], assuming the input power is 90W, according to the aforementioned calculations, the weight value corresponding to the preset power of 75W is 0.2, the weight value corresponding to the preset power of 85W is 0.3, the weight value corresponding to the preset power of 95W is 0.3, and the weight value corresponding to the preset power of 105W is 0.2. The preset flow rate values are weighted and calculated to obtain the predicted flow rate value corresponding to the current input power. .
[0038] As described above, in predicting the flow rate of a variable frequency water pump, the absolute distance between the input power of the pump and each predicted power is determined. Each preset power corresponds to a preset flow rate value. When all absolute distance values are greater than zero, a weight value corresponding to each preset power is determined based on the absolute distance value. The preset flow rates are then weighted according to the weight values to obtain the predicted flow rate value. By employing the above-mentioned technical means, the flow rate prediction of the variable frequency water pump is performed based on the weight value corresponding to each preset power, thus avoiding the technical problem of poor flow prediction accuracy. The weight value based on each preset power can effectively reduce error accumulation. Compared with the existing method of predicting flow rate through interpolation, this embodiment, by predicting the flow rate of the variable frequency water pump based on the weight value corresponding to each preset power, can effectively reduce prediction errors and significantly improve the accuracy of variable frequency water pump flow rate prediction.
[0039] Figure 3 This is a flowchart illustrating another variable frequency water pump flow prediction method provided in this application embodiment, see below. Figure 3 The variable frequency pump flow prediction method specifically includes: S21. Obtain the input power of the variable frequency water pump and determine the absolute distance between the input power and each preset power, wherein each preset power corresponds to a preset flow rate value.
[0040] S22. When there is an absolute distance value equal to zero, the preset flow rate value corresponding to the absolute distance value is determined as the flow rate prediction value.
[0041] After determining the absolute distance between the input power and each preset power, based on the fact that the absolute distance is greater than or equal to zero, it can be determined whether all absolute distance values are greater than zero. If there is an absolute distance value equal to zero, it means that the input power at this time is the same as the corresponding preset power. The preset flow rate value corresponding to the preset power can be determined as the current flow prediction value through direct mapping. For example, taking the array corresponding to the preset power as power_x=[75,85,95,105] and the array corresponding to the preset flow rate value as flowrate_y=[0.5,1.5,2.5,3.5] as an example, assuming the input power is 95W, the difference between the input power 95W and the 95W in the array power_x=[75,85,95,105] is zero, that is, the absolute distance value is zero. Therefore, the predicted flow rate value of 2.5m³ / h corresponding to 95W in power_x=[75,85,95,105] can be determined as the flow prediction value.
[0042] As mentioned above, when the real-time input power perfectly matches the preset power, that is, when the absolute distance between the input power and the preset power is zero, the corresponding preset flow rate value can be directly determined as the flow prediction value without complex calculations, which improves the efficiency and real-time performance of flow prediction.
[0043] Figure 4 This is a flowchart illustrating another variable frequency water pump flow prediction method provided in the embodiments of this application, referred to... Figure 4 The variable frequency pump flow prediction method specifically includes: S31. Obtain the input power of the variable frequency water pump and compare the input power with the minimum value of the preset power.
[0044] The current input power of the variable frequency water pump is obtained and compared with the minimum preset power value. Since the preset power array covers the main operating range of the variable frequency water pump under calibration conditions, and the minimum value in the preset power array is the lowest power value during the calibration process, such as the minimum starting power for stable operation of the variable frequency water pump or the critical power to avoid idling, after obtaining the current input power of the variable frequency water pump, it is first compared with the minimum preset power value to determine whether the input power exceeds the minimum preset power value.
[0045] S32. When the input power is less than the minimum preset power, the preset flow rate value corresponding to the minimum preset power is determined as the flow rate prediction value.
[0046] When the input power is greater than or equal to the minimum preset power and less than or equal to the maximum preset power, the variable frequency pump flow prediction method described in S11-S13 or S21-S22 is executed to obtain the corresponding flow prediction value. When the input power is less than the minimum preset power, the preset flow value corresponding to the minimum preset power is determined as the flow prediction value. For example, taking the array corresponding to the preset power as power_x=[75,85,95,105] and the array corresponding to the preset flow value as flowrate_y=[0.5,1.5,2.5,3.5] as an example, assuming the input power is 65W, the input power of 65W is less than the minimum value of 75W in the array power_x=[75,85,95,105], so the predicted flow value of 0.5m³ / h corresponding to 75W in power_x=[75,85,95,105] can be used as the flow prediction value.
[0047] As mentioned above, the power-flow relationship of variable frequency pumps typically exhibits strong nonlinearity in the low-power region. When the input power is less than the minimum preset power, the variable frequency pump may experience unstable operation. Determining the preset flow rate corresponding to the minimum preset power as the flow prediction value can avoid control misjudgment caused by excessively low prediction values, providing a safety threshold for low-power operating conditions, ensuring that the downstream control system makes decisions based on reliable flow prediction values, reducing the risk of equipment failure, and thereby improving the operational safety and reliability of the variable frequency pump system.
[0048] Figure 5 This is a flowchart illustrating another variable frequency water pump flow prediction method provided in this application embodiment, see below. Figure 5 The variable frequency pump flow prediction method specifically includes: S41. Obtain the input power of the variable frequency water pump and compare the input power with the maximum value of the preset power.
[0049] The current input power of the variable frequency water pump is obtained and compared with the maximum preset power value. Since the preset power array covers the main operating range of the variable frequency water pump under calibration conditions, and the maximum value in the preset power array is the highest power point during the calibration process, such as 1.1 times the rated power of the variable frequency water pump or the critical power to avoid overload protection, this maximum value is the maximum power threshold of the variable frequency water pump within its safe and efficient operating range. Therefore, after obtaining the current input power of the variable frequency water pump, it is first compared with the maximum preset power value to determine if the input power is within the range of the maximum preset power value.
[0050] S42. When the input power is greater than the maximum value of the preset power, the preset flow rate value corresponding to the maximum value of the preset power is determined as the flow rate prediction value.
[0051] When the input power is greater than or equal to the minimum preset power and less than or equal to the maximum preset power, the variable frequency pump flow prediction method described in S11-S13 or S21-S22 is executed to obtain the corresponding flow prediction value. When the input power is greater than the maximum preset power, the preset flow value corresponding to the maximum preset power is determined as the flow prediction value. For example, taking the array corresponding to the preset power as power_x=[75,85,95,105] and the array corresponding to the preset flow value as flowrate_y=[0.5,1.5,2.5,3.5] as an example, assuming the input power is 115W, the input power of 115W is greater than the maximum value of 105W in the array power_x=[75,85,95,105], so the predicted flow value of 3.5m³ / h corresponding to 105W in power_x=[75,85,95,105] can be used as the flow prediction value.
[0052] As mentioned above, the power-flow relationship of the variable frequency water pump in the high-power region exhibits strong nonlinearity. When the input power exceeds the maximum preset power value, the variable frequency water pump may be at risk of overload. Determining the preset flow value corresponding to the maximum preset power value as the flow prediction value can avoid control misjudgment caused by an artificially high prediction value, providing a safety threshold for high-power operating conditions, ensuring that the control system adjusts the output based on conservative and reliable flow feedback, reducing the risk of equipment burnout due to overload, and thus improving the operational safety and reliability of the equipment.
[0053] As mentioned above, when the absolute distance between the input power and the preset power is greater than zero, the global weighting method can adapt to the drastic changes in the power-flow curve, avoid the accumulation of errors in local differences, and keep the flow calculation error within 1%, which greatly improves the accuracy of flow prediction.
[0054] The above method stores only key data, namely, a preset number of preset power values and corresponding preset flow rates. Compared to storing data in the entire table, this method greatly improves the speed of data retrieval and thus improves the overall efficiency of flow prediction.
[0055] As described above, there is no need to install flow sensors for flow measurement; the corresponding flow prediction value can be obtained directly through power calculation, which reduces hardware costs and maintenance complexity.
[0056] Based on the above embodiments, Figure 6 This is a schematic diagram of a variable frequency water pump flow prediction device provided in an embodiment of this application. (Reference) Figure 6 The variable frequency water pump flow prediction device provided in this embodiment specifically includes: an input power acquisition module 21, an absolute distance determination module 22, a weight value determination module 23, and a flow prediction value determination module 24.
[0057] Among them, the input power acquisition module 21 is used to acquire the input power of the variable frequency water pump; The absolute distance determination module 22 is used to determine the absolute distance value between the input power and each preset power, wherein each preset power corresponds to a preset flow rate value; The weight value determination module 23 is used to determine the weight value corresponding to each preset power based on the absolute distance value when all absolute distance values are greater than zero. The weight value is used to characterize the reference factor of the preset flow rate value on the pump flow rate of the input power. The traffic prediction value determination module 24 is used to perform weighted calculation on the preset traffic value according to the weight value to obtain the traffic prediction value.
[0058] Based on the above implementation, the traffic prediction value determination module 24 is also used to determine the preset traffic value corresponding to the absolute distance value as the traffic prediction value when there is an absolute distance value equal to zero.
[0059] In one embodiment, the variable frequency pump flow prediction device further includes: a first comparison module; The first comparison module is used to compare the input power with the minimum value of the preset power; Based on the above implementation, the flow prediction value determination module 24 is also used to determine the preset flow value corresponding to the minimum preset power as the flow prediction value when the input power is less than the minimum preset power.
[0060] In one embodiment, the variable frequency pump flow prediction device further includes: a second comparison module; The second comparison module is used to compare the input power with the maximum value of the preset power; Based on the above implementation, the flow prediction value determination module 24 is also used to determine the preset flow value corresponding to the maximum value of the preset power as the flow prediction value when the input power is greater than the maximum value of the preset power.
[0061] Based on the above implementation, the weight value determination module 23 is also used to determine the weight value according to the formula when all absolute distance values are greater than zero: Calculate the weight value corresponding to each preset power; in, For input power, For the first A preset power, The preset power quantity, For the first A preset power weight value.
[0062] Based on the above implementation, the traffic prediction value determination module 24 is also used to determine the traffic prediction value based on the weight value and the formula. The preset flow rate values are weighted and calculated to obtain the predicted flow rate. in, Forecast traffic volume For the first A preset power weight value, For the first A preset flow rate value, The preset power level.
[0063] In one embodiment, the variable frequency pump flow prediction device further includes: a historical data acquisition module, a relationship curve determination module, a preset power flow acquisition module, and an array storage module; The historical data acquisition module is used to acquire historical data under calibration conditions, including historical power data and historical flow data. The relationship curve determination module is used to determine the power-flow relationship curve based on historical data; The preset power and flow rate acquisition module is used to acquire a preset amount of preset power and the corresponding preset flow rate value according to the power and flow rate relationship curve. The array storage module is used to store the preset power and the corresponding preset flow rate values in array form.
[0064] The variable frequency pump flow prediction device provided in this application embodiment can be used to execute the variable frequency pump flow prediction method provided in the above embodiment, and has corresponding functions and beneficial effects.
[0065] This application provides a variable frequency water pump flow prediction device, referring to... Figure 7 The variable frequency water pump flow prediction device includes: a processor 31, a memory 32, a communication module 33, an input device 34, and an output device 35. The number of processors and the number of memories in the variable frequency water pump flow prediction device can be one or more. The processor, memory, communication module, input device, and output device of the variable frequency water pump flow prediction device can be connected via a bus or other means.
[0066] The memory 32, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as program instructions / modules corresponding to the variable frequency pump flow prediction method described in any embodiment of this application (e.g., the input power acquisition module, absolute distance determination module, weight value determination module, and flow prediction value determination module in the variable frequency pump flow prediction device). The memory may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a function; the data storage area may store data created based on the use of the device, etc. Furthermore, the memory may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, the memory may further include memory remotely located relative to the processor, which can be connected to the device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0067] The communication module 33 is used for data transmission.
[0068] The processor 31 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory, thereby realizing the above-mentioned variable frequency water pump flow prediction method.
[0069] Input device 34 can be used to receive input digital or character information, and to generate key signal inputs related to user settings and function control of the device. Output device 35 may include display devices such as a display screen.
[0070] The variable frequency pump flow prediction device provided above can be used to execute the variable frequency pump flow prediction method provided in the above embodiments, and has corresponding functions and beneficial effects.
[0071] This application embodiment also provides a storage medium for storing computer-executable instructions. When executed by a computer processor, the computer-executable instructions are used to execute a variable frequency water pump flow prediction method. The variable frequency water pump flow prediction method includes: obtaining the input power of the variable frequency water pump; determining the absolute distance value between the input power and each preset power, wherein each preset power corresponds to a preset flow value; when all absolute distance values are greater than zero, determining a weight value corresponding to each preset power based on the absolute distance value, wherein the weight value is used to characterize the reference factor of the preset flow value on the pump flow rate of the input power; and performing a weighted calculation on the preset flow values based on the weight values to obtain a flow prediction value.
[0072] Storage medium – any type of memory device or storage device. The term “storage medium” is intended to include: mounting media, such as CD-ROM, floppy disk, or magnetic tape devices; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. Storage medium may also include other types of memory or combinations thereof. Furthermore, storage medium may reside in a first computer system in which the program is executed, or it may reside in a different second computer system connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term “storage medium” can include two or more storage media residing in different locations (e.g., in different computer systems connected via a network). Storage medium may store program instructions (e.g., specifically implemented as a computer program) executable by one or more processors.
[0073] Of course, the computer-executable instructions stored in the storage medium provided in the embodiments of this application are not limited to the variable frequency water pump flow prediction method as described above, but can also perform related operations in the variable frequency water pump flow prediction method provided in any embodiment of this application.
[0074] The variable frequency pump flow prediction device, storage medium, and variable frequency pump flow prediction equipment provided in the above embodiments can execute the variable frequency pump flow prediction method provided in any embodiment of this application. For technical details not described in detail in the above embodiments, please refer to the variable frequency pump flow prediction method provided in any embodiment of this application.
[0075] The above description is merely a preferred embodiment and the technical principles employed in this application. This application is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions that can be made by those skilled in the art will not depart from the scope of protection of this application. Therefore, although this application has been described in detail through the above embodiments, this application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of this application, the scope of which is determined by the scope of the claims.
Claims
1. A method for predicting the flow rate of a variable frequency water pump, characterized in that, include: Obtain the input power of the variable frequency water pump, determine the absolute distance between the input power and each preset power, and each preset power corresponds to a preset flow rate value; When all absolute distance values are greater than zero, a weight value corresponding to each preset power is determined based on the absolute distance value. The weight value is used to characterize the reference factor of the preset flow rate value on the pump flow rate of the input power. The preset flow rate value is weighted according to the weight value to obtain the flow rate prediction value.
2. The method according to claim 1, characterized in that, After obtaining the input power of the variable frequency water pump and determining the absolute distance between the input power and each preset power, the method further includes: When the absolute distance value is equal to zero, the preset flow rate value corresponding to the absolute distance value is determined as the flow rate prediction value.
3. The method according to claim 1, characterized in that, After obtaining the input power of the variable frequency water pump, the method further includes: The input power is compared with the minimum value of the preset power; When the input power is less than the minimum value of the preset power, the preset flow rate value corresponding to the minimum value of the preset power is determined as the flow rate prediction value.
4. The method according to claim 1, characterized in that, After obtaining the input power of the variable frequency water pump, the method further includes: The input power is compared with the maximum value of the preset power; When the input power is greater than the maximum value of the preset power, the preset flow rate value corresponding to the maximum value of the preset power is determined as the flow rate prediction value.
5. The method according to claim 1, characterized in that, When all absolute distance values are greater than zero, determining the weight value corresponding to each preset power based on the absolute distance values includes: When all absolute distance values are greater than zero, according to the formula: Calculate the weight value corresponding to each preset power; in, For input power, For the first A preset power, The preset power quantity, For the first A preset power weight value.
6. The method according to claim 1, characterized in that, The step of weighting the preset traffic value according to the weight value to obtain the traffic prediction value includes: Based on the weight value and the formula The preset flow rate values are weighted and calculated to obtain the predicted flow rate value; in, Forecast traffic volume For the first A preset power weight value, For the first A preset flow rate value, The preset power level.
7. The method according to claim 1, characterized in that, Before obtaining the input power of the variable frequency water pump, the method further includes: Acquire historical data under calibrated operating conditions, including historical power data and historical flow data; The power-flow relationship curve is determined based on the historical data. Based on the power-flow relationship curve, obtain a preset amount of preset power and the corresponding preset flow value; The preset power and the corresponding preset flow rate value are stored in array form.
8. A variable frequency water pump flow prediction device, characterized in that, include: Input power acquisition module, used to acquire the input power of the variable frequency water pump; An absolute distance determination module is used to determine the absolute distance value between the input power and each preset power, where each preset power corresponds to a preset flow rate value. The weight value determination module is used to determine the weight value corresponding to each preset power based on the absolute distance value when all the absolute distance values are greater than zero. The weight value is used to characterize the reference factor of the preset flow rate value to the pump flow rate of the input power. The traffic prediction value determination module is used to perform weighted calculation on the preset traffic value according to the weight value to obtain the traffic prediction value.
9. A variable frequency water pump flow prediction device, characterized in that, include: Memory and one or more processors; The memory is used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-7.
10. A storage medium for storing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a processor, are used to perform the method as described in any one of claims 1-7.
Citation Information
Patent Citations
Water supply control method without external sensor
CN104563219A
Pipeline flow on-line detection method independent of flowmeter
CN108846144A
Flow prediction method based on soft monitoring
CN110617228A
Method for measuring flow of pump station based on active power
CN114962281A
Photovoltaic power generation short-term power prediction method, system, equipment and medium
CN117117819A