Heat pump working mode switching method and device, equipment and storage medium
By integrating weather forecast and real-time data to predict the working mode of the heat pump system, combined with fuzzy control and mode switching interval, the problem of inaccurate switching of traditional heat pump systems is solved, and efficient working mode switching and stability improvement is achieved.
Patent Information
- Application Number
- CN202510632584.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-16
- Publication Date
- 2025-07-08
AI Technical Summary
Traditional heat pump systems cannot accurately control the heating mode and cooling mode switch, and do not consider the operating parameters and user needs of the heat pump, resulting in low switching accuracy and lag.
By obtaining weather forecast information, current ambient temperature, inlet and outlet water temperature and humidity reference values periodically, predicting the target probability that refrigeration is needed in the future, and determining the target working mode based on the probability model and historical data, combining fuzzy control and mode switching minimum interval to prevent frequent switching.
It realizes accurate working mode switching of the heat pump system, improves switching accuracy, enhances the robustness and stability of the system, and improves the user experience.
Smart Images

Figure CN120274453A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of automation, and in particular, to a method, device, equipment and storage medium for switching the working mode of a heat pump. Background Art
[0002] A heat pump system is a highly efficient and energy-saving heating and cooling technology. Through the reverse thermodynamic cycle, it transfers the low-grade heat energy in the environment (such as the heat in air, water or soil) to high-grade heat energy for heating, hot water supply or cooling. The core principle of the heat pump system is based on the reverse Carnot cycle or the vapor compression cycle. Through the phase change of the refrigerant in the four processes of evaporation, compression, condensation and throttling, the "transportation" of heat is realized.
[0003] When traditional heat pump systems switch between the heating mode and the cooling mode, they usually rely on a single threshold and can only be manually switched by users or automatically switched by the heat pump system based on a fixed temperature threshold. However, this switching method cannot accurately control the current required working mode, and the accuracy of working mode switching is low. In addition, during the process of switching the working mode, the influence of the heat pump's own operating parameters on the working mode switching is not considered, and there is a lack of anticipation of user needs and environmental changes. Summary of the Invention
[0004] The embodiments of the present application provide a method, device, equipment and storage medium for switching the working mode of a heat pump, which solve the technical problems that the heat pump unit in the prior art cannot accurately switch the working mode and the working mode switching lags behind.
[0005] In a first aspect, the embodiments of the present application provide a method for switching the working mode of a heat pump. The method is applicable to a heat pump system and includes:
[0006] Periodically obtain weather forecast information, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value;
[0007] Based on the weather forecast information, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value, predict the target probability of needing cooling in the future;
[0008] Based on the target probability corresponding to the current cycle and the target probability corresponding to the historical cycle, determine the target working mode, where the target working mode is the cooling mode or the heating mode;
[0009] Take the target working mode as the subsequent working mode.
[0010] Among them, the predicting the target probability of needing cooling in the future based on the weather forecast information, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value includes:
[0011] Based on the weather forecast information, determine the predicted temperature, predicted relative humidity, predicted light intensity, and predicted wind speed corresponding to the target time, where the target time is a future time with a time interval of a first preset duration from the current time;
[0012] Based on the predicted temperature, the predicted relative humidity, the predicted light intensity, the predicted wind speed, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value, predict the target probability of future refrigeration required.
[0013] Among them, the predicting the target probability of future refrigeration required based on the predicted temperature, the predicted relative humidity, the predicted light intensity, the predicted wind speed, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value includes:
[0014] Determine the temperature deviation value according to the predicted temperature and the target set temperature;
[0015] Determine the humidity compensation value according to the predicted relative humidity and the humidity reference value;
[0016] Determine the light enhancement value according to the predicted light intensity;
[0017] Determine the wind speed adjustment value according to the predicted wind speed;
[0018] Determine the indoor temperature deviation value according to the current ambient temperature and the target set temperature;
[0019] Determine the heat pump efficiency value according to the inlet and outlet water temperatures;
[0020] Based on the temperature deviation value, the humidity compensation value, the light enhancement value, the wind speed adjustment value, the indoor temperature deviation value, and the heat pump efficiency value, predict the target probability of future refrigeration required.
[0021] Among them, the predicting the target probability of future refrigeration required based on the temperature deviation value, the humidity compensation value, the light enhancement value, the wind speed adjustment value, the indoor temperature deviation value, and the heat pump efficiency value includes:
[0022] Perform weighted summation on the temperature deviation value, the humidity compensation value, the light enhancement value, the wind speed adjustment value, the indoor temperature deviation value, and the heat pump efficiency value to obtain a target value;
[0023] Map the target value to a preset target interval to obtain the target probability of future refrigeration required.
[0024] Wherein, after obtaining the target probability of future refrigeration required, it further includes:
[0025] When the target probability is within a preset probability range, update the target probability based on the target probability, the current ambient temperature, the target set temperature, and a preset probability update rule.
[0026] Wherein, determining the target working mode based on the target probability corresponding to the current cycle and the target probability corresponding to the historical cycle includes:
[0027] When the target probabilities corresponding to continuously preset number of cycles all exceed a first preset threshold, determine the target working mode as the refrigeration mode;
[0028] When the target probabilities corresponding to continuously preset number of cycles are all less than a second preset threshold, determine the target working mode as the heating mode.
[0029] Wherein, taking the target working mode as the subsequent working mode includes:
[0030] Determine the historical moment of the last working mode switch;
[0031] When the time interval between the historical moment and the current moment is greater than a second preset duration, take the target working mode as the subsequent working mode.
[0032] In a second aspect, an embodiment of the present application provides a heat pump working mode switching device, which is applicable to a heat pump system, and the device includes:
[0033] An information acquisition module, configured to periodically acquire weather forecast information, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value;
[0034] A probability prediction module, configured to predict the target probability of future refrigeration required based on the weather forecast information, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value;
[0035] A mode determination module, configured to determine the target working mode based on the target probability corresponding to the current cycle and the target probability corresponding to the historical cycle, and the target working mode is the refrigeration mode or the heating mode;
[0036] A mode switching module, configured to take the target working mode as the subsequent working mode.
[0037] In a third aspect, an embodiment of the present application provides a heat pump system, and the heat pump system includes a processor and a memory;
[0038] The memory is used to store a computer program and transmit the computer program to the processor;
[0039] The processor is used to execute a heat pump working mode switching method as described in the first aspect according to the instructions in the computer program.
[0040] In a fourth aspect, an embodiment of the present application provides a storage medium storing computer-executable instructions, and the computer-executable instructions are used to execute a heat pump working mode switching method as described in the first aspect when executed by a computer processor.
[0041] An embodiment of the present application provides a heat pump working mode switching method, device, equipment and storage medium. In the embodiment of the present application, after periodically obtaining weather forecast information, current ambient temperature, inlet and outlet water temperature, target set temperature and humidity reference value, based on the weather forecast information, current ambient temperature, inlet and outlet water temperature, target set temperature and humidity reference value, the target probability of future refrigeration is predicted, and the working mode is switched based on the target probability. In the embodiment of the present application, by integrating weather forecast, real-time state of the heat pump and user behavior data, a dynamic probability model is constructed to realize the quantitative switching decision of the refrigeration mode and the heating mode, so that the heat pump system can accurately switch the current required working mode, improve the accuracy of switching the working mode, and can pre-switch the working mode according to user needs and future environmental changes, improving the user experience, and solving the technical problems that the heat pump unit in the prior art cannot accurately switch the working mode and the working mode switching lags behind. In addition, in the embodiment of the present application, by introducing fuzzy control to correct the target probability within a preset probability range and setting the minimum interval of mode switching, the system oscillation caused by the frequent switching of the heat pump system can be prevented, and the robustness and stability of the heat pump system can be improved. Description of the Drawings
[0042] Figure 1 It is a schematic flowchart of a heat pump working mode switching method provided by an embodiment of the present invention.
[0043] Figure 2 It is a schematic principle diagram of a heat pump system for determining a target working mode provided by an embodiment of the present invention.
[0044] Figure 3 It is a schematic structural diagram of a heat pump working mode switching device provided by an embodiment of the present invention.
[0045] Figure 4 It is a schematic structural diagram of a heat pump system provided by an embodiment of the present invention. Detailed Embodiments
[0046] The following description and the accompanying drawings fully disclose specific embodiments of the present application, enabling those skilled in the art to practice them. The embodiments only represent possible variations. Unless explicitly required, individual components and functions are optional, and the order of operations can vary. Parts and features of some embodiments can be included in or replace parts and features of other embodiments. The scope of the embodiments of the present application includes the entire scope of the claims and all available equivalents of the claims. Herein, the embodiments can be individually or collectively referred to by the term "invention" for convenience only, and if more than one invention is actually disclosed, it is not intended to automatically limit the scope of the application to any single invention or inventive concept. Herein, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, without requiring or implying any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method or apparatus comprising a series of elements not only includes those elements but also includes other elements not expressly listed. The various embodiments herein are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts among the various embodiments can be referred to each other. For the structures, products, etc. disclosed in the embodiments, since they correspond to the parts disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method part.
[0047] A heat pump system is an energy-efficient heating and cooling technology that transfers low-grade thermal energy in the environment (such as heat in air, water, or soil) to high-grade thermal energy through a reverse thermodynamic cycle for heating, hot water supply, or cooling. The core principle of the heat pump system is based on the reverse Carnot cycle or the vapor compression cycle, and through the phase change of the refrigerant in the four processes of evaporation, compression, condensation, and throttling, the "transportation" of heat is achieved.
[0048] Traditional heat pump systems usually rely on a single threshold when switching between the heating mode and the cooling mode, and can only be manually switched by the user or automatically switched by the heat pump system based on a fixed temperature threshold. However, this switching method cannot accurately control the current required working mode, and the accuracy of the working mode switching is low. In addition, during the process of switching the working mode, the influence of the heat pump's own operating parameters on the working mode switching is not considered, and there is a lack of anticipation of user needs and environmental changes, resulting in lag or frequent oscillation in the switching. For example, in an environment with a large temperature difference, the temperature drops sharply at night. If the heat pump system does not switch the working mode to the heating mode in advance, the user still needs to wait for the heat pump to heat the cold water when using hot water at night, and the user experience is poor.
[0049] Based on this, in order to solve the above technical problems, an embodiment of the present invention provides a method for switching the working mode of a heat pump, as Figure 1 shown Figure 1 is a schematic flowchart of a method for switching the working mode of a heat pump provided by an embodiment of the present invention. The method for switching the working mode of a heat pump provided by an embodiment of the present invention is applicable to a heat pump system. The method for switching the working mode of a heat pump includes the following steps:
[0050] Step 101, periodically obtain weather forecast information, current ambient temperature, inlet and outlet water temperatures, target set temperature, and humidity reference value.
[0051] In this embodiment, the heat pump system needs to periodically obtain weather forecast information, current ambient temperature, inlet and outlet water temperatures, target set temperature, and humidity reference value. Among them, the weather forecast information can be obtained from the server through networking; the current ambient temperature is the current indoor temperature of the target area where the heat pump system needs to perform temperature regulation, and the current ambient temperature can be collected by setting a temperature sensor in the indoor of the target area; the inlet and outlet water temperatures are the inlet water temperature and outlet water temperature of the heat pump system. Similarly, the inlet and outlet water temperatures can be collected by setting temperature sensors at the inlet and outlet of the heat pump system respectively. The target set temperature is the temperature that the user sets for the target area to maintain, and the humidity reference value is the humidity at which the user feels comfortable. For example, the humidity reference value can be set to 60%. In this embodiment, the target set temperature and the humidity reference value can be pre-written into the heat pump system by the user or directly set in the heat pump system.
[0052] In addition, in this embodiment, the time interval between two adjacent periods can be set according to actual needs. For example, the time interval between two periods can be set to 30 minutes or 60 minutes, etc.
[0053] Step 102, based on the weather forecast information, current ambient temperature, inlet and outlet water temperatures, target set temperature, and humidity reference value, predict the target probability of future cooling.
[0054] After the heat pump system obtains weather forecast information, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value in a cycle, it is necessary to further fuse the weather forecast information, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value, integrate the information of weather forecast, heat pump real-time data, and user behavior, and predict the target probability of cooling required in the future target area. In one embodiment, the heat pump system can call a pre-trained probability prediction model, and input the weather forecast information, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value into the probability prediction model, so as to output the target probability of cooling required in the future through the probability prediction model, where the probability prediction model is obtained by pre-training a deep network deep learning model. In another embodiment, the heat pump system can also extract future weather information such as future temperature and future humidity from the weather forecast information, and then perform weighted summation after normalizing the future weather information, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value, and determine the target probability of cooling required in the future according to the weighted summation result.
[0055] Based on the weather forecast information, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value in the above embodiment, predicting the target probability of cooling required in the future includes:
[0056] Step 1021: Based on the weather forecast information, determine the predicted temperature, predicted relative humidity, predicted light intensity, and predicted wind speed corresponding to the target moment, where the target moment is a future moment with a time interval of a first preset duration from the current moment.
[0057] In this embodiment, the heat pump system first needs to extract the weather information corresponding to the future target moment from the weather forecast information, including the predicted temperature, predicted relative humidity, predicted light intensity, and predicted wind speed at the target moment. The target moment is a future moment with a time interval of a first preset duration from the current moment, where the first preset duration can be set to 60 minutes or 90 minutes, etc. The specific value of the first preset duration can be set according to actual needs and is not specifically limited in this embodiment.
[0058] Step 1022: Based on the predicted temperature, predicted relative humidity, predicted light intensity, predicted wind speed, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value, predict the target probability of cooling required in the future.
[0059] After extracting the predicted temperature, predicted relative humidity, predicted light intensity, and predicted wind speed from the weather forecast information, the target probability of future cooling needs can be predicted based on the current ambient temperature, inlet and outlet water temperature, target set temperature, and humidity reference value. Specifically, the heat pump system needs to determine the temperature deviation value according to the predicted temperature and the target set temperature; determine the humidity compensation value according to the predicted relative humidity and the humidity reference value; determine the light intensity enhancement value according to the predicted light intensity; determine the wind speed adjustment value according to the predicted wind speed; determine the indoor temperature deviation value according to the current ambient temperature and the target set temperature; determine the heat pump efficiency value according to the inlet and outlet water temperature; and predict the target probability of future cooling needs based on the temperature deviation value, humidity compensation value, light intensity enhancement value, wind speed adjustment value, indoor temperature deviation value, and heat pump efficiency value.
[0060] The specific calculation process is as follows:
[0061] The temperature deviation value f1(x) = T future - T target .
[0062] Where, T future is the predicted outdoor temperature for a certain hour in the future, in °C. T target : is the target set temperature set by the user, in °C. When f1(x) > 0, the cooling demand increases.
[0063] The humidity compensation value f2(x) = H future - H comfort .
[0064] Where, H future is the predicted relative humidity for a certain hour in the future, in °%. H comfort is the humidity reference value, generally set to 60%. The higher the humidity, the more cooling is needed to dehumidify (such as when the humidity > 60% has a significant impact).
[0065] The light intensity enhancement value f3(x) = L future / 1000.
[0066] Where, L future is the predicted light intensity for a certain hour in the future, in W / m 2 . Strong light will cause the indoor temperature to rise (such as noon solar radiation), and cooling needs to be advanced. The stronger the light, the higher the cooling demand.
[0067] The wind speed adjustment value f4(x) = W future .
[0068] Where, W future is the predicted wind speed for a certain hour in the future, in m / s. High wind speeds accelerate heat exchange and suppress temperature fluctuations (such as strong winds at night reducing the cooling demand). Therefore, the greater the wind speed, the lower the cooling demand.
[0069] Indoor temperature deviation value f5(x) = T indoor -T target 。
[0070] Wherein, T indoor is the current ambient temperature, with the unit of °C. The higher the ambient temperature, the greater the cooling demand.
[0071] Heat pump efficiency value f6(x) = T OUT -T in 。
[0072] Wherein, T in is the current inlet water temperature of the heat pump system, with the unit of °C. T out is the current outlet water temperature of the heat pump system, with the unit of °C. The inlet water temperature and the outlet water temperature reflect the load of the heat pump system. If the temperature difference between the inlet water temperature and the outlet water temperature is small, the efficiency of the heat pump system is low and the mode needs to be switched.
[0073] When determining the target probability of future cooling needed, a weighted sum is performed on the temperature deviation value, humidity compensation value, light intensity enhancement value, wind speed adjustment value, indoor temperature deviation value, and heat pump efficiency value to obtain a target value; then the target value is mapped into a preset target interval to obtain the target probability of future cooling needed. The specific calculation formula for the target probability P(cool) of future cooling needed is as follows:
[0074]
[0075] Wherein, w1 to w6 are weight coefficients obtained through training, is the Sigmoid function, which is used to map the target probability into the interval [0,1].
[0076] Wherein, the weight coefficients can be obtained through the following method:
[0077] Obtain historical data. The historical data includes the above input variables in history (including predicted temperature, predicted relative humidity, predicted light intensity, predicted wind speed, current ambient temperature, inlet and outlet water temperatures, target set temperature, and humidity reference value) and the working mode switching record (label: 0 = heating mode, 1 = cooling mode). After performing Z-Score standardization on the input variables, training data is obtained. Then use Logistic Regression or a classifier with L1 / L2 regularization to minimize the cross-entropy loss L = ∑[ylogP(cool)+(1 - y)log(1 - P(cool))], and determine the weights w1 to w6 through grid search or Bayesian optimization, where y represents the label (i.e., the working mode, 0 = heating mode, 1 = cooling mode).
[0078] Exemplarily, assume that in the current cycle, the specific values of the data collected by the heat pump system are as follows:
[0079] T future = 32°C H future = 75% L future = 1200W / m 2 W future = 1m / s
[0080] T target = 26°C T indoor = 28°C T in = 18°C T OUT = 23°C
[0081] Weight coefficients: w1 = 0.7, w2 = 0.4, w3 = 0.3, w4 = -0.2, w5 = 0.6, w6 = -0.1.
[0082] Calculation process:
[0083] P(cool) = σ(0.7×6 + 0.4×15 + 0.3×1.2 - 0.2×1 + 0.6×2 - 0.1×5) = 0.999
[0084] Based on the above embodiments, after obtaining the target probability of refrigeration required in the future, it further includes:
[0085] When the target probability is within the preset probability range, update the target probability based on the target probability, the current ambient temperature, the target set temperature, and the preset probability update rule.
[0086] In one embodiment, after obtaining the target probability of the current cycle, the heat pump system further needs to determine whether the target probability is within the preset probability range. In this embodiment, the preset probability range is set to (0.4, 0.6). If the target probability is within (0.4, 0.6), the uncertainty of the heat pump system is relatively high. This means that the behavior of the heat pump system is difficult to describe by an accurate mathematical model because the probability value is neither particularly high (close to 1) nor particularly low (close to 0), but in an intermediate state. Within this probability range, the working mode of the heat pump system may be affected by various factors, resulting in a certain degree of ambiguity in the results. Therefore, when the target probability is within (0.4, 0.6), fuzzy control needs to be started to re-update the target probability of the current cycle. Among them, the heat pump system needs to update the target probability based on the target probability, the current ambient temperature, the target set temperature, and the preset probability update rule. Specifically, the specific formula for updating the target probability is as follows:
[0087]
[0088] Where, newPCOOL is the updated target probability.
[0089] For example, the parameters collected by the heat pump system include:
[0090] T future = 20°C H future = 55% T target = 20°C T indoor = 19°C
[0091] If the initial calculated P(cool) = 0.52, then the target probability needs to be fuzzy corrected:
[0092] The updated P(cool) = 0.52 x (1 - |19 - 20| / 5) = 0.416.
[0093] Step 103: Based on the target probability corresponding to the current cycle and the target probability corresponding to the historical cycle, determine the target working mode, where the target working mode is the cooling mode or the heating mode.
[0094] After the heat pump system determines the target probability of future cooling required corresponding to the current cycle, it needs to further determine the target working mode based on the target probability corresponding to the current cycle and the target probability corresponding to the historical cycle, where the target working mode is the cooling mode or the heating mode. For example, in order to reduce the influence of contingency and improve the decision-making accuracy, the heat pump system can comprehensively consider the target probability corresponding to the current cycle and the target probabilities corresponding to several recent historical cycles to determine the target working mode. Specifically, the heat pump system can determine the target working mode by whether the target probabilities corresponding to consecutive multiple cycles all exceed a preset threshold, or by the change trend of the target probabilities within consecutive multiple cycles.
[0095] Based on the above embodiments, in step 103, determining the target working mode based on the target probability corresponding to the current cycle and the target probability corresponding to the historical cycle includes:
[0096] Step 1031: When the target probabilities corresponding to consecutive preset number of cycles all exceed the first preset threshold, determine the target working mode as the cooling mode.
[0097] Step 1032: When the target probabilities corresponding to consecutive preset number of cycles all are less than the second preset threshold, determine the target working mode as the heating mode.
[0098] Specifically, if the target probabilities corresponding to a continuous preset number of cycles in the heat pump system all exceed the first preset threshold, the target operating mode is determined to be the cooling mode; if the target probabilities corresponding to a continuous preset number of cycles are all less than the second preset threshold, the target operating mode is determined to be the heating mode. The specific values of the preset number, the first preset threshold, and the second preset threshold can be set according to actual needs, but it is necessary to ensure that the first preset threshold is greater than the second preset threshold. For example, the preset number can be set to 3, the first preset threshold can be set to 0.7, and the second preset threshold can be set to 0.3. Exemplarily, as Figure 2 shown, Figure 2 is a schematic diagram of the principle for a heat pump system provided by an embodiment of the present invention to determine the target operating mode. Figure 2 In it, if the heat pump system has P(cool)>0.7 and lasts for 3 cycles, the target operating mode is determined to be the cooling mode; if the heat pump system has P(cool)<0.3 and lasts for 3 cycles, the target operating mode is determined to be the heating mode. If neither of the above two conditions is met, the current operating mode remains unchanged.
[0099] In another embodiment, if the heat pump system determines that the target probability shows an upward trend in a continuous plurality of cycles, even if the current probability has not reached a certain fixed threshold, the heat pump system can predict that the future cooling demand may increase, so as to switch to the cooling mode in advance or enhance the cooling capacity. On the contrary, if the target probability shows a downward trend in a continuous plurality of cycles, the heat pump system can predict that the future cooling demand may decrease, so as to consider switching to the heating mode.
[0100] Step 104: Use the target operating mode as the subsequent operating mode.
[0101] After determining the target operating mode, the heat pump system can switch the operating mode to the target operating mode. It can be understood that if the current operating mode is already the target operating mode, there is no need to switch the operating mode anymore. In another embodiment, in order to prevent the system from oscillating due to frequent switching of the operating mode, the heat pump system can also set a minimum time interval between two adjacent operating mode switches. Specifically, using the target operating mode as the subsequent operating mode in step 104 includes:
[0102] Step 1041: Determine the historical moment of the last operating mode switch.
[0103] Step 1042: If the time interval between the historical moment and the current moment is greater than the second preset duration, use the target operating mode as the subsequent operating mode.
[0104] In this embodiment, before the heat pump system switches the working mode, it is necessary to determine the historical moment of the last working mode switch. Then, it is further determined whether the time interval from the historical moment to the current moment is greater than the second preset duration. If it is greater than the second preset duration, the target working mode is used as the subsequent working mode, where the second preset duration can be set to 60 minutes. If the time interval is less than or equal to the second preset duration, the heat pump system does not switch the working mode.
[0105] As described above, the embodiment of the present invention provides a method for switching the working mode of a heat pump. By periodically obtaining weather forecast information, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value, and based on the weather forecast information, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value, the target probability of future refrigeration is predicted, and the working mode is switched based on the target probability. The embodiment of the present invention constructs a dynamic probability model through integrating weather forecast, the real-time state of the heat pump, and user behavior data to realize the quantitative switching decision between the refrigeration mode and the heating mode, enabling the heat pump system to accurately switch the currently required working mode, improving the accuracy of switching the working mode, and being able to pre-switch the working mode according to user needs and future environmental changes, improving the user experience, and solving the technical problems in the prior art that the heat pump unit cannot accurately switch the working mode and the working mode switching lags behind. In addition, the embodiment of the present invention can prevent the system oscillation caused by the frequent switching of the working mode of the heat pump system and improve the robustness and stability of the heat pump system by introducing fuzzy control to correct the target probability within a preset probability range and setting the minimum interval for mode switching.
[0106] The embodiment of the present invention also provides a device for switching the working mode of a heat pump, as Figure 3 shown, Figure 3 which is a schematic structural diagram of a device for switching the working mode of a heat pump provided by the embodiment of the present invention. The device for switching the working mode of a heat pump is applicable to a heat pump system. The device for switching the working mode of a heat pump includes:
[0107] An information acquisition module 201, configured to periodically acquire weather forecast information, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value;
[0108] A probability prediction module 202, configured to predict the target probability of future refrigeration based on the weather forecast information, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value;
[0109] A mode determination module 203, configured to determine the target working mode based on the target probability corresponding to the current cycle and the target probability corresponding to the historical cycle, where the target working mode is the refrigeration mode or the heating mode;
[0110] The mode switching module 204 is configured to use the target working mode as the subsequent working mode.
[0111] Among them, the probability prediction module 202 includes:
[0112] The future weather analysis sub-module is configured to determine the predicted temperature, predicted relative humidity, predicted light intensity, and predicted wind speed corresponding to the target moment based on the weather forecast information, where the target moment is a future moment with a time interval of the first preset duration from the current moment;
[0113] The probability prediction sub-module is configured to predict the target probability of future refrigeration required based on the predicted temperature, predicted relative humidity, predicted light intensity, predicted wind speed, current ambient temperature, inlet and outlet water temperatures, target set temperature, and humidity reference value.
[0114] Among them, the probability prediction sub-module includes:
[0115] The temperature deviation determination unit is configured to determine the temperature deviation value according to the predicted temperature and the target set temperature;
[0116] The humidity compensation determination unit is configured to determine the humidity compensation value according to the predicted relative humidity and the humidity reference value;
[0117] The light enhancement determination unit is configured to determine the light enhancement value according to the predicted light intensity;
[0118] The wind speed adjustment unit is configured to determine the wind speed adjustment value according to the predicted wind speed;
[0119] The indoor temperature deviation determination unit is configured to determine the indoor temperature deviation value according to the current ambient temperature and the target set temperature;
[0120] The heat pump efficiency determination unit is configured to determine the heat pump efficiency value according to the inlet and outlet water temperatures;
[0121] The probability prediction unit is configured to predict the target probability of future refrigeration required based on the temperature deviation value, humidity compensation value, light enhancement value, wind speed adjustment value, indoor temperature deviation value, and heat pump efficiency value.
[0122] Among them, the probability prediction unit is specifically configured to perform weighted summation on the temperature deviation value, humidity compensation value, light enhancement value, wind speed adjustment value, indoor temperature deviation value, and heat pump efficiency value to obtain a target value; map the target value to a preset target interval to obtain the target probability of future refrigeration required.
[0123] Among them, it further includes a probability update module, which is configured to, after obtaining the target probability of future refrigeration required, update the target probability based on the target probability, current ambient temperature, target set temperature, and a preset probability update rule when the target probability is within a preset probability range.
[0124] Among them, the mode determination module 203 includes:
[0125] A refrigeration mode determination sub-module, configured to determine that the target operating mode is the refrigeration mode when the target probabilities corresponding to consecutive preset numbers of cycles all exceed the first preset threshold;
[0126] A heating mode determination sub-module, configured to determine that the target operating mode is the heating mode when the target probabilities corresponding to consecutive preset numbers of cycles are all less than the second preset threshold.
[0127] Among them, the mode switching module 204 includes:
[0128] A historical switching moment determination sub-module, configured to determine the historical moment of the last working mode switch;
[0129] A mode switching sub-module, configured to use the target operating mode as the subsequent operating mode when the time interval between the historical moment and the current moment is greater than the second preset duration.
[0130] The heat pump operating mode switching device provided by the embodiments of the present invention is included in the heat pump system and can be used to execute the heat pump operating mode switching method provided in the above embodiments, and has corresponding functions and beneficial effects.
[0131] It should be noted that in the embodiments of the above heat pump operating mode switching device, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of mutual distinction and do not limit the protection scope of the present invention.
[0132] This embodiment also provides a heat pump system, as Figure 4 shown, Figure 4 is a schematic structural diagram of a heat pump system provided by the embodiments of the present invention. The heat pump system 30 includes a processor 300 and a memory 301;
[0133] The memory 301 is used to store a computer program 302 and transmit the computer program 302 to the processor 300;
[0134] The processor 300 is configured to execute the steps in the above embodiment of the heat pump operating mode switching method according to the instructions in the computer program 302.
[0135] Exemplarily, the computer program 302 can be divided into one or more modules / units, and one or more modules / units are stored in the memory 301 and executed by the processor 300 to complete the present application. One or more modules / units can be a series of computer program instruction segments capable of completing specific functions, and these instruction segments are used to describe the execution process of the computer program 302 in the heat pump system 30.
[0136] The heat pump system 30 may include, but is not limited to, the processor 300 and the memory 301. Those skilled in the art can understand that Figure 4 merely being examples of the heat pump system 30, they do not constitute a limitation on the heat pump system 30, and it may include more or fewer components than shown in the figure, or combine certain components, or different components. For example, the heat pump system 30 may also include input / output devices, network access devices, a bus, etc.
[0137] The so-called processor 300 may be a central processing unit (CPU), or may also 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 the processor may also be any conventional processor, etc.
[0138] The memory 301 may be an internal storage unit of the heat pump system 30, such as the hard disk or memory of the heat pump system 30. The memory 301 may also be an external storage device of the heat pump system 30, such as a plug-in hard disk equipped on the heat pump system 30, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Further, the memory 301 may also include both the internal storage unit and the external storage device of the heat pump system 30. The memory 301 is used to store the computer program and other programs and data required by the heat pump system 30. The memory 301 may also be used to temporarily store the data that has been output or will be output.
[0139] Those skilled in the art can clearly understand that for the sake of convenience and brevity of description, the specific working processes of the above-described systems, devices, and units can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.
[0140] In several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces, and the indirect couplings or communication connections of devices or units can be in electrical, mechanical, or other forms.
[0141] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0142] In addition, each functional unit in various embodiments of the present invention can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0143] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of this 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 for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in various embodiments of the present invention. And the aforementioned storage medium includes: USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs and other various media that can store computer programs.
[0144] The embodiment of the present invention also provides a storage medium containing computer-executable instructions. The computer-executable instructions are used to execute a heat pump working mode switching method when executed by a computer processor. The method includes the following steps:
[0145] Periodically obtain weather forecast information, current ambient temperature, inlet and outlet water temperature, target set temperature, and humidity reference value;
[0146] Predict the target probability of future cooling based on weather forecast information, current ambient temperature, inlet and outlet water temperatures, target set temperature, and humidity reference value;
[0147] Determine the target working mode based on the target probability corresponding to the current cycle and the target probability corresponding to the historical cycle, where the target working mode is a cooling mode or a heating mode;
[0148] Use the target working mode as the subsequent working mode.
[0149] Note that the above is only the preferred embodiment of the present invention and the applied technical principle. Those skilled in the art will understand that the embodiments of the present invention are not limited to the specific embodiments described here, and various obvious changes, re-adjustments, and substitutions can be made by those skilled in the art without departing from the protection scope of the embodiments of the present invention. Therefore, although the embodiments of the present invention have been described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments only. Without departing from the concept of the embodiments of the present invention, more other equivalent embodiments can be included, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.
Claims
1. A method for switching the working mode of a heat pump, characterized in that, The method is applicable to a heat pump system, and the method includes: Periodically obtaining weather forecast information, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value; Predicting the target probability of needing refrigeration in the future based on the weather forecast information, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value; Determining a target operating mode based on the target probability corresponding to the current period and the target probability corresponding to the historical period, where the target operating mode is a refrigeration mode or a heating mode; Taking the target operating mode as the subsequent operating mode.
2. The heat pump operating mode switching method according to claim 1, wherein, The predicting the target probability of needing refrigeration in the future based on the weather forecast information, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value includes: Determining a predicted temperature, a predicted relative humidity, a predicted light intensity, and a predicted wind speed corresponding to a target time based on the weather forecast information, where the target time is a future time with a time interval of a first preset duration from the current time; Predicting the target probability of needing refrigeration in the future based on the predicted temperature, the predicted relative humidity, the predicted light intensity, the predicted wind speed, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value.
3. The heat pump operating mode switching method according to claim 2, wherein The predicting the target probability of needing refrigeration in the future based on the predicted temperature, the predicted relative humidity, the predicted light intensity, the predicted wind speed, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value includes: Determining a temperature deviation value according to the predicted temperature and the target set temperature; Determining a humidity compensation value according to the predicted relative humidity and the humidity reference value; Determining a light intensity enhancement value according to the predicted light intensity; Determining a wind speed adjustment value according to the predicted wind speed; Determining an indoor temperature deviation value according to the current ambient temperature and the target set temperature; Determining a heat pump efficiency value according to the inlet and outlet water temperatures; Predicting the target probability of needing refrigeration in the future based on the temperature deviation value, the humidity compensation value, the light intensity enhancement value, the wind speed adjustment value, the indoor temperature deviation value, and the heat pump efficiency value.
4. The heat pump operating mode switching method according to claim 3, characterized in that, The predicting the target probability of needing refrigeration in the future based on the temperature deviation value, the humidity compensation value, the light intensity enhancement value, the wind speed adjustment value, the indoor temperature deviation value, and the heat pump efficiency value includes: Performing weighted summation on the temperature deviation value, the humidity compensation value, the light intensity enhancement value, the wind speed adjustment value, the indoor temperature deviation value, and the heat pump efficiency value to obtain a target value; Mapping the target value into a preset target interval to obtain the target probability of needing refrigeration in the future.
5. The heat pump operating mode switching method according to claim 4, characterized in that, After obtaining the target probability of needing refrigeration in the future, it further includes: When the target probability is within a preset probability range, updating the target probability based on the target probability, the current ambient temperature, the target set temperature, and a preset probability update rule.
6. The heat pump operating mode switching method according to claim 1, wherein Determining the target working mode based on the target probability corresponding to the current cycle and the target probability corresponding to the historical cycle includes: When the target probabilities corresponding to a continuous preset number of cycles all exceed a first preset threshold, determining that the target working mode is the cooling mode; When the target probabilities corresponding to a continuous preset number of cycles are all less than a second preset threshold, determining that the target working mode is the heating mode.
7. The heat pump operating mode switching method according to claim 1, wherein, Regarding using the target working mode as the subsequent working mode, it includes: Determining the historical moment of the last working mode switch; When the time interval between the historical moment and the current moment is greater than a second preset duration, using the target working mode as the subsequent working mode.
8. A heat pump operating mode switching device, characterized in that, The device is applicable to a heat pump system, and the device includes: An information acquisition module, configured to periodically acquire weather forecast information, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value; A probability prediction module, configured to predict the target probability of needing cooling in the future based on the weather forecast information, the current ambient temperature, the inlet and outlet water temperatures, the target set temperature, and the humidity reference value; A mode determination module, configured to determine the target working mode based on the target probability corresponding to the current cycle and the target probability corresponding to the historical cycle, where the target working mode is the cooling mode or the heating mode; A mode switching module, configured to use the target working mode as the subsequent working mode.
9. A heat pump system, characterized in that, The heat pump system includes a processor and a memory; The memory is configured to store a computer program and transmit the computer program to the processor; The processor is configured to execute the heat pump working mode switching method according to any one of claims 1-7 based on the instructions in the computer program.
10. A storage medium storing computer-executable instructions, characterized in that, The computer-executable instructions are used to execute the heat pump working mode switching method according to any one of claims 1-7 when executed by a computer processor.