Air conditioning control methods, devices, programs, products, media, and air conditioning
By acquiring and increasing the operating frequency of the air conditioner compressor before defrosting, and using a machine learning model to optimize the frequency increment, the problem of low efficiency in indoor temperature recovery after defrosting was solved, achieving rapid temperature recovery and improved user comfort.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2026-05-26
AI Technical Summary
During the defrosting process of an air conditioner, the drop in indoor temperature can cause discomfort to users, especially in temperature-sensitive environments. How can we improve the efficiency of indoor temperature recovery after defrosting?
By obtaining the operating frequency and frequency increment of the compressor before defrosting, the operating frequency of the compressor is increased to improve the efficiency of indoor temperature recovery. A machine learning model is then used to predict the appropriate frequency increment and recovery time.
It effectively shortens the indoor temperature recovery time after defrosting, improves user comfort and experience, and maintains a constant temperature environment.
Smart Images

Figure CN122083486A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of air conditioning and air conditioning control technology, and particularly relates to an air conditioning control method, device, program product, medium and air conditioner. Background Technology
[0002] In air conditioning heating mode, when the outdoor ambient temperature is low and the air humidity is high, the surface temperature of the outdoor heat exchanger drops rapidly due to heat absorption, causing water vapor in the air to condense and form a frost layer on the surface of the outdoor heat exchanger. To ensure the heating effect of the air conditioner, the outdoor heat exchanger needs to be defrosted. During the defrosting process, the air conditioner's heating function is paused, the indoor unit stops blowing hot air, and the indoor temperature drops, causing discomfort to users, especially in temperature-sensitive environments such as hospitals or rooms where the elderly or infants reside, where temperature fluctuations can have a significant impact. Therefore, after defrosting, it is necessary to restore the indoor temperature to its pre-defrosting temperature as quickly as possible. Based on this, improving the efficiency of indoor temperature recovery after air conditioner defrosting is a pressing technical problem that needs to be solved. Summary of the Invention
[0003] The embodiments of this application provide an air conditioning control method, apparatus, computer program product, computer-readable storage medium, and air conditioner, which can at least to some extent improve the efficiency of indoor temperature recovery after the air conditioner defrosts.
[0004] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.
[0005] According to a first aspect of the embodiments of this application, an air conditioning control method is provided, the method comprising: after the air conditioner defrosts, obtaining a first operating frequency of the compressor before the air conditioner defrosts, and obtaining an increment of the operating frequency of the compressor; based on the increment of the operating frequency, increasing the operating frequency of the compressor on the basis of the first operating frequency to obtain a second operating frequency; and controlling the compressor to operate at the second operating frequency.
[0006] In some embodiments of this application, based on the foregoing scheme, obtaining the first operating frequency of the compressor before the air conditioner defrosts includes: obtaining the operating frequency of the compressor at multiple times before the air conditioner defrosts; averaging the operating frequencies at the multiple times to obtain the first operating frequency.
[0007] In some embodiments of this application, based on the foregoing scheme, obtaining the compressor's operating frequency increment includes: obtaining a first indoor temperature before the air conditioner begins defrosting, a second indoor temperature when the air conditioner ends defrosting, and an outdoor temperature, and determining a reference temperature parameter, wherein the reference temperature parameter is the first indoor temperature, or the reference temperature parameter is the temperature difference between the first indoor temperature and the second indoor temperature; obtaining the expected duration for the indoor temperature to rise from the second indoor temperature back to the first indoor temperature; and determining the compressor's operating frequency increment based on the second indoor temperature, the reference temperature parameter, the outdoor temperature, the expected duration, and the first operating frequency through a pre-constructed first prior model.
[0008] In some embodiments of this application, based on the foregoing scheme, the first prior model is constructed through the following steps: acquiring multiple sets of first prior data, the first prior data including a second historical indoor temperature, a historical reference temperature parameter, a historical outdoor temperature, a historical operating frequency, a historical operating frequency increment, and a first historical duration, wherein the first historical duration is the actual duration during which the indoor temperature rises from the second historical indoor temperature to the first historical indoor temperature when the compressor's operating frequency is increased by the historical operating frequency increment, the historical operating frequency is the compressor's operating frequency that maintains the indoor temperature at the first historical indoor temperature, wherein the historical reference temperature parameter is the first historical indoor temperature, or the historical reference temperature parameter is the temperature difference between the first historical indoor temperature and the second historical indoor temperature; and learning from the multiple sets of first prior data to obtain the first prior model.
[0009] In some embodiments of this application, based on the foregoing scheme, the step of learning from the multiple sets of first prior data to obtain the first prior model includes: training a first preset machine learning model based on the multiple sets of first prior data to obtain the first prior model.
[0010] In some embodiments of this application, based on the foregoing scheme, obtaining the expected duration for the indoor temperature to rise from the second indoor temperature to the first indoor temperature includes: obtaining an estimated duration for the indoor temperature to rise from the second indoor temperature to the first indoor temperature under the condition that the compressor operates at the first operating frequency; adjusting the estimated duration based on a set coefficient to obtain the expected duration for the indoor temperature to rise from the second indoor temperature to the first indoor temperature.
[0011] In some embodiments of this application, based on the foregoing scheme, obtaining the estimated duration for the indoor temperature to rise from the second indoor temperature to the first indoor temperature under the condition that the compressor is operating at the first operating frequency includes: determining the estimated duration based on the second indoor temperature, the reference temperature parameter, and the outdoor temperature through a pre-constructed second prior model.
[0012] In some embodiments of this application, based on the foregoing scheme, the second prior model is constructed through the following steps: acquiring multiple sets of second prior data, the second prior data including a second historical indoor temperature, a historical reference temperature parameter, a historical outdoor temperature, and a second historical duration, wherein the second historical duration is the actual duration during which the indoor temperature rises from the second historical indoor temperature to the first historical indoor temperature under the condition that the compressor's operating frequency is the historical operating frequency, the historical operating frequency is the compressor's operating frequency that maintains the indoor temperature at the first historical indoor temperature, wherein the historical reference temperature parameter is the first historical indoor temperature, or the historical reference temperature parameter is the temperature difference between the first historical indoor temperature and the second historical indoor temperature; and learning from the multiple sets of second prior data to obtain the second prior model.
[0013] In some embodiments of this application, based on the foregoing scheme, the step of learning from the multiple sets of second prior data to obtain the second prior model includes: training a second preset machine learning model based on the multiple sets of second prior data to obtain the second prior model.
[0014] In some embodiments of this application, based on the foregoing scheme, controlling the compressor to operate at the second operating frequency includes: controlling the compressor to operate at the second operating frequency during the desired duration.
[0015] In some embodiments of this application, based on the foregoing scheme, the method further includes: after controlling the compressor to operate at the second operating frequency during the desired duration, controlling the compressor to operate at the first operating frequency.
[0016] According to a second aspect of the embodiments of this application, an air conditioning control device is provided, the device comprising: an acquisition unit, configured to acquire a first operating frequency of the compressor before the start of defrosting of the air conditioner after the defrosting process has ended, and to acquire an increment of the operating frequency of the compressor; an adjustment unit, configured to increase the operating frequency of the compressor based on the increment of the operating frequency, thereby obtaining a second operating frequency; and a control unit, configured to control the compressor to operate at the second operating frequency.
[0017] According to a third aspect of the embodiments of this application, a computer program product is provided, the computer program product including computer instructions stored in a computer-readable storage medium and adapted to be read and executed by a processor to cause a computer device having the processor to perform an operation as described in any of the first aspects above.
[0018] According to a fourth aspect of the embodiments of this application, a computer-readable storage medium is provided, the computer-readable storage medium storing at least one computer program instruction, the at least one computer program instruction being loaded and executed by a processor to perform the operation as described in any of the first aspects above.
[0019] According to a fifth aspect of the embodiments of this application, an air conditioner is provided, the air conditioner including one or more processors and one or more memories, the one or more memories storing at least one computer program instruction, the at least one computer program instruction being loaded and executed by the one or more processors to perform the operation as described in any of the first aspects above.
[0020] Based on the technical solution proposed in this application, after the air conditioner defrosts, a second operating frequency is obtained by adding the acquired operating frequency increment to the compressor operating frequency before defrosting begins, and the compressor is controlled to operate at the second operating frequency. In this way, by making the compressor operate at a higher frequency (i.e., the second operating frequency), the efficiency of indoor temperature recovery after defrosting can be effectively improved, thereby rapidly increasing the indoor temperature after defrosting, shortening the temperature recovery time, improving user comfort, and ultimately enhancing the user experience.
[0021] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0022] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:
[0023] Figure 1 A system architecture diagram of an air conditioner to which embodiments of this application can be applied is shown;
[0024] Figure 2 A flowchart of an air conditioning control method according to an embodiment of this application is shown;
[0025] Figure 3 The diagram shows the indoor temperature change of the air conditioner before and after defrosting according to an embodiment of this application;
[0026] Figure 4 A detailed flowchart of an air conditioning control method according to an embodiment of this application is shown;
[0027] Figure 5 A block diagram of an air conditioning control device according to an embodiment of this application is shown;
[0028] Figure 6 A schematic diagram of the structure of an air conditioner according to an embodiment of this application is shown. Detailed Implementation
[0029] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0030] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.
[0031] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices. It should also be noted that, for the sake of simplicity, certain components in the drawings that do not affect the interpretation of the technical solution of this application have been appropriately omitted.
[0032] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0033] In the description of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "multiple" means two or more.
[0034] To enable those skilled in the art to better understand this application, firstly, in conjunction with Figure 1 The following is a brief description of an air conditioning system architecture according to one embodiment of this application. It should be noted that the air conditioning system architecture described below is only one embodiment of the air conditioning system architecture. The air conditioning control method described later in this application is also applicable to other air conditioning system architectures.
[0035] See Figure 1 The diagram shows a system architecture diagram of an air conditioner to which embodiments of this application can be applied.
[0036] like Figure 1 As shown, the air conditioner involved in this application may include a compressor 108, a four-way valve 112, a first refrigerant pipe 114, a first shut-off valve 113, an indoor unit (including an indoor heat exchanger 115 and an indoor fan 116), a third refrigerant pipe 101, a second shut-off valve 102, a throttling device 103, an outdoor unit (outdoor heat exchanger 105 and outdoor fan 104), a first temperature detection device 107 (for detecting the temperature of the outdoor heat exchanger 105), a second temperature detection device 106 (for detecting the outdoor ambient temperature), a second refrigerant pipe 110, and a pressure sensor 109. The first refrigerant pipe 114 is used to connect the four-way valve 112 to the indoor unit, and the second refrigerant pipe is used to connect the four-way valve 112 to the outdoor unit.
[0037] In heating mode, compressor 108 compresses low-temperature, low-pressure gaseous refrigerant to obtain high-temperature, high-pressure gaseous refrigerant. This high-temperature, high-pressure gaseous refrigerant then flows through ports a and b of four-way valve 112 and into the indoor heat exchanger 115 via the first refrigerant pipe 114. Indoor air exchanges heat with the high-temperature, high-pressure gaseous refrigerant through the indoor heat exchanger 115, absorbing heat from it and transforming it into a medium-temperature, high-pressure liquid refrigerant. The indoor air, by absorbing heat from the refrigerant, experiences a temperature increase, achieving a warming effect. The medium-temperature, high-pressure liquid refrigerant flows into the outdoor heat exchanger 105 via the third refrigerant pipe 101. After absorbing heat from the outdoor air, the refrigerant in the outdoor heat exchanger 105 evaporates into low-temperature, low-pressure gaseous refrigerant. The gaseous refrigerant flowing out of the outdoor heat exchanger 105 returns to compressor 108 via the second refrigerant pipe 110 and ports d and c of four-way valve 112, completing one cycle of the refrigerant in the air conditioner.
[0038] Here, because the surface of the outdoor heat exchanger 105 experiences a sudden temperature drop below freezing due to heat absorption by the refrigerant, frost will form on its surface over time, affecting its normal operation. In this situation, it is necessary to control the air conditioner to perform a defrosting action to remove the frost condensed on the surface of the outdoor heat exchanger 105. The existing defrosting action involves switching the air conditioner to cooling mode. In cooling mode, the high-temperature, high-pressure gaseous refrigerant compressed by the compressor 108 first flows into the outdoor heat exchanger 105 through ports a and d of the four-way valve 112 and the second refrigerant pipe 110. The frost condensed on the surface of the outdoor heat exchanger 105 melts by absorbing heat from the high-temperature, high-pressure gaseous refrigerant, thus achieving the defrosting effect.
[0039] However, in cooling mode, the refrigerant flowing into the indoor heat exchanger 115 absorbs the temperature of the indoor air, causing the indoor temperature to drop. This can cause discomfort for users, especially in temperature-sensitive environments such as hospitals or rooms occupied by the elderly or infants, where temperature fluctuations can have a significant impact. Therefore, after defrosting, it is necessary to restore the indoor temperature to its pre-defrosting temperature as quickly as possible. In this context, this application proposes an air conditioning control method to improve the efficiency of indoor temperature recovery after defrosting.
[0040] The implementation details of the technical solutions in the embodiments of this application are described in detail below:
[0041] Reference Figure 2 The flowchart of the air conditioning control method in the embodiment of this application is shown.
[0042] In this application, the air conditioning control method can be executed by a device with computing processing capabilities. (See reference...) Figure 2 As shown, the air conditioning control method includes at least steps 220 to 260, which are described in detail below:
[0043] In step 220, after the air conditioner defrost is completed, the first operating frequency of the compressor before the air conditioner defrost began is obtained, and the operating frequency increment of the compressor is obtained.
[0044] In one embodiment of this application, obtaining the first operating frequency of the compressor before the air conditioner defrosts can be performed according to the following steps 221 to 222:
[0045] Step 221: Obtain the operating frequency of the compressor at multiple times before the air conditioner begins defrosting.
[0046] Step 222: Average the operating frequencies at the multiple times to obtain the first operating frequency.
[0047] In this application, a time window for collecting the compressor's operating frequency can be set before the air conditioner defrosts. The compressor's operating frequency is collected multiple times within this time window, serving as the compressor's operating frequency at multiple moments before the air conditioner begins defrosting. Then, the average of these multiple operating frequencies is calculated to obtain the first operating frequency. For example, the time window can be set to 10 minutes, and the compressor's operating frequency can be collected multiple times within these 10 minutes to obtain a compressor operating frequency sequence [f1, f2, f3, ..., f...]. n ], and average the operating frequencies in the compressor's operating frequency sequence, and then calculate (f1+f2+f3+……+f n ) / n is used as the first operating frequency.
[0048] In other embodiments of this application, the compressor operating frequency can be collected at any time before the air conditioner begins defrosting as the first operating frequency, or the compressor operating frequency can be collected when the air conditioner is about to begin defrosting as the first operating frequency. It is understood that there are multiple ways to obtain the first operating frequency of the compressor before the air conditioner begins defrosting, and this application does not specifically limit this method.
[0049] In this application, the operating frequency increment can be a fixed operating frequency increment set in advance, or it can be an operating frequency increment determined according to a pre-set model algorithm. This application does not make any specific limitation on this.
[0050] Continue to refer to Figure 2 In step 240, based on the operating frequency increment, the operating frequency of the compressor is increased on the basis of the first operating frequency to obtain a second operating frequency.
[0051] In this application, for example, during the operation of the air conditioner, if the compressor's first operating frequency before the air conditioner begins defrosting is 50Hz, and the obtained compressor operating frequency increment is 10Hz, then the compressor's operating frequency can be increased to 60Hz as the second operating frequency.
[0052] Continue to refer to Figure 2 In step 260, the compressor is controlled to operate at the second operating frequency.
[0053] Based on the technical solution proposed in this application, after the air conditioner defrosts, by adding the obtained operating frequency increment to the compressor operating frequency before the defrost begins, a second operating frequency is obtained. This allows the compressor to operate at a higher frequency (i.e., the second operating frequency), which can effectively improve the efficiency of indoor temperature recovery after defrosting. As a result, the indoor temperature can be quickly raised after defrosting, the temperature recovery time can be shortened, the user's comfort can be improved, and the user experience can be enhanced.
[0054] In practical applications, the technical solution proposed in this application helps maintain a more stable indoor temperature environment under conditions of large temperature fluctuations, reducing discomfort caused by temperature drops. This is particularly important for places requiring a constant temperature environment, effectively improving the user experience. Furthermore, this application, through simple air conditioning control logic, ensures a comfortable user experience after the air conditioner defrosts without requiring structural modifications to existing air conditioning systems, demonstrating good practicality and economy.
[0055] Next, this application will provide a detailed description of the steps for obtaining the compressor's operating frequency increment using a specific embodiment.
[0056] Specifically, obtaining the compressor's operating frequency increment can be performed according to steps 223 to 225:
[0057] Step 223: Obtain the first indoor temperature before the air conditioner starts defrosting, the second indoor temperature when the air conditioner ends defrosting, and the outdoor temperature, and determine a reference temperature parameter, wherein the reference temperature parameter is the first indoor temperature, or the reference temperature parameter is the temperature difference between the first indoor temperature and the second indoor temperature.
[0058] Step 224: Obtain the desired duration for the indoor temperature to rise from the second indoor temperature back to the first indoor temperature.
[0059] Step 225: Based on the second indoor temperature, the reference temperature parameter, the outdoor temperature, the expected duration, and the first operating frequency, determine the operating frequency increment of the compressor using a pre-built first prior model.
[0060] In this application, the first indoor temperature before the air conditioner begins defrosting can be obtained by setting a time window for collecting indoor temperature before defrosting, collecting indoor temperature multiple times within this time window, and averaging the collected indoor temperatures as the first indoor temperature. Alternatively, an indoor temperature can be collected at any time before the air conditioner begins defrosting, or the indoor temperature can be collected just before the air conditioner begins defrosting. It is understood that there are multiple ways to obtain the first indoor temperature before the air conditioner begins defrosting, and this application does not specifically limit this method.
[0061] In this application, the expected duration can be a duration preset according to the user's needs, such as 3 minutes (that is, after the air conditioner defrosts, the user hopes that the indoor temperature will rise from the second indoor temperature to the first indoor temperature within 3 minutes). The expected duration can also be a duration determined according to a preset model algorithm. This application does not make specific limitations on this.
[0062] In this application, the reference temperature parameter can be the first indoor temperature or the temperature difference between the first indoor temperature and the second indoor temperature.
[0063] If the reference temperature parameter is the first indoor temperature, then in step 225 above, the second indoor temperature, the first indoor temperature, the outdoor temperature, the expected duration, and the first operating frequency can be input into a pre-built first prior model so that the first prior model outputs the operating frequency increment of the compressor.
[0064] If the reference temperature parameter is the temperature difference between the first indoor temperature and the second indoor temperature, then in step 225 above, the second indoor temperature, the temperature difference between the first indoor temperature and the second indoor temperature, the outdoor temperature, the expected duration, and the first operating frequency can be input into a pre-built first prior model so that the first prior model outputs the operating frequency increment of the compressor.
[0065] Next, this application will provide a detailed description of the construction process of the first prior model.
[0066] In this application, specifically, the first prior model can be constructed through the following steps 2251 to 2252:
[0067] Step 2251: Obtain multiple sets of first prior data. The first prior data includes a second historical indoor temperature, a historical reference temperature parameter, a historical outdoor temperature, a historical operating frequency, a historical operating frequency increment, and a first historical duration. The first historical duration is the actual duration during which the indoor temperature rises from the second historical indoor temperature to the first historical indoor temperature when the compressor's operating frequency is increased by the historical operating frequency increment. The historical operating frequency is the compressor's operating frequency that maintains the indoor temperature at the first historical indoor temperature. The historical reference temperature parameter is either the first historical indoor temperature or the temperature difference between the first historical indoor temperature and the second historical indoor temperature.
[0068] Step 2252: Learn from the multiple sets of first prior data to obtain the first prior model.
[0069] In one embodiment of this application, acquiring multiple sets of first prior data can be achieved by simulating the air conditioner's operating environment and obtaining multiple sets of first prior data through multiple experiments. For example, in one experiment, the outdoor temperature T0 (as the historical outdoor temperature) is collected, the indoor temperature T1 (as the first historical indoor temperature) and f1 (as the historical operating frequency of the compressor) when the air conditioner is stably heating before defrosting begins are collected, and the indoor temperature T2 (as the second historical indoor temperature) when the air conditioner ends defrosting is collected. The temperature difference ΔT = T1 - T2 between the first historical indoor temperature T1 and the second historical indoor temperature T2 is calculated. After the air conditioner finishes defrosting, an operating frequency increment Δf (as the historical operating frequency increment) is set, and the compressor is controlled to operate at the operating frequency f = f1 + Δf. The actual duration Δt1 (as the first historical duration) during which the indoor temperature rises from the second historical indoor temperature T2 back to the first historical indoor temperature T1 is recorded.
[0070] Based on the above data collection, a set of first prior data can be obtained: "T2; T1 / ΔT; T0; f1; Δf; Δt1". In this way, multiple sets of first prior data can be obtained through multiple experiments.
[0071] In other embodiments of this application, obtaining multiple sets of first prior data may also involve collecting first prior data generated by the user during actual use of the air conditioner, thereby obtaining multiple sets of first prior data. It is understood that there are various ways to obtain multiple sets of first prior data, and this application does not specifically limit this method.
[0072] In step 2252 above, learning from the multiple sets of first prior data to obtain the first prior model can be achieved by training a first preset machine learning model based on the multiple sets of first prior data to obtain the first prior model.
[0073] It should be noted that if the reference temperature parameter in step 225 above is the first indoor temperature, then during the training process of the first prior model, the historical reference temperature parameter is the first historical indoor temperature. The advantage of this is that it can enhance the accuracy of model training.
[0074] If the reference temperature parameter in step 225 above is the temperature difference between the first indoor temperature and the second indoor temperature, then during the training process of the first prior model, the historical reference temperature parameter is the temperature difference between the first historical indoor temperature and the second historical indoor temperature. The advantage is that since different first indoor temperatures and second indoor temperatures can correspond to the same temperature difference, the generalization of model training can be enhanced.
[0075] Based on the technical solution proposed in this application, a first preset machine learning model is trained based on the multiple sets of first prior data. This allows the first preset machine learning model to learn the correlation between the historical operating frequency increment in the first prior data and the second historical indoor temperature, historical reference temperature parameter, historical outdoor temperature, historical operating frequency, and first historical duration. This enables the obtained first prior model to accurately determine the compressor's operating frequency increment based on the second indoor temperature, the reference temperature parameter, the outdoor temperature, the expected duration, and the first operating frequency. Furthermore, it allows for the accurate determination of the second operating frequency used to control the compressor's operation after defrosting, preventing the indoor temperature from rising too slowly or too quickly after defrosting (if it rises too quickly, it may exceed the user's desired indoor temperature, leading to a reduced user experience). This effectively improves the efficiency of indoor temperature recovery after defrosting, ensuring user comfort and enhancing the user experience.
[0076] Next, this application will provide a detailed description of the steps for obtaining the desired duration for the indoor temperature to rise from the second indoor temperature back to the first indoor temperature, using a specific embodiment.
[0077] Specifically, the process of obtaining the desired duration for the indoor temperature to rise from the second indoor temperature back to the first indoor temperature can be performed according to the following steps 2241 and 2242:
[0078] Step 2241: Obtain the estimated duration for the indoor temperature to rise from the second indoor temperature back to the first indoor temperature under the condition that the compressor is operating at the first operating frequency.
[0079] Step 2242: Based on a set coefficient, adjust the estimated duration to obtain the expected duration for the indoor temperature to rise from the second indoor temperature back to the first indoor temperature.
[0080] In this application, the setting coefficient can be less than 1. For example, it can be set to 1 / 3 or 1 / 2. Specifically, the setting coefficient can be set according to the user's expectation of the duration for which the indoor temperature rises from the second indoor temperature back to the first indoor temperature. The shorter the duration expected by the user, the smaller the setting coefficient can be set.
[0081] It is understandable that, since the estimated duration is the estimated time for the indoor temperature to rise from the second indoor temperature back to the first indoor temperature under the condition that the compressor operates at the first operating frequency, this estimated duration is generally unacceptable to users. Therefore, this estimated duration has strong reference value. In this case, by adjusting the estimated duration by setting a coefficient, this application can determine a reasonable duration for the indoor temperature to rise from the second indoor temperature back to the first indoor temperature that is easily acceptable to users, thereby improving the accuracy of determining the expected duration.
[0082] Furthermore, obtaining the estimated duration for the indoor temperature to rise from the second indoor temperature back to the first indoor temperature under the condition that the compressor is operating at the first operating frequency can be performed according to the following steps 22411 or 22412:
[0083] Step 22411: Based on the second indoor temperature, the reference temperature parameter, and the outdoor temperature, determine the estimated duration using a pre-built second prior model.
[0084] Step 22412: Based on the second indoor temperature, the reference temperature parameter, the first operating frequency, and the outdoor temperature, determine the estimated duration using a pre-built second prior model.
[0085] In this application, the reference temperature parameter can be the first indoor temperature or the temperature difference between the first indoor temperature and the second indoor temperature. For example, in step 22411 above, if the reference temperature parameter is the first indoor temperature, the second indoor temperature, the first indoor temperature, and the outdoor temperature can be input into a pre-built second prior model so that the second prior model outputs the estimated duration for the indoor temperature to rise from the second indoor temperature back to the first indoor temperature; if the reference temperature parameter is the temperature difference between the first indoor temperature and the second indoor temperature, the second indoor temperature, the temperature difference between the first indoor temperature and the second indoor temperature, and the outdoor temperature can be input into a pre-built second prior model so that the second prior model outputs the estimated duration for the indoor temperature to rise from the second indoor temperature back to the first indoor temperature.
[0086] Next, this application will provide a detailed description of the construction process of the second prior model.
[0087] In this application, specifically, the second prior model can be constructed through the following steps 224111 to 224112:
[0088] Step 224111: Obtain multiple sets of second prior data. The second prior data includes a second historical indoor temperature, a historical reference temperature parameter, a historical outdoor temperature, and a second historical duration. The second historical duration is the actual duration during which the indoor temperature rises from the second historical indoor temperature to the first historical indoor temperature under the condition that the compressor's operating frequency is the historical operating frequency. The historical operating frequency is the compressor's operating frequency that maintains the indoor temperature at the first historical indoor temperature. The historical reference temperature parameter is the first historical indoor temperature, or the historical reference temperature parameter is the temperature difference between the first historical indoor temperature and the second historical indoor temperature.
[0089] Step 224112: Learn from the multiple sets of second prior data to obtain the second prior model.
[0090] In one embodiment of this application, obtaining multiple sets of second prior data can also be achieved by simulating the air conditioner's operating environment and obtaining multiple sets of second prior data through multiple experiments. For example, in one experiment, the outdoor temperature T0 (as the historical outdoor temperature) is collected, the indoor temperature T1 (as the first historical indoor temperature) and f1 (as the historical operating frequency of the compressor) when the air conditioner is stably heating before defrosting begins are collected, and the indoor temperature T2 (as the second historical indoor temperature) when the air conditioner ends defrosting is collected. The temperature difference ΔT = T1 - T2 between the first historical indoor temperature T1 and the second historical indoor temperature T2 is calculated. After the air conditioner finishes defrosting, the compressor's operating frequency is not increased, and the compressor is directly controlled to run at the historical operating frequency f1. The actual duration Δt2 (as the second historical duration) during which the indoor temperature rises from the second historical indoor temperature T2 back to the first historical indoor temperature T1 is recorded.
[0091] Based on the above data collection, a set of second prior data can be obtained: "T2; T1 / ΔT; T0; Δt2". In this way, multiple sets of second prior data can be obtained through repeated experiments. It should be noted that "T2; T1 / ΔT; T0; f1; Δt" can also be used as a set of obtained second prior data.
[0092] In other embodiments of this application, obtaining multiple sets of second prior data may also involve collecting second prior data generated by the user during actual use of the air conditioner, thereby obtaining multiple sets of second prior data. It is understood that there are various ways to obtain multiple sets of second prior data, and this application does not specifically limit this method.
[0093] In step 224112 above, the second prior model is obtained by learning from the multiple sets of second prior data. This can be achieved by training a second preset machine learning model based on the multiple sets of second prior data.
[0094] It should be noted that if the reference temperature parameter in step 22411 or step 22412 is the first indoor temperature, then during the training process of the second prior model, the historical reference temperature parameter is the first historical indoor temperature. The advantage of this is that it can enhance the accuracy of model training.
[0095] If the reference temperature parameter in step 22411 or step 22412 is the temperature difference between the first indoor temperature and the second indoor temperature, then during the training process of the second prior model, the historical reference temperature parameter is the temperature difference between the first historical indoor temperature and the second historical indoor temperature. The advantage is that since different first indoor temperatures and second indoor temperatures can correspond to the same temperature difference, the generalization of model training can be enhanced.
[0096] Based on the technical solution proposed in this application, a second preset machine learning model is trained based on the multiple sets of second prior data. This allows the second preset machine learning model to learn the correlation between the first historical duration in the second prior data, the second historical indoor temperature, the historical reference temperature parameter, and the historical outdoor temperature. As a result, the obtained second prior model has the ability to accurately determine the estimated duration for the indoor temperature to rise from the second indoor temperature back to the first indoor temperature based on the second indoor temperature, the reference temperature parameter, and the outdoor temperature. This allows for the accurate determination of the reference data used to determine the expected duration, enhancing the rationality of the expected duration determination and improving the accuracy of the compressor's operating frequency increment determination.
[0097] In this application, as Figure 2 In step 260 shown, controlling the compressor to operate at the second operating frequency can be achieved by executing the following step 261:
[0098] Step 261: Control the compressor to operate at the second operating frequency during the desired duration.
[0099] In this application, controlling the compressor to operate at the second operating frequency during the desired duration can raise the indoor temperature from the second indoor temperature to the first indoor temperature during the desired duration, thereby avoiding the indoor temperature rising too slowly or too quickly after the air conditioner defrosts, effectively improving the efficiency of the indoor temperature rise after defrost, ensuring user comfort, and enhancing the user experience.
[0100] Furthermore, after step 261 above, that is, after controlling the compressor to operate at the second operating frequency during the desired duration, step 270 can also be performed:
[0101] Step 270: Control the compressor to operate at the first operating frequency.
[0102] In this application, after controlling the compressor to operate at the second operating frequency during the desired duration, controlling the compressor to operate at the first operating frequency can maintain the indoor temperature at a suitable first indoor temperature, avoiding the indoor temperature from exceeding the first indoor temperature and causing a decrease in user experience, thereby improving user satisfaction.
[0103] To enable those skilled in the art to better understand this application, the following is an explanation. Figure 3 and Figure 4 The following is an illustration using a specific example.
[0104] See Figure 3 The diagram shows the indoor temperature change of the air conditioner before and after defrosting according to an embodiment of this application.
[0105] See Figure 4 The diagram shows a detailed flowchart of an air conditioning control method according to an embodiment of this application.
[0106] Combination Figure 3 Please refer to Figure 4 Specifically, this includes steps 401 to 409:
[0107] Step 401: Construct a second prior model based on the second prior data.
[0108] Step 402: Construct the first prior model based on the first prior data.
[0109] Step 403: Before the air conditioner defrosts, obtain the first indoor temperature T1, the outdoor temperature T0, and the first operating frequency f1 of the compressor.
[0110] Step 404: Control the air conditioner to defrost.
[0111] Step 405: After the air conditioner defrosts, obtain the second indoor temperature T2.
[0112] Step 406: Based on the second indoor temperature T2, the temperature difference ΔT between the first indoor temperature T1 and the second indoor temperature T2, and the outdoor temperature T0, the estimated duration t of the indoor temperature rising from the second indoor temperature T2 back to the first indoor temperature T1 is determined by the second prior model, and the estimated duration t is adjusted by setting a coefficient of 1 / 3 to obtain the expected duration t / 3.
[0113] Step 407: Based on the second indoor temperature T2, the first indoor temperature T1, the outdoor temperature T0, the expected duration t / 3, and the first operating frequency f1, the compressor's operating frequency increment Δf is determined through the first prior model, and the operating frequency increment Δf is added to the first operating frequency f1 to obtain the second operating frequency f2 = f1 + Δf.
[0114] Step 408: Control the compressor to operate at the second operating frequency f2 for the desired duration t / 3.
[0115] Step 409: After the desired duration t / 3, control the compressor to run at the first operating frequency f1.
[0116] Based on the technical solution proposed in this application, after the air conditioner defrosts, a second operating frequency is obtained by adding the acquired operating frequency increment to the compressor operating frequency before defrosting begins, and the compressor is controlled to operate at the second operating frequency. In this way, by making the compressor operate at a higher frequency (i.e., the second operating frequency), the efficiency of indoor temperature recovery after defrosting can be effectively improved, thereby rapidly increasing the indoor temperature after defrosting, shortening the temperature recovery time, improving user comfort, and ultimately enhancing the user experience.
[0117] The following describes an embodiment of the apparatus described in this application, which can be used to execute the air conditioning control method described in the above embodiments of this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the air conditioning control method described above.
[0118] See Figure 5 The diagram shows a block diagram of an air conditioning control device according to an embodiment of this application.
[0119] like Figure 5 As shown, the air conditioning control device 500 according to an embodiment of this application includes: an acquisition unit 501, a height adjustment unit 502, and a control unit 503.
[0120] The acquisition unit 501 is used to acquire the first operating frequency of the compressor before the start of the defrosting process after the defrosting of the air conditioner has ended, and to acquire the operating frequency increment of the compressor; the adjustment unit 502 is used to adjust the operating frequency of the compressor based on the operating frequency increment and the first operating frequency to obtain a second operating frequency; and the control unit 503 is used to control the compressor to operate at the second operating frequency.
[0121] In some embodiments of this application, based on the foregoing scheme, the acquisition unit 501 is configured to: acquire the operating frequency of the compressor at multiple times before the defrosting of the air conditioner begins; and average the operating frequencies at the multiple times to obtain the first operating frequency.
[0122] In some embodiments of this application, based on the foregoing scheme, the acquisition unit 501 is configured to: acquire a first indoor temperature before the air conditioner begins defrosting, a second indoor temperature when the air conditioner ends defrosting, and an outdoor temperature, and determine a reference temperature parameter, wherein the reference temperature parameter is the first indoor temperature, or the reference temperature parameter is the temperature difference between the first indoor temperature and the second indoor temperature; acquire the expected duration for the indoor temperature to rise from the second indoor temperature back to the first indoor temperature; and determine the compressor's operating frequency increment based on the second indoor temperature, the reference temperature parameter, the outdoor temperature, the expected duration, and the first operating frequency through a pre-built first prior model.
[0123] In some embodiments of this application, based on the foregoing scheme, the device further includes: a learning unit, configured to construct the first prior model through the following steps: acquiring multiple sets of first prior data, the first prior data including a second historical indoor temperature, a historical reference temperature parameter, a historical outdoor temperature, a historical operating frequency, a historical operating frequency increment, and a first historical duration, wherein the first historical duration is the actual duration during which the indoor temperature rises from the second historical indoor temperature to the first historical indoor temperature when the compressor's operating frequency is increased by the historical operating frequency increment, the historical operating frequency is the compressor's operating frequency that maintains the indoor temperature at the first historical indoor temperature, wherein the historical reference temperature parameter is the first historical indoor temperature, or the historical reference temperature parameter is the temperature difference between the first historical indoor temperature and the second historical indoor temperature; and learning from the multiple sets of first prior data to obtain the first prior model.
[0124] In some embodiments of this application, based on the foregoing scheme, the learning unit is configured to: train a first preset machine learning model based on the multiple sets of first prior data to obtain the first prior model.
[0125] In some embodiments of this application, based on the foregoing scheme, the acquisition unit 501 is configured to: acquire the estimated duration for the indoor temperature to rise from the second indoor temperature to the first indoor temperature under the condition that the compressor is running at the first operating frequency; and adjust the estimated duration based on a set coefficient to obtain the expected duration for the indoor temperature to rise from the second indoor temperature to the first indoor temperature.
[0126] In some embodiments of this application, based on the foregoing scheme, the acquisition unit 501 is configured to: determine the estimated duration based on the second indoor temperature, the reference temperature parameter, and the outdoor temperature using a pre-built second prior model.
[0127] In some embodiments of this application, based on the foregoing scheme, the learning unit is configured to construct the second prior model through the following steps: acquiring multiple sets of second prior data, the second prior data including a second historical indoor temperature, a historical reference temperature parameter, a historical outdoor temperature, and a second historical duration, wherein the second historical duration is the actual duration during which the indoor temperature rises from the second historical indoor temperature to the first historical indoor temperature under the condition that the compressor's operating frequency is the historical operating frequency, the historical operating frequency is the compressor's operating frequency that maintains the indoor temperature at the first historical indoor temperature, wherein the historical reference temperature parameter is the first historical indoor temperature, or the historical reference temperature parameter is the temperature difference between the first historical indoor temperature and the second historical indoor temperature; and learning from the multiple sets of second prior data to obtain the second prior model.
[0128] In some embodiments of this application, based on the foregoing scheme, the learning unit is configured to: train a second preset machine learning model based on the multiple sets of second prior data to obtain the second prior model.
[0129] In some embodiments of this application, based on the foregoing scheme, the control unit 503 is configured to control the compressor to operate at the second operating frequency during the desired duration.
[0130] In some embodiments of this application, based on the foregoing scheme, the control unit 503 is configured to: control the compressor to operate at the second operating frequency during the desired duration, and then control the compressor to operate at the first operating frequency.
[0131] Based on the same inventive concept, embodiments of this application provide a computer program product, the computer program product including computer instructions stored in a computer-readable storage medium and adapted to be read and executed by a processor so as to cause a computer device having the processor to perform the operations performed by the air conditioning control method as described above.
[0132] Based on the same inventive concept, embodiments of this application provide a computer-readable storage medium storing at least one computer program instruction, which is loaded and executed by a processor to implement the operation performed by the air conditioning control method described above.
[0133] Based on the same inventive concept, this application also provides an air conditioner, see reference. Figure 6 The diagram shows a schematic of the structure of an air conditioner according to an embodiment of this application. The air conditioner includes one or more memories 604, one or more processors 602, and at least one computer program (computer program instruction) stored in the memory 604 and executable on the processor 602. When the processor 602 executes the computer program, it implements the air conditioner control method as described above.
[0134] Among them, Figure 6 In this document, a bus architecture (represented by bus 600) is used. Bus 600 may include any number of interconnected buses and bridges, linking various circuits including one or more processors represented by processor 602 and memory represented by memory 604. Bus 600 may also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. Bus interface 605 provides an interface between bus 600 and receiver 601 and transmitter 603. Receiver 601 and transmitter 603 may be the same element, i.e., a transceiver, providing a unit for communicating with various other devices over a transmission medium. Processor 602 is responsible for managing bus 600 and general processing, while memory 604 can be used to store data used by processor 602 during operation.
[0135] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on or transmitted via a computer-readable medium. Other examples and embodiments are within the scope and spirit of this application and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or any combination thereof. Furthermore, the functional units may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit.
[0136] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0137] The units described as separate components may or may not be physically separate. Similarly, the components of the control device may or may not be physical units; they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0138] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing computer program instructions, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0139] The above description is merely an embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. An air conditioning control method, characterized in that, The method includes: After the air conditioner defrosts, the first operating frequency of the compressor before the air conditioner defrosts began is obtained, as well as the increment of the compressor's operating frequency. Based on the operating frequency increment, the operating frequency of the compressor is increased on the basis of the first operating frequency to obtain a second operating frequency; The compressor is controlled to operate at the second operating frequency.
2. The method according to claim 1, characterized in that, The process of obtaining the compressor's first operating frequency before the air conditioner begins defrosting includes: The operating frequency of the compressor at multiple times before the air conditioner begins defrosting is obtained; The first operating frequency is obtained by averaging the operating frequencies at the multiple times.
3. The method according to claim 1, characterized in that, The acquisition of the compressor's operating frequency increment includes: The system obtains the first indoor temperature before the air conditioner begins defrosting, the second indoor temperature when the air conditioner ends defrosting, and the outdoor temperature, and determines a reference temperature parameter, wherein the reference temperature parameter is the first indoor temperature, or the reference temperature parameter is the temperature difference between the first indoor temperature and the second indoor temperature. Obtain the desired duration for the indoor temperature to rise from the second indoor temperature back to the first indoor temperature; Based on the second indoor temperature, the reference temperature parameter, the outdoor temperature, the expected duration, and the first operating frequency, the operating frequency increment of the compressor is determined by a pre-built first prior model.
4. The method according to claim 3, characterized in that, The first prior model is constructed using the following steps: Multiple sets of first prior data are acquired. The first prior data includes a second historical indoor temperature, a historical reference temperature parameter, a historical outdoor temperature, a historical operating frequency, a historical operating frequency increment, and a first historical duration. The first historical duration is the actual duration during which the indoor temperature rises from the second historical indoor temperature to the first historical indoor temperature, provided that the compressor's operating frequency is increased by the historical operating frequency increment. The historical operating frequency is the compressor's operating frequency that maintains the indoor temperature at the first historical indoor temperature. The historical reference temperature parameter is either the first historical indoor temperature or the temperature difference between the first historical indoor temperature and the second historical indoor temperature. The first prior model is obtained by learning from the multiple sets of first prior data.
5. The method according to claim 4, characterized in that, The step of learning from the multiple sets of first prior data to obtain the first prior model includes: Based on the multiple sets of first prior data, a first preset machine learning model is trained to obtain the first prior model.
6. The method according to claim 3, characterized in that, The process of obtaining the desired duration for the indoor temperature to rise from the second indoor temperature back to the first indoor temperature includes: Obtain the estimated duration for the indoor temperature to rise from the second indoor temperature back to the first indoor temperature under the condition that the compressor is operating at the first operating frequency; Based on a set coefficient, the estimated duration is adjusted to obtain the expected duration for the indoor temperature to rise from the second indoor temperature back to the first indoor temperature.
7. The method according to claim 6, characterized in that, The process of obtaining the estimated duration for the indoor temperature to rise from the second indoor temperature back to the first indoor temperature under the condition that the compressor is operating at the first operating frequency includes: The estimated duration is determined based on the second indoor temperature, the reference temperature parameter, and the outdoor temperature using a pre-built second prior model.
8. The method according to claim 7, characterized in that, The second prior model is constructed using the following steps: Multiple sets of second prior data are acquired. The second prior data includes a second historical indoor temperature, a historical reference temperature parameter, a historical outdoor temperature, and a second historical duration. The second historical duration is the actual duration during which the indoor temperature rises from the second historical indoor temperature to the first historical indoor temperature under the condition that the compressor's operating frequency is the historical operating frequency. The historical operating frequency is the compressor's operating frequency that maintains the indoor temperature at the first historical indoor temperature. The historical reference temperature parameter is the first historical indoor temperature, or the historical reference temperature parameter is the temperature difference between the first historical indoor temperature and the second historical indoor temperature. The second prior model is obtained by learning from the multiple sets of second prior data.
9. The method according to claim 8, characterized in that, The step of learning from the multiple sets of second prior data to obtain the second prior model includes: Based on the multiple sets of second prior data, a second preset machine learning model is trained to obtain the second prior model.
10. The method according to claim 3, characterized in that, The control of the compressor to operate at the second operating frequency includes: The compressor is controlled to operate at the second operating frequency during the desired duration.
11. The method according to claim 10, characterized in that, The method further includes: After controlling the compressor to operate at the second operating frequency for the desired duration, control the compressor to operate at the first operating frequency.
12. An air conditioning control device, characterized in that, The device includes: The acquisition unit is used to acquire, after the air conditioner defrosts, the first operating frequency of the compressor before the air conditioner defrosts began, and the increment of the compressor's operating frequency. The frequency adjustment unit is used to increase the operating frequency of the compressor based on the operating frequency increment, thereby obtaining a second operating frequency. The control unit is used to control the compressor to operate at the second operating frequency.
13. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium and adapted to be read and executed by a processor to cause a computer device having the processor to perform the method as claimed in any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one piece of program code, which is loaded and executed by a processor to perform the operations performed by the method as described in any one of claims 1 to 11.
15. An air conditioning device, characterized in that, The air conditioning device includes one or more processors and one or more memories, wherein the one or more memories store at least one piece of program code, which is loaded and executed by the one or more processors to implement the method as claimed in any one of claims 1 to 11.