Disclosure of Invention
The invention aims at the problems in the prior art, and provides an air conditioner and a control method thereof, so as to solve the technical problem that the air conditioner is stopped because the pressure at a high-pressure switch is higher than the action value of the high-pressure switch, and the requirement of a user on the air conditioner cannot be met.
In order to achieve the technical purpose, the invention is realized by adopting the following technical scheme:
a control method of air conditioner comprises the following steps:
acquiring a condensation temperature, and adjusting the operation frequency of the compressor to a set frequency when the condensation temperature is larger than a first set condensation temperature;
and acquiring the operating frequency of the compressor, controlling the operating frequency of the compressor to be reduced to be closed when the operating frequency of the compressor is smaller than or equal to the set frequency and the high-voltage pressure switch is opened, and controlling the operating frequency of the compressor to be increased and the maximum operating frequency of the compressor to be increased not to exceed the limit frequency.
In the control method of the air conditioner, when the operation frequency of the compressor is larger than the set frequency and when the condensation temperature is larger than the second set condensation temperature, the operation frequency of the compressor is adjusted to keep the condensation temperature at the second set condensation temperature, and the first set condensation temperature is larger than the second set condensation temperature.
According to the control method of the air conditioner, in the process of controlling the operation frequency of the compressor to be reduced to the high-pressure switch to be closed, the operation frequency of the compressor is controlled to be reduced in a stepwise manner.
In the control method of the air conditioner, the falling amplitude of the operation frequency of the compressor is the same, or the falling amplitude of the operation frequency of the compressor at the last time is smaller than the falling amplitude of the operation frequency of the compressor at the previous time.
In the control method of the air conditioner, the limiting frequency is smaller than the operating frequency of the compressor when the high-pressure switch is turned off.
In the control method of the air conditioner, in the process of controlling the frequency of the operation of the compressor to rise, if the frequency of the operation of the compressor rises to the limiting frequency, the high-pressure switch is not disconnected, and the operation of the compressor is controlled to be at the limiting frequency.
According to the control method of the air conditioner, in the process of controlling the frequency of the operation of the compressor to be increased, if the high-voltage pressure switch is turned off, the frequency of the operation of the compressor is controlled to be decreased to the frequency of the operation of the high-voltage pressure switch to be closed, then the frequency of the operation of the compressor is controlled to be increased, and the limit frequency in the process of increasing the frequency of the operation of the compressor at the last time is smaller than the limit frequency in the process of increasing the frequency of the operation of the compressor at the last time.
According to the control method of the air conditioner, when the air conditioner is in a heating state, the condensation temperature is the outlet temperature of the indoor heat exchanger; and when the air conditioner is in a refrigerating state, the condensation temperature is the temperature of the outdoor heat exchanger.
A computer readable storage medium storing a computer program for use in connection with the air conditioner, the computer program being executable by a processor to implement a method as described above.
An air conditioner, comprising:
the condensing temperature detection module is used for detecting condensing temperature;
and the control module is used for acquiring the operating frequency, the condensing temperature and the state of the high-pressure switch of the compressor and controlling the operating frequency of the compressor according to the control method.
Compared with the prior art, the invention has the advantages and positive effects that: the control method of the air conditioner of the invention firstly controls the operation frequency of the compressor according to the condensation temperature, ensures that the high-pressure switch is not disconnected, further controls the compressor frequency to continuously decrease until the high-pressure switch is closed when the high-pressure switch is disconnected, and then controls the operation frequency of the compressor to increase and the maximum operation frequency of the compressor to increase does not exceed the limit frequency so as to ensure that the high-pressure switch is not disconnected. Therefore, the invention controls the compressor to continue to operate but reduce the operating frequency by adjusting the operating frequency of the compressor when the high-pressure switch is turned off, and then executes the frequency-raising control when the high-pressure switch is turned off, so as to repeatedly adjust the operating frequency of the compressor, thereby ensuring the continuous operation of the air conditioning system and realizing the continuous refrigeration or heating effect.
Other features and advantages of the present invention will become apparent upon review of the detailed description of the invention in conjunction with the drawings.
Detailed Description
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are merely for explaining the technical principles of the present invention, and are not intended to limit the scope of the present invention.
It should be noted that, in the description of the present invention, terms such as "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," "outer," and the like indicate directions or positional relationships based on the directions or positional relationships shown in the drawings, which are merely for convenience of description, and do not indicate or imply that the apparatus or elements must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Furthermore, it should be noted that, in the description of the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention can be understood by those skilled in the art according to the specific circumstances.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
The control method of the air conditioner of the embodiment firstly controls the operation frequency of the compressor according to the condensation temperature, ensures that the pressure at the high-pressure switch is not higher than the action value of the high-pressure switch, further, if the pressure at the high-pressure switch is still increased to the point that the high-pressure switch is opened, controls the frequency of the compressor to continuously decrease until the high-pressure switch is closed, and then controls the operation frequency of the compressor to increase frequently and the maximum operation frequency of the compressor to increase frequently does not exceed the limit frequency so as to ensure that the pressure at the high-pressure switch is not higher than the action value of the high-pressure switch; when the frequency is increased, if the high-pressure switch acts, the operation frequency of the compressor is controlled to be reduced, the compressor is repeatedly regulated in a circulating way, so that the operation frequency of the compressor reaches a certain proper range, the continuous operation of an air conditioning system is ensured, and the continuous refrigeration or heating effect is realized.
As shown in fig. 1, the refrigerating system of the air conditioner of the embodiment comprises a compressor, a four-way valve, an indoor heat exchanger, a throttling device and an outdoor heat exchanger. The system is provided with a high-voltage pressure switch and a low-voltage pressure switch, the high-voltage pressure switch has a high-voltage action value, the low-voltage pressure switch has a low-voltage action value, the high-voltage pressure switch and the low-voltage pressure switch are normally closed switches, when the pressure at the high-voltage pressure switch is larger than the high-voltage action value, the high-voltage pressure switch is disconnected, and when the pressure at the low-voltage pressure switch is lower than the low-voltage action value, the low-voltage pressure switch is disconnected.
In order to ensure continuous operation of the air conditioner, the operation of the high-voltage pressure switch is used as one of parameters of compressor control in the embodiment, and specifically, the control method of the air conditioner in the embodiment is as follows:
when the air conditioner operates, the condensing temperature is obtained, and when the condensing temperature is larger than the second set condensing temperature, the operating frequency of the compressor is adjusted to enable the condensing temperature to be kept at the second set condensing temperature, so that the high-pressure switch is ensured not to be disconnected. The second set condensing temperature is a temperature which is determined in advance through experiments and is not opened by the high-voltage pressure switch. If the condensing temperature continues to rise, the compressor operating frequency is adjusted to a set frequency when the condensing temperature is greater than the first set condensing temperature. The first set condensing temperature is a temperature which is determined in advance through experiments, the high-voltage pressure switch cannot be turned off and is close to an action value of the high-voltage pressure switch, and the first set condensing temperature is larger than the second set condensing temperature.
And acquiring the operating frequency of the compressor, controlling the operating frequency of the compressor to be reduced to the high-pressure switch to be closed when the operating frequency of the compressor is smaller than or equal to the set frequency and the pressure at the high-pressure switch is continuously increased to the high-pressure switch to be opened, and controlling the operating frequency of the compressor to be increased and the maximum operating frequency of the compressor to be increased not to exceed the limit frequency.
Specifically, in the process of controlling the operation frequency of the compressor to be reduced to the high-pressure switch to be closed, the operation frequency of the compressor is controlled to be reduced in a stepwise manner.
The descending amplitude of the operation frequency of the compressor is the same, or the descending amplitude of the operation frequency of the next compressor is smaller than that of the operation frequency of the previous compressor, so that more accurate control is achieved.
The limiting frequency is less than the operating frequency of the compressor when the high pressure switch is open.
In the process of controlling the frequency of the operation of the compressor to be increased, if the operation frequency of the compressor is increased to the limit frequency, the high-pressure switch is not disconnected, and the compressor is controlled to operate at the limit frequency, so that the indoor air conditioner requirement is met as much as possible under the condition that the high-pressure switch is not disconnected.
In the process of controlling the frequency raising of the operating frequency of the compressor, if the high-voltage pressure switch is opened, controlling the frequency raising of the operating frequency of the compressor to be reduced to the closed state of the high-voltage pressure switch, controlling the frequency raising of the operating frequency of the compressor again, and ensuring that the limiting frequency in the frequency raising process of the operating frequency of the compressor at the last time is smaller than the limiting frequency in the frequency raising process of the operating frequency of the compressor at the last time so as to further ensure that the high-voltage pressure switch cannot be opened.
When the air conditioner is in a heating state, the condensing temperature is the outlet temperature TC2 of the indoor heat exchanger. When the air conditioner comprises a plurality of indoor heat exchangers, the condensing temperature is the average value of the outlet temperatures of all the indoor heat exchangers.
Specifically, when the air conditioner heats and operates, the outlet temperature TC2 of the indoor heat exchanger is obtained, and when the outlet temperature TC2 of the indoor heat exchanger is larger than the second set condensing temperature, the operating frequency of the compressor is adjusted to enable the outlet temperature TC2 of the indoor heat exchanger to be kept at the second set condensing temperature, so that the high-pressure switch is ensured not to be disconnected. The second set condensing temperature is a temperature which is determined in advance through experiments and is not disconnected by the high-voltage pressure switch, and the second set condensing temperature is any value of 55-58 ℃. If the outlet temperature TC2 of the indoor heat exchanger continues to rise, when the outlet temperature TC2 of the indoor heat exchanger is larger than the first set condensing temperature, the operation frequency of the compressor is regulated to be reduced to a set frequency, and the set frequency is any value of 55-65 Hz. The first set condensing temperature is a temperature which is determined in advance through experiments, the high-voltage pressure switch cannot be turned off and is close to an action value of the high-voltage pressure switch, the first set condensing temperature is any value of 59-62 ℃, and the first set condensing temperature is larger than the second set condensing temperature.
And acquiring the operating frequency of the compressor, controlling the operating frequency of the compressor to be reduced to the high-pressure switch to be closed when the operating frequency of the compressor is smaller than or equal to the set frequency and the pressure at the high-pressure switch is continuously increased to the high-pressure switch to be opened, and controlling the operating frequency of the compressor to be increased and the maximum operating frequency of the compressor to be increased not to exceed the limit frequency. Limiting frequency = operating frequency of the compressor when the high pressure switch is open-second set amplitude (10 Hz).
Specifically, in the process of controlling the operation frequency of the compressor to be reduced to the high-pressure switch to be closed, the operation frequency of the compressor is controlled to be reduced in a stepwise manner.
Wherein the decreasing amplitude of the compressor operating frequency is the same, for example, the decreasing amplitude is 20Hz, or the decreasing amplitude of the last compressor operating frequency is smaller than the decreasing amplitude of the previous compressor operating frequency, so as to achieve more accurate control.
The limiting frequency is less than the operating frequency of the compressor when the high pressure switch is open.
In the process of controlling the frequency of the operation of the compressor to be increased, if the operation frequency of the compressor is increased to the limit frequency, the high-pressure switch is not disconnected, and the compressor is controlled to operate at the limit frequency, so that the indoor air conditioner requirement is met as much as possible under the condition that the high-pressure switch is not disconnected.
In the process of controlling the frequency raising of the operating frequency of the compressor, if the high-voltage pressure switch is opened, controlling the frequency raising of the operating frequency of the compressor to be reduced to the closed state of the high-voltage pressure switch, controlling the frequency raising of the operating frequency of the compressor again, and ensuring that the limiting frequency in the frequency raising process of the operating frequency of the compressor at the last time is smaller than the limiting frequency in the frequency raising process of the operating frequency of the compressor at the last time so as to further ensure that the high-voltage pressure switch cannot be opened.
As shown in fig. 2, the method for controlling the heating state of the air conditioner according to the embodiment includes the following steps:
s1, the air conditioner normally operates in a heating state.
S2, detecting the outlet temperature TC2 of the indoor heat exchanger.
S3, judging that TC2 is larger than the second set condensing temperature, if yes, entering a step S4, otherwise, entering a step S2.
S4, adjusting the operation frequency of the compressor to enable the outlet temperature TC2 of the indoor heat exchanger to be kept at a second set condensation temperature.
S5, detecting the outlet temperature TC2 of the indoor heat exchanger.
S6, judging that TC2 is larger than the first set condensing temperature, if yes, entering a step S7, otherwise, entering a step S4.
S7, adjusting the operation frequency of the compressor to be reduced to the set frequency.
S8, acquiring the operation frequency of the compressor.
S9, judging that the operation frequency of the compressor is smaller than or equal to the set frequency and the high-pressure switch is turned off, if yes, entering the step S10, otherwise, entering the step S8.
S10, acquiring the operation frequency of the compressor, and controlling the operation frequency of the compressor to reduce the set amplitude.
And S11, judging whether the high-pressure switch is closed, if so, entering a step S12, and if not, entering a step S10 until the operation frequency of the compressor is reduced to the minimum value, and stopping.
S12, controlling the operation frequency of the compressor to perform frequency-increasing operation. The maximum operating frequency at the time of the up-conversion operation does not exceed the limit frequency.
S13, judging whether the high-voltage pressure switch is turned off, if yes, entering a step S10, otherwise, entering a step S12.
When the air conditioner is in a refrigerating state, the condensing temperature is the temperature Te of the outdoor heat exchanger.
Specifically, when the air conditioner is in refrigeration operation, the temperature Te of the outdoor heat exchanger is obtained, and when the temperature Te of the outdoor heat exchanger is larger than the second set condensing temperature, the operation frequency of the compressor is adjusted to enable the temperature Te of the outdoor heat exchanger to be kept at the second set condensing temperature so as to ensure that the high-pressure switch is not disconnected. The second set condensing temperature is a temperature which is determined in advance through experiments and is not disconnected by the high-voltage pressure switch, and the second set condensing temperature is any value of 55-58 ℃. If the temperature Te of the outdoor heat exchanger continues to rise, the operating frequency of the compressor is adjusted to be reduced to a set frequency, which is any value of 55-65Hz, when the temperature Te of the outdoor heat exchanger is greater than the first set condensing temperature. The first set condensing temperature is a temperature which is determined in advance through experiments, the high-voltage pressure switch cannot be turned off and is close to an action value of the high-voltage pressure switch, the first set condensing temperature is any value of 59-62 ℃, and the first set condensing temperature is larger than the second set condensing temperature.
And acquiring the operating frequency of the compressor, controlling the operating frequency of the compressor to be reduced to the high-pressure switch to be closed when the operating frequency of the compressor is smaller than or equal to the set frequency and the pressure at the high-pressure switch is continuously increased to the high-pressure switch to be opened, and controlling the operating frequency of the compressor to be increased and the maximum operating frequency of the compressor to be increased not to exceed the limit frequency. Limiting frequency = operating frequency of the compressor when the high pressure switch is open-second set amplitude (10 Hz).
Specifically, in the process of controlling the operation frequency of the compressor to be reduced to the high-pressure switch to be closed, the operation frequency of the compressor is controlled to be reduced in a stepwise manner.
Wherein the decreasing amplitude of the compressor operating frequency is the same, for example, the decreasing amplitude is 20Hz, or the decreasing amplitude of the last compressor operating frequency is smaller than the decreasing amplitude of the previous compressor operating frequency, so as to achieve more accurate control.
The limiting frequency is less than the operating frequency of the compressor when the high pressure switch is open.
In the process of controlling the frequency of the operation of the compressor to be increased, if the operation frequency of the compressor is increased to the limit frequency, the high-pressure switch is not disconnected, and the compressor is controlled to operate at the limit frequency, so that the indoor air conditioner requirement is met as much as possible under the condition that the high-pressure switch is not disconnected.
In the process of controlling the frequency raising of the operating frequency of the compressor, if the high-voltage pressure switch is opened, controlling the frequency raising of the operating frequency of the compressor to be reduced to the closed state of the high-voltage pressure switch, controlling the frequency raising of the operating frequency of the compressor again, and ensuring that the limiting frequency in the frequency raising process of the operating frequency of the compressor at the last time is smaller than the limiting frequency in the frequency raising process of the operating frequency of the compressor at the last time so as to further ensure that the high-voltage pressure switch cannot be opened.
As shown in fig. 3, the control method of the refrigerating state of the air conditioner of the embodiment includes the following steps:
s1, the air conditioner normally operates in a refrigeration state.
S2, detecting the temperature Te of the outdoor heat exchanger.
S3, judging that Te is larger than the second set condensing temperature, if yes, entering a step S4, otherwise, entering a step S2.
And S4, adjusting the operation frequency of the compressor to enable the temperature Te of the outdoor heat exchanger to be kept at a second set condensation temperature.
S5, detecting the temperature Te of the outdoor heat exchanger.
S6, judging that Te is larger than the first set condensing temperature, if yes, entering a step S7, otherwise, entering a step S4.
S7, adjusting the operation frequency of the compressor to be reduced to the set frequency.
S8, acquiring the operation frequency of the compressor.
S9, judging that the operation frequency of the compressor is smaller than or equal to the set frequency and the high-pressure switch is turned off, if yes, entering the step S10, otherwise, entering the step S8.
S10, acquiring the operation frequency of the compressor, and controlling the operation frequency of the compressor to reduce the set amplitude.
And S11, judging whether the high-pressure switch is closed, if so, entering a step S12, and if not, entering a step S10 until the operation frequency of the compressor is reduced to the minimum value, and stopping.
S12, controlling the operation frequency of the compressor to perform frequency-increasing operation. The maximum operating frequency at the time of the up-conversion operation does not exceed the limit frequency.
S13, judging whether the high-voltage pressure switch is turned off, if yes, entering a step S10, otherwise, entering a step S12.
The present embodiment also proposes a computer-readable storage medium storing a computer program for use in connection with an air conditioner, the computer program being executable by a processor to implement the above-mentioned method.
As shown in fig. 4, this embodiment further proposes an air conditioner, including:
the condensing temperature detection module is used for detecting condensing temperature;
and the control module is used for acquiring the operating frequency, the condensing temperature and the state of the high-pressure switch of the compressor and controlling the operating frequency of the compressor according to the control method.
According to the embodiment, the operation frequency of the compressor is repeatedly adjusted by adjusting the operation frequency of the compressor, so that the operation frequency of the compressor reaches a certain proper range, the continuous operation of an air conditioning system is ensured, and the continuous refrigeration or heating effect is realized.
The above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be apparent to one skilled in the art that modifications may be made to the technical solutions described in the foregoing embodiments, or equivalents may be substituted for some of the technical features thereof; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.