Control method for air conditioner, computer readable storage medium and air conditioner
By determining the temperature difference between the upper and lower coils in the air conditioner, we can determine whether the float switch is malfunctioning, which solves the problem of difficult detection of float switches in the air conditioner, improves the reliability and maintenance efficiency of the air conditioner, and reduces costs.
Patent Information
- Application Number
- CN202411170130.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2025-07-29
AI Technical Summary
It is difficult to detect whether the float switch in existing air conditioners is malfunctioning, resulting in the inability to issue alarm signals or false alarms in time, affecting the reliability and maintenance efficiency of the air conditioner.
By determining the temperature difference between the upper coil and the lower coil of the indoor heat exchanger, combined with the preset temperature difference, it is accurate to determine whether the float switch is faulty, including monitoring the change of the temperature difference value and the triggering of the alarm signal, and controlling the air conditioner to prevent condensate from overflowing or ensuring normal operation.
It realizes accurate judgment of float switch faults, reduces detection costs, improves the operating reliability and user experience of the air conditioner, and reduces unnecessary downtime frequency.
Smart Images

Figure CN120385135A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air conditioners, and particularly to a control method for an air conditioner, a computer-readable storage medium, and an air conditioner. Background Art
[0002] An air conditioner refers to a refrigeration cycle system formed by connecting one or more outdoor units to several indoor units of different or the same types and capacities, which can provide processed air to one or several areas. The air conditioner has many advantages such as high efficiency and energy saving, space saving, flexible design, and reliable operation, and is widely used in places such as shopping malls, hospitals, schools, and residences.
[0003] An air conditioner usually includes an indoor unit arranged in a regulated space (such as a room). The indoor unit generally includes components such as a housing, an indoor heat exchanger arranged in the housing, and a water receiving tray located below the indoor heat exchanger. When the air conditioner operates in the cooling mode, the indoor heat exchanger acts as an evaporator. The air in the regulated space is cooled when flowing through the surface of the indoor heat exchanger, playing a cooling role. At the same time, the gaseous water in the air will turn into condensed water due to the condensation effect when encountering the relatively low-temperature surface of the indoor heat exchanger, and then flow into the water receiving tray under its own gravity.
[0004] In order to prevent the overflow of condensed water, the prior art usually uses a drainage pump to timely drain the condensed water in the water receiving tray. However, when the drainage is abnormal (such as the drainage pump is damaged and stops rotating, the drainage port is blocked, etc.), the condensed water will accumulate in the water receiving tray and cannot be drained in time. To solve the above technical problems, a float switch is usually set in the water receiving tray. If the condensed water in the water receiving tray exceeds the preset liquid level height, the float switch will send an alarm signal to remind the user to perform maintenance in time. However, in the actual application process, the float switch may malfunction, resulting in the failure to send an alarm signal in time or false alarms, etc., and it is difficult to effectively monitor whether the float switch malfunctions.
[0005] Therefore, a new technical solution is needed in this field to solve the above problems. Summary of the Invention
[0006] To solve or to a certain extent improve the technical problem in the prior art that it is difficult to detect whether a float switch in an air conditioner fails, the present invention provides a control method for an air conditioner. The air conditioner includes an indoor heat exchanger, a water receiving tray arranged below the indoor heat exchanger, and a float switch arranged in the water receiving tray and having a preset alarm liquid level. Among them, the indoor heat exchanger includes an upper coil positioned above the preset alarm liquid level and a lower coil positioned below the preset alarm liquid level; and the control method includes: determining whether the indoor heat exchanger is normally refrigerating; when the indoor heat exchanger is normally refrigerating, obtaining a first temperature difference between the upper coil and the lower coil; comparing the first temperature difference with a first preset temperature difference; and based on the comparison result, determining whether the float switch fails.
[0007] Those skilled in the art can understand that the control method for the air conditioner of the present invention first determines whether the indoor heat exchanger is normally refrigerating. When the indoor heat exchanger is normally refrigerating, a first temperature difference between the upper coil and the lower coil in the indoor heat exchanger is obtained. Among them, the upper coil is positioned above the preset alarm liquid level of the float switch, and the lower coil is positioned below the preset alarm liquid level of the float switch. Then, the obtained first temperature difference is compared with the first preset temperature difference. Then, based on the comparison result, it is determined whether the float switch fails. Therefore, the present invention can conveniently and accurately determine whether the float switch fails according to the temperature difference between the upper and lower coils of the indoor heat exchanger, not only without adding additional detection components, reducing the control cost, but also improving the reliability of the operation of the air conditioner.
[0008] In a preferred technical solution of the above control method for an air conditioner, when the first temperature difference is less than or equal to the first preset temperature difference, the control method includes: monitoring whether the float switch triggers an alarm signal; when the float switch triggers an alarm signal, determining that the float switch fails; when the float switch does not trigger an alarm signal, determining that the float switch does not fail. When the first temperature difference is less than or equal to the first preset temperature difference, it indicates that the temperature difference between the upper coil and the lower coil is small, the condensate water in the water receiving tray is less, and the lower coil is not submerged. At this time, if the float switch triggers an alarm signal, it indicates that the float switch fails and accidentally triggers the alarm signal; if the float switch does not trigger an alarm signal, it indicates that the float switch is normal and does not fail.
[0009] In the preferred technical solution of the above control method for an air conditioner, after it is determined that the float switch fails, the control method further includes: re-acquiring the first temperature difference; comparing the re-acquired first temperature difference with the first preset temperature difference; when the re-acquired first temperature difference is greater than the first preset temperature difference, controlling the air conditioner to stop. When the float switch fails, it means that it is impossible to judge the amount of condensed water in the water receiving tray by whether the float switch triggers an alarm signal. At this time, by controlling the air conditioner to stop when the first temperature difference is greater than the first preset temperature difference, it is possible to prevent the condensed water in the water receiving tray from overflowing due to excessive amount, and also avoid premature shutdown affecting the normal operation of the air conditioner.
[0010] In the preferred technical solution of the above control method for an air conditioner, when the first temperature difference is greater than the first preset temperature difference, the control method includes: monitoring whether the float switch triggers an alarm signal; when the float switch triggers an alarm signal, determining that the float switch has not failed. When the first temperature difference is greater than the first preset temperature difference, it means that the temperature difference between the upper coil and the lower coil is relatively large, and there may be more condensed water in the water receiving tray, and the lower coil may be submerged by the condensed water. At this time, if the float switch triggers an alarm signal, it means that the float switch is operating normally and has not failed.
[0011] In the preferred technical solution of the above control method for an air conditioner, after it is determined that the float switch has not failed, the control method further includes: controlling the air conditioner to stop. Since there is more condensed water in the water receiving tray and the float switch has also triggered an alarm signal, the air conditioner is controlled to stop, which can not only prevent the condensed water from rising and overflowing further, but also facilitate the user to perform maintenance in time.
[0012] In the preferred technical solution of the above control method for an air conditioner, when the float switch does not trigger an alarm signal, the control method further includes: continuously monitoring the first temperature difference within a preset time period; comparing the first temperature difference with the first preset temperature difference; when the first temperature difference is greater than the first preset temperature difference, determining that the float switch is faulty; otherwise, determining that the float switch is not faulty. When the float switch does not trigger an alarm signal, it is determined whether the float switch is faulty by judging whether the first temperature difference is always greater than the first preset temperature difference within a preset time period. Specifically, if the first temperature difference is always greater than the first preset temperature difference within a preset time period, it indicates that there is indeed a large amount of condensed water in the water receiving tray and the float switch does not trigger an alarm signal in time, so it is determined that the float switch is faulty. If the first temperature difference fluctuates within a preset time period and there is a situation where it is less than or equal to the first preset temperature difference, it indicates that the temperature difference between the upper coil and the lower coil is not caused by excessive condensed water and there are other influencing factors (such as refrigerant flow deviation, etc.), so it is determined that the float switch is not faulty.
[0013] In the preferred technical solution of the above control method for an air conditioner, the step of determining whether the indoor heat exchanger is cooling normally includes: obtaining the second temperature difference between the indoor environment and the upper coil; comparing the second temperature difference with the second preset temperature difference; and determining whether the indoor heat exchanger is cooling normally based on the comparison result. Through the above settings, it is convenient and precise to determine whether the indoor heat exchanger is cooling normally, so as to provide a reliable basis for subsequent determining whether the float switch is faulty based on the temperature difference between the upper coil and the lower coil of the indoor heat exchanger.
[0014] In the preferred technical solution of the above control method for an air conditioner, when the second temperature difference is greater than or equal to the second preset temperature difference, it is determined that the indoor heat exchanger is cooling normally; when the second temperature difference is less than the second preset temperature difference, it is determined that the indoor heat exchanger is not cooling normally.
[0015] To solve or to some extent improve the technical problem in the prior art that it is difficult to detect whether the float switch in an air conditioner is faulty, the present invention provides a computer-readable storage medium. A computer program is stored in the computer-readable storage medium, and the computer program can be executed by a processor to implement the control method for an air conditioner according to any one of the above.
[0016] In order to solve or to a certain extent improve the technical problem in the prior art that it is difficult for the float switch in an air conditioner to detect whether a failure occurs, the present invention provides an air conditioner. The control method for an air conditioner according to any one of the above is executed in the air conditioner, and the air conditioner includes an indoor heat exchanger, a water receiving tray arranged below the indoor heat exchanger, and a float switch arranged in the water receiving tray and having a preset alarm liquid level. Among them, the indoor heat exchanger includes an upper coil positioned above the preset alarm liquid level and a lower coil positioned below the preset alarm liquid level. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, in which:
[0018] Figure 1 is a system configuration diagram of an embodiment of the air conditioner of the present invention;
[0019] Figure 2 is a schematic structural diagram of an embodiment of an indoor unit in the air conditioner of the present invention;
[0020] Figure 3 is a schematic flow diagram of the control method for an air conditioner of the present invention;
[0021] Figure 4 is a schematic diagram of the first part of the flow of an embodiment of the control method for an air conditioner of the present invention;
[0022] Figure 5 is a schematic diagram of the second part of the flow of an embodiment of the control method for an air conditioner of the present invention;
[0023] Figure 6 is a schematic diagram of the third part of the flow of an embodiment of the control method for an air conditioner of the present invention.
[0024] List of Reference Numerals:
[0025] 100, air conditioner; 110, outdoor unit; 111, compressor; 112, outdoor heat exchanger; 113, outdoor fan; 114, four-way valve; 120, indoor unit; 121, indoor heat exchanger; 1211, upper coil; 1212, lower coil; 122, indoor fan; 123, throttling component; 124, water receiving tray; 125, float switch. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0026] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principle of the present invention and are not intended to limit the protection scope of the present invention. It should be noted that in the description of the present invention, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0027] To solve or to some extent improve the technical problem in the prior art that it is difficult to detect whether a float switch in an air conditioner fails, the present invention provides a control method for an air conditioner 100. The air conditioner 100 includes an indoor heat exchanger 121, a water receiving tray 124 arranged below the indoor heat exchanger 121, and a float switch 125 arranged in the water receiving tray 124 and having a preset alarm liquid level C. Among them, the indoor heat exchanger 121 includes an upper coil 1211 positioned above the preset alarm liquid level C and a lower coil 1212 positioned below the preset alarm liquid level C; and the control method includes: determining whether the indoor heat exchanger 121 is cooling normally (step S1); when the indoor heat exchanger 121 is cooling normally, obtaining a first temperature difference between the upper coil 1211 and the lower coil 1212 (step S2); comparing the first temperature difference with a first preset temperature difference (step S3); based on the comparison result, determining whether the float switch 125 fails (step S4).
[0028] Figure 1 It is a system configuration diagram of an embodiment of the air conditioner of the present invention. As Figure 1 shown, in one or more embodiments, the air conditioner 100 of the present invention includes an outdoor unit 110 (which is generally arranged in an outdoor environment) and three parallel indoor units 120 (which are generally arranged indoors or in a room). Alternatively, the number of indoor units 120 can also be set to other suitable numbers more or less than three, such as 1 unit, 2 units, 4 units, etc. According to actual needs, the configurations of multiple indoor units 120 can be the same or different.
[0029] As Figure 1 shown, in one or more embodiments, the outdoor unit 110 includes components such as a compressor 111, a four-way valve 114, an outdoor heat exchanger 112, and an outdoor fan 113. The compressor 111 can be but is not limited to a variable-frequency compressor 111. The number of compressors 111 can be 1 unit or multiple units. The four-way valve 114 has a first port connected to the exhaust port of the compressor 111, a second port connected to the outdoor heat exchanger 112, a third port connected to the indoor heat exchanger 121 of the indoor unit 120, and a fourth port connected to the suction port of the compressor 111. The setting of the four-way valve 114 enables the air conditioner 100 to conveniently switch between a heating mode and a cooling mode. The outdoor heat exchanger 112 can be but is not limited to a finned coil 1211 type heat exchanger. The outdoor fan 113 faces the outdoor heat exchanger 112 to improve the heat exchange efficiency between the external air and the outdoor heat exchanger 112.
[0030] Figure 2 It is a structural schematic diagram of an embodiment of the indoor unit in the air conditioner of the present invention. As Figure 1 and Figure 2As shown, in one or more embodiments, the indoor unit 120 includes components such as an indoor heat exchanger 121, an indoor fan 122, a throttling component 123, a water receiving tray 124, and a float switch 125. The indoor fan 122 is opposite to the indoor heat exchanger 121 to improve the heat exchange efficiency between the indoor air and the indoor heat exchanger 121. Each indoor heat exchanger 121 is respectively connected to a throttling component 123. The throttling component 123 can be, but is not limited to, an electronic expansion valve. In one or more embodiments, the indoor unit 120 further includes a drain pump (not shown in the figure) connected to the water receiving tray 124 to timely drain the condensed water in the water receiving tray 124.
[0031] Continue to refer to Figure 2 , the indoor heat exchanger 121 includes a plurality of coils spaced apart from each other. Based on Figure 2 the orientation shown, the coils at least include an upper coil 1211 located at the upper end and a lower coil 1212 located at the lower end. A water receiving tray 124 is provided below the indoor heat exchanger 121 to collect condensed water. A float switch 125 is provided in the water receiving tray 124. The float switch 125 has a preset alarm level C. When the float switch 125 operates normally, if the condensed water in the water receiving tray 124 exceeds the preset alarm level C, the float switch 125 will trigger an alarm signal; if the condensed water in the water receiving tray 124 does not exceed the preset alarm level, the float switch 125 will not trigger an alarm signal. In the assembled state, the upper coil 1211 of the indoor heat exchanger 121 is positioned above the preset alarm level C of the float switch 125, and the lower coil 1212 is positioned below the preset alarm level C. It should be noted that the upper coil 1211 can be any one or more coils above the preset alarm level C of the float switch 125. Correspondingly, the lower coil 1212 can also be any one or more coils below the preset alarm level C of the float switch 125. In one or more embodiments, temperature detectors (not shown in the figure) are respectively provided on the upper coil 1211 and the lower coil 1212 to detect their temperatures.
[0032] Next, in combination with the attached Figures 3 - 6 The control method for the air conditioner 100 of the present invention will be introduced in detail. It should be noted that the control method for the air conditioner 100 of the present invention can be executed in the air conditioner 100 of any of the above embodiments, or can be applied to other suitable air conditioners 100.
[0033] Figure 3 is a schematic flowchart of the control method for the air conditioner of the present invention. As Figure 3As shown, in one or more embodiments, after the control method of the present invention starts, step S1 is first executed, that is, it is determined whether the indoor heat exchanger 121 is cooling normally. When the indoor heat exchanger 121 is cooling normally, the first temperature difference between the upper coil 1211 and the lower coil 1212 is obtained (i.e., step S2). Then, the control method executes step S3, and compares the first temperature difference with the first preset temperature difference. Then, the control method proceeds to step S4, and based on the comparison result, it is determined whether the float switch 125 fails. Therefore, the present invention can conveniently and accurately determine whether the float switch 125 fails according to the temperature difference between the upper coil 1211 and the lower coil 1212 in the indoor heat exchanger 121. Not only does it not need to add additional detection components, reducing the control cost, but it can also improve the reliability of the operation of the air conditioner 100.
[0034] Figure 4 is the first part of the flowchart of the embodiment of the control method for the air conditioner of the present invention. As Figure 4 shown, in one or more embodiments, after the control method of the present invention starts, step S11 is first executed, that is, the second temperature difference between the indoor environment and the upper coil 1211 is obtained. The upper coil 1211 can be measured by a temperature detector arranged on the upper coil 1211. Correspondingly, the indoor environment can be measured by other suitable temperature detectors arranged on the indoor unit 120. It should be noted that the "second temperature difference" is equal to the temperature of the indoor environment minus the temperature of the upper coil 1211. Then, the second temperature difference is compared with the second preset temperature difference. That is, the control method executes step S12 to determine whether the second temperature difference is greater than the second preset temperature difference. In one or more embodiments, the second preset temperature difference is 5 °C (i.e., degrees Celsius). Alternatively, the second preset temperature difference can also be set to other suitable temperature values higher or lower than 5 °C, such as 4 °C, 6 °C, etc. When the judgment result is negative, it indicates that the temperature difference between the indoor environment and the upper coil 1211 of the indoor heat exchanger 121 is small, and it is determined that the indoor heat exchanger 121 is not cooling normally (i.e., step S14). It should be noted that the reasons for the abnormal cooling of the indoor heat exchanger 121 are diverse, such as the air conditioner 100 being in the startup stage, the air conditioner 100 executing the heating mode, or the air conditioner 100 malfunctioning and unable to cool normally, etc.
[0035] Continue to refer to Figure 4, after performing step S12, when the judgment result is yes, it indicates that the temperature difference between the indoor environment and the upper coil 1211 of the indoor heat exchanger 121 is relatively large. Then it is determined that the indoor heat exchanger 121 is cooling normally (i.e., step S13), and the temperature difference between the upper coil 1211 and the lower coil 1212 of the indoor heat exchanger 121 can be used as the basis for determining whether the float switch 125 fails. Next, the control method executes step S20, that is, to obtain the first temperature difference between the upper coil 1211 and the lower coil 1212. It should be noted that the "first temperature difference" can be the temperature of the upper coil 1211 minus the temperature of the lower coil 1212, or the absolute value of the temperature of the upper coil 1211 minus the temperature of the lower coil 1212. Then, the control method executes step S30, that is, to determine whether the first temperature difference is greater than the first preset temperature difference. In one or more embodiments, the first preset temperature difference is 3°C. Alternatively, the first preset temperature difference can also be set to other suitable temperature values higher or lower than 3°C, such as 2°C, 4°C, etc.
[0036] Figure 5 is the schematic diagram of the second part of the process of the embodiment of the control method for an air conditioner according to the present invention. As Figure 5 shown, in one or more embodiments, after performing step S30, when the judgment result is yes, it indicates that the temperature difference between the upper coil 1211 and the lower coil 1212 is relatively large. The control method proceeds to step S40, that is, to monitor whether the float switch 125 triggers an alarm signal. If the judgment result is yes, it is determined that the float switch 125 has not failed (i.e., step S41). At this time, there is more condensed water in the water receiving tray 124, and the float switch 125 also triggers the corresponding alarm signal. Therefore, the control method executes step S42 to control the air conditioner 100 to stop, which can not only prevent the condensed water from rising and overflowing further, but also facilitate the user to perform maintenance in time.
[0037] Continue to refer to Figure 5, after performing step S40, if the judgment result is negative, it is impossible to directly determine whether the float switch 125 is faulty, and further judgment is required. Specifically, the control method proceeds to step S43, that is, within a preset time period, the first temperature difference is continuously monitored. In one or more embodiments, the preset time period is 1 h (i.e., hour). Alternatively, the preset time period can also be set to other appropriate times longer or shorter than 1 h, such as 50 min (i.e., minute), 70 min, etc. Then, it is judged whether the first temperature difference within the preset time period is greater than the first preset temperature difference (i.e., step S45). If the judgment result is positive, it indicates that the first temperature difference between the upper coil 1211 and the lower coil 1212 is indeed caused by the condensate flooding the lower coil 1212. At this time, the float switch 124 does not trigger an alarm signal, so it is determined that the float switch 125 is faulty (i.e., step S45). When it is determined that the float switch 125 is faulty, a prompt can be sent to the user in a suitable form such as sound, light, text, etc., to remind the user to repair the float switch 125 in time to ensure the normal use of the air conditioner 100. In one or more embodiments, after step S45 is completed, the control method executes step S42 to control the air conditioner 100 to stop running to avoid the condensate in the water receiving tray 124 from overflowing. Correspondingly, if the judgment result is negative, it indicates that the first temperature difference fluctuates within the preset time period, and the first temperature difference is not caused by the condensate flooding the lower coil 1212, but is caused by other reasons (such as refrigerant flow deviation, etc.), and the float switch does not erroneously send an alarm signal, so it is determined that the float switch 125 is not faulty (i.e., step S46). After step S46 is completed, the control method continues to execute step S43, that is, within a preset time period, the first temperature difference is continuously monitored. In this way, the shutdown time and frequency of the air conditioner 100 can be minimized as much as possible, enabling it to operate smoothly and improving the user experience.
[0038] Figure 6 This is the third part of the flow schematic diagram of the embodiment of the control method for an air conditioner according to the present invention. As Figure 6As shown, in one or more embodiments, after performing step S30, when the judgment result is negative, it indicates that the temperature difference between the upper coil 1211 and the lower coil 1212 is relatively small. The control method proceeds to step S50, that is, to monitor whether the float switch 125 triggers an alarm signal. If the judgment result is positive, it indicates that there is less condensed water in the water receiving tray 124 at this time, but the float switch 125 wrongly triggers an alarm signal. Therefore, it is determined that the float switch 125 has a fault (i.e., step S51). Then, the control method proceeds to step S52 to re-obtain the first temperature difference. Then, it is judged whether the re-obtained first temperature difference is greater than the first preset temperature difference (i.e., step S53). When the judgment result is positive, it indicates that the condensed water in the water receiving tray 124 may be relatively high at this time, and the float switch 125 cannot accurately send an alarm signal. In order to prevent the condensed water from overflowing, the control method thus executes step S54, that is, to control the air conditioner 100 to stop. Correspondingly, when the judgment result is negative, it indicates that the condensed water in the water receiving tray 124 is still relatively less at this time and there is no need to intervene in it. Therefore, step S52 is repeatedly executed, that is, to re-obtain the first temperature difference.
[0039] Continue to refer to Figure 6 , after performing step S50, if the judgment result is negative, it indicates that there is less condensed water in the water receiving tray 124 at this time and the float switch 125 does not trigger an alarm signal either. Then, it can be determined that the float switch 125 has no fault.
[0040] The present invention also provides a computer-readable storage medium (not shown in the figure). A computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the control method for the air conditioner 100 according to any one of the above embodiments.
[0041] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the protection scope of the present invention.
Claims
1. A control method for an air conditioner, characterized in that, The air conditioner includes an indoor heat exchanger, a water receiving tray arranged below the indoor heat exchanger, and a float switch arranged in the water receiving tray and having a preset alarm liquid level. Wherein, the indoor heat exchanger includes an upper coil positioned above the preset alarm liquid level and a lower coil positioned below the preset alarm liquid level; and the control method includes: Determine whether the indoor heat exchanger is refrigerating normally; When the indoor heat exchanger is refrigerating normally, obtain a first temperature difference between the upper coil and the lower coil; Compare the first temperature difference with a first preset temperature difference; Based on the comparison result, determine whether the float switch fails.
2. The control method for an air conditioner according to claim 1, wherein When the first temperature difference is less than or equal to the first preset temperature difference, the control method includes: Monitor whether the float switch triggers an alarm signal; When the float switch triggers an alarm signal, determine that the float switch fails; When the float switch does not trigger an alarm signal, determine that the float switch does not fail.
3. The control method for an air conditioner according to claim 2, characterized in that, After determining that the float switch fails, the control method further includes: Obtain the first temperature difference again; Compare the newly obtained first temperature difference with the first preset temperature difference; When the newly obtained first temperature difference is greater than the first preset temperature difference, control the air conditioner to stop.
4. The control method for an air conditioner according to claim 1, wherein, When the first temperature difference is greater than the first preset temperature difference, the control method includes: Monitor whether the float switch triggers an alarm signal; When the float switch triggers an alarm signal, determine that the float switch does not fail.
5. The control method for an air conditioner according to claim 4, wherein After determining that the float switch does not fail, the control method further includes: Control the air conditioner to stop.
6. The control method for an air conditioner according to claim 4, characterized in that, When the float switch does not trigger an alarm signal, the control method further includes: Continuously monitor the first temperature difference within a preset time period; Compare the first temperature difference with the first preset temperature difference; When the first temperature difference is greater than the first preset temperature difference, determine that the float switch fails; Otherwise, determine that the float switch does not fail.
7. The control method for an air conditioner according to claim 1, wherein The step of determining whether the indoor heat exchanger is refrigerating normally includes: Obtain a second temperature difference between the indoor environment and the upper coil; Compare the second temperature difference with a second preset temperature difference; Based on the comparison result, determine whether the indoor heat exchanger is refrigerating normally.
8. The control method for an air conditioner according to claim 7, wherein When the second temperature difference is greater than or equal to the second preset temperature difference, determine that the indoor heat exchanger is refrigerating normally; When the second temperature difference is less than the second preset temperature difference, determine that the indoor heat exchanger is not refrigerating normally.
9. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the control method for an air conditioner according to any one of claims 1-8.
10. An air conditioner, characterized in that, Implement the control method for an air conditioner according to any one of claims 1-8 in the air conditioner, and the air conditioner includes an indoor heat exchanger, a water receiving tray arranged below the indoor heat exchanger, and a float switch arranged in the water receiving tray and having a preset alarm liquid level, wherein the indoor heat exchanger includes an upper coil positioned above the preset alarm liquid level and a lower coil positioned below the preset alarm liquid level.