Air conditioner, control method and device thereof and storage medium
By obtaining the system operating parameters of the air conditioner, determining whether the air conditioner is short of refrigerant, the problem of high hardware costs caused by the need for multiple sensors in the prior art is solved, and the function of auxiliary refrigerant leakage detection is realized, reducing hardware costs.
Patent Information
- Application Number
- CN202311309477.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-10
- Publication Date
- 2025-04-18
AI Technical Summary
Existing air conditioners require multiple refrigerant concentration sensors when detecting refrigerant leakage, resulting in high hardware costs.
By obtaining the working current of the outdoor unit, the operating frequency of the compressor, the heat exchange temperature difference of the target heat exchanger and the ambient temperature, the air conditioner is judged based on these system operating parameters, thereby assisting in refrigerant leakage detection and reducing the number of sensors used.
It realizes the self-judging of whether the air conditioner is short of refrigerant based on the system operating parameters, assists in refrigerant leakage detection, reduces the number of sensors for refrigerant leakage detection and reduces hardware costs.
Smart Images

Figure CN119844894A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air treatment equipment, and in particular to an air conditioner and a control method, device and storage medium thereof. Background Art
[0002] In the related art, a refrigerant concentration sensor is used to detect whether there is a refrigerant leak in the air conditioner. However, this method requires multiple refrigerant concentration sensors to determine the location of the refrigerant leak, resulting in high hardware costs. Summary of the invention
[0003] The present invention aims to solve one of the technical problems in the related art to at least a certain extent. To this end, the purpose of the present invention is to provide an air conditioner and a control method, device and storage medium thereof, which can automatically determine whether the system is in a refrigerant shortage state based on system operating parameters to assist in refrigerant leakage detection, reduce the number of sensors used for refrigerant leakage detection, and reduce hardware costs.
[0004] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present invention proposes a method for controlling an air conditioner, the method comprising: when the air conditioner is operating in a target operating mode, obtaining the working current of the outdoor unit, the operating frequency of the compressor, the heat exchange temperature difference before and after the heat exchange of the target heat exchanger, and the ambient temperature of the target heat exchanger; wherein the target heat exchanger is a heat exchanger used for condensation in the target operating mode; determining the target current of the outdoor unit based on the operating frequency and the ambient temperature; and determining whether the air conditioner is in a refrigerant shortage state based on the target current, the working current and the heat exchange temperature difference.
[0005] According to one embodiment of the present invention, the heat exchange temperature difference before and after the target heat exchanger performs heat exchange is obtained, including: when the target operating mode is a cooling mode, the temperature difference between the middle temperature and the outlet temperature of the outdoor heat exchanger is obtained to obtain the heat exchange temperature difference; when the target operating mode is a heating mode, the temperature difference between the middle temperature and the outlet temperature of the indoor heat exchanger is obtained to obtain the heat exchange temperature difference.
[0006] According to one embodiment of the present invention, obtaining the ambient temperature of the target heat exchanger includes: when the target operating mode is a cooling mode, obtaining the outdoor ambient temperature to obtain the ambient temperature; when the target operating mode is a heating mode, obtaining the indoor ambient temperature to obtain the ambient temperature.
[0007] According to one embodiment of the present invention, determining the target current of the outdoor unit based on the operating frequency and the ambient temperature includes: obtaining the frequency difference between the operating frequency and the minimum allowable frequency of the compressor; and determining the target current based on the frequency difference, the operating frequency and the ambient temperature.
[0008] According to an embodiment of the present invention, determining the target current based on the frequency difference, the operating frequency and the ambient temperature includes: obtaining the product of the frequency difference, the operating frequency and the ambient temperature to obtain the target current.
[0009] According to an embodiment of the present invention, when determining the target current based on the frequency difference, the operating frequency and the ambient temperature, the method further includes: correcting one or more of the operating frequency, the ambient temperature and the target current.
[0010] According to one embodiment of the present invention, one or more of the operating frequency, ambient temperature and target current are corrected, including: subtracting a frequency correction coefficient from the operating frequency to correct the operating frequency; subtracting a reference ambient temperature from the ambient temperature to correct the ambient temperature; and multiplying the target current by a current correction coefficient to correct the target current.
[0011] According to one embodiment of the present invention, the minimum allowable frequency and the reference ambient temperature are determined based on the target operation mode, and the frequency correction factor and the current correction factor are determined based on the target operation mode and the model of the air conditioner.
[0012] According to one embodiment of the present invention, whether the air conditioner is in a refrigerant-deficient state is determined based on the target current, the operating current and the heat exchange temperature difference, including: when the operating current is less than the target current and the heat exchange temperature difference is less than the preset temperature difference threshold, determining that the air conditioner is in a refrigerant-deficient state.
[0013] According to one embodiment of the present invention, when it is determined that the air conditioner is in a refrigerant-deficient state, the method further includes: obtaining the refrigerant concentration of the indoor unit, and determining the refrigerant leakage source based on the refrigerant concentration of the indoor unit; or, obtaining the refrigerant concentration of the outdoor unit, and determining the refrigerant leakage source based on the refrigerant concentration of the outdoor unit; wherein the refrigerant leakage source is the outdoor unit or the indoor unit.
[0014] According to one embodiment of the present invention, determining the refrigerant leakage source based on the refrigerant concentration of the indoor unit includes: when the refrigerant concentration of the indoor unit is greater than a preset refrigerant concentration threshold, determining the refrigerant leakage source to be the indoor unit; when the refrigerant concentration of the indoor unit is less than or equal to the preset refrigerant concentration threshold, determining the refrigerant leakage source to be the outdoor unit; determining the refrigerant leakage source based on the refrigerant concentration of the outdoor unit includes: when the refrigerant concentration of the outdoor unit is greater than a preset refrigerant concentration threshold, determining the refrigerant leakage source to be the outdoor unit; when the refrigerant concentration of the outdoor unit is less than or equal to the preset refrigerant concentration threshold, determining the refrigerant leakage source to be the indoor unit.
[0015] According to an embodiment of the present invention, the method further includes: when the refrigerant leakage source is the indoor unit, controlling the air conditioner to recover the refrigerant; when the refrigerant leakage source is the outdoor unit, controlling the air conditioner to discharge the refrigerant.
[0016] According to one embodiment of the present invention, the indoor unit includes a first on-off valve and a second on-off valve, the first on-off valve is located between the indoor heat exchanger and the outdoor heat exchanger, and the second on-off valve is located between the indoor heat exchanger and the compressor, and the air conditioner is controlled to recover refrigerant, including: when the target operating mode is the cooling mode, the first on-off valve is first controlled to be in a closed state, and when the compressor runs for a first preset time, the second on-off valve is controlled to be in a closed state, so as to recover the refrigerant on the indoor unit side to the outdoor unit side; when the target operating mode is the heating mode, the target operating mode is switched to the cooling mode, and in the cooling mode, the first on-off valve is first controlled to be in a closed state, and when the compressor runs for a first preset time, the second on-off valve is controlled to be in a closed state, so as to recover the refrigerant on the indoor unit side to the outdoor unit side; or, the second on-off valve is first controlled to be in a closed state, and when the compressor runs for a first preset time, the first on-off valve is controlled to be in a closed state, so as to recover the refrigerant on the indoor unit side to the outdoor unit side.
[0017] According to one embodiment of the present invention, the outdoor unit includes a stop valve to control the air conditioner to discharge refrigerant, including: controlling the compressor to stop running, and controlling the first on-off valve and the second on-off valve to be in an open state, and controlling the stop valve to be in an open state to discharge the refrigerant of the air conditioner to the outside.
[0018] To achieve the above-mentioned object, a second embodiment of the present invention provides a computer-readable storage medium having a program stored thereon, which implements the aforementioned air conditioner control method when executed by a processor.
[0019] To achieve the above objectives, a third aspect of the present invention provides an air conditioner, comprising: a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, the aforementioned air conditioner control method is implemented.
[0020] To achieve the above-mentioned purpose, the fourth aspect of the present invention proposes a control device for an air conditioner, the device comprising: an acquisition module, used to acquire the working current of the outdoor unit, the operating frequency of the compressor, the heat exchange temperature difference before and after the heat exchange of the target heat exchanger, and the ambient temperature of the target heat exchanger during the operation of the air conditioner in a target operating mode; wherein the target heat exchanger is a heat exchanger used for condensation in the target operating mode; a first determination module, used to determine the target current of the outdoor unit based on the operating frequency and the ambient temperature; and a second determination module, used to determine whether the air conditioner is in a refrigerant shortage state based on the target current, the working current and the heat exchange temperature difference.
[0021] According to the air conditioner and its control method, device and storage medium of the embodiment of the present invention, when the air conditioner is operated according to the target operation mode, the working current of the outdoor unit, the operating frequency of the compressor, the heat exchange temperature difference before and after the heat exchange of the target heat exchanger, and the ambient temperature of the target heat exchanger are obtained, and the target current of the outdoor unit is determined based on the operating frequency and the ambient temperature, and whether the air conditioner is in a state of lack of refrigerant is determined based on the target current, the working current and the heat exchange temperature difference. Therefore, it is possible to judge whether the system is in a state of lack of refrigerant based on the system operation parameters to assist in refrigerant leakage detection and reduce the number of sensors used for refrigerant leakage detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 FIG. 4 is a flow chart of a method for controlling an air conditioner according to an embodiment of the present invention.
[0023] Figure 2 FIG. 1 is a schematic structural diagram of an air conditioner according to an embodiment of the present invention.
[0024] Figure 3 FIG. 4 is a flow chart of a method for controlling an air conditioner according to another embodiment of the present invention.
[0025] Figure 4 FIG. 1 is a schematic structural diagram of a control device for an air conditioner according to the present invention. DETAILED DESCRIPTION
[0026] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0027] The air conditioner and its control method, device and storage medium according to the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0028] Figure 1 FIG. 1 is a flow chart of a method for controlling an air conditioner according to an embodiment of the present invention. Figure 1 , the control method of the air conditioner may include:
[0029] S110, when the air conditioner is operating in a target operating mode, the operating current of the outdoor unit, the operating frequency of the compressor, the heat exchange temperature difference before and after the heat exchange of the target heat exchanger, and the ambient temperature of the target heat exchanger are obtained; wherein the target heat exchanger is a heat exchanger used for condensation in the target operating mode.
[0030] Specifically, the target operating mode of the air conditioner includes a cooling mode and a heating mode. When the target operating mode of the air conditioner is the cooling mode, the heat exchanger used for condensation is the outdoor heat exchanger of the air conditioner, that is, the target heat exchanger is the outdoor heat exchanger; when the target operating mode of the air conditioner is the heating mode, the heat exchanger used for condensation is the indoor heat exchanger of the air conditioner, that is, the target heat exchanger is the indoor heat exchanger.
[0031] The working current of the outdoor unit can be detected by a current sensor. The operating frequency of the compressor can be calculated based on the rotation speed of the compressor, for example, the rotation speed of the compressor is detected by a rotation speed sensor, and then the operating frequency of the compressor is calculated based on the relationship between the rotation speed and the frequency.
[0032] The heat exchange temperature difference before and after the heat exchange of the target heat exchanger can be obtained by obtaining the difference between the temperature of the target heat exchanger before heat exchange and the temperature of the target heat exchanger after heat exchange. For example, when the target heat exchanger is an outdoor heat exchanger, it can be obtained by obtaining the difference between the temperature of the outdoor heat exchanger before heat exchange and the temperature of the outdoor heat exchanger after heat exchange; when the target heat exchanger is an indoor heat exchanger, it can be obtained by obtaining the difference between the temperature of the indoor heat exchanger before heat exchange and the temperature of the indoor heat exchanger after heat exchange. The temperature of the target heat exchanger before heat exchange can be detected by setting a temperature sensor at a position before heat exchange of the target heat exchanger, and the temperature of the target heat exchanger after heat exchange can be detected by setting a temperature sensor at a position after heat exchange of the target heat exchanger.
[0033] The ambient temperature of the target heat exchanger can be obtained based on temperature sensor detection. For example, when the target heat exchanger is an outdoor heat exchanger, the ambient temperature of the outdoor heat exchanger, that is, the outdoor ambient temperature, can be obtained by detecting with a temperature sensor installed outdoors; when the target heat exchanger is an indoor heat exchanger, the ambient temperature of the indoor heat exchanger, that is, the indoor ambient temperature, can be obtained by detecting with a temperature sensor installed indoors.
[0034] When the air conditioner is operating in cooling mode, the working current of the outdoor unit, the operating frequency of the compressor, the heat exchange temperature difference before and after heat exchange of the outdoor heat exchanger, and the ambient temperature of the outdoor heat exchanger can be obtained by the above-mentioned method; when the air conditioner is operating in heating mode, the working current of the outdoor unit, the operating frequency of the compressor, the heat exchange temperature difference before and after heat exchange of the indoor heat exchanger, and the ambient temperature of the indoor heat exchanger can be obtained by the above-mentioned method.
[0035] S120, determining a target current of the outdoor unit based on the operating frequency and the ambient temperature.
[0036] Specifically, the target current of the outdoor unit can reflect the load when the air conditioner is not short of refrigerant. If the working current of the outdoor unit does not reach the target current, the air conditioner may be short of refrigerant. Therefore, the target current of the outdoor unit can be obtained, and whether the air conditioner is short of refrigerant can be determined based on the target current of the outdoor unit.
[0037] The target current of the outdoor unit can be determined based on the operating frequency of the compressor and the ambient temperature of the target heat exchanger. For example, when the target operating mode is the cooling mode, the target current of the outdoor unit can be calculated based on the operating frequency of the compressor, the ambient temperature of the outdoor heat exchanger, and the predetermined mapping relationship between the operating frequency, ambient temperature, and target current in the cooling mode; when the target operating mode is the heating mode, the target current of the outdoor unit can be calculated based on the operating frequency of the compressor, the ambient temperature of the indoor heat exchanger, and the predetermined mapping relationship between the operating frequency, ambient temperature, and target current in the heating mode.
[0038] S130, determining whether the air conditioner is in a refrigerant shortage state according to the target current, the operating current and the heat exchange temperature difference.
[0039] Specifically, whether the air conditioner is short of refrigerant can be determined based on the relationship between the target current of the outdoor unit and the working current of the outdoor unit, and the heat exchange temperature difference before and after the heat exchange of the target heat exchanger.
[0040] For example, when the target operating mode is the cooling mode, if the operating current of the outdoor unit does not reach the target current, and the heat exchange temperature difference before and after the heat exchange of the outdoor heat exchanger does not reach a certain value, it means that the current load of the outdoor unit is small, and the heat exchange capacity of the outdoor heat exchanger is small, and it can be considered that the air conditioner lacks refrigerant; when the target operating mode is the heating mode, if the operating current of the outdoor unit does not reach the target current, and the heat exchange temperature difference before and after the heat exchange of the indoor heat exchanger does not reach a certain value, it means that the current load of the outdoor unit is small, and the heat exchange capacity of the indoor heat exchanger is small, and it can be considered that the air conditioner lacks refrigerant.
[0041] In this way, based on the system operating parameters, it is possible to determine whether the system is in a refrigerant shortage state, so as to assist in refrigerant leak detection, reduce the number of sensors used for refrigerant leak detection, and reduce hardware costs.
[0042] In some embodiments, the heat exchange temperature difference before and after the target heat exchanger performs heat exchange is obtained, including: when the target operating mode is a cooling mode, the temperature difference between the middle temperature and the outlet temperature of the outdoor heat exchanger is obtained to obtain the heat exchange temperature difference; when the target operating mode is a heating mode, the temperature difference between the middle temperature and the outlet temperature of the indoor heat exchanger is obtained to obtain the heat exchange temperature difference.
[0043] For ease of explanation, Figure 2The air conditioner shown is taken as an example, but this cannot be regarded as a limitation of the present application.
[0044] Reference Figure 2 The air conditioner includes an indoor unit 100 and an outdoor unit 200. The indoor unit 100 includes an indoor heat exchanger 101, etc., and the outdoor unit 200 includes a compressor 201, an oil separator 202, a four-way valve 203, a throttling component 204, an outdoor heat exchanger 205, a liquid storage tank 206 and an outdoor electronic control device 207, etc.
[0045] When the target operation mode of the air conditioner is the cooling mode, the a end of the four-way valve 203 is connected to the b end, and the c end is connected to the d end. At this time, the refrigerant flows as follows: the exhaust port of the compressor 201 → the oil separator 202 → the a end and the b end of the four-way valve 203 → the outdoor heat exchanger 205 → the throttling component 204 → the outdoor electric control device 207 → the indoor heat exchanger 101 → the c end and the d end of the four-way valve 203 → the liquid storage tank 206 → the return air port of the compressor 201. Accordingly, the heat exchange temperature difference before and after the heat exchange of the target heat exchanger is the heat exchange temperature difference before and after the heat exchange of the outdoor heat exchanger 205, which can be obtained by detecting the temperature before the heat exchange by the temperature sensor Tc arranged in the middle of the outdoor heat exchanger, and detecting the temperature after the heat exchange by the temperature sensor T3 arranged at the outlet of the outdoor heat exchanger, and then calculating the difference between the two.
[0046] In this embodiment, the middle temperature of the outdoor heat exchanger is used as the temperature before heat exchange. Compared with using the inlet temperature of the outdoor heat exchanger as the temperature before heat exchange, the influence of the high-temperature and high-pressure refrigerant output by the compressor on the temperature before heat exchange is reduced, and the accuracy of obtaining the temperature of the outdoor heat exchanger before heat exchange is improved.
[0047] When the target operation mode of the air conditioner is the heating mode, the a end of the four-way valve 203 is connected to the d end, and the c end is connected to the b end. At this time, the refrigerant flows as follows: the exhaust port of the compressor 201 → the oil separator 202 → the a end and the d end of the four-way valve 203 → the indoor heat exchanger 101 → the outdoor electric control device 207 → the throttling component 204 → the outdoor heat exchanger 205 → the b end and the c end of the four-way valve 203 → the liquid storage tank 206 → the return air port of the compressor 201. Accordingly, the heat exchange temperature difference before and after the heat exchange of the target heat exchanger is the heat exchange temperature difference before and after the heat exchange of the indoor heat exchanger 101, which can be obtained by detecting the temperature before the heat exchange by the temperature sensor T2 set in the middle of the indoor heat exchanger, and detecting the temperature after the heat exchange by the temperature sensor Te set at the outlet of the indoor heat exchanger, and then calculating the difference between the two.
[0048] In this embodiment, the middle temperature of the indoor heat exchanger is used as the temperature before heat exchange. Compared with using the inlet temperature of the indoor heat exchanger as the temperature before heat exchange, the influence of the high-temperature and high-pressure refrigerant output by the compressor on the temperature before heat exchange is reduced, thereby improving the accuracy of obtaining the temperature of the indoor heat exchanger before heat exchange.
[0049] In some embodiments, when obtaining the heat exchange temperature difference before and after the heat exchange of the target heat exchanger, the average of the heat exchange temperature difference within a period of time can be obtained to improve the accuracy of the heat exchange temperature difference, thereby improving the accuracy of subsequent judgments. In addition, in order to prevent the frequency change of the compressor from affecting the temperature, the heat exchange temperature difference before and after the heat exchange of the target heat exchanger can be obtained after the compressor is running stably, thereby improving the accuracy of subsequent judgments.
[0050] Exemplarily, when the air conditioner is operating in the target operating mode, the operating frequency of the compressor is obtained. After the operating frequency of the compressor is in a stable state, that is, the operating frequency of the compressor remains unchanged for a period of time, the middle temperature and outlet temperature of the target heat exchanger for a period of time can be obtained through a temperature sensor, and multiple heat exchange temperature differences are calculated based on the middle temperature and the outlet temperature, and the multiple heat exchange temperature differences are averaged to obtain the final heat exchange temperature difference of the target heat exchanger.
[0051] In some embodiments, obtaining the ambient temperature of the target heat exchanger includes: when the target operating mode is a cooling mode, obtaining the outdoor ambient temperature to obtain the ambient temperature; when the target operating mode is a heating mode, obtaining the indoor ambient temperature to obtain the ambient temperature.
[0052] Specifically, when the target operating mode of the air conditioner is the cooling mode, the target heat exchanger is the outdoor heat exchanger, and the ambient temperature of the target heat exchanger is the ambient temperature of the outdoor heat exchanger. Since the outdoor heat exchanger is installed outdoors, the ambient temperature of the outdoor heat exchanger is also the outdoor ambient temperature, which can be specifically obtained by detecting with a temperature sensor installed outdoors; when the target operating mode of the air conditioner is the heating mode, the target heat exchanger is the indoor heat exchanger, and the ambient temperature of the target heat exchanger is the ambient temperature of the indoor heat exchanger. Since the indoor heat exchanger is installed indoors, the ambient temperature of the indoor heat exchanger is also the indoor ambient temperature, which can be specifically obtained by detecting with a temperature sensor installed indoors.
[0053] In some embodiments, when obtaining the ambient temperature of the target heat exchanger, the average value of the ambient temperature over a period of time may be obtained to improve the accuracy of the ambient temperature, thereby improving the accuracy of subsequent judgments. In addition, in order to prevent the frequency change of the compressor from affecting the temperature, the ambient temperature may be obtained after the compressor is running stably, thereby improving the accuracy of subsequent judgments.
[0054] Exemplarily, when the air conditioner is operating in the target operating mode, the operating frequency of the compressor is obtained. After the operating frequency of the compressor is in a stable state, that is, the operating frequency of the compressor remains unchanged for a period of time, the ambient temperature of the target heat exchanger for a period of time can be obtained through a temperature sensor, and the ambient temperature is averaged to obtain the final ambient temperature of the target heat exchanger.
[0055] In some embodiments, determining the target current of the outdoor unit based on the operating frequency and the ambient temperature includes: obtaining the frequency difference between the operating frequency and the minimum allowed frequency of the compressor; and determining the target current based on the frequency difference, the operating frequency and the ambient temperature.
[0056] Specifically, the target current of the outdoor unit under different compressor operating frequencies and different ambient temperatures can be obtained in advance through experimental tests, and then these data are curve fitted to obtain the mapping relationship between the compressor operating frequency, ambient temperature and target current. In practical applications, the mapping relationship can be stored and directly called when needed. Exemplarily, the mapping relationship between the compressor operating frequency, ambient temperature and target current is shown in the following formula:
[0057] DL_0=(FR-FR min )×FR×T avg
[0058] Among them, DL_0 is the target current of the outdoor unit, FR is the operating frequency of the compressor, and FR min is the minimum allowable frequency of the compressor, T avg is the ambient temperature of the target heat exchanger, and the average value is used here.
[0059] In different target operating modes, the mapping relationship between the compressor operating frequency, the ambient temperature and the target current is different, for example, the minimum allowable frequency of the compressor is different.
[0060] Exemplarily, when the target operating mode of the air conditioner is the cooling mode, the mapping relationship between the compressor operating frequency, the ambient temperature and the target current is as shown in the following formula:
[0061] DL_0_COOL=(FR-FR min_COOL )×FR×T 4_avg
[0062] Among them, DL_0_COOL is the target current of the outdoor unit in cooling mode, FR is the operating frequency of the compressor, and FR min_COoL is the minimum allowable frequency of the compressor in cooling mode, T 4_avg is the ambient temperature of the outdoor heat exchanger, that is, the outdoor ambient temperature, and the average value is used here.
[0063] Exemplarily, when the target operation mode of the air conditioner is the heating mode, the mapping relationship between the compressor operation frequency, the ambient temperature and the target current is as shown in the following formula:
[0064] DL_0_HEAT=(FR-FR min_HEAT )×FR×T1_ avg
[0065] Among them, DL_0_HEAT is the target current of the outdoor unit in heating mode, FR is the operating frequency of the compressor, and FR min_HEAT is the minimum allowable frequency of the compressor in heating mode, T 1_avg is the ambient temperature of the indoor heat exchanger, that is, the indoor ambient temperature, and the average value is used here.
[0066] In actual application, after obtaining the operating frequency of the compressor and the ambient temperature of the target heat exchanger, the target current of the outdoor unit can be calculated through the above-mentioned mapping relationship, that is, the target current is obtained by calculating the product of the frequency difference of the compressor, the operating frequency of the compressor and the ambient temperature.
[0067] In some embodiments, when determining the target current based on the frequency difference, the operating frequency and the ambient temperature, the method further includes: correcting one or more of the operating frequency, the ambient temperature and the target current. That is, the operating frequency, the ambient temperature, the initially calculated target current, or two or three of the three may be corrected to make the calculated target current more accurate.
[0068] In some embodiments, one or more of the operating frequency, ambient temperature, and target current are corrected, including: subtracting a frequency correction coefficient from the operating frequency to correct the operating frequency; subtracting a reference ambient temperature from the ambient temperature to correct the ambient temperature; and multiplying the target current by a current correction coefficient to correct the target current.
[0069] Exemplarily, the mapping relationship among the modified compressor operating frequency, ambient temperature and target current is shown in the following formula:
[0070] DL_0 = a × (FR - FR min )×(FR-Q)×(T avg -T0)
[0071] Among them, DL_0 is the target current of the outdoor unit, a is the current correction coefficient, FR is the operating frequency of the compressor, and FR min is the minimum allowable frequency of the compressor, Q is the frequency correction factor, T avg is the ambient temperature of the target heat exchanger, the average value is used here, and T0 is the reference ambient temperature.
[0072] In different target operation modes, the mapping relationship between the corrected compressor operation frequency, the ambient temperature and the target current is different, for example, each correction coefficient is different.
[0073] Exemplarily, when the target operating mode of the air conditioner is the cooling mode, the mapping relationship between the corrected compressor operating frequency, the ambient temperature and the target current is as shown in the following formula:
[0074] DL_0_COOL=a COoL ×(FR-FR min_COOL )×(FR-Q COOL )×(T 4_avg -T0 COOL )
[0075] Among them, DL_0_COOL is the target current of the outdoor unit in cooling mode, a COOL is the current correction factor in cooling mode, FR is the operating frequency of the compressor, and FR min_COOL is the minimum allowable frequency of the compressor in cooling mode, Q COOL is the frequency correction coefficient in cooling mode, and different models of air conditioners have different frequency correction coefficients. 4_avg is the ambient temperature of the outdoor heat exchanger, that is, the outdoor ambient temperature, the average value is used here, T0 CooL It is the reference ambient temperature in cooling mode, and different models of air conditioners have different reference ambient temperatures.
[0076] Exemplarily, when the target operation mode of the air conditioner is the heating mode, the mapping relationship among the corrected compressor operation frequency, the ambient temperature and the target current is as shown in the following formula:
[0077] DL_0_HEAT=a HEAT ×(FR-FR min_HEAT )×(FR-Q HEAT )×(T 1_avg -T0 HEAT )
[0078] Among them, DL_0_HEAT is the target current of the outdoor unit in heating mode, a HEAT is the current correction factor in heating mode, FR is the operating frequency of the compressor, and FR min_HEAT is the minimum allowable frequency of the compressor in heating mode, Q HEAT is the frequency correction coefficient in heating mode, and different models of air conditioners have different frequency correction coefficients, T 1_avg is the ambient temperature of the indoor heat exchanger, that is, the indoor ambient temperature, the average value is used here, T0 HEAT It is the reference ambient temperature in heating mode, and different models of air conditioners have different reference ambient temperatures.
[0079] In actual application, after the operating frequency of the compressor and the ambient temperature of the target heat exchanger are obtained, the target current of the outdoor unit can be calculated through the above-mentioned mapping relationship.
[0080] In some embodiments, whether the air conditioner is in a refrigerant-deficient state is determined based on the target current, the operating current and the heat exchange temperature difference, including: when the operating current is less than the target current and the heat exchange temperature difference is less than a preset temperature difference threshold, determining that the air conditioner is in a refrigerant-deficient state.
[0081] Specifically, when the working current is less than the target current and the heat exchange temperature difference before and after the heat exchange of the target heat exchanger is less than the preset temperature difference threshold, it means that the current load of the air conditioner is reduced and the heat exchange capacity of the target heat exchanger is small. At this time, it can be considered that the air conditioner is short of refrigerant; when the working current is greater than or equal to the target current, or the heat exchange temperature difference before and after the heat exchange of the target heat exchanger is greater than or equal to the preset temperature difference threshold, it can be considered that the air conditioner is not short of refrigerant.
[0082] In this way, based on the relationship between the working current of the outdoor unit and the target current of the outdoor unit, and the relationship between the heat exchange temperature difference before and after the heat exchange of the target heat exchanger and the preset temperature difference threshold, it is possible to accurately determine whether the air conditioner is short of refrigerant, thereby assisting in refrigerant leak detection, reducing the number of sensors used for refrigerant leak detection, reducing hardware costs, and having higher accuracy.
[0083] In some embodiments, when it is determined that the air conditioner is in a refrigerant-deficient state, the method also includes: obtaining the refrigerant concentration of the indoor unit, and determining the refrigerant leakage source based on the refrigerant concentration of the indoor unit; or, obtaining the refrigerant concentration of the outdoor unit, and determining the refrigerant leakage source based on the refrigerant concentration of the outdoor unit; wherein the refrigerant leakage source is the outdoor unit or the indoor unit.
[0084] Specifically, when the air conditioner is short of refrigerant, the refrigerant concentration detected by the refrigerant concentration sensor can be further combined to determine the specific location of the refrigerant leakage, such as the indoor unit or the outdoor unit.
[0085] As an example, a refrigerant concentration sensor may be provided in the indoor unit, and the refrigerant concentration of the indoor unit may be detected by the refrigerant concentration sensor. When it is determined that the air conditioner is short of refrigerant by the aforementioned method, the refrigerant concentration of the indoor unit may be obtained, and then whether a refrigerant leak occurs in the indoor unit according to the refrigerant concentration of the indoor unit. If a refrigerant leak occurs in the indoor unit, the refrigerant leakage source is determined to be the indoor unit; if a refrigerant leak does not occur in the indoor unit, the refrigerant leakage source is determined to be the outdoor unit.
[0086] In some embodiments, determining the refrigerant leakage source based on the refrigerant concentration of the indoor unit includes: when the refrigerant concentration of the indoor unit is greater than a preset refrigerant concentration threshold, determining that the refrigerant leakage source is the indoor unit; when the refrigerant concentration of the indoor unit is less than or equal to the preset refrigerant concentration threshold, determining that the refrigerant leakage source is the outdoor unit.
[0087] Among them, the preset refrigerant concentration threshold can be zero or a smaller value close to zero. If the detected refrigerant concentration of the indoor unit is greater than the preset refrigerant concentration threshold, it means that a refrigerant leakage has occurred in the indoor unit, that is, the source of the refrigerant leakage is the indoor unit; if the detected refrigerant concentration of the indoor unit is less than or equal to the preset refrigerant concentration threshold, it means that no refrigerant leakage has occurred in the indoor unit, and the source of the refrigerant leakage is the outdoor unit.
[0088] As another example, a refrigerant concentration sensor may be provided in the outdoor unit, and the refrigerant concentration of the outdoor unit may be detected by the refrigerant concentration sensor. When it is determined that the air conditioner is short of refrigerant by the aforementioned method, the refrigerant concentration of the outdoor unit may be obtained, and then whether the outdoor unit has a refrigerant leak may be determined based on the refrigerant concentration of the outdoor unit. If the outdoor unit has a refrigerant leak, the refrigerant leak source is determined to be the outdoor unit; if the outdoor unit has no refrigerant leak, the refrigerant leak source is determined to be the indoor unit.
[0089] In some embodiments, determining the refrigerant leakage source based on the refrigerant concentration of the outdoor unit includes: when the refrigerant concentration of the outdoor unit is greater than a preset refrigerant concentration threshold, determining that the refrigerant leakage source is the outdoor unit; when the refrigerant concentration of the outdoor unit is less than or equal to the preset refrigerant concentration threshold, determining that the refrigerant leakage source is the indoor unit.
[0090] Among them, the preset refrigerant concentration threshold can be zero or a smaller value close to zero. If the detected refrigerant concentration of the outdoor unit is greater than the preset refrigerant concentration threshold, it means that a refrigerant leakage has occurred in the outdoor unit, that is, the source of the refrigerant leakage is the outdoor unit; if the detected refrigerant concentration of the outdoor unit is less than or equal to the preset refrigerant concentration threshold, it means that no refrigerant leakage has occurred in the outdoor unit, and the source of the refrigerant leakage is the indoor unit.
[0091] Furthermore, after the refrigerant leakage source is determined, an error code may be displayed. For example, when a refrigerant leak occurs in the indoor unit, a corresponding error code may be displayed on the display panel of the indoor unit; when a refrigerant leak occurs in the outdoor unit, a corresponding error code may be displayed on the display panel of the indoor unit, and the error code is different from that when a refrigerant leak occurs in the indoor unit. In addition, when the air conditioner is short of refrigerant, a corresponding error code may also be displayed on the display panel of the indoor unit.
[0092] In this way, the system can determine whether it is in a refrigerant shortage state based on the system operating parameters, and when there is a refrigerant shortage, the specific location of the refrigerant leakage can be determined based on the refrigerant concentration sensor installed in the indoor unit or outdoor unit. In comparison, by respectively installing refrigerant concentration sensors in the indoor unit and the outdoor unit for refrigerant leakage detection, the use of refrigerant concentration sensors is reduced, and the hardware cost is reduced.
[0093] In some embodiments, the method further includes: when the refrigerant leakage source is the indoor unit, controlling the air conditioner to recover the refrigerant; when the refrigerant leakage source is the outdoor unit, controlling the air conditioner to discharge the refrigerant.
[0094] Specifically, when it is determined that the source of the refrigerant leakage is the indoor unit, in order to avoid further leakage of the refrigerant and causing refrigerant waste, the air conditioner can be controlled to recover the refrigerant, such as recovering the refrigerant of the indoor unit to the outdoor unit side; when it is determined that the source of the refrigerant leakage is the outdoor unit, in order to avoid further leakage of the refrigerant, the air conditioner can be controlled to recover the refrigerant, such as recovering the refrigerant of the outdoor unit to the indoor unit side, but considering the safety hazard of a large amount of refrigerant accumulated on the indoor side, when refrigerant leakage occurs in the outdoor unit, the air conditioner is directly controlled to discharge the refrigerant.
[0095] In some embodiments, the indoor unit includes a first on-off valve and a second on-off valve, the first on-off valve is located between the indoor heat exchanger and the outdoor heat exchanger, and the second on-off valve is located between the indoor heat exchanger and the compressor, and the air conditioner is controlled to recover refrigerant, including: when the target operating mode is the cooling mode, first control the first on-off valve to be in a closed state, and when the compressor runs for a first preset time, then control the second on-off valve to be in a closed state, so as to recover the refrigerant on the indoor unit side to the outdoor unit side; when the target operating mode is the heating mode, the target operating mode is switched to the cooling mode, and in the cooling mode, first control the first on-off valve to be in a closed state, and when the compressor runs for a first preset time, then control the second on-off valve to be in a closed state, so as to recover the refrigerant on the indoor unit side to the outdoor unit side; or, first control the second on-off valve to be in a closed state, and when the compressor runs for a first preset time, then control the first on-off valve to be in a closed state, so as to recover the refrigerant on the indoor unit side to the outdoor unit side.
[0096] Specifically, when recovering refrigerant, when the target operation mode is the cooling mode, the first on-off valve and the second on-off valve can be controlled in a certain order, and the compressor can be controlled to operate to recover the refrigerant of the indoor unit to the outdoor unit. When the target operation mode is the heating mode, there are two recovery methods. One is to first switch the target operation mode to the cooling mode, and then recover the refrigerant according to the refrigerant recovery method in the cooling mode; the other is to control the first on-off valve and the second on-off valve in a certain order in the heating mode, and control the compressor to operate to recover the refrigerant of the indoor unit to the outdoor unit. In this way, refrigerant waste can be reduced.
[0097] For ease of explanation, Figure 2 The air conditioner shown is taken as an example, but this cannot be regarded as a limitation of the present application.
[0098] Reference Figure 2 The indoor unit 100 includes a first on-off valve 102 and a second on-off valve 103 . The first on-off valve 102 is located between the indoor heat exchanger 101 and the outdoor heat exchanger 205 , and the second on-off valve 103 is located between the indoor heat exchanger 101 and the compressor 201 .
[0099] When the target operation mode is the cooling mode, the first on-off valve 102 is first controlled to be in a closed state, and the compressor 201 is controlled to run. At this time, the refrigerant of the indoor unit passes through the second on-off valve 103, the c end and the d end of the four-way valve 203, the liquid storage tank 206, the return air port of the compressor 201, the exhaust port of the compressor 201, the oil separator 202, the a end and the b end of the four-way valve 203, the outdoor heat exchanger 205 and the throttling component 204 in sequence. Since the first on-off valve 102 is in a closed state, the refrigerant passing through the throttling component 204 will no longer enter the indoor heat exchanger 101. After the first preset time, the refrigerant of the indoor unit will be recovered to the outdoor unit side. At this time, the second on-off valve 103 is controlled to be in a closed state, and the compressor 201 is controlled to stop running, so that the refrigerant on the indoor unit side is recovered to the outdoor unit side. In this process, the indoor fan can also be controlled to be in a running state to discharge the leaked refrigerant out of the indoor unit.
[0100] When the target operating mode is the heating mode, one way is to switch the target operating mode to the cooling mode, such as switching and controlling the four-way valve 203 so that the a end of the four-way valve 203 is connected to the b end, and the c end is connected to the d end, and then in the cooling mode, the refrigerant is recovered in the above-mentioned manner.
[0101] Another way is that in the heating mode, the second on-off valve 103 is first controlled to be in a closed state, and the compressor 201 is controlled to run. At this time, the refrigerant of the indoor unit passes through the first on-off valve 102, the outdoor electric control device 207, the throttling component 204, the outdoor heat exchanger 205, the b end and the c end of the four-way valve 203, the liquid storage tank 206, the return air port of the compressor 201, the exhaust port of the compressor 201, the oil separator 202, and the a end and the d end of the four-way valve 203. Since the second on-off valve 103 is in a closed state, the refrigerant passing through the four-way valve 203 will no longer enter the indoor heat exchanger 101. After the first preset time, the refrigerant of the indoor unit will be recovered to the outdoor unit side. At this time, the first on-off valve 102 is controlled to be in a closed state, and the compressor 201 is controlled to stop running, so that the refrigerant on the indoor unit side is recovered to the outdoor unit side. In this process, the indoor fan can also be controlled to be in a running state to discharge the leaked refrigerant from the indoor unit.
[0102] In some embodiments, the outdoor unit includes a stop valve to control the air conditioner to discharge refrigerant, including: controlling the compressor to stop running, controlling the first on-off valve and the second on-off valve to be in an open state, and controlling the stop valve to be in an open state to discharge the refrigerant of the air conditioner to the outside.
[0103] For ease of explanation, Figure 2 The air conditioner shown is taken as an example, but this cannot be regarded as a limitation of the present application.
[0104] Reference Figure 2The outdoor unit 200 includes a stop valve 208. When discharging the refrigerant, the compressor 201 is stopped, and the stop valve 208, the first on-off valve 102, and the second on-off valve 103 are controlled to be in an open state to discharge the refrigerant in the air conditioner to the outside. After a period of time, the stop valve 208 is controlled to be in a closed state. In this process, the outdoor fan can also be controlled to be in a running state to discharge the leaked refrigerant out of the outdoor unit.
[0105] As a specific example, see Figure 3 , the control method of the air conditioner may include:
[0106] S301, the air conditioner is turned on and operated.
[0107] S302, obtaining the operating frequency FR of the compressor.
[0108] S303, if the air conditioner is operated in cooling mode, then after the compressor is running stably, that is, the operating frequency FR of the compressor remains unchanged for a period of time, the ambient temperature T4 of the outdoor heat exchanger, the middle temperature Tc of the outdoor heat exchanger, the outlet temperature T3 of the outdoor heat exchanger, the working current DL of the outdoor unit, and the operating frequency FR of the compressor are obtained within a period of time, and these data are averaged respectively to obtain the final ambient temperature T4_avg, middle temperature Tc_avg, outlet temperature T3_avg, and working current DL_avg of the outdoor heat exchanger.
[0109] S304, calculate the target current of the outdoor unit DL_0_COOL=a COOL ×(FR-FR min_COOL )×(FR-QCOOL×T4_avg-T0COOL and the heat exchange temperature difference before and after the outdoor heat exchanger △Tc=Tc _avg -T3 _avg .
[0110] S305, determine DL _avg Is it less than DL_0_COOL and is ΔTc less than a preset temperature difference threshold? If yes, execute S306; if not, execute S303.
[0111] S306: The air conditioner is in a refrigerant-deficient operating state.
[0112] S307, if the air conditioner is operated in cooling mode, then after the compressor is running stably, that is, the operating frequency FR of the compressor remains unchanged for a period of time, the ambient temperature T1 of the indoor heat exchanger, the middle temperature T2 of the indoor heat exchanger, the outlet temperature Te of the indoor heat exchanger, the working current DL of the outdoor unit, and the operating frequency FR of the compressor are obtained within a period of time, and these data are averaged respectively to obtain the final ambient temperature T1_avg, middle temperature T2_avg, outlet temperature Te_avg, and working current DL_avg of the indoor heat exchanger.
[0113] S308, calculate target current DL_0_HEAT=a HEAT ×(FR-FR min_HEAT )×(FR-Q HEAT )×(T 1_avg -T0 HEAT ) and the heat exchange temperature difference before and after the indoor heat exchanger △Te=T2 _avg -Te _avg .
[0114] S309, determine DL _avg Is it less than DL_0_HEAT and is ΔTe less than a preset temperature difference threshold? If yes, execute S306; if not, execute S307.
[0115] S310, turn on the refrigerant concentration sensor of the indoor unit to detect the refrigerant concentration and prompt an error code.
[0116] S311, determine whether the refrigerant concentration is greater than a preset refrigerant concentration threshold, if yes, execute S312; if no, execute S313.
[0117] S312, recovering the refrigerant.
[0118] S313, discharge the refrigerant.
[0119] In summary, according to the control method of the air conditioner of the embodiment of the present invention, when the air conditioner is operated according to the target operation mode, the working current of the outdoor unit, the operating frequency of the compressor, the heat exchange temperature difference before and after the heat exchange of the target heat exchanger, and the ambient temperature of the target heat exchanger are obtained, and the target current of the outdoor unit is determined based on the operating frequency and the ambient temperature, and whether the air conditioner is in a state of lack of refrigerant is determined based on the target current, the working current and the heat exchange temperature difference. Therefore, it is possible to judge whether the system is in a state of lack of refrigerant based on the system operation parameters to assist in refrigerant leakage detection and reduce the number of sensors used for refrigerant leakage detection.
[0120] In some embodiments, a computer-readable storage medium is further provided, on which a program is stored, and when the program is executed by a processor, the aforementioned air conditioner control method is implemented.
[0121] It should be pointed out that the above-mentioned explanation of the embodiments and beneficial effects of the air conditioner control method is also applicable to the computer-readable storage medium of the embodiment of the present invention, and will not be elaborated here in detail to avoid redundancy.
[0122] In some embodiments, an air conditioner is also provided, including: a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, the aforementioned air conditioner control method is implemented.
[0123] It should be pointed out that the above-mentioned explanation of the embodiments and beneficial effects of the air conditioner control method are also applicable to the air conditioner of the embodiment of the present invention, and will not be elaborated here in detail to avoid redundancy.
[0124] In some embodiments, a control device for an air conditioner is also provided. Figure 4 The air conditioner control device 400 includes: an acquisition module 410, a first determination module 420 and a second determination module 430.
[0125] Among them, the acquisition module 410 is used to obtain the working current of the outdoor unit, the operating frequency of the compressor, the heat exchange temperature difference before and after the heat exchange of the target heat exchanger, and the ambient temperature of the target heat exchanger when the air conditioner is operating in the target operating mode; wherein the target heat exchanger is a heat exchanger used for condensation in the target operating mode; the first determination module 420 is used to determine the target current of the outdoor unit based on the operating frequency and the ambient temperature; the second determination module 430 is used to determine whether the air conditioner is in a refrigerant shortage state based on the target current, the working current and the heat exchange temperature difference.
[0126] According to one embodiment of the present invention, the acquisition module 410 is used to: when the target operating mode is a cooling mode, obtain the temperature difference between the middle temperature and the outlet temperature of the outdoor heat exchanger to obtain the heat exchange temperature difference; when the target operating mode is a heating mode, obtain the temperature difference between the middle temperature and the outlet temperature of the indoor heat exchanger to obtain the heat exchange temperature difference.
[0127] According to an embodiment of the present invention, the acquisition module 410 is used to: when the target operation mode is the cooling mode, acquire the outdoor ambient temperature to obtain the ambient temperature; when the target operation mode is the heating mode, acquire the indoor ambient temperature to obtain the ambient temperature.
[0128] According to an embodiment of the present invention, the first determination module 420 is specifically used to: obtain a frequency difference between the operating frequency and the minimum allowable frequency of the compressor; and determine a target current based on the frequency difference, the operating frequency and the ambient temperature.
[0129] According to an embodiment of the present invention, the first determination module 420 is specifically used to obtain the product of the frequency difference, the operating frequency and the ambient temperature to obtain the target current.
[0130] According to an embodiment of the present invention, the first determination module 420 is further configured to correct one or more of the operating frequency, the ambient temperature and the target current.
[0131] According to one embodiment of the present invention, the first determination module 420 is specifically used to: subtract the frequency correction coefficient from the operating frequency to correct the operating frequency; and / or, subtract the reference ambient temperature from the ambient temperature to correct the ambient temperature; and / or, multiply the target current by the current correction coefficient to correct the target current.
[0132] According to one embodiment of the present invention, the minimum allowable frequency and the reference ambient temperature are determined based on the target operation mode, and the frequency correction factor and the current correction factor are determined based on the target operation mode and the model of the air conditioner.
[0133] According to an embodiment of the present invention, the second determination module 430 is specifically used to determine that the air conditioner is in a refrigerant shortage state when the operating current is less than the target current and the heat exchange temperature difference is less than a preset temperature difference threshold.
[0134] According to one embodiment of the present invention, the second determination module 430 is also used for: when it is determined that the air conditioner is in a refrigerant-deficient state, obtaining the refrigerant concentration of the indoor unit, and determining the refrigerant leakage source based on the refrigerant concentration of the indoor unit; or, obtaining the refrigerant concentration of the outdoor unit, and determining the refrigerant leakage source based on the refrigerant concentration of the outdoor unit; wherein the refrigerant leakage source is the outdoor unit or the indoor unit.
[0135] According to one embodiment of the present invention, the second determination module 430 is specifically used to: when the refrigerant concentration of the indoor unit is greater than a preset refrigerant concentration threshold, determine that the refrigerant leakage source is the indoor unit; when the refrigerant concentration of the indoor unit is less than or equal to the preset refrigerant concentration threshold, determine that the refrigerant leakage source is the outdoor unit.
[0136] According to one embodiment of the present invention, the second determination module 430 is specifically used to: when the refrigerant concentration of the outdoor unit is greater than a preset refrigerant concentration threshold, determine that the refrigerant leakage source is the outdoor unit; when the refrigerant concentration of the outdoor unit is less than or equal to the preset refrigerant concentration threshold, determine that the refrigerant leakage source is the indoor unit.
[0137] According to one embodiment of the present invention, the device further includes: a control module (not shown) for controlling the air conditioner to recover the refrigerant when the refrigerant leakage source is the indoor unit; and controlling the air conditioner to discharge the refrigerant when the refrigerant leakage source is the outdoor unit.
[0138] According to one embodiment of the present invention, the indoor unit includes a first on-off valve and a second on-off valve, the first on-off valve is located between the indoor heat exchanger and the outdoor heat exchanger, and the second on-off valve is located between the indoor heat exchanger and the compressor, and the control module is also used for: when the target operating mode is the cooling mode, first controlling the first on-off valve to be in a closed state, and when the compressor runs for a first preset time, then controlling the second on-off valve to be in a closed state, so as to recover the refrigerant on the indoor unit side to the outdoor unit side; when the target operating mode is the heating mode, switching the target operating mode to the cooling mode, and in the cooling mode, first controlling the first on-off valve to be in a closed state, and when the compressor runs for a first preset time, then controlling the second on-off valve to be in a closed state, so as to recover the refrigerant on the indoor unit side to the outdoor unit side; or, first controlling the second on-off valve to be in a closed state, and when the compressor runs for a first preset time, then controlling the first on-off valve to be in a closed state, so as to recover the refrigerant on the indoor unit side to the outdoor unit side.
[0139] According to one embodiment of the present invention, the outdoor unit includes a stop valve, and the control module is also used to: control the compressor to stop running, and control the first on-off valve and the second on-off valve to be in an open state, and control the stop valve to be in an open state to discharge the refrigerant of the air conditioner to the outside.
[0140] It should be pointed out that the above-mentioned explanation of the embodiments and beneficial effects of the air conditioner control method are also applicable to the air conditioner control device of the embodiment of the present invention, and will not be elaborated here in detail to avoid redundancy.
[0141] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0142] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0143] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0144] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0145] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0146] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A method for controlling an air conditioner, characterized in that: The method comprises: During the operation of the air conditioner according to the target operation mode, the operating current of the outdoor unit, the operating frequency of the compressor, the heat exchange temperature difference before and after the heat exchange of the target heat exchanger, and the ambient temperature of the target heat exchanger are obtained; wherein the target heat exchanger is a heat exchanger used for condensation in the target operation mode; determining a target current of the outdoor unit based on the operating frequency and the ambient temperature; Whether the air conditioner is in a refrigerant shortage state is determined according to the target current, the operating current and the heat exchange temperature difference.
2. The method according to claim 1, characterized in that Obtain the heat exchange temperature difference of the target heat exchanger before and after heat exchange, including: When the target operation mode is the cooling mode, obtaining the temperature difference between the middle temperature and the outlet temperature of the outdoor heat exchanger to obtain the heat exchange temperature difference; When the target operation mode is the heating mode, the temperature difference between the middle temperature and the outlet temperature of the indoor heat exchanger is obtained to obtain the heat exchange temperature difference.
3. The method according to claim 1 or 2, characterized in that: Obtaining the ambient temperature of the target heat exchanger includes: When the target operation mode is a cooling mode, obtaining the outdoor ambient temperature to obtain the ambient temperature; When the target operation mode is a heating mode, the indoor ambient temperature is acquired to obtain the ambient temperature.
4. The method according to claim 1, characterized in that: The step of determining a target current of the outdoor unit based on the operating frequency and the ambient temperature includes: Acquire a frequency difference between the operating frequency and a minimum allowable frequency of the compressor; The target current is determined based on the frequency difference, the operating frequency, and the ambient temperature.
5. The method according to claim 4, characterized in that The determining the target current based on the frequency difference, the operating frequency and the ambient temperature includes: The product of the frequency difference, the operating frequency and the ambient temperature is obtained to obtain the target current.
6. The method according to claim 4 or 5, characterized in that: When determining the target current based on the frequency difference, the operating frequency and the ambient temperature, the method further includes: One or more of the operating frequency, the ambient temperature, and the target current are corrected.
7. The method according to claim 6, characterized in that The modifying one or more of the operating frequency, the ambient temperature and the target current includes: Subtracting a frequency correction coefficient from the operating frequency to correct the operating frequency; Subtracting a reference ambient temperature from the ambient temperature to correct the ambient temperature; The target current is multiplied by a current correction coefficient to correct the target current.
8. The method according to claim 7, characterized in that The minimum allowable frequency and the reference ambient temperature are determined based on the target operation mode, and the frequency correction factor and the current correction factor are determined based on the target operation mode and a model of the air conditioner.
9. The method according to claim 1, characterized in that: The determining whether the air conditioner is in a refrigerant shortage state according to the target current, the operating current and the heat exchange temperature difference comprises: When the operating current is less than the target current and the heat exchange temperature difference is less than a preset temperature difference threshold, it is determined that the air conditioner is in a refrigerant shortage state.
10. The method according to claim 1 or 9, characterized in that: When it is determined that the air conditioner is in a refrigerant shortage state, the method further includes: Acquiring the refrigerant concentration of the indoor unit, and determining the refrigerant leakage source based on the refrigerant concentration of the indoor unit; or, Acquiring the refrigerant concentration of the outdoor unit, and determining the refrigerant leakage source based on the refrigerant concentration of the outdoor unit; Wherein, the refrigerant leakage source is the outdoor unit or the indoor unit.
11. The method according to claim 10, characterized in that The determining of the refrigerant leakage source based on the refrigerant concentration of the indoor unit includes: When the refrigerant concentration of the indoor unit is greater than a preset refrigerant concentration threshold, the refrigerant leakage source is determined to be the indoor unit; when the refrigerant concentration of the indoor unit is less than or equal to the preset refrigerant concentration threshold, the refrigerant leakage source is determined to be the outdoor unit; The determining of the refrigerant leakage source based on the refrigerant concentration of the outdoor unit includes: When the refrigerant concentration of the outdoor unit is greater than a preset refrigerant concentration threshold, the refrigerant leakage source is determined to be the outdoor unit; when the refrigerant concentration of the outdoor unit is less than or equal to the preset refrigerant concentration threshold, the refrigerant leakage source is determined to be the indoor unit.
12. The method according to claim 10, characterized in that The method further comprises: When the refrigerant leakage source is the indoor unit, controlling the air conditioner to recover the refrigerant; When the refrigerant leakage source is the outdoor unit, the air conditioner is controlled to discharge the refrigerant.
13. The method according to claim 12, characterized in that The indoor unit includes a first on-off valve and a second on-off valve, wherein the first on-off valve is located between the indoor heat exchanger and the outdoor heat exchanger, and the second on-off valve is located between the indoor heat exchanger and the compressor, and the controlling the air conditioner to recover the refrigerant includes: When the target operation mode is the cooling mode, the first on-off valve is first controlled to be in a closed state, and when the compressor runs for a first preset time, the second on-off valve is then controlled to be in a closed state to recover the refrigerant on the indoor unit side to the outdoor unit side; When the target operating mode is the heating mode, the target operating mode is switched to the cooling mode, and in the cooling mode, the first on-off valve is first controlled to be in a closed state, and when the compressor runs for a first preset time, the second on-off valve is then controlled to be in a closed state, so as to recover the refrigerant on the indoor unit side to the outdoor unit side; or, the second on-off valve is first controlled to be in a closed state, and when the compressor runs for a first preset time, the first on-off valve is then controlled to be in a closed state, so as to recover the refrigerant on the indoor unit side to the outdoor unit side.
14. The method according to claim 13, characterized in that The outdoor unit includes a stop valve, and the controlling the air conditioner to discharge refrigerant includes: The compressor is controlled to stop running, the first on-off valve and the second on-off valve are controlled to be in an open state, and the stop valve is controlled to be in an open state, so as to discharge the refrigerant of the air conditioner to the outside.
15. A computer-readable storage medium, characterized in that: A program is stored thereon, and when the program is executed by a processor, the control method of the air conditioner according to any one of claims 1-14 is implemented.
16. An air conditioner, characterized in that: include: A memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the air conditioner control method according to any one of claims 1 to 14 is implemented.
17. A control device for an air conditioner, characterized in that: The device comprises: an acquisition module, used for acquiring, during the operation of the air conditioner in accordance with the target operation mode, the working current of the outdoor unit, the operating frequency of the compressor, the heat exchange temperature difference before and after the heat exchange of the target heat exchanger, and the ambient temperature of the target heat exchanger; wherein the target heat exchanger is a heat exchanger used for condensation in the target operation mode; A first determination module, configured to determine a target current of the outdoor unit based on the operating frequency and the ambient temperature; The second determination module is used to determine whether the air conditioner is in a refrigerant shortage state according to the target current, the operating current and the heat exchange temperature difference.