Air conditioner control method and equipment and computer readable storage medium

By dynamically adjusting the compressor frequency of the air conditioner, based on the environment and set parameters, combined with historical data and frequency prediction models, the problem of inaccurate temperature control of the air conditioner is solved, achieving more efficient temperature control and comfortable operation.

CN118856567APending Publication Date: 2024-10-29GD MIDEA AIR CONDITIONING EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310489133.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-28
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

When the air conditioner operates based on preset parameters after the operating environment changes, the temperature control is inaccurate, resulting in overheating or taking a long time to reach the target frequency, affecting comfort and energy-saving effects.

Method used

By obtaining environmental parameters and set parameters, the compressor frequency is determined based on the indoor ambient temperature and set temperature, and the frequency is adjusted based on historical data and frequency prediction models to achieve more accurate temperature control.

Benefits of technology

It improves the temperature control accuracy of the air conditioner, ensures that the air conditioner operates more comfortably and saves energy, and avoids overheating in high-power or small rooms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118856567A_ABST
    Figure CN118856567A_ABST
Patent Text Reader

Abstract

The invention discloses an air conditioner control method and device and a computer readable storage medium, and the method comprises the steps that when the entering condition of a target state is met, environment parameters and set parameters are obtained; when the environment parameter is the indoor environment temperature and the set parameter is the set temperature, the frequency of a compressor is determined based on the indoor environment temperature and the set temperature; and the air conditioner is controlled to operate based on the compressor frequency. The compressor frequency of the air conditioner is accurately determined, so that the compressor frequency of the air conditioner better fits the operating environment of the air conditioner, and the air conditioner operates more comfortably and saves energy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of air conditioners, and in particular to a control method, device and computer-readable storage medium for an air conditioner. Background Art

[0002] When the air conditioner is turned on, it usually runs for a period of time according to preset operating parameters, such as rated frequency or maximum frequency. After the operating environment of the air conditioner changes, the temperature control will become inaccurate based on the preset operating parameters. For example, if the air conditioner is moved from a large room to a small room, if the compressor frequency of the air conditioner is high, it is easy to cause overheating in a short period of time. In order to avoid abnormal noise from the compressor, the frequency increase and decrease range of the air conditioner compressor is clearly limited, which means that it takes a long time to reach the actual target frequency and the temperature control is inaccurate. Summary of the invention

[0003] The main purpose of the present invention is to provide a control method, device and computer-readable storage medium for an air conditioner, aiming to solve the problem of how to improve the accuracy of temperature control of the air conditioner.

[0004] To achieve the above object, the present invention provides a method for controlling an air conditioner, the method comprising the following steps:

[0005] When the entry conditions of the target state are met, the environmental parameters and setting parameters are obtained;

[0006] When the environmental parameter is the indoor ambient temperature, and the setting parameter is the setting temperature, determining the compressor frequency based on the indoor ambient temperature and the setting temperature;

[0007] The air conditioner operation is controlled based on the compressor frequency.

[0008] Optionally, the step of determining the compressor frequency based on the indoor ambient temperature and the set temperature includes:

[0009] Determining a mapping table based on a historical indoor ambient temperature, a historical set temperature, and a historical compressor frequency of the air conditioner;

[0010] According to the mapping table, the compressor frequency corresponding to the current indoor ambient temperature and the set temperature is determined.

[0011] Optionally, the step of determining a mapping table based on the historical indoor ambient temperature, the historical set temperature and the compressor frequency of the air conditioner comprises:

[0012] Determine a first temperature interval corresponding to the historical indoor ambient temperature, and determine a second temperature interval corresponding to the historical set temperature;

[0013] Determine a historical compressor frequency corresponding to each combination of the first temperature range and the second temperature range;

[0014] The mapping table is determined based on historical compressor frequencies corresponding to combinations of various temperature intervals.

[0015] Optionally, the step of determining a mapping table based on the historical indoor ambient temperature, the historical set temperature and the compressor frequency of the air conditioner comprises:

[0016] When the target state is the temperature-reaching operation state, obtaining the historical indoor ambient temperature, historical set temperature and compressor frequency of the air conditioner after reaching the temperature; or,

[0017] When the target state is the power-on state, the historical indoor ambient temperature, historical set temperature and compressor frequency of the air conditioner from the time when the air conditioner is powered on to the time when the temperature reaches the maximum value are obtained;

[0018] The mapping table is determined based on the acquired historical indoor environment temperature, historical set temperature and compressor frequency.

[0019] Optionally, the step of determining the compressor frequency based on the indoor ambient temperature and the set temperature includes:

[0020] Inputting the indoor ambient temperature and the set temperature into a pre-trained frequency prediction model;

[0021] The compressor frequency output by the frequency prediction model is obtained.

[0022] Optionally, before the step of inputting the indoor environment temperature and the set temperature into a pre-trained frequency prediction model, the method further includes:

[0023] When the target state is the temperature-reaching operation state, obtaining the historical indoor ambient temperature, historical set temperature and compressor frequency of the air conditioner after reaching the temperature;

[0024] When the target state is the power-on state, the historical indoor ambient temperature, historical set temperature and compressor frequency of the air conditioner from the time when the air conditioner is powered on to the time when the temperature reaches the maximum value are obtained;

[0025] Based on the acquired historical indoor ambient temperature, historical set temperature and compressor frequency, the neural network model is trained to obtain the frequency prediction model.

[0026] Optionally, after the steps of obtaining environmental parameters and setting parameters, the method further includes:

[0027] When the environmental parameter is the indoor environmental humidity, and the setting parameter is the set humidity, determining the compressor frequency corresponding to the dehumidification mode based on the indoor environmental humidity and the set humidity;

[0028] The air conditioner operation is controlled based on the compressor frequency.

[0029] Optionally, after the step of controlling the operation of the air conditioner based on the compressor frequency, the method further comprises:

[0030] Determining the time it takes for the air conditioner to reach a set temperature;

[0031] If the duration is greater than a preset duration threshold, increasing the compressor frequency;

[0032] If the duration is less than or equal to a preset duration threshold, reducing the compressor frequency;

[0033] Based on the current indoor ambient temperature, the set temperature and the updated compressor frequency, the stored historical indoor ambient temperature, the historical set temperature and the historical compressor frequency are updated.

[0034] To achieve the above-mentioned purpose, the present invention also provides a control device of an air conditioner, which includes a memory, a processor, and a control program of the air conditioner stored in the memory and executable on the processor. When the control program of the air conditioner is executed by the processor, the various steps of the control method of the air conditioner as described above are implemented.

[0035] To achieve the above objectives, the present invention further provides a computer-readable storage medium, which stores a control program for an air conditioner. When the control program for the air conditioner is executed by a processor, the various steps of the air conditioner control method described above are implemented.

[0036] The present invention provides a control method, device and computer-readable storage medium for an air conditioner. When the entry conditions of the target state are met, the environmental parameters and the setting parameters are obtained; when the environmental parameters are the indoor ambient temperature and the setting parameters are the setting temperature, the compressor frequency is determined based on the indoor ambient temperature and the setting temperature; and the operation of the air conditioner is controlled based on the compressor frequency. The compressor frequency of the air conditioner is accurately determined, so that the compressor frequency of the air conditioner is more in line with the operating environment of the air conditioner, the operation of the air conditioner is more comfortable and energy-saving, and the phenomenon of over-temperature in high-power air conditioners or air conditioners in small rooms is avoided when the air conditioner is operated based on the factory setting parameters, thereby improving the accuracy of the temperature control of the air conditioner. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 A schematic diagram of the hardware structure of an air conditioner control device according to an embodiment of the present invention;

[0038] Figure 2 A schematic flow chart of a first embodiment of a method for controlling an air conditioner according to the present invention;

[0039] Figure 3 Detailed flowchart of step S20 of the second embodiment of the air conditioner control method of the present invention;

[0040] Figure 4 Detailed flowchart of step S20 of the third embodiment of the air conditioner control method of the present invention.

[0041] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0042] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0043] The main solution of the embodiment of the present invention is: when the entry conditions of the target state are met, the environmental parameters and the setting parameters are obtained; when the environmental parameters are the indoor ambient temperature and the setting parameters are the setting temperature, the compressor frequency is determined based on the indoor ambient temperature and the setting temperature; the air conditioner operation is controlled based on the compressor frequency. The compressor frequency of the air conditioner is accurately determined, so that the compressor frequency of the air conditioner is more in line with the operating environment of the air conditioner, the air conditioner operation is more comfortable and energy-saving, and the high-power air conditioner or the air conditioner in a small room is easily overheated when the air conditioner is operated based on the factory setting parameters, thereby improving the accuracy of the temperature control of the air conditioner.

[0044] As an implementation scheme, the control device of the air conditioner can be as follows Figure 1 shown.

[0045] The embodiment of the present invention relates to a control device for an air conditioner, which includes a processor 101, such as a CPU, a memory 102, and a communication bus 103. The communication bus 103 is used to realize connection and communication between these components.

[0046] The memory 102 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. Figure 1 As shown, the memory 102 as a computer-readable storage medium may include a control program for the air conditioner; and the processor 101 may be used to call the control program for the air conditioner stored in the memory 102 and perform the following operations:

[0047] When the entry conditions of the target state are met, the environmental parameters and setting parameters are obtained;

[0048] When the environmental parameter is the indoor ambient temperature, and the setting parameter is the setting temperature, determining the compressor frequency based on the indoor ambient temperature and the setting temperature;

[0049] The air conditioner operation is controlled based on the compressor frequency.

[0050] Optionally, the processor 101 may be used to call a control program of the air conditioner stored in the memory 102, and perform the following operations:

[0051] Determining a mapping table based on a historical indoor ambient temperature, a historical set temperature, and a historical compressor frequency of the air conditioner;

[0052] According to the mapping table, the compressor frequency corresponding to the current indoor ambient temperature and the set temperature is determined.

[0053] Optionally, the processor 101 may be used to call a control program of the air conditioner stored in the memory 102, and perform the following operations:

[0054] Determine a first temperature interval corresponding to the historical indoor ambient temperature, and determine a second temperature interval corresponding to the historical set temperature;

[0055] Determine a historical compressor frequency corresponding to each combination of the first temperature range and the second temperature range;

[0056] The mapping table is determined based on historical compressor frequencies corresponding to combinations of various temperature intervals.

[0057] Optionally, the processor 101 may be used to call a control program of the air conditioner stored in the memory 102, and perform the following operations:

[0058] When the target state is the temperature-reaching operation state, obtaining the historical indoor ambient temperature, historical set temperature and compressor frequency of the air conditioner after reaching the temperature; or,

[0059] When the target state is the power-on state, the historical indoor ambient temperature, historical set temperature and compressor frequency of the air conditioner from the time when the air conditioner is powered on to the time when the temperature reaches the maximum value are obtained;

[0060] The mapping table is determined based on the acquired historical indoor environment temperature, historical set temperature and compressor frequency.

[0061] Optionally, the processor 101 may be used to call a control program of the air conditioner stored in the memory 102, and perform the following operations:

[0062] Inputting the indoor ambient temperature and the set temperature into a pre-trained frequency prediction model;

[0063] The compressor frequency output by the frequency prediction model is obtained.

[0064] Optionally, the processor 101 may be used to call a control program of the air conditioner stored in the memory 102, and perform the following operations:

[0065] When the target state is the temperature-reaching operation state, obtaining the historical indoor ambient temperature, historical set temperature and compressor frequency of the air conditioner after reaching the temperature;

[0066] When the target state is the power-on state, the historical indoor ambient temperature, historical set temperature and compressor frequency of the air conditioner from the time when the air conditioner is powered on to the time when the temperature reaches the maximum value are obtained;

[0067] Based on the acquired historical indoor ambient temperature, historical set temperature and compressor frequency, the neural network model is trained to obtain the frequency prediction model.

[0068] Optionally, the processor 101 may be used to call a control program of the air conditioner stored in the memory 102, and perform the following operations:

[0069] When the environmental parameter is the indoor environmental humidity, and the setting parameter is the set humidity, determining the compressor frequency corresponding to the dehumidification mode based on the indoor environmental humidity and the set humidity;

[0070] The air conditioner operation is controlled based on the compressor frequency.

[0071] Optionally, the processor 101 may be used to call a control program of the air conditioner stored in the memory 102, and perform the following operations:

[0072] Determining the time it takes for the air conditioner to reach a set temperature;

[0073] If the duration is greater than a preset duration threshold, increasing the compressor frequency;

[0074] If the duration is less than or equal to a preset duration threshold, reducing the compressor frequency;

[0075] Based on the current indoor ambient temperature, the set temperature and the updated compressor frequency, the stored historical indoor ambient temperature, the historical set temperature and the historical compressor frequency are updated.

[0076] Based on the hardware architecture of the above-mentioned air conditioner control device, an embodiment of the air conditioner control method of the present invention is proposed.

[0077] Reference Figure 2 , Figure 2 The first embodiment of the air conditioner control method of the present invention comprises the following steps:

[0078] Step S10, when the entry conditions of the target state are met, the environmental parameters and setting parameters are obtained.

[0079] Optionally, the target state includes a power-on state, a temperature reaching operation state, a power-on operation state, etc. of the air conditioner. Optionally, the power-on state of the air conditioner is the state when the air conditioner is turned on. Optionally, the temperature reaching operation state is the operation state after the air conditioner reaches the set temperature. Optionally, the power-on operation state is the state when the air conditioner is turned on and operated until the temperature reaches, and the operation mode of the air conditioner corresponding to the power-on operation state includes a cooling mode or a heating mode, etc.

[0080] Optionally, when the target state is the power-on state, the conditions for entering the target state include receiving a power-on command of the air conditioner, or turning on in response to a preset time, etc.

[0081] Optionally, when the target state is the temperature-reaching operation state, the entry condition for the target state may be that the indoor ambient temperature in the air conditioner's operating space reaches the set temperature for a preset period of time.

[0082] Optionally, when the target state is the power-on state, the entry condition for satisfying the target state includes the air conditioner starting to operate in an operating mode, wherein the operating mode includes a cooling mode, a heating mode, or a dehumidification mode, etc.

[0083] Optionally, the environmental parameters include indoor ambient temperature T1, outdoor ambient temperature T2, indoor ambient humidity H1, outdoor ambient humidity H2, etc. Optionally, the setting parameters include setting temperature Ts, setting humidity Hs, etc. Optionally, the setting temperature Ts can be set by the user through a remote controller or a terminal device, or determined based on a set working mode. Optionally, state parameters can also be obtained, wherein the state parameters include the power-on time t of the air conditioner, etc.

[0084] Step S20, when the environmental parameter is the indoor ambient temperature, and the setting parameter is the setting temperature, determining the compressor frequency based on the indoor ambient temperature and the setting temperature;

[0085] Optionally, when the air conditioner is turned on, the environmental data in the air conditioner action space is detected; if the change of the environmental data meets the preset change condition, the relevant schemes of step S20 to step S30 are executed. Optionally, the change of the environmental data meets the preset change condition, which may be that the size of the air conditioner action space changes, or the number of people in the air conditioner action space changes, or the regional information changes, or the air conditioner operation time period is a specific operation time period, etc.

[0086] Optionally, the compressor frequency may be an initial frequency of the compressor when the air conditioner is turned on.

[0087] Optionally, based on the temperature difference between the indoor ambient temperature and the set temperature, the temperature difference is determined to be compared with a preset threshold, and the compressor frequency is determined according to the comparison result.

[0088] Optionally, based on a preset mapping table, the compressor frequency corresponding to the current indoor ambient temperature and the set temperature is determined.

[0089] Optionally, a first temperature interval to which the indoor ambient temperature belongs is determined, a second temperature interval to which the set temperature belongs is determined, and based on the compressor frequencies associated with the combination of the first temperature interval and the second temperature interval, the compressor frequencies corresponding to the indoor ambient temperature and the set temperature are determined.

[0090] Optionally, after step S20, it also includes: when the environmental parameter is indoor ambient humidity, and the set parameter is set humidity, determining the compressor frequency corresponding to the dehumidification mode based on the indoor ambient humidity and the set humidity; and controlling the operation of the air conditioner based on the compressor frequency.

[0091] Optionally, a mapping table is determined based on the historical indoor ambient humidity, historical set humidity and historical compressor frequency of the air conditioner in dehumidification mode; and the compressor frequency corresponding to the current indoor ambient humidity and the set humidity is determined according to the mapping table.

[0092] Optionally, a frequency prediction model is trained based on the historical indoor environmental humidity, historical set humidity and historical compressor frequency of the air conditioner in dehumidification mode; and the compressor frequency corresponding to the current indoor environmental humidity and the set humidity is determined according to the frequency prediction model.

[0093] Step S30, controlling the operation of the air conditioner based on the compressor frequency.

[0094] Optionally, after step S30, it also includes determining the time for the air conditioner to reach the set temperature; if the time is greater than a preset time threshold, increasing the compressor frequency; if the time is less than or equal to the preset time threshold, reducing the compressor frequency; based on the current indoor ambient temperature, set temperature and updated compressor frequency, updating the stored historical indoor ambient temperature, historical set temperature and historical compressor frequency to update the mapping relationship between temperature and compressor frequency, such as a mapping table or a frequency prediction model.

[0095] In the technical solution of this embodiment, when the entry conditions of the target state are met, the environmental parameters and the setting parameters are obtained; when the environmental parameters are the indoor ambient temperature and the setting parameters are the setting temperature, the compressor frequency is determined based on the indoor ambient temperature and the setting temperature; and the air conditioner operation is controlled based on the compressor frequency. The compressor frequency of the air conditioner is accurately determined, so that the compressor frequency of the air conditioner is more in line with the operating environment of the air conditioner, the air conditioner operation is more comfortable and energy-saving, and the high-power air conditioner or the air conditioner in a small room is easily overheated when the air conditioner is operated based on the factory setting parameters, thereby improving the accuracy of the temperature control of the air conditioner.

[0096] Reference Figure 3 , Figure 3 This is a second embodiment of the control method of the air conditioner of the present invention. Based on the first embodiment, the content of determining the compressor frequency based on the indoor ambient temperature and the set temperature in step S20 includes:

[0097] Step S21, determining a mapping table based on the historical indoor ambient temperature, historical set temperature and compressor frequency of the air conditioner;

[0098] Step S22: determining the compressor frequency corresponding to the current indoor ambient temperature and the set temperature according to the mapping table.

[0099] Optionally, when the room is large, the compressor frequency associated with the historical indoor ambient temperature and the historical setting parameters is high; otherwise, the compressor frequency is low. Optionally, when there are many people, the compressor frequency associated with the historical indoor ambient temperature and the historical setting parameters is high; otherwise, the compressor frequency is low. Optionally, in the southern area or the west-facing area, the compressor frequency associated with the historical indoor ambient temperature and the historical setting parameters is high; if it is not in the southern area and not in the west-facing area, the compressor frequency is low. The above situations can all be reflected in the determined compressor frequency, that is, under the same indoor ambient temperature T1 and set temperature Ts, the compressor frequency of the air conditioner can be different. Therefore, when the environmental data changes, it is necessary to redetermine or update the mapping table, or redetermine or update the mapping table at preset time intervals.

[0100] Optionally, as the seasons / usage scenarios change, new needs can be gradually adapted. When winter comes, as more and more winter operation data is accumulated, the compressor frequency in winter becomes more and more suitable for the current environment; or, when the air conditioner is moved from the master bedroom to the study, the compressor frequency gradually decreases. The above situations can all be reflected in the determined compressor frequency, that is, the compressor frequency of the air conditioner can be different under the same indoor ambient temperature T1 and set temperature Ts. Therefore, when the environmental data changes, it is necessary to redetermine or update the mapping table, or redetermine or map the table every preset time.

[0101] Optionally, based on the temperature difference between the indoor ambient temperature and the set temperature, the temperature difference is determined to be compared with a preset threshold, and the compressor frequency is determined according to the comparison result. Since the preset threshold is a fixed value and is the same value, the determined compressor frequency has certain limitations.

[0102] Optionally, during the operation of the air conditioner, data such as historical indoor ambient temperature T1, historical set temperature Ts and compressor frequency P are collected at regular intervals. Based on a preset temperature threshold, the historical indoor ambient temperature T1, historical set temperature Ts and compressor frequency P are divided into intervals.

[0103] Optionally, determine a first temperature range corresponding to the historical indoor ambient temperature, and determine a second temperature range corresponding to the historical set temperature; determine historical compressor frequencies corresponding to combinations of the first temperature range and the second temperature range; and determine the mapping table based on historical compressor frequencies corresponding to combinations of each temperature range.

[0104] Optionally, different combinations of the first temperature interval and the second temperature interval correspond to different compressor frequencies. For example, in cooling mode, the larger the first temperature interval corresponding to the indoor ambient temperature, the larger the compressor frequency, and vice versa, the smaller the compressor frequency. The larger the second temperature interval corresponding to the historical set temperature, the smaller the compressor frequency, and vice versa, the smaller the compressor frequency. The larger the difference between the first temperature interval corresponding to the indoor ambient temperature and the second temperature interval corresponding to the set temperature, the larger the compressor frequency, and vice versa, the smaller the compressor frequency. Exemplarily, the mapping table is shown below:

[0105] T1:[20,26] T1:(26,32] T1:(32,38] Ts:[18,22] 60HZ 75HZ 90HZ Ts:(22,26] 30HZ 55HZ 75HZ Ts:(26,30] / 30HZ 50HZ

[0106] Optionally, the compressor frequency corresponding to each indoor ambient temperature and set temperature in the combination of the first temperature interval and the second temperature interval is determined, and the mode or average of each compressor frequency is taken as the compressor frequency corresponding to the first temperature interval and the second temperature interval.

[0107] Determining the historical control scheme includes: controlling the operation of the air conditioner based on the compressor frequency. When the air conditioner is turned on, the compressor frequency is directly used to control the operation of the air conditioner, or when the air conditioner is in the turned-on state, the corresponding compressor frequency combination is directly used to control the operation of the air conditioner. For example, the compressor frequency is relatively large when the air conditioner is just turned on, and the compressor frequency is relatively small when the temperature is about to reach the temperature.

[0108] Optionally, when the target state is the temperature-reaching operating state, the historical indoor ambient temperature, historical set temperature and compressor frequency of the air conditioner after reaching the temperature are obtained; or, when the target state is the power-on operating state, the historical indoor ambient temperature, historical set temperature and compressor frequency of the air conditioner from the time the air conditioner is turned on to the time the air conditioner reaches the temperature are obtained. For example, in order to quickly cool down, the compressor frequency is higher when the air conditioner is just turned on, and the compressor frequency is lower when the air conditioner is about to reach the temperature; the mapping table is determined based on the obtained historical indoor ambient temperature, historical set temperature and compressor frequency.

[0109] In the technical solution of this embodiment, a mapping table is determined based on the historical indoor ambient temperature, historical set temperature and historical compressor frequency of the air conditioner; the compressor frequency corresponding to the current indoor ambient temperature and the set temperature is determined according to the mapping table. By accurately determining the compressor frequency of the air conditioner, the operation of the air conditioner is made more comfortable and energy-saving, and the over-temperature phenomenon of high-power air conditioners or air conditioners in small rooms is avoided when the air conditioner is operated based on the factory setting parameters.

[0110] Reference Figure 4 , Figure 4 This is a third embodiment of the control method of the air conditioner of the present invention, based on the first or second embodiment, the content of determining the compressor frequency based on the indoor ambient temperature and the set temperature in step S20 includes:

[0111] Step S23, inputting the indoor environment temperature and the set temperature into a pre-trained frequency prediction model;

[0112] Step S24, obtaining the compressor frequency output by the frequency prediction model.

[0113] Optionally, when the room is large, the compressor frequency associated with the historical indoor ambient temperature and the historical setting parameters is high; otherwise, the compressor frequency is low. Optionally, when there are many people, the compressor frequency associated with the historical indoor ambient temperature and the historical setting parameters is high; otherwise, the compressor frequency is low. Optionally, in the southern region or the west-facing region, the compressor frequency associated with the historical indoor ambient temperature and the historical setting parameters is high; if it is not in the southern region and not in the west-facing region, the compressor frequency is low. The above situations can all be reflected in the determined compressor frequency, that is, under the same indoor ambient temperature T1 and set temperature Ts, the compressor frequency of the air conditioner can be different. Therefore, when the environmental data changes, it is necessary to update or retrain the frequency prediction model, or update or retrain the mapping table at preset time intervals.

[0114] Optionally, as the seasons / usage scenarios change, new needs can be gradually adapted. When winter comes, as more and more winter operation data is accumulated, the compressor frequency in winter becomes more and more suitable for the current environment; or, when the air conditioner is moved from the master bedroom to the study, the compressor frequency gradually decreases. The above situations can all be reflected in the determined compressor frequency, that is, the compressor frequency of the air conditioner can be different under the same indoor ambient temperature T1 and set temperature Ts. Therefore, when the environmental data changes, the frequency prediction model needs to be updated or retrained, or the mapping table needs to be updated or retrained every preset time.

[0115] Optionally, the independent variables for constructing the frequency prediction model are historical indoor ambient temperature T1, historical set temperature Ts and other data, and the dependent variable is the compressor frequency P of the air conditioner. The frequency prediction model is trained using machine learning or deep learning algorithms, as shown in the following formula:

[0116] p=f(T1,Ts).

[0117] Optionally, before step S213, it also includes: when the target state is the temperature-reaching operating state, obtaining the historical indoor ambient temperature, historical set temperature and compressor frequency of the air conditioner after reaching the temperature; when the target state is the power-on operating state, obtaining the historical indoor ambient temperature, historical set temperature and compressor frequency of the air conditioner from the time the air conditioner is powered on to the time the air conditioner reaches the temperature; for example, in order to quickly cool down, the compressor frequency is larger when the air conditioner is just turned on, and the compressor frequency is smaller when the air conditioner is about to reach the temperature; based on the acquired historical indoor ambient temperature, historical set temperature and compressor frequency, the neural network model is trained to obtain the frequency prediction model.

[0118] Optionally, when the change of environmental data meets the preset change condition and the frequency prediction model corresponding to the changed environmental data is not stored, the frequency prediction model is obtained by training based on historical frequency data corresponding to the changed environmental data, and the historical frequency data is the compressor frequency data within a preset time period in the air conditioner's operating space; when the change of environmental data meets the preset change condition and the frequency prediction model corresponding to the changed environmental data is stored, the frequency prediction model corresponding to the changed environmental data is obtained.

[0119] In the technical solution of this embodiment, the compressor frequency corresponding to the indoor ambient temperature and the set temperature is predicted based on the frequency prediction model, and the compressor frequency of the air conditioner is accurately determined, so that the operation of the air conditioner is more comfortable and energy-saving, and the over-temperature phenomenon of high-power air conditioners or air conditioners in small rooms is avoided when the air conditioner is running based on the factory setting parameters.

[0120] The present invention also provides an air conditioner control device, which includes a memory, a processor, and an air conditioner control program stored in the memory and executable on the processor. When the air conditioner control program is executed by the processor, the various steps of the air conditioner control method described in the above embodiment are implemented.

[0121] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a control program for an air conditioner, and when the control program for the air conditioner is executed by a processor, the various steps of the control method for the air conditioner described in the above embodiment are implemented.

[0122] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0123] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, system, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, system, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, system, article or device including the element.

[0124] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment system can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a parking management device, an air conditioner, or a network device, etc.) to execute the system described in each embodiment of the present invention.

[0125] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for controlling an air conditioner, characterized in that: The control method of the air conditioner comprises: When the entry conditions of the target state are met, the environmental parameters and setting parameters are obtained; When the environmental parameter is the indoor ambient temperature, and the setting parameter is the setting temperature, determining the compressor frequency based on the indoor ambient temperature and the setting temperature; The air conditioner operation is controlled based on the compressor frequency.

2. The air conditioner control method according to claim 1, characterized in that: The step of determining the compressor frequency based on the indoor ambient temperature and the set temperature comprises: Determining a mapping table based on a historical indoor ambient temperature, a historical set temperature, and a historical compressor frequency of the air conditioner; According to the mapping table, the compressor frequency corresponding to the current indoor ambient temperature and the set temperature is determined.

3. The air conditioner control method according to claim 2, characterized in that: The step of determining a mapping table based on the historical indoor ambient temperature, the historical set temperature and the compressor frequency of the air conditioner comprises: Determine a first temperature interval corresponding to the historical indoor ambient temperature, and determine a second temperature interval corresponding to the historical set temperature; Determine a historical compressor frequency corresponding to each combination of the first temperature range and the second temperature range; The mapping table is determined based on historical compressor frequencies corresponding to combinations of various temperature intervals.

4. The air conditioner control method according to claim 2, characterized in that: The step of determining a mapping table based on the historical indoor ambient temperature, the historical set temperature and the compressor frequency of the air conditioner comprises: When the target state is the temperature-reaching operation state, obtaining the historical indoor ambient temperature, historical set temperature and compressor frequency of the air conditioner after reaching the temperature; or, When the target state is the power-on state, the historical indoor ambient temperature, historical set temperature and compressor frequency of the air conditioner from the time when the air conditioner is powered on to the time when the temperature reaches the maximum value are obtained; The mapping table is determined based on the acquired historical indoor environment temperature, historical set temperature and compressor frequency.

5. The air conditioner control method according to claim 1, characterized in that: The step of determining the compressor frequency based on the indoor ambient temperature and the set temperature comprises: Inputting the indoor ambient temperature and the set temperature into a pre-trained frequency prediction model; The compressor frequency output by the frequency prediction model is obtained.

6. The control method of the air conditioner according to claim 5, characterized in that: Before the step of inputting the indoor environment temperature and the set temperature into the pre-trained frequency prediction model, the method further includes: When the target state is the temperature-reaching operation state, obtaining the historical indoor ambient temperature, historical set temperature and compressor frequency of the air conditioner after reaching the temperature; When the target state is the power-on state, the historical indoor ambient temperature, historical set temperature and compressor frequency of the air conditioner from the time when the air conditioner is powered on to the time when the temperature reaches the maximum value are obtained; Based on the acquired historical indoor ambient temperature, historical set temperature and compressor frequency, the neural network model is trained to obtain the frequency prediction model.

7. The air conditioner control method according to claim 1, characterized in that: After the steps of obtaining environmental parameters and setting parameters, the method further includes: When the environmental parameter is the indoor environmental humidity, and the setting parameter is the set humidity, determining the compressor frequency corresponding to the dehumidification mode based on the indoor environmental humidity and the set humidity; The air conditioner operation is controlled based on the compressor frequency.

8. The air conditioner control method according to claim 1, characterized in that: After the step of controlling the operation of the air conditioner based on the compressor frequency, the method further includes: Determining the time it takes for the air conditioner to reach a set temperature; If the duration is greater than a preset duration threshold, increasing the compressor frequency; If the duration is less than or equal to a preset duration threshold, reducing the compressor frequency; Based on the current indoor ambient temperature, the set temperature and the updated compressor frequency, the stored historical indoor ambient temperature, the historical set temperature and the historical compressor frequency are updated.

9. A control device for an air conditioner, characterized in that: The control device of the air conditioner includes a memory, a processor, and a control program of the air conditioner stored in the memory and executable on the processor. When the control program of the air conditioner is executed by the processor, the various steps of the control method of the air conditioner as described in any one of claims 1-8 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a control program of the air conditioner, and when the control program of the air conditioner is executed by the processor, each step of the control method of the air conditioner according to any one of claims 1 to 8 is implemented.