Control method of air conditioning equipment, air conditioning equipment and storage medium
By determining the maximum frequency and minimum frequency running time within the resonance frequency range in the air conditioning equipment, the problem of poor control effect of the air conditioning equipment in the resonance frequency range is solved, and more refined control and longer compressor service life are achieved.
Patent Information
- Application Number
- CN202311634531.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-30
- Publication Date
- 2025-05-30
AI Technical Summary
The control frequency of the air conditioning equipment within the resonance frequency range leads to poor control effect, increased power consumption, and affects the life of the compressor.
By obtaining the control frequency of the air conditioning device, when it is within the preset resonance frequency range, a first running time running at the maximum frequency and a second running time running at the minimum frequency are determined, and corresponding control is performed.
It realizes more refined control within the resonant frequency range, stabilizes the indoor ambient temperature, and reduces the impact of frequent switching on the compressor service life.
Smart Images

Figure CN120062752A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of air conditioning equipment control, and particularly to a control method for air conditioning equipment, an air conditioning equipment, and a storage medium. Background Art
[0002] Air conditioning equipment usually has an unavailable resonance frequency range, that is, the air conditioning equipment will not operate at any frequency within this resonance frequency range except the maximum frequency and the minimum frequency. If the frequency that the air conditioning equipment needs to use at this time (i.e., the control frequency) falls within the resonance frequency range, usually, the maximum frequency or the minimum frequency within this resonance frequency range is selected to control the operation of the air conditioning equipment, or the maximum frequency and the minimum frequency are alternately used to control the operation of the air conditioning equipment.
[0003] However, if the maximum frequency is selected to control the operation of the air conditioning equipment, it will not only increase the power consumption of the air conditioning equipment, but also cause the indoor environmental temperature to be relatively lower than the target temperature; if the minimum frequency is selected to control the operation of the air conditioning equipment, it will cause the indoor environmental temperature to be relatively higher than the target temperature; if the maximum frequency and the minimum frequency are alternately used to control the operation of the air conditioning equipment, the service life of the compressor of the air conditioning equipment will be affected due to the too frequent switching of the control frequency. In summary, currently, when the control frequency of the air conditioning equipment falls within the resonance frequency range, the control effect on the air conditioning equipment is poor. Summary of the Invention
[0004] The main purpose of the present application is to provide a control method, a device, an air conditioning equipment, and a computer storage medium for air conditioning equipment, aiming to solve the technical problem of poor control effect on air conditioning equipment when the control frequency of the air conditioning equipment falls within the resonance frequency range currently.
[0005] To achieve the above purpose, the present application provides a control method for air conditioning equipment, and the control method for air conditioning equipment includes:
[0006] Obtain the control frequency of the air conditioning equipment;
[0007] When the control frequency of the air conditioning equipment is within the preset resonance frequency range, determine the first running time when the air conditioning equipment operates at the maximum frequency within the preset resonance frequency range and the second running time when the air conditioning equipment operates at the minimum frequency within the preset resonance frequency range;
[0008] Control the air conditioning equipment to operate at the maximum frequency for the first running time and at the minimum frequency for the second running time.
[0009] Optionally, the steps of determining the first running time when the air conditioning device operates at the maximum frequency within the preset resonance frequency range and the second running time when the air conditioning device operates at the minimum frequency within the preset resonance frequency range include:
[0010] Calculating the deviation rates of the control frequency from the maximum frequency and the minimum frequency respectively according to the control frequency of the air conditioning device, the maximum frequency and the minimum frequency within the preset resonance frequency range;
[0011] Calculating the first running time and the second running time according to the preset running time and the deviation rates; the sum of the first running time and the second running time is the preset running time.
[0012] Optionally, the steps of controlling the air conditioning device to operate at the maximum frequency for the first running time and at the minimum frequency for the second running time include:
[0013] Determining the smaller value between the difference between the control frequency and the maximum frequency and the difference between the control frequency and the minimum frequency;
[0014] When the difference between the control frequency and the maximum frequency is small, controlling the air conditioning device to first operate at the maximum frequency for the first running time and then at the minimum frequency for the second running time;
[0015] When the difference between the control frequency and the minimum frequency is small, controlling the air conditioning device to first operate at the minimum frequency for the second running time and then at the maximum frequency for the first running time.
[0016] Optionally, the steps of controlling the air conditioning device to operate at the maximum frequency for the first running time and at the minimum frequency for the second running time include:
[0017] Controlling the air conditioning device to first continuously operate at the maximum frequency for the first running time and then continuously operate at the minimum frequency for the second running time.
[0018] Optionally, the control method of the air conditioning device further includes:
[0019] When the control frequency of the air conditioning device is outside the preset resonance frequency range, operating at the obtained control frequency.
[0020] Optionally, the control method of the air conditioning device further includes:
[0021] After the air conditioning device operates for the preset time, returning to execute the step of obtaining the control frequency of the air conditioning device; the preset time is the sum of the first running time and the second running time.
[0022] Optionally, obtaining the control frequency of the air conditioning device includes:
[0023] Obtain the current ambient temperature;
[0024] Based on a preset PID control frequency relationship table, obtain the PID control frequency corresponding to the current ambient temperature as the control frequency of the air conditioning device.
[0025] Optionally, the obtaining of the control frequency of the air conditioning device includes:
[0026] Obtain at least two of the current ambient parameters, operating parameters, and set parameters;
[0027] Based on a preset frequency model, use the obtained parameters as inputs and calculate the control frequency of the air conditioning device.
[0028] This application also provides a control device for an air conditioning device. The control device for the air conditioning device includes:
[0029] An obtaining module, configured to obtain the control frequency of the air conditioning device;
[0030] A determining module, configured to determine the first operating time when the air conditioning device operates at the maximum frequency within a preset resonance frequency range and the second operating time when the air conditioning device operates at the minimum frequency within the preset resonance frequency range when the control frequency of the air conditioning device is within the preset resonance frequency range;
[0031] A control module, configured to control the air conditioning device to operate at the maximum frequency for the first operating time and at the minimum frequency for the second operating time.
[0032] This application also provides an air conditioning device. The air conditioning device is a physical device. The air conditioning device includes a memory, a processor, and a control program for the air conditioning device stored in the memory and executable on the processor. When the control program is executed by the processor, the steps of the control method for the air conditioning device as described above are implemented.
[0033] This application also provides a computer storage medium. The computer storage medium stores an operating program for a smart home system executable on a processor. The operating program is called by the processor to implement the steps of the control method for the air conditioning device as described above.
[0034] This application also provides a computer program product, including a computer program. When the computer program is executed by a processor, the steps of the control method for the air conditioning device as described above are implemented.
[0035] The present application provides a control method for an air conditioning device. First, the control frequency of the air conditioning device is obtained. When the control frequency of the air conditioning device is within a preset resonance frequency range, the first running time when the air conditioning device operates at the maximum frequency within the preset resonance frequency range and the second running time when the air conditioning device operates at the minimum frequency within the preset resonance frequency range are determined. Then, the air conditioning device is controlled to operate at the maximum frequency for the first running time and at the minimum frequency for the second running time.
[0036] Therefore, when the control frequency of the air conditioning device falls within the preset resonance frequency range, the control method adopted in the present application is not simply to control the operation of the air conditioning device at the maximum frequency or the minimum frequency, but to determine the first running time when the air conditioning device operates at the maximum frequency and the second running time when the air conditioning device operates at the minimum frequency, so as to control the operation of the air conditioning device step by step through the running durations of the maximum frequency and the minimum frequency respectively, thereby ensuring that the indoor environmental temperature is stably maintained at the target temperature through more refined control. In addition, since there is only one switching frequency between the maximum frequency and the minimum frequency, the impact on the service life of the compressor of the air conditioning device caused by frequent switching of the control frequency can be avoided. Furthermore, by reasonably allocating the running durations of the maximum frequency and the minimum frequency of the air conditioning device, the air conditioning device can obtain the same control effect as that of the control frequency operating within the resonance frequency range. It can be seen that the present application solves the technical problem of poor control effect on the air conditioning device when the control frequency of the air conditioning device falls within the resonance frequency range, and improves the control effect on the air conditioning device by realizing refined control. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present application and used together with the specification to explain the principles of the present application.
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0039] Figure 1 It is a schematic flowchart provided for the first embodiment of the control method of the air conditioning device of the present application;
[0040] Figure 2 It is a schematic diagram of the resonance frequency range provided for the first embodiment of the present application;
[0041] Figure 3Schematic flow diagram of the control method for the air conditioning equipment provided in the first embodiment of the present application;
[0042] Figure 4 Schematic module structure diagram of the control device for the air conditioning equipment in the embodiment of the present application;
[0043] Figure 5 Schematic device structure diagram of the hardware operating environment involved in the control method for the air conditioning equipment in the embodiment of the present application.
[0044] The realization of the purpose, functional characteristics and advantages of the present application will be further described with reference to the accompanying drawings in combination with the embodiments. Specific embodiments
[0045] In order to make the above objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0046] An air conditioning equipment usually has an unavailable resonance frequency range, that is, the air conditioning equipment will not operate at any frequency within this resonance frequency range except the maximum frequency and the minimum frequency. And if the frequency that the air conditioning equipment needs to use at this time (i.e., the control frequency) falls within the resonance frequency range, at this time, usually the maximum frequency or the minimum frequency within this resonance frequency range is selected to control the operation of the air conditioning equipment, or the maximum frequency and the minimum frequency are alternately used to control the operation of the air conditioning equipment.
[0047] However, if the maximum frequency is selected to control the operation of the air conditioning equipment, it will not only increase the power consumption of the air conditioning equipment, but also cause the indoor environmental temperature to be relatively lower than the target temperature; if the minimum frequency is selected to control the operation of the air conditioning equipment, it will cause the indoor environmental temperature to be relatively higher than the target temperature; if the maximum frequency and the minimum frequency are alternately used to control the operation of the air conditioning equipment, it will affect the service life of the compressor of the air conditioning equipment due to the too frequent switching of the control frequency. In summary, currently, when the control frequency of the air conditioning equipment falls within the resonance frequency range, the control effect on the air conditioning equipment is poor.
[0048] Based on this, the present application proposes a control method for the air conditioning equipment in the first embodiment. Please refer to Figure 1 , the control method for the air conditioning equipment includes:
[0049] Step S10, obtain the control frequency of the air conditioning device;
[0050] In this embodiment, the air conditioning device may be the execution subject of the control method of the air conditioning device. The air conditioning device refers to a device that processes the air in the working space to keep the set temperature, humidity in the working space and control the dust and harmful gas content in the working space. The air conditioning device may be an air conditioner, an air dehumidifier, an air humidifier, etc. This embodiment does not make specific limitations on this.
[0051] It should be noted that the control frequency refers to the frequency that the air conditioning device needs to use at the current moment. When obtaining the control frequency of the air conditioning device, from the perspective of obtaining the frequency, it can be obtained in real time or periodically; from the perspective of the obtaining path, it can be obtained from the air conditioning device or from an external device connected to the air conditioning device. This embodiment does not make specific limitations on the obtaining method of the control frequency of the air conditioning device.
[0052] Step S20, when the control frequency of the air conditioning device is within the preset resonance frequency range, determine the first running time when the air conditioning device runs at the maximum frequency within the preset resonance frequency range and the second running time when the air conditioning device runs at the minimum frequency within the preset resonance frequency range;
[0053] It should be noted that the preset resonance frequency range is used to represent the frequency range in which the air conditioning device cannot operate. The number of preset resonance frequency ranges can be one or more. This embodiment does not make specific limitations on this. It can be understood that usually, there is at least one resonance frequency range for the air conditioning device, especially in the low frequency band. When the air conditioning device runs at a frequency within the resonance frequency range, obvious jitter and noise will occur in the compressor of the air conditioning device, which will affect the service life of the compressor. Therefore, usually the air conditioning device will not work at any frequency within this resonance frequency range. For example, it can be referred to Figure 2 , it can be assumed that the preset resonance frequency range of the air conditioning device is (9Hz, 11Hz).
[0054] In addition, it should be noted that the first running time is used to represent the time for the air conditioning device to run at the maximum frequency within the preset resonance frequency range, and the second running time is used to represent the time for the air conditioning device to run at the minimum frequency within the preset resonance frequency range. It can be understood that if the preset resonance frequency range includes the upper boundary frequency, the maximum frequency of the preset resonance frequency range is the upper boundary frequency; if the preset resonance frequency range does not include the upper boundary frequency, the maximum frequency of the preset resonance frequency range is the frequency that is only lower than the upper boundary frequency within the preset resonance frequency range. If the preset resonance frequency range includes the lower boundary frequency, the minimum frequency of the preset resonance frequency range is the lower boundary frequency; if the preset resonance frequency range does not include the lower boundary frequency, the minimum frequency of the preset resonance frequency range is the frequency that is only higher than the lower boundary frequency within the preset resonance frequency range.
[0055] When determining the first running time when the air conditioning device runs at the maximum frequency within the preset resonance frequency range and the second running time when the air conditioning device runs at the minimum frequency within the preset resonance frequency range, two default times can be set first, that is, the first default time and the second default time are set, where the first default time is greater than the second default time. Then, determine the smaller value of the difference between the control frequency and the maximum frequency and the difference between the control frequency and the minimum frequency. If the difference between the control frequency and the maximum frequency is smaller, then use the first default time as the first running time when the air conditioning device runs at the maximum frequency within the preset resonance frequency range, and use the second default time as the second running time when the air conditioning device runs at the minimum frequency within the preset resonance frequency range. If the difference between the control frequency and the minimum frequency is smaller, then use the second default time as the first running time when the air conditioning device runs at the maximum frequency within the preset resonance frequency range, and use the first default time as the second running time when the air conditioning device runs at the minimum frequency within the preset resonance frequency range. In other embodiments, the first running time and the second running time can also be calculated according to a certain calculation method, and this embodiment does not make specific limitations on this.
[0056] It can be understood that when the control frequency of the air conditioning device is within the preset resonance frequency range, it means that the air conditioning device will not run at the frequencies that need to be used at this time. Then, certain strategies need to be adopted to enable the indoor environmental temperature to reach the target temperature. At this time, if the control frequency changes suddenly, it will affect the service life of the compressor of the air conditioning device. Therefore, it is necessary to give priority to using the control frequencies with a smaller change range and available for the air conditioning device to run to control the air conditioning device. For the situation where the control frequency is within the preset resonance frequency range, the frequencies that meet the conditions of having a smaller change range and being available for the air conditioning device to run at this time are the maximum frequency and the minimum frequency of the preset resonance frequency range. Therefore, the maximum frequency and the minimum frequency of the preset resonance frequency range need to be used to control the air conditioning device.
[0057] Step S30: Control the air conditioning device to operate at the maximum frequency for a first operating time and at the minimum frequency for a second operating time.
[0058] When controlling the air conditioning device to operate at the maximum frequency for a first operating time and at the minimum frequency for a second operating time, regarding the operating sequence of the maximum frequency and the minimum frequency, it can first operate at the maximum frequency and then at the minimum frequency, or it can first operate at the minimum frequency and then at the maximum frequency. The specific operating sequence can be determined according to actual requirements or according to the set default sequence. This embodiment does not make specific limitations on this.
[0059] The embodiment of the present application provides a control method for an air conditioning device. The embodiment of the present application first obtains the control frequency of the air conditioning device. When the control frequency of the air conditioning device is within the preset resonance frequency range, determine the first operating time when the air conditioning device operates at the maximum frequency within the preset resonance frequency range, and the second operating time when the air conditioning device operates at the minimum frequency within the preset resonance frequency range. Then, control the air conditioning device to operate at the maximum frequency for the first operating time and at the minimum frequency for the second operating time. Therefore, when the control frequency of the air conditioning device is within the preset resonance frequency range, the control method adopted in the embodiment of the present application is not to simply control the operation of the air conditioning device at the maximum frequency or the minimum frequency, but to determine the first operating time when the air conditioning device operates at the maximum frequency and the second operating time when it operates at the minimum frequency, and control the operation of the air conditioning device through the respective operating durations of the maximum frequency and the minimum frequency, so as to ensure that the indoor environmental temperature is stably maintained at the target temperature through more refined control. In addition, since there is only one switching frequency between the maximum frequency and the minimum frequency, the influence on the service life of the compressor of the air conditioning device caused by frequent switching of the control frequency can be avoided. Furthermore, the embodiment of the present application rationally distributes the operating durations of the maximum frequency and the minimum frequency of the air conditioning device, so that the air conditioning device can obtain the same control effect as when operating at the control frequency within the resonance frequency range. It can be seen that the embodiment of the present application solves the technical problem of poor control effect on the air conditioning device when the control frequency of the air conditioning device is within the resonance frequency range, and improves the control effect on the air conditioning device by realizing refined control.
[0060] In a possible implementation manner, the step S20: determining the first operating time when the air conditioning device operates at the maximum frequency within the preset resonance frequency range and the second operating time when the air conditioning device operates at the minimum frequency within the preset resonance frequency range includes:
[0061] Step S21: Calculate the deviation rates of the control frequency from the maximum frequency and the minimum frequency respectively according to the control frequency of the air conditioning device, the maximum frequency and the minimum frequency within the preset resonance frequency range.
[0062] It should be noted that the deviation rate is used to characterize the frequency interval distance of the control frequency relative to the maximum frequency and the minimum frequency within the resonance frequency range.
[0063] As an example, in step S21: Calculate the deviation rates of the control frequency from the maximum frequency and the minimum frequency respectively according to the control frequency of the air conditioning device, the maximum frequency and the minimum frequency within the preset resonance frequency range, including: calculating the difference between the maximum frequency within the preset resonance frequency range and the control frequency of the air conditioning device to obtain the first frequency difference, and calculating the difference between the maximum frequency and the minimum frequency within the preset resonance frequency range to obtain the second frequency difference; calculating the ratio of the first frequency difference to the second frequency difference to obtain the deviation rate of the control frequency from the maximum frequency; calculating the difference between 1 and the deviation rate of the control frequency from the maximum frequency to obtain the deviation rate of the control frequency from the minimum frequency. The specific calculation formulas are as follows:
[0064]
[0065] Pl = 1 - Ph
[0066] Where, Fh is the maximum frequency within the preset resonance frequency range, Fl is the minimum frequency within the preset resonance frequency range, Fr is the control frequency of the air conditioning device, Ph is the deviation rate of the control frequency from the maximum frequency, and Pl is the deviation rate of the control frequency from the minimum frequency.
[0067] Step S22: Calculate the first running time and the second running time according to the preset running time and the deviation rate; the sum of the first running time and the second running time is the preset running time.
[0068] As an example, in step S22: Calculate the first running time and the second running time according to the preset running time and the deviation rate, including: calculating the product of the deviation rate of the control frequency from the minimum frequency and the preset running time to obtain the first running time, and calculating the product of the deviation rate of the control frequency from the maximum frequency and the preset running time to obtain the second running time. The specific calculation formulas are as follows:
[0069] Th = Pl * T
[0070] Tl = Ph * T
[0071] Where, Th is the first running time, Tl is the second running time, T is the preset running time, Ph is the deviation rate of the control frequency from the maximum frequency, and Pl is the deviation rate of the control frequency from the minimum frequency.
[0072] In this embodiment, the deviation rates of the control frequency from the maximum frequency and the minimum frequency within the preset resonance frequency range are calculated respectively, and the first running time and the second running time are calculated through the deviation rates of the control frequency from the maximum frequency and the minimum frequency respectively and the preset running time, so that the air conditioning equipment can operate at the maximum frequency and the minimum frequency for a reasonable running duration in combination with the actual situation, thereby improving the reliability of the air conditioning equipment and further improving the control effect on the air conditioning equipment.
[0073] In a possible implementation manner, step S30: controlling the air conditioning equipment to operate at the maximum frequency for the first running time and at the minimum frequency for the second running time includes:
[0074] Step S31, determining the smaller value between the difference between the control frequency and the maximum frequency and the difference between the control frequency and the minimum frequency;
[0075] Step S32, when the difference between the control frequency and the maximum frequency is small, controlling the air conditioning equipment to first operate at the maximum frequency for the first running time and then at the minimum frequency for the second running time;
[0076] It can be understood that if the difference between the control frequency and the maximum frequency is small, it means that the control frequency is closer to the maximum frequency at this time, so the air conditioning equipment can be controlled to first operate at the maximum frequency for the first running time and then at the minimum frequency for the second running time.
[0077] Step S33, when the difference between the control frequency and the minimum frequency is small, controlling the air conditioning equipment to first operate at the minimum frequency for the second running time and then at the maximum frequency for the first running time.
[0078] It can be understood that if the difference between the control frequency and the minimum frequency is small, it means that the control frequency is closer to the minimum frequency at this time, so the air conditioning equipment can be controlled to first operate at the minimum frequency for the second running time and then at the maximum frequency for the first running time.
[0079] In this embodiment, by determining the smaller value between the difference between the control frequency and the maximum frequency and the difference between the control frequency and the minimum frequency to determine the running order of the maximum frequency and the minimum frequency, from the perspective of improving the user experience, running the frequency closer to the control frequency first can make the change of the indoor environmental temperature relatively smooth, that is, the indoor environmental temperature can change with a smaller change amplitude, so from the user's sensory experience, the user will not feel a strong change in the indoor environmental temperature.
[0080] In another possible implementation manner, step S30: controlling the air conditioning device to operate at the maximum frequency for a first operating time and at the minimum frequency for a second operating time includes:
[0081] Step S34, controlling the air conditioning device to continuously operate at the maximum frequency for the first operating time and then continuously operate at the minimum frequency for the second operating time.
[0082] In this embodiment, when controlling the air conditioning device to operate at the maximum frequency and the minimum frequency, regarding the operating sequence of the maximum frequency and the minimum frequency, it can first operate at the maximum frequency and then at the minimum frequency. Since the greater the control frequency, the faster the air conditioning device adjusts the indoor environmental temperature, operating at the maximum frequency first can enable the indoor environmental temperature to reach the target temperature relatively quickly and meet the actual requirements more quickly.
[0083] In a possible implementation manner, the control method of the air conditioning device further includes:
[0084] Step S101, when the control frequency of the air conditioning device is outside the preset resonance frequency range, operating according to the obtained control frequency.
[0085] It can be understood that when the control frequency of the air conditioning device is outside the preset resonance frequency range, it means that the air conditioning device can operate at the frequency required at this time, so the air conditioning device can be normally controlled to operate at the required frequency.
[0086] In a possible implementation manner, the control method of the air conditioning device further includes:
[0087] Step S40, after the air conditioning device operates for a preset time, returning to execute the step of obtaining the control frequency of the air conditioning device; the preset time is the sum of the first operating time and the second operating time.
[0088] It should be noted that the preset time is usually not set too short because the switching frequency between the maximum frequency and the minimum frequency is only once based on the preset time, that is, if the control frequency of the air conditioning device is within the preset resonance frequency range, the maximum frequency and the minimum frequency will be switched once within the preset time. Therefore, if the preset time is set too short, it may cause the control frequency to switch too frequently due to the control frequency of the air conditioning device continuously being within the preset resonance frequency range, which will affect the service life of the compressor of the air conditioning device.
[0089] In this embodiment, after the air conditioning device operates for a preset time, the step of obtaining the control frequency of the air conditioning device will be executed again. The preset time is the sum of the first operating time and the second operating time. That is to say, in this embodiment, by periodically obtaining the control frequency of the air conditioning device, the periodic control of the operation of the air conditioning device is realized, so as to avoid the risk of interrupting the operation of the air conditioning device when the control frequency currently being operated is within the preset resonance frequency range, and ensure the operation stability of the air conditioning device.
[0090] In a possible implementation manner, the step S10: obtaining the control frequency of the air conditioning device includes:
[0091] Step A11, obtaining the current ambient temperature;
[0092] It should be noted that the ambient temperature refers to the temperature of the environment where the air conditioning device is located, and the current ambient temperature refers to the temperature of the environment where the air conditioning device is currently located.
[0093] Step A12, based on a preset PID control frequency relationship table, obtaining the PID control frequency corresponding to the current ambient temperature as the control frequency of the air conditioning device.
[0094] It should be noted that the PID (temperature P, temperature I, temperature D) control frequency relationship table is used to represent the mapping relationship between different ambient temperatures and the PID control frequency. When obtaining the PID control frequency corresponding to the current ambient temperature based on the preset PID control frequency relationship table, in fact, the current ambient temperature is mapped in the preset PID control frequency relationship table, and the mapped PID control frequency is the PID control frequency corresponding to the current ambient temperature.
[0095] In this embodiment, first, the current ambient temperature is obtained, and then, based on the preset PID control frequency relationship table, the PID control frequency corresponding to the current ambient temperature is obtained and used as the control frequency of the air conditioning device. Thus, in this embodiment, by pre-setting the PID control frequency relationship table for representing the mapping relationship between different ambient temperatures and the PID control frequency, when obtaining the control frequency of the air conditioning device, the control frequency of the air conditioning device can be quickly mapped from the PID control frequency relationship table directly through the current ambient temperature, so as to improve the acquisition efficiency of the control frequency of the air conditioning device.
[0096] In another possible implementation manner, the step S10: obtaining the control frequency of the air conditioning device includes:
[0097] Step B11: Obtain at least two of the current environmental parameters, operating parameters, and set parameters.
[0098] It should be noted that the environmental parameter refers to the parameter of the environment where the air conditioning device is located, and the current environmental parameter refers to the parameter of the environment where the air conditioning device is located at the current moment. The environmental parameter may include environmental temperature, environmental humidity, etc. The operating parameter is the operating parameter of the air conditioning device, and the operating parameter may include operating frequency, fan speed, operating power, operating time, etc. The set parameter is the operating parameter set for the air conditioning device.
[0099] Step B12: Based on a preset frequency model, use the obtained parameters as inputs to calculate the control frequency of the air conditioning device.
[0100] It should be noted that the frequency model is used to predict and calculate the control frequency by combining the actually input parameters. The frequency model can be obtained through training with historical parameters, and the historical parameters may include historical environmental parameters, historical operating parameters, and historical set parameters.
[0101] In this embodiment, by obtaining at least two of the current environmental parameters, operating parameters, and set parameters, the obtained parameters are used as inputs to a preset frequency model, and the control frequency of the air conditioning device is calculated through this frequency model. It can be seen that in this embodiment, the control frequency of the air conditioning device is determined by combining the actual situation through the frequency model. Compared with the embodiment that uses a PID control frequency relationship table to determine, although the acquisition efficiency is relatively low, the accuracy of the control frequency of the obtained air conditioning device is relatively high.
[0102] Exemplarily, to help understand the technical concept or technical principle of the present application, please refer to Figure 3 , Figure 3 A brief flowchart of the control method for the air conditioning device of the present application is provided. Taking the preset resonance frequency range including the upper boundary frequency and the lower boundary frequency as an example, it is as follows:
[0103] At regular intervals of time T (corresponding to the above preset time), obtain the recommended frequency of use Fr of the air conditioning equipment (corresponding to the above control frequency), and then determine whether the frequency Fr is in the resonance region (corresponding to the above preset resonance frequency range). If it is determined that the frequency Fr is outside the resonance region, control the operation of the air conditioning equipment according to the frequency Fr; if it is determined that the frequency Fr is within the resonance region, calculate the upper boundary deviation rate Ph (corresponding to the deviation rate between the above control frequency and the maximum frequency) and the lower boundary deviation rate Pl (corresponding to the deviation rate between the above control frequency and the minimum frequency) through the frequency Fr, the maximum frequency of the resonance region (corresponding to the upper boundary frequency), and the minimum frequency (corresponding to the lower boundary frequency). Then, calculate the upper boundary operation duration Th through the time T and the lower boundary deviation rate Pl, and calculate the lower boundary operation duration Tl through the time T and the upper boundary deviation rate Ph. Next, the air conditioning equipment can be controlled to operate at the upper boundary frequency Fh (corresponding to the above maximum frequency) for the upper boundary operation duration Th first, and then at the lower boundary frequency Fl (corresponding to the above minimum frequency) for the lower boundary operation duration Tl; or the air conditioning equipment can be controlled to operate at the lower boundary frequency Fl (corresponding to the above minimum frequency) for the lower boundary operation duration Tl first, and then at the upper boundary frequency Fh (corresponding to the above maximum frequency) for the upper boundary operation duration Th.
[0104] It should be noted that the above examples are only for understanding the present application and do not constitute a limitation on the control method of the air conditioning equipment of the present application. Based on this technical concept, more forms of simple transformations are within the protection scope of the present application.
[0105] The embodiment of the present application also provides a control device for an air conditioning equipment. Please refer to Figure 4 , the control device of the air conditioning equipment includes:
[0106] An acquisition module 10, configured to acquire the control frequency of the air conditioning equipment;
[0107] A determination module 20, configured to determine the first operation time when the air conditioning equipment operates at the maximum frequency of the preset resonance frequency range and the second operation time when the air conditioning equipment operates at the minimum frequency of the preset resonance frequency range when the control frequency of the air conditioning equipment is within the preset resonance frequency range;
[0108] A control module 30, configured to control the air conditioning equipment to operate at the maximum frequency for the first operation time and at the minimum frequency for the second operation time.
[0109] Optionally, the determination module 20 is further configured to:
[0110] Calculate the deviation rates of the control frequency from the maximum frequency and the minimum frequency respectively according to the control frequency of the air conditioning equipment, the maximum frequency and the minimum frequency within the preset resonance frequency range;
[0111] Calculate the first running time and the second running time according to the preset running time and deviation rate; the sum of the first running time and the second running time is the preset running time.
[0112] Optionally, the control module 30 is further configured to:
[0113] Determine the smaller value between the difference between the control frequency and the maximum frequency and the difference between the control frequency and the minimum frequency;
[0114] When the difference between the control frequency and the maximum frequency is small, control the air conditioning device to first operate at the maximum frequency for the first running time, and then operate at the minimum frequency for the second running time;
[0115] When the difference between the control frequency and the minimum frequency is small, control the air conditioning device to first operate at the minimum frequency for the second running time, and then operate at the maximum frequency for the first running time.
[0116] Optionally, the control module 30 is further configured to:
[0117] Control the air conditioning device to first continuously operate at the maximum frequency for the first running time, and then continuously operate at the minimum frequency for the second running time.
[0118] Optionally, the control device of the air conditioning device further includes:
[0119] When the control frequency of the air conditioning device is outside the preset resonance frequency range, operate according to the obtained control frequency.
[0120] Optionally, the control device of the air conditioning device further includes:
[0121] After the air conditioning device operates for a preset time, return to execute the step of obtaining the control frequency of the air conditioning device; the preset time is the sum of the first running time and the second running time.
[0122] Optionally, the obtaining module 10 is further configured to:
[0123] Obtain the current ambient temperature;
[0124] Based on the preset PID control frequency relationship table, obtain the PID control frequency corresponding to the current ambient temperature as the control frequency of the air conditioning device.
[0125] Optionally, the obtaining module 10 is further configured to:
[0126] Obtain at least two of the current ambient parameters, operating parameters, and setting parameters;
[0127] Based on a preset frequency model, the obtained parameters are used as inputs to calculate the control frequency of the air conditioning device.
[0128] The control device of the air conditioning device provided by the present invention adopts the control method of the air conditioning device in the above embodiment, and can solve the technical problem that the control effect of the air conditioning device is poor when the control frequency of the air conditioning device falls within the resonance frequency range. Compared with the prior art, the beneficial effects of the control device of the air conditioning device provided by the embodiments of the present application are the same as those of the control method of the air conditioning device provided by the above embodiment, and other technical features in the control device of the air conditioning device are the same as the features disclosed in the method of the above embodiment, and will not be described in detail here.
[0129] Embodiments of the present application provide an air conditioning device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the control method of the air conditioning device in the above embodiment.
[0130] Next, refer to Figure 5 , which shows a schematic structural diagram of an air conditioning device suitable for implementing the embodiments of the present disclosure. The air conditioning device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (such as in-vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The air conditioning device shown is only an example and should not impose any limitation on the functions and usage scope of the embodiments of the present disclosure.
[0131] As Figure 5As shown, the air conditioning device may include a processing device 101 (such as a central processing unit, a graphics processing unit, etc.), which may perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 102 or a program loaded from a storage device 103 into a random access memory (RAM: Random Access Memory) 104. In the RAM 104, various programs and data required for the operation of the air conditioning device are also stored. The processing device 101, the ROM 102, and the RAM 104 are connected to each other through a bus 105. An input / output (I / O) interface 106 is also connected to the bus. Generally, the following systems may be connected to the I / O interface 106: an input device 107 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 108 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 103 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 109. The communication device 109 may allow the air conditioning device to communicate with other devices wirelessly or wiredly to exchange data. Although the figure shows an air conditioning device having various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or had alternatively.
[0132] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart may be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program codes for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication device, or installed from the storage device 103, or installed from the ROM 102. When the computer program is executed by the processing device 101, the above functions defined in the method of the embodiment of the present disclosure are executed.
[0133] The air conditioning device provided by the present invention adopts the control method of the air conditioning device in the above embodiment, and can solve the technical problem that the control effect of the air conditioning device is poor when the control frequency of the air conditioning device falls within the resonance frequency range. Compared with the prior art, the beneficial effects of the air conditioning device provided by the embodiment of the present application are the same as those of the control method of the air conditioning device provided by the above embodiment, and other technical features in the air conditioning device are the same as those disclosed in the method of the previous embodiment, and will not be elaborated here.
[0134] It should be understood that each part of the present disclosure can be implemented by hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in a suitable manner in any one or more embodiments or examples.
[0135] As described above, the above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of changes or substitutions, which should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
[0136] An embodiment of the present application provides a computer storage medium storing a running program of a smart home system that can run on a processor, and the computer-readable program instructions are used to execute the control method of the air-conditioning device in the above embodiments.
[0137] The computer storage medium provided by the embodiment of the present application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination of the above. More specific examples of the computer storage medium may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) or flash memory, optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this embodiment, the computer storage medium can be any tangible medium that contains or stores a program, and the program can be used by or combined with an instruction execution system, device, or device. The program code contained on the computer storage medium can be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0138] The above computer storage medium can be included in the air-conditioning device; it can also exist separately and not be assembled into the air-conditioning device.
[0139] The above computer storage medium carries one or more programs, which, when executed by an air conditioner, cause the air conditioner to: obtain the control frequency of the air conditioner; when the control frequency of the air conditioner is within a preset resonance frequency range, determine a first running time when the air conditioner runs at the maximum frequency within the preset resonance frequency range and a second running time when the air conditioner runs at the minimum frequency within the preset resonance frequency range; control the air conditioner to run at the maximum frequency for the first running time and at the minimum frequency for the second running time.
[0140] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0141] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that, in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, may be implemented by a dedicated hardware-based system for performing the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.
[0142] The modules described in the embodiments of the present disclosure may be implemented in software or in hardware. Wherein, the name of the module does not constitute a limitation to the unit itself in some cases.
[0143] The readable storage medium provided by the present invention is a computer storage medium. The computer storage medium stores computer-readable program instructions for executing the control method of the above air-conditioning device, and can solve the technical problem that the control effect of the air-conditioning device is poor when the control frequency of the air-conditioning device falls within the resonance frequency range. Compared with the prior art, the beneficial effects of the computer storage medium provided by the embodiments of the present application are the same as those of the control method of the air-conditioning device provided by the above embodiments, and will not be elaborated here.
[0144] The embodiments of the present application further provide a computer program product, including a computer program, and the steps of the control method of the air-conditioning device as described above are implemented when the computer program is executed by a processor.
[0145] The computer program product provided by the present application can solve the technical problem that the control effect of the air-conditioning device is poor when the control frequency of the air-conditioning device falls within the resonance frequency range. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiments of the present application are the same as those of the control method of the air-conditioning device provided by the above embodiments, and will not be elaborated here.
[0146] The above are only the preferred embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied to other related technical fields, shall be included in the patent scope of the present application by the same token.
Claims
1. A control method for an air conditioning device, characterized in that, the control method for the air conditioning device includes: obtaining the control frequency of the air conditioning device; when the control frequency of the air conditioning device is within a preset resonance frequency range, determining a first running time when the air conditioning device operates at the maximum frequency within the preset resonance frequency range and a second running time when the air conditioning device operates at the minimum frequency within the preset resonance frequency range; controlling the air conditioning device to operate at the maximum frequency for the first running time and at the minimum frequency for the second running time.
2. The control method for the air conditioning device according to claim 1, characterized in that, the step of determining the first running time when the air conditioning device operates at the maximum frequency within the preset resonance frequency range and the second running time when the air conditioning device operates at the minimum frequency within the preset resonance frequency range includes: calculating deviation rates of the control frequency from the maximum frequency and the minimum frequency respectively according to the control frequency of the air conditioning device, the maximum frequency and the minimum frequency within the preset resonance frequency range; calculating the first running time and the second running time according to a preset running time and the deviation rates; the sum of the first running time and the second running time is the preset running time.
3. The control method for the air conditioning device according to claim 1, characterized in that, the step of controlling the air conditioning device to operate at the maximum frequency for the first running time and at the minimum frequency for the second running time includes: determining the smaller value of the difference between the control frequency and the maximum frequency and the difference between the control frequency and the minimum frequency; when the difference between the control frequency and the maximum frequency is small, controlling the air conditioning device to first operate at the maximum frequency for the first running time and then at the minimum frequency for the second running time; when the difference between the control frequency and the minimum frequency is small, controlling the air conditioning device to first operate at the minimum frequency for the second running time and then at the maximum frequency for the first running time.
4. The control method according to claim 1, characterized in that, the step of controlling the air conditioning device to operate at the maximum frequency for the first running time and at the minimum frequency for the second running time includes: controlling the air conditioning device to first continuously operate at the maximum frequency for the first running time and then continuously operate at the minimum frequency for the second running time.
5. The control method for the air conditioning device according to claim 1, characterized in that, the control method for the air conditioning device further includes: when the control frequency of the air conditioning device is outside the preset resonance frequency range, operating according to the obtained control frequency.
6. The control method for the air conditioning device according to claim 1, characterized in that, the control method for the air conditioning device further includes: after the air conditioning device operates for a preset time, returning to execute the step of obtaining the control frequency of the air conditioning device; the preset time is the sum of the first running time and the second running time.
7. The control method for the air conditioning device according to claim 1, characterized in that, the obtaining of the control frequency of the air conditioning device includes: obtaining the current ambient temperature; Based on a preset PID control frequency relationship table, obtain the PID control frequency corresponding to the current ambient temperature as the control frequency of the air conditioning device.
8. The control method of the air conditioning device according to claim 1, characterized in that the obtaining of the control frequency of the air conditioning device includes: obtaining at least two of the current environmental parameters, operating parameters, and set parameters; Based on a preset frequency model, use the obtained parameters as inputs and calculate the control frequency of the air conditioning device.
9. An air conditioning device, characterized in that it includes a memory, a processor, and a control program of the air conditioning device stored in the memory and executable on the processor. When the control program is executed by the processor, it implements the steps of the control method according to any one of claims 1 to 8.
10. A computer storage medium, characterized in that it stores a control program of the air conditioning device executable on a processor, and the control program is called by the processor to implement the control method according to any one of claims 1 to 8.