Method and device for controlling air conditioner, air conditioner and computer readable storage medium
By monitoring the relationship between the target frequency and the current operating frequency of the air conditioner compressor, and combining ambient temperature and frequency hopping information to optimize frequency control, the resonance, abnormal noise, and vibration problems of variable frequency air conditioners are solved, and the stability and energy efficiency of the air conditioning system are improved.
Patent Information
- Application Number
- CN202410644940.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2025-11-25
AI Technical Summary
Inverter air conditioners are prone to resonance, abnormal noise and vibration during operation, which can lead to unstable frequency adjustment and affect cooling capacity and user experience.
By monitoring the relationship between the compressor's target frequency and the current operating frequency, and using ambient temperature and frequency hopping information, the compressor's operating frequency is determined, thus delaying and optimizing frequency hopping decisions and avoiding frequent frequency adjustments.
This has enabled stable operation of the air conditioning system, reduced temperature fluctuations, and improved energy efficiency and user comfort.
Smart Images

Figure CN121007383A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of air conditioning control technology, such as a method and apparatus for controlling an air conditioner, an air conditioner, and a computer-readable storage medium. Background Technology
[0002] With people's increasing pursuit of comfort, air conditioners have become necessities in homes, offices, and other places. Inverter air conditioners, with their high energy efficiency ratio and precise temperature control, have become the mainstream choice in the market. Inverter air conditioners control cooling or heating by adjusting the operating frequency of the compressor, allowing the system to quickly adjust according to changes in the indoor and outdoor environment, thus achieving the dual goals of energy saving and comfort.
[0003] Despite the performance improvements of inverter air conditioners, they still face some technical challenges during operation. For example, when the compressor's operating frequency is coupled with the outdoor fan, resonance can easily occur, leading to beat noise. Furthermore, at low frequencies, the compressor's mechanical structure may generate abnormal noise. Within certain frequency ranges, the compressor's operation can also produce significant vibrations, which may adversely affect the long-term stable operation of the air conditioning system.
[0004] To overcome these technical problems, related technologies typically incorporate a series of frequency hopping bands or points within the air conditioner to avoid frequency ranges prone to resonance or abnormal noise. In implementing the embodiments of this disclosure, at least the following problems have been found in the related technologies:
[0005] While related technologies have reduced the frequency of problems to some extent, in actual operation, for example, skipping the frequency hopping point directly during frequency reduction may cause the frequency to drop too much, reducing the cooling output, and then immediately controlling the frequency to rise again to skip the frequency hopping point. As a result, frequency hopping bands or frequency hopping points cannot maintain a steady state during cooling, and the room temperature will also fluctuate due to frequency adjustments, affecting the user experience.
[0006] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention
[0007] To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general commentary, nor is it intended to identify key / important components or describe the scope of protection of these embodiments, but rather as a prelude to the detailed description that follows.
[0008] This disclosure provides a method and apparatus for controlling an air conditioner, an air conditioner, and a computer-readable storage medium to reduce room temperature fluctuations when the air conditioner compressor is frequency-controlled.
[0009] In some embodiments, the method for controlling an air conditioner includes: acquiring a target compressor frequency under the current environment; determining the trend of the target frequency relative to the current frequency when the target frequency is within a set frequency hopping band; and determining the operating frequency of the compressor based on the ambient temperature and frequency hopping information when the target frequency has a trend of change relative to the current frequency.
[0010] Optionally, the frequency hopping information includes an upper limit and / or a lower limit for setting the frequency hopping band; determining the compressor's operating frequency based on the ambient temperature and the frequency hopping information includes: acquiring the temperature difference between the current ambient temperature and the set temperature; determining the compressor's operating frequency as the upper limit of the frequency hopping band when the trend is frequency increase and the temperature difference is greater than or equal to a first temperature difference threshold; and determining the compressor's operating frequency as the lower limit of the frequency hopping band when the trend is frequency decrease and the temperature difference is less than or equal to a second temperature difference threshold; wherein, the second temperature difference threshold < 0 < the first temperature difference threshold.
[0011] Optionally, determining the compressor's operating frequency based on ambient temperature and frequency hopping information further includes: if the trend is frequency increase and the temperature difference is less than a first temperature difference threshold; or if the trend is frequency decrease and the temperature difference is greater than a second temperature difference threshold, determining the compressor's operating frequency based on the cumulative number of times the temperature difference is continuously less than the corresponding temperature threshold under the same trend in the frequency hopping information.
[0012] Optionally, determining the compressor operating frequency includes: determining the current frequency as the compressor operating frequency, and recording the cumulative number as n+1; where n is the cumulative number of times the temperature difference is continuously less than the corresponding temperature threshold under the same trend in the frequency hopping information.
[0013] Optionally, the method for controlling the air conditioner further includes: if the trend of change is an increasing frequency trend when the cumulative number of times reaches a set number, then the operating frequency of the compressor is determined to be the upper limit of the frequency hopping band; if the trend of change is a decreasing frequency trend, then the operating frequency of the compressor is determined to be the lower limit of the frequency hopping band.
[0014] Optionally, the method for controlling the air conditioner further includes: controlling the operating frequency of the compressor within a set time period, causing it to vary within a frequency hopping band; and resetting the accumulated count to zero.
[0015] In some embodiments, the device for controlling the air conditioner includes: a frequency acquisition module configured to acquire a target compressor frequency in the current environment; a frequency processing module configured to determine the trend of change of the target frequency relative to the current frequency when the target frequency is within a set frequency hopping band; and an execution module configured to determine the operating frequency of the compressor based on the ambient temperature and frequency hopping information when the target frequency has a trend of change relative to the current frequency.
[0016] In some embodiments, the apparatus for controlling an air conditioner includes a processor and a memory storing program instructions, characterized in that the processor is configured to execute the method for controlling the air conditioner as described above when running the program instructions.
[0017] In some embodiments, the air conditioner includes: an air conditioner body; and a device for controlling the air conditioner as described above, installed on the air conditioner body.
[0018] In some embodiments, the computer-readable storage medium stores program instructions that, when executed, cause the computer to perform the method for controlling the air conditioner as described above.
[0019] The method and apparatus for controlling an air conditioner, the air conditioner, and the computer-readable storage medium provided in the embodiments of this disclosure can achieve the following technical effects:
[0020] By monitoring the relationship between the compressor's target frequency and current operating frequency, and determining the compressor's operating frequency based on ambient temperature and frequency hopping information when the target frequency is within the frequency hopping band, this technique avoids temperature fluctuations caused by frequent frequency adjustments. This allows the air conditioning system to maintain indoor temperature more stably, thus providing a more comfortable indoor environment. Furthermore, by using ambient temperature and frequency hopping information to determine whether to perform frequency hopping when the target frequency shows a changing trend, the technique achieves delay and optimization of frequency hopping decisions. This method not only reduces unnecessary frequency hopping operations but also more accurately determines whether it is necessary to cross the frequency hopping band. Thus, through intelligent frequency control strategies, the performance of inverter air conditioners is significantly improved, the energy efficiency and reliability of the air conditioning system are enhanced, and the user's comfort experience is improved.
[0021] The above general description and the description below are exemplary and illustrative only and are not intended to limit this application. Attached Figure Description
[0022] One or more embodiments are illustrated by way of example with reference to the accompanying drawings. These illustrations and drawings do not constitute a limitation on the embodiments. Elements having the same reference numerals in the drawings are shown as similar elements. The drawings are not to be scaled. And wherein:
[0023] Figure 1 This is a schematic diagram of an air conditioner usage scenario provided in an embodiment of this disclosure;
[0024] Figure 2 This is a schematic flowchart of a method for controlling an air conditioner provided in an embodiment of this disclosure;
[0025] Figure 3 This is a schematic flowchart of another method for controlling an air conditioner provided in an embodiment of this disclosure;
[0026] Figure 4 This is a schematic flowchart of another method for controlling an air conditioner provided in an embodiment of this disclosure;
[0027] Figure 5 This is a schematic flowchart of another method for controlling an air conditioner provided in an embodiment of this disclosure;
[0028] Figure 6 This is a schematic diagram of a device for controlling an air conditioner provided in an embodiment of this disclosure;
[0029] Figure 7 This is a schematic diagram of a device for controlling an air conditioner provided in an embodiment of this disclosure;
[0030] Figure 8 This is a schematic diagram of an air conditioner provided in an embodiment of this disclosure. Detailed Implementation
[0031] To provide a more detailed understanding of the features and technical content of the embodiments of this disclosure, the implementation of the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for illustrative purposes only and are not intended to limit the embodiments of this disclosure. In the following technical description, for ease of explanation, several details are used to provide a full understanding of the disclosed embodiments. However, one or more embodiments may still be implemented without these details. In other cases, well-known structures and devices may be simplified in their depiction to simplify the drawings.
[0032] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this disclosure described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion.
[0033] Unless otherwise stated, the term "multiple" means two or more.
[0034] In this embodiment of the disclosure, the character " / " indicates that the objects before and after it are in an "or" relationship. For example, A / B means: A or B.
[0035] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.
[0036] The term "correspondence" can refer to an association or binding relationship. The correspondence between A and B means that there is an association or binding relationship between A and B.
[0037] In this embodiment of the disclosure, smart home appliances refer to home appliances formed by introducing microprocessors, sensor technology and network communication technology into home appliances. They have the characteristics of intelligent control, intelligent sensing and intelligent application. The operation of smart home appliances often relies on the application and processing of modern technologies such as the Internet of Things, the Internet and electronic chips. For example, smart home appliances can be connected to electronic devices to enable users to remotely control and manage smart home appliances.
[0038] In the disclosed embodiments, the terminal device refers to an electronic device with wireless connectivity. The terminal device can communicate with the aforementioned smart home appliances via the internet, or directly via Bluetooth, Wi-Fi, or other methods. In some embodiments, the terminal device may be, for example, a mobile device, a computer, or an in-vehicle device built into a hovercraft, or any combination thereof. Mobile devices may include, for example, mobile phones, smart home devices, wearable devices, smart mobile devices, virtual reality devices, or any combination thereof. Wearable devices may include, for example, smartwatches, smart bracelets, pedometers, etc.
[0039] Figure 1 This is a schematic diagram of an air conditioner usage scenario provided in an embodiment of this disclosure.
[0040] Combination Figure 1 As shown, this usage scenario includes an air conditioner 100 and a cloud server 110 for communicating with the air conditioner. The air conditioner 100 can connect to a home Wi-Fi network and communicate with control terminals such as mobile phones and cloud servers. Users can also control the air conditioner 100 to execute air conditioning commands through a smartphone application.
[0041] Air conditioner 100 communicates with cloud server 110 via WiFi network. Cloud server 110 is used to receive real-time status data of air conditioner 100 for big data platform and application service subscription, and also sends air conditioning commands from other business servers, big data platform, application terminal and smart terminal to air conditioner 100.
[0042] In other implementation scenarios of this solution, terminal devices may also be included for communicating with air conditioner 100 and / or cloud server 110. Here, terminal devices refer to smart devices in smart home application scenarios, such as smartphones, wearable devices, smart mobile devices, virtual display devices, etc., or smart home appliances, such as smart refrigerators, smart TVs, smart washing machines, smart air conditioners, smart speakers, smart lights, and smart curtains, or any combination thereof.
[0043] Figure 2 This is a flowchart illustrating a method for controlling an air conditioner, as provided in this embodiment, and applied to the aforementioned air conditioner. This method for controlling the air conditioner can be executed by the air conditioner's processor, or it can be executed in a server, such as a cloud server communicating with the air conditioner; it can also be executed at a terminal device, such as a smartphone or a control terminal for smart home appliances. In this embodiment, the air conditioner's processor is used as the execution entity to describe the solution.
[0044] Combination Figure 2 As shown, the method for controlling the air conditioner includes:
[0045] Step S201: The processor obtains the compressor target frequency under the current environment.
[0046] Step S202: When the target frequency is within the set frequency hopping band, the processor determines the trend of the target frequency relative to the current frequency.
[0047] In step S203, when the target frequency shows a trend of change relative to the current frequency, the processor determines the operating frequency of the compressor based on the ambient temperature and frequency hopping information.
[0048] The frequency hopping band refers to a range of frequencies in a variable frequency air conditioner designed to prevent the compressor from resonating, producing noise, or vibrating at a specific frequency. Within this range, the compressor's operating frequency should be adjusted to avoid these problems.
[0049] Frequency hopping information includes the frequency range corresponding to the frequency hopping band, the cumulative number of times, and other information.
[0050] The compressor's target frequency refers to the ideal operating frequency of the air conditioning system, calculated to maintain the set indoor temperature under specific indoor and outdoor environmental conditions. This frequency is calculated by the air conditioner's control system (such as proportional-integral-derivative control, PID control).
[0051] By monitoring the relationship between the compressor's target frequency and the current operating frequency, and determining whether the target frequency is within the set frequency hopping band, frequency control can be implemented to address frequency hopping when the target frequency is within the frequency hopping band, thereby reducing the impact of frequency hopping on the stability of air conditioning operation.
[0052] The trend of the target frequency relative to the current frequency refers to the direction and magnitude of the relative change between the target frequency calculated by the air conditioning system and the current compressor frequency. This trend helps the air conditioning system predict future frequency requirements and make more reasonable frequency adjustment decisions accordingly. Specifically, the trend can be one of the following: Frequency increase trend: If the target frequency is higher than the current frequency, it indicates that the air conditioning system needs to increase cooling or heating capacity, and the compressor's operating frequency needs to be increased; Frequency decrease trend: If the target frequency is lower than the current frequency, it indicates that the air conditioning system needs to reduce cooling or heating capacity, and the compressor's operating frequency needs to be decreased; Stable trend: If the target frequency is close to the current frequency, it indicates that the cooling or heating capacity required by the air conditioning system is roughly met, and the compressor's operating frequency can remain relatively stable.
[0053] In this application, the trend of the target frequency relative to the current frequency includes both an increase trend and a decrease trend. The case where the target frequency does not have a trend relative to the current frequency includes a stable trend.
[0054] Optionally, if the target frequency does not show a trend of change relative to the current frequency, the current frequency is determined as the operating frequency of the compressor.
[0055] Thus, by monitoring the relationship between the compressor's target frequency and the current operating frequency, and determining the compressor's operating frequency based on ambient temperature and frequency hopping information when the target frequency is within the frequency hopping band, the technology avoids temperature fluctuations caused by frequent frequency adjustments. This allows the air conditioning system to maintain indoor temperature more stably, providing a more comfortable indoor environment. By utilizing the technology to determine whether to perform frequency hopping based on ambient temperature and frequency hopping information when the target frequency shows a changing trend, the frequency hopping decision is delayed and optimized. This method not only reduces unnecessary frequency hopping operations but also more accurately determines whether it is necessary to cross the frequency hopping band. Therefore, through intelligent frequency control strategies, the performance of inverter air conditioners is significantly improved, the energy efficiency and reliability of the air conditioning system are enhanced, and the user's comfort experience is improved.
[0056] The following specific embodiments illustrate how to determine the compressor's operating frequency based on ambient temperature and frequency hopping information.
[0057] Figure 3 This is a flowchart illustrating another method for controlling an air conditioner provided in this embodiment of the present disclosure, applied to the air conditioner described above.
[0058] In this embodiment, the frequency hopping information includes setting an upper limit value and / or a lower limit value for the frequency hopping band; the method for controlling the air conditioner includes:
[0059] Step S301: The processor obtains the compressor target frequency under the current environment.
[0060] Step S302: When the target frequency is within the set frequency hopping band, the processor determines the trend of the target frequency relative to the current frequency.
[0061] Step S303: When the target frequency shows a trend of change relative to the current frequency, the processor obtains the temperature difference between the current ambient temperature and the set temperature.
[0062] In step S304, when the processor shows an increasing frequency trend and the temperature difference is greater than or equal to the first temperature difference threshold, it determines that the compressor's operating frequency is the upper limit of the frequency hopping band.
[0063] In step S305, when the processor determines the compressor's operating frequency as the lower limit of the frequency hopping band, and the temperature difference is less than or equal to the second temperature difference threshold, the processor is in the case that the frequency trend is decreasing and the temperature difference is less than or equal to the second temperature difference threshold.
[0064] Among them, the second temperature difference threshold is less than 0 and the first temperature difference threshold is less than 0.
[0065] Here, the first temperature difference threshold and the second temperature difference threshold are used to indicate a certain environmental regulation requirement. When the temperature difference is greater than or equal to the first temperature difference threshold, or less than or equal to the second temperature difference threshold, it indicates that there is a certain environmental regulation requirement. At this time, the compressor's operating frequency is set according to the upper and / or lower limits of the frequency hopping band based on the frequency change trend. This can avoid resonance, noise, or vibration problems, and also adjust the frequency according to actual environmental requirements, thereby achieving more efficient temperature control.
[0066] Optionally, in this embodiment, the first temperature difference threshold ranges from 0.2k to 0.7k; preferably, it is 0.5k.
[0067] Optionally, in this embodiment, the second temperature difference threshold ranges from -0.2k to -0.7k; preferably, it is -0.5k.
[0068] Optionally, if the trend is frequency increase and the temperature difference is less than the first temperature difference threshold; or if the trend is frequency decrease and the temperature difference is greater than the second temperature difference threshold, the operating frequency of the compressor is determined based on the cumulative number of times the temperature difference is continuously less than the corresponding temperature threshold under the same trend in the frequency hopping information.
[0069] When the frequency increases and the temperature difference is less than the first temperature difference threshold, or when the frequency decreases and the temperature difference is greater than the second temperature difference threshold, it means that the current environmental adjustment demand is low, and the air conditioning system does not need to immediately adjust the compressor's operating frequency. In this case, by accumulating the number of times the temperature difference is consistently less than the temperature threshold under the same trend, it can be determined whether frequency adjustment is necessary. By delaying the adjustment, frequent frequency adjustments are avoided, reducing unnecessary energy consumption.
[0070] The following specific embodiments illustrate how to determine the compressor's operating frequency based on the cumulative number of times the temperature difference is continuously less than the temperature threshold under the same trend in the frequency hopping information.
[0071] Figure 4 This is a flowchart illustrating another method for controlling an air conditioner provided in this embodiment of the present disclosure, applied to the air conditioner described above.
[0072] In this embodiment, the frequency hopping information includes setting an upper limit and / or lower limit for the frequency hopping band, and the cumulative number n times n that the temperature difference is continuously less than the corresponding temperature threshold under the same trend; the method for controlling the air conditioner includes:
[0073] Step S401: Obtain the compressor target frequency under the current environment.
[0074] Step S402: When the target frequency is within the set frequency hopping band, determine the trend of the target frequency relative to the current frequency.
[0075] Step S403: If the trend of change is increasing frequency and the temperature difference is less than the first temperature difference threshold; or, if the trend of change is decreasing frequency and the temperature difference is greater than the second temperature difference threshold, the current frequency is determined as the operating frequency of the compressor, and the cumulative number is recorded as n+1.
[0076] In step S404, if the cumulative number of times reaches the set number, and the trend is an increasing frequency trend, then the operating frequency of the compressor is determined to be the upper limit of the frequency hopping band; if the trend is a decreasing frequency trend, then the operating frequency of the compressor is determined to be the lower limit of the frequency hopping band.
[0077] By comparing the cumulative number of cycles, the compressor's operating frequency can be delayed when environmental regulation demands are low. This avoids frequent frequency adjustments under small temperature differences, thus reducing unnecessary energy consumption and system response. After the set number of cycles is reached, the system determines the compressor's operating frequency based on the changing trend, preventing temperature fluctuations caused by frequent frequency adjustments under small temperature differences. This method helps the system maintain indoor temperature more stably, improving temperature control stability. Furthermore, by setting the cumulative number of cycles, the system can more rationally adjust the compressor's operating frequency based on changes in ambient temperature and system load, helping to optimize system performance and improve the system's energy efficiency ratio and reliability.
[0078] In this embodiment, the set number of times is set to 3.
[0079] In practical applications, such as Figure 5 As shown, the method for controlling the air conditioner includes:
[0080] Step S501: Obtain the temperature difference Pn between the current ambient temperature and the set temperature. This temperature difference Pn can be an absolute value, or it can be determined based on different operating modes. For example, in cooling mode, the temperature difference Pn is obtained by subtracting the set temperature from the current ambient temperature; in heating mode, the temperature difference Pn is obtained by subtracting the current ambient temperature from the set temperature.
[0081] Step S502: Determine the target compressor frequency under the current environment based on Pn using PID control.
[0082] Step S503: Determine whether the target frequency is within the set frequency hopping band. If the target frequency is not within the frequency hopping band, proceed to step S504; otherwise, proceed to step S505.
[0083] Step S504: Determine the current frequency as the compressor's operating frequency. Keep the current operating frequency unchanged.
[0084] Step S505: Determine the trend of the target frequency relative to the current frequency.
[0085] Step S506: If the target frequency is increasing relative to the current frequency, determine whether Pn is greater than or equal to the first temperature difference threshold. If yes, proceed to step S509; otherwise, proceed to step S511.
[0086] Step S507: If the target frequency is decreasing relative to the current frequency, determine whether Pn is less than or equal to the second temperature difference threshold. If yes, proceed to step S510; otherwise, proceed to step S511.
[0087] Step S508: If the trend of the target frequency relative to the current frequency is stable, proceed to step S504.
[0088] Step S509: Determine the operating frequency of the compressor as the upper limit of the frequency hopping band.
[0089] Step S510: Determine the operating frequency of the compressor as the lower limit of the frequency hopping band.
[0090] Step S511: Determine the current frequency as the compressor's operating frequency, and set the cumulative number of times n = n+1 under the same trend of change to ensure that the temperature difference is less than the corresponding temperature threshold.
[0091] Step S512: Determine whether the cumulative count n has reached the set number. If the set number has not been reached, return to step S501.
[0092] In step S513, if the set number of cycles is reached and the trend is an increasing frequency, the compressor's operating frequency is determined to be the upper limit of the frequency hopping band; if the trend is a decreasing frequency, the compressor's operating frequency is determined to be the lower limit of the frequency hopping band. When the set number of cycles is reached, the system can determine the compressor's operating frequency based on the trend. This precise control helps the system control the indoor temperature more accurately and improves the precision of temperature control. By associating the accumulated number of cycles with frequency adjustment, the system can perform frequency adjustment when specific conditions are met. This method reduces the frequency of frequency adjustments and improves system stability.
[0093] Step S514: Control the operating frequency of the compressor within a set time period, so that it varies within the frequency hopping band.
[0094] Step S515: Reset the accumulated count to zero. Controlling the compressor's operating frequency within a set timeframe, causing it to fluctuate within a frequency band, and periodically resetting the accumulated count helps maintain stable indoor temperature and avoids continuous frequency fluctuations.
[0095] Thus, by monitoring the relationship between the compressor's target frequency and the current operating frequency, and determining the compressor's operating frequency based on ambient temperature and frequency hopping information when the target frequency is within the frequency hopping band, the technology avoids temperature fluctuations caused by frequent frequency adjustments. This allows the air conditioning system to maintain indoor temperature more stably, providing a more comfortable indoor environment. By utilizing the technology to determine whether to perform frequency hopping based on ambient temperature and frequency hopping information when the target frequency shows a changing trend, the frequency hopping decision is delayed and optimized. This method not only reduces unnecessary frequency hopping operations but also more accurately determines whether it is necessary to cross the frequency hopping band. Through intelligent frequency control strategies, the performance of inverter air conditioners is significantly improved, the energy efficiency and reliability of the air conditioning system are enhanced, and the user's comfort experience is improved.
[0096] Figure 6 This is a schematic diagram of a device for controlling an air conditioner, provided in an embodiment of this application, and applied to the aforementioned air conditioner. This control device for the air conditioner can be implemented through software, hardware, or a combination of both.
[0097] Combination Figure 6 As shown, this embodiment of the present disclosure provides a device 60 for controlling an air conditioner, including a frequency acquisition module 61, a frequency processing module 62, and an execution module 63. The frequency acquisition module 61 is configured to acquire the target frequency of the compressor under the current environment; the frequency processing module 62 is configured to determine the trend of the target frequency relative to the current frequency when the target frequency is within a set frequency hopping band; the execution module 63 is configured to determine the operating frequency of the compressor based on the ambient temperature and frequency hopping information when the target frequency has a trend of change relative to the current frequency.
[0098] Combination Figure 7 As shown, this embodiment of the present disclosure provides a device 70 for controlling an air conditioner, including a processor 700 and a memory 701. Optionally, the device 70 may further include a communication interface 702 and a bus 703. The processor 700, communication interface 702, and memory 701 can communicate with each other via the bus 703. The communication interface 702 can be used for information transmission. The processor 700 can call logical instructions in the memory 701 to execute the method for controlling the air conditioner described in the above embodiment.
[0099] Furthermore, the logic instructions in the aforementioned memory 701 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.
[0100] The memory 701, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of this disclosure. The processor 700 executes functional applications and data processing by running the program instructions / modules stored in the memory 701, thereby implementing the method for controlling the air conditioner described in the above embodiments.
[0101] The memory 701 may include a program storage area and a data storage area. The program storage area may store the operating system and application programs required for at least one function; the data storage area may store data created based on the use of the terminal device. Furthermore, the memory 701 may include high-speed random access memory and may also include non-volatile memory.
[0102] Combination Figure 8 As shown, this disclosure provides an air conditioner 100, including: a product body, and the aforementioned device 60 (70) for controlling the air conditioner. The device 60 (70) for controlling the air conditioner is installed on the air conditioner body. The installation relationship described herein is not limited to placement inside the air conditioner body, but also includes installation connections with other components of the air conditioner 100, including but not limited to physical connections, electrical connections, or signal transmission connections. Those skilled in the art will understand that the device 60 (70) for controlling the air conditioner can be adapted to feasible air conditioner bodies to achieve other feasible embodiments.
[0103] This disclosure provides a computer-readable storage medium storing computer-executable instructions configured to perform the above-described method for controlling an air conditioner.
[0104] The technical solutions of this disclosure can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes one or more 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 of this disclosure. The aforementioned storage medium can be a non-transitory storage medium, such as a USB flash drive, external hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, etc., and other media capable of storing program code.
[0105] The foregoing description and accompanying drawings fully illustrate embodiments of this disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, procedural, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the order of operation may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the terminology used in this application is for describing embodiments only and is not intended to limit the claims. As used in the description of embodiments and claims, the singular forms “a,” “an,” and “the” are intended to equally include the plural forms unless the context clearly indicates otherwise. Similarly, the term “and / or” as used in this application means including one or more of the associated listed items and all possible combinations thereof. Additionally, when used in this application, the term "comprise" and its variations "comprises" and / or "comprising" refer to the presence of stated features, integrals, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof. Without further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the process, method, or apparatus that includes said element. In this document, each embodiment may focus on the differences from other embodiments, and similar or identical parts between embodiments can be referred to mutually. For methods, products, etc., disclosed in the embodiments, if they correspond to the method section disclosed in the embodiments, the relevant parts can be referred to the description of the method section.
[0106] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this disclosure. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0107] The methods and products (including but not limited to devices and equipment) disclosed in the embodiments herein can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units may be merely a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the shown or discussed units may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to implement this embodiment according to actual needs. Furthermore, the functional units in the embodiments of this disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0108] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than that shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in a different order than disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. Each block in a block diagram and / or flowchart, and combinations of blocks in a block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
Claims
1. A method for controlling an air conditioner, characterized by, The method comprises: acquiring a compressor target frequency under a current environment; determining a change trend of the target frequency relative to a current frequency, in a case where the target frequency is within a set frequency hopping band; determining a running frequency of the compressor according to an environmental temperature and frequency hopping information, in a case where the target frequency has the change trend relative to the current frequency.
2. The method of claim 1, wherein, The frequency hopping information comprises an upper limit value and / or a lower limit value of the set frequency hopping band; and the determining of the running frequency of the compressor according to the environmental temperature and the frequency hopping information comprises: acquiring a temperature difference value between the current environmental temperature and a set temperature; determining the running frequency of the compressor as the upper limit value of the frequency hopping band, in a case where the change trend is frequency increase and the temperature difference value is greater than or equal to a first temperature difference threshold value; determining the running frequency of the compressor as the lower limit value of the frequency hopping band, in a case where the change trend is frequency decrease and the temperature difference value is less than or equal to a second temperature difference threshold value; wherein the second temperature difference threshold value < 0 < the first temperature difference threshold value.
3. The method of claim 1, wherein, The determining of the running frequency of the compressor according to the environmental temperature and the frequency hopping information further comprises: if the change trend is frequency increase and the temperature difference value is less than the first temperature difference threshold value, or the change trend is frequency decrease and the temperature difference value is greater than the second temperature difference threshold value, determining the running frequency of the compressor according to a cumulative number of times that the temperature difference value is less than a corresponding temperature threshold value under the same change trend in the frequency hopping information.
4. The method of claim 3, wherein, The determination of the running frequency of the compressor comprises: determining the current frequency as the running frequency of the compressor, and setting the cumulative number of times as n+1; wherein n is the cumulative number of times that the temperature difference value is less than the corresponding temperature threshold value under the same change trend in the frequency hopping information.
5. The method of claim 4, wherein, The method further comprises: if the cumulative number of times reaches a set number of times, and the change trend is frequency increase, determining the running frequency of the compressor as the upper limit value of the frequency hopping band; and if the cumulative number of times reaches the set number of times, and the change trend is frequency decrease, determining the running frequency of the compressor as the lower limit value of the frequency hopping band. The method further comprises:
6. The method of claim 5, wherein, controlling the running frequency of the compressor to change within the frequency hopping band within a set time length; and clearing the cumulative number of times. The device comprises:
7. A device for controlling an air conditioner, characterized in that, a frequency acquisition module configured to acquire a compressor target frequency under a current environment; a frequency processing module configured to determine a change trend of the target frequency relative to a current frequency, in a case where the target frequency is within a set frequency hopping band; an execution module configured to determine a running frequency of the compressor according to an environmental temperature and frequency hopping information, in a case where the target frequency has the change trend relative to the current frequency. The processor is configured to execute the program instructions to perform the method for controlling an air conditioner according to any one of claims 1 to 6 when the program instructions are executed.
8. An apparatus for controlling an air conditioner, comprising a processor and a memory having stored program instructions, characterized in that, The device comprises:
9. An air conditioner characterized by comprising: an air conditioner body; the device for controlling an air conditioner according to claim 7 or 8 is installed on the air conditioner body. The program instructions are used to cause the computer to perform the method for controlling an air conditioner according to any one of claims 1 to 6 when the program instructions are executed.
10. A computer readable storage medium storing program instructions, wherein the program instructions comprise instructions for causing a computer to perform the method of any one of claims 1-9.