Pressure protection method of air conditioner, controller, air conditioner and medium

By obtaining the average current value and changes of the outdoor unit of the air conditioner and controlling the operating status of the compressor, the problem of adding pressure protection switches in the prior art increases costs, and efficient high-voltage protection and standardized design are achieved.

CN119412779APending Publication Date: 2025-02-11GD MIDEA AIR CONDITIONING EQUIP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411392224.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2025-02-11

AI Technical Summary

Technical Problem

The existing air conditioner pressure protection technology requires the installation of pressure protection switches, which increases system costs and is not conducive to the standardization of the electrical control board and the difficulty of piping design.

Method used

By obtaining the average value of the outdoor unit current for each sampling time, the change of the outdoor unit current of the outdoor unit is determined, and the operating status of the compressor is controlled according to this situation, high-voltage protection is achieved without the need to install a pressure protection switch.

Benefits of technology

It reduces system costs, facilitates the standardization of the electrical control board, simplifies the design of external units, promptly detects and responds to abnormal high voltages of the air conditioner, and avoids safety accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119412779A_ABST
    Figure CN119412779A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a pressure protection method of an air conditioner, a controller, the air conditioner and a medium. The pressure protection method comprises the following steps: acquiring an outdoor unit current average value of an outdoor unit in each sampling duration according to a time sequence; the outdoor unit current change condition of the outdoor unit is determined according to the multiple outdoor unit current average values; and controlling the operation state of the compressor according to the current change condition of the outdoor unit. If an outdoor heat exchanger is suddenly shielded or dust is accumulated to a certain degree during operation, heat exchange is severely poor, condensing pressure is increased, and the current of an outdoor machine is increased abnormally. On the basis, the abnormal high pressure of the air conditioner can be detected in time and responded according to the recognized abnormal increase of the current of the outdoor unit, and safety accidents such as pipeline leakage, combustion and explosion caused by the fact that the pressure exceeds the standard are avoided. In addition, a pressure protection switch does not need to be additionally arranged, cost is reduced, the electric control board does not need to be additionally provided with a signal interface for obtaining the pressure switch, standardization of the electric control board is facilitated, and meanwhile outdoor unit pipeline design is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of air conditioners, and in particular to a pressure protection method, a controller, an air conditioner and a medium for an air conditioner. Background Art

[0002] In related technologies, in order to meet increasingly stringent environmental protection requirements, the refrigerants used in air conditioners have begun to shift from R410a to R32, R290 and other slightly flammable and flammable refrigerants. In order to ensure that there will be no pipeline leakage, combustion, explosion and other safety accidents due to excessive pressure during the operation of the unit, the unit must meet the requirements of relevant regulations to ensure that the system pressure does not exceed a certain limit.

[0003] In the existing pressure protection technology, a pressure protection switch is generally installed on the exhaust pipe of the compressor. When the system pressure is detected to be higher than a certain limit, the protection shutdown is triggered. When the pressure is lower than a certain limit, the compressor resumes operation. However, for the existing solution of installing a pressure protection switch, first of all, the system cost will increase; secondly, the external unit electronic control board needs to add an interface to obtain the signal of the pressure switch, which is not conducive to the standardization of the electronic control board; finally, when designing the external unit pipeline, it is also necessary to avoid touching the pressure switch, which increases the difficulty of piping design. Summary of the invention

[0004] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a pressure protection method, a controller, an air conditioner and a medium for an air conditioner, which aims to achieve high-pressure protection of the air conditioner without installing a pressure protection switch, which not only reduces costs, but also facilitates the standardization of electric control panels and reduces the difficulty of piping design.

[0005] In a first aspect, an embodiment of the present application provides a pressure protection method for an air conditioner, comprising:

[0006] Obtain the average current of the outdoor unit at each sampling time in chronological order;

[0007] Determine the change of the external current of the outdoor unit according to the average values ​​of the multiple external currents;

[0008] The operating state of the compressor is controlled according to the change of the external machine current.

[0009] According to some embodiments of the present application, determining the change of the external current of the outdoor unit according to the average values ​​of the multiple external currents includes:

[0010] Selecting the earliest external machine current average value from the plurality of external machine current average values ​​as the reference current average value;

[0011] For each non-reference current average value, a first ratio of the non-reference current average value to the reference current average value is calculated, wherein the first ratio represents a change in the outdoor unit current of the outdoor unit.

[0012] According to some embodiments of the present application, controlling the operating state of the compressor according to the change of the external machine current includes:

[0013] Acquiring an operating mode of the air conditioner, and determining a target heat exchanger according to the operating mode;

[0014] Detecting the outdoor ambient temperature and the heat exchanger temperature of the target heat exchanger;

[0015] The operating state of the compressor is controlled according to the first ratio, the heat exchanger temperature and the outdoor ambient temperature.

[0016] According to some embodiments of the present application, controlling the operating state of the compressor according to the first ratio, the heat exchanger temperature and the outdoor ambient temperature includes at least one of the following:

[0017] When the difference between the first ratio and the value 1 is greater than a first preset value, the heat exchanger temperature is greater than a first preset temperature, and the outdoor ambient temperature is less than a preset ambient temperature, the compressor is controlled to stop;

[0018] When the difference between the first ratio and the value one is greater than a second preset value, the heat exchanger temperature is greater than the second preset temperature, and the outdoor ambient temperature is greater than or equal to the preset ambient temperature, the compressor is controlled to stop.

[0019] According to some embodiments of the present application, determining the change of the external current of the outdoor unit according to the average values ​​of the multiple external currents includes:

[0020] Dividing the plurality of sampling durations to obtain a plurality of sampling stages, wherein each sampling stage includes a target number of sampling durations;

[0021] For each sampling stage, average the external machine current average values ​​of all the sampling durations in the sampling stage to obtain the stage current average value of the sampling stage;

[0022] The change of the external unit current of the outdoor unit is determined according to the stage current average value of a plurality of continuous sampling stages.

[0023] According to some embodiments of the present application, determining the change of the external current of the outdoor unit according to the average value of the stage current of a plurality of consecutive sampling stages includes:

[0024] In the case where the plurality of consecutive sampling stages include a first sampling stage, a second sampling stage and a third sampling stage, the magnitude relationships among the stage current average values ​​of the first sampling stage, the second sampling stage and the third sampling stage are compared, and a second ratio of the stage current average value of the third sampling stage to the stage current average value of the first sampling stage is calculated, wherein the magnitude relationship and the second ratio characterize the change in the outdoor unit current of the outdoor unit.

[0025] According to some embodiments of the present application, controlling the operating state of the compressor according to the change of the external machine current includes:

[0026] When the magnitude relationship among the stage current average values ​​of the first sampling stage, the second sampling stage and the third sampling stage satisfies a preset relationship, and the difference between the second ratio and the value 1 is greater than a third preset value, the stage current average value of the second sampling stage is used as the reference current average value;

[0027] Obtaining an average value of the outdoor unit current in the next sampling time, and calculating a third ratio of the average value of the outdoor unit current in the next sampling time to the average value of the reference current, and controlling the operating state of the compressor according to the third ratio;

[0028] The preset relationship is that the average value of the stage current in the third sampling stage is successively greater than the average value of the stage current in the second sampling stage and the average value of the stage current in the first sampling stage.

[0029] According to some embodiments of the present application, controlling the operating state of the compressor according to the third ratio includes:

[0030] Acquire the operation mode of the air conditioner, determine the target heat exchanger according to the operation mode, and detect the outdoor ambient temperature and the heat exchanger temperature of the target heat exchanger;

[0031] When the difference between the third ratio and the value 1 is greater than a first preset value, the heat exchanger temperature is greater than a first preset temperature, and the outdoor ambient temperature is less than a preset ambient temperature, the compressor is controlled to stop;

[0032] When the difference between the third ratio and the value one is greater than a second preset value, the heat exchanger temperature is greater than a second preset temperature, and the outdoor ambient temperature is greater than or equal to the preset ambient temperature, the compressor is controlled to stop.

[0033] According to some embodiments of the present application, determining the target heat exchanger according to the operation mode includes one of the following:

[0034] When the operation mode is a cooling mode or a dehumidification mode, the outdoor heat exchanger is used as a target heat exchanger;

[0035] When the operation mode is the heating mode, the indoor heat exchanger is used as the target heat exchanger.

[0036] According to some embodiments of the present application, before obtaining the average current of the outdoor unit at each sampling time in chronological order, the method further includes:

[0037] Acquire the current operating frequency and target frequency of the compressor, and calculate the absolute value of the deviation between the current operating frequency and the target frequency;

[0038] When the absolute value of the deviation is less than or equal to the preset absolute value, the average current of the outdoor unit at each sampling time is obtained in chronological order after a preset delay.

[0039] In a second aspect, an embodiment of the present application provides a controller comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the pressure protection method for the air conditioner of the first aspect when running the computer program.

[0040] In a third aspect, an embodiment of the present application provides an air conditioner, comprising the controller of the second aspect described above.

[0041] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the pressure protection method for the air conditioner as described in the first aspect above.

[0042] In the fifth aspect, an embodiment of the present application provides a computer program product, including a computer program or a computer instruction, characterized in that the computer program or the computer instruction is stored in a computer-readable storage medium, a processor of a computer device reads the computer program or the computer instruction from the computer-readable storage medium, and the processor executes the computer program or the computer instruction, so that the computer device executes the pressure protection method for the air conditioner as described in the first aspect above.

[0043] According to the technical solution of the embodiment of the present application, at least the following beneficial effects are achieved: first, the embodiment of the present application will obtain the average value of the outdoor unit current at each sampling time in chronological order; then, the change of the outdoor unit current of the outdoor unit is determined according to the average value of multiple outdoor unit currents; then, the embodiment of the present application will control the operation state of the compressor according to the change of the outdoor unit current. If the outdoor heat exchanger of the air conditioner is suddenly blocked by something or dust accumulates to a certain extent during the operation of the compressor, the heat exchange is seriously poor, the condensation pressure increases, and the outdoor unit current increases abnormally. Based on this, the embodiment of the present application proposes an air conditioner pressure protection function based on the abnormal increase of the external unit current identified, which can detect the abnormal high pressure of the air conditioner in time and respond, avoiding pipeline leakage due to excessive pressure, combustion, explosion and other safety accidents. In addition, the embodiment of the present application does not need to install a pressure protection switch, which reduces the system cost, and the outdoor unit electric control board does not need to add a signal interface for obtaining the pressure switch, which is conducive to the standardization of the electric control board and also facilitates the design of the outdoor unit pipeline.

[0044] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0046] Figure 1 is a flow chart of a pressure protection method for an air conditioner provided by an embodiment of the present application;

[0047] Figure 2 is a flow chart of a pressure protection method for an air conditioner provided by another embodiment of the present application;

[0048] Figure 3 is a flow chart of a pressure protection method for an air conditioner provided by another embodiment of the present application;

[0049] Figure 4 is a flow chart of a pressure protection method for an air conditioner provided by another embodiment of the present application;

[0050] Figure 5 is a flow chart of a pressure protection method for an air conditioner provided by another embodiment of the present application;

[0051] Figure 6 is a flow chart of a pressure protection method for an air conditioner provided by another embodiment of the present application;

[0052] Figure 7is a flow chart of a pressure protection method for an air conditioner provided by another embodiment of the present application;

[0053] Figure 8 is an overall flow chart of a pressure protection method for an air conditioner provided by an embodiment of the present application;

[0054] Fig. 9 is an overall flow chart of a pressure protection method for an air conditioner provided by another embodiment of the present application;

[0055] Fig.10 It is a schematic diagram of a controller for executing a pressure protection method for an air conditioner provided in one embodiment of the present application. DETAILED DESCRIPTION

[0056] The embodiments of the present application are described in detail below, and examples of the embodiments 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 only used to explain the present application, and cannot be understood as limiting the present application.

[0057] In the description of the present application, it should be understood that descriptions involving orientation, such as up, down, front, back, left, right, etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0058] In the description of this application, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, and "above", "below", "within", etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0059] In the description of this application, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in this application based on the specific content of the technical solution.

[0060] In some cases, in order to meet increasingly stringent environmental protection requirements, the refrigerants used in air conditioners have begun to shift from R410a to R32, R290 and other slightly flammable and flammable refrigerants. In order to ensure that the unit will not leak due to excessive pressure during operation, resulting in safety accidents such as combustion and explosion, the unit must meet the requirements of relevant regulations to ensure that the system pressure does not exceed a certain limit.

[0061] In the existing pressure protection technology, a pressure protection switch is generally installed on the exhaust pipe of the compressor. When the system pressure is detected to be higher than a certain limit, the protection shutdown is triggered. When the pressure is lower than a certain limit, the compressor resumes operation. However, for the existing solution of installing a pressure protection switch, first of all, the system cost will increase; secondly, the external unit electronic control board needs to add an interface to obtain the signal of the pressure switch, which is not conducive to the standardization of the electronic control board; finally, when designing the external unit pipeline, it is also necessary to avoid touching the pressure switch, which increases the difficulty of piping design.

[0062] Based on the above situation, the embodiment of the present application proposes a pressure protection method, controller, air conditioner and medium for an air conditioner, aiming to achieve high-pressure protection of the air conditioner without installing a pressure protection switch, which not only reduces costs, but also facilitates the standardization of electronic control panels and reduces the difficulty of piping design.

[0063] The following further describes various embodiments of the pressure protection method for the air conditioner of the present application in conjunction with the accompanying drawings.

[0064] like Figure 1 As shown, Figure 1 It is a flow chart of a pressure protection method for an air conditioner provided by an embodiment of the present application; the pressure protection method may include but is not limited to step S110, step S120 and step S130.

[0065] Step S110, obtaining the average current of the outdoor unit at each sampling time in chronological order;

[0066] Step S120, determining the change of the external unit current of the outdoor unit according to the average value of the currents of multiple external units;

[0067] Step S130: Control the operating state of the compressor according to the change of the external machine current.

[0068] In one embodiment, if the outdoor heat exchanger of the air conditioner is suddenly blocked by something or dust accumulates to a certain extent during the operation of the compressor of the air conditioner, resulting in serious poor heat exchange, increased condensation pressure, and abnormal increase in the external machine current. This abnormal increase may be a rapid increase or a slow increase. Based on this, the embodiment of the present application proposes an air conditioner pressure protection function based on the identified abnormal increase in the external machine current. First, the embodiment of the present application will determine multiple sampling time lengths △time in chronological order, and obtain the average value of the external machine current for each sampling time length △time. Then, based on the obtained multiple average values ​​of the external machine current, the change of the external machine current of the outdoor unit is judged, so as to quickly detect the scene of the external machine current increasing abnormally quickly or rollingly detect the scene of the external machine current increasing abnormally slowly. Therefore, the embodiment of the present application can detect the abnormal high pressure of the air conditioner in time and respond to the operation status of the compressor to avoid pipeline leakage due to excessive pressure, and to avoid safety accidents such as combustion and explosion. In addition, the embodiment of the present application does not need to install a pressure protection switch, which reduces system costs. The external unit electrical control board does not need to add a signal interface for obtaining the pressure switch, which is conducive to the standardization of the electrical control board and also facilitates the design of the external unit pipeline.

[0069] In addition, if Figure 2 As shown, Figure 2 It is a flow chart of a pressure protection method for an air conditioner provided by another embodiment of the present application; regarding the above-mentioned step S120, it may include but is not limited to step S210 and step S220.

[0070] Step S210, selecting the earliest external machine current average value from a plurality of external machine current average values ​​as a reference current average value;

[0071] Step S220: For each non-reference current average value, a first ratio of the non-reference current average value to the reference current average value is calculated, where the first ratio represents a change in the outdoor unit current of the outdoor unit.

[0072] In one embodiment, in order to quickly detect the situation of a rapid abnormal increase in the external unit current, for multiple external unit current average values ​​arranged in chronological order, the embodiment of the present application will use the first external unit current average value as the reference current average value, and other subsequent external unit current average values ​​as non-reference current average values. Then, the embodiment of the present application will compare each non-reference current average value with the reference current average value, and calculate a first ratio of the non-reference current average value to the reference current average value. Finally, the embodiment of the present application can understand the change in the external unit current of the outdoor unit based on the first ratio.

[0073] It should be noted that if the first ratio of the non-reference current average value to the reference current average value is greater than the value one, it means that the external machine current is on an upward trend; if the first ratio of the non-reference current average value to the reference current average value is less than the value one, it means that the external machine current is on a downward trend.

[0074] In addition, it should be noted that if the first ratio of the non-reference current average value to the reference current average value is greater than one and greater than a preset value, it indicates that the external machine current is in an abnormally rapid upward trend.

[0075] In addition, if Figure 3 As shown, Figure 3 is a flow chart of a pressure protection method for an air conditioner provided by another embodiment of the present application; based on the above Figure 2 The method steps, regarding the above-mentioned step S130, may include but are not limited to step S310, step S320 and step S330.

[0076] Step S310, obtaining the operation mode of the air conditioner, and determining the target heat exchanger according to the operation mode;

[0077] Step S320, detecting the outdoor ambient temperature and the heat exchanger temperature of the target heat exchanger;

[0078] Step S330: Control the operating state of the compressor according to the first ratio, the heat exchanger temperature and the outdoor ambient temperature.

[0079] In one embodiment, in order to quickly detect the situation of a rapid abnormal increase in the external machine current, for multiple external machine current average values ​​arranged in chronological order, the embodiment of the present application will use the first external machine current average value as the benchmark current average value, and other subsequent external machine current average values ​​as non-benchmark current average values. Then, the embodiment of the present application will compare each non-benchmark current average value with the benchmark current average value, and calculate a first ratio of the non-benchmark current average value to the benchmark current average value; at the same time, the embodiment of the present application will also detect the heat exchanger temperature of the target heat exchanger and obtain the outdoor ambient temperature. Finally, the embodiment of the present application will jointly judge the change in the external machine current of the outdoor unit based on the first ratio, the heat exchanger temperature and the outdoor ambient temperature.

[0080] It should be noted that the methods for determining the target heat exchanger include but are not limited to the following two methods, which are as follows:

[0081] The first judgment method: when the operation mode is cooling mode or dehumidification mode, the outdoor heat exchanger is used as the target heat exchanger.

[0082] The second judgment method: when the operation mode is the heating mode, the indoor heat exchanger is used as the target heat exchanger.

[0083] In one embodiment, the above step S330 may include but is not limited to the following two implementations, which are specifically as follows:

[0084] The first implementation situation: when the difference between the first ratio and the value one is greater than the first preset value, the heat exchanger temperature is greater than the first preset temperature, and the outdoor ambient temperature is lower than the preset ambient temperature, it indicates that the system pressure is too high. In this regard, the embodiment of the present application will control the compressor to shut down.

[0085] The second implementation situation: when the difference between the first ratio and the value one is greater than the second preset value, the heat exchanger temperature is greater than the second preset temperature, and the outdoor ambient temperature is greater than or equal to the preset ambient temperature, it indicates that the system pressure is too high. In this regard, the embodiment of the present application will control the compressor to shut down.

[0086] In addition, if Figure 4 As shown, Figure 4 is a flow chart of a pressure protection method for an air conditioner provided by another embodiment of the present application; with respect to the above step S120, in addition to being Figure 2 In addition to the method steps shown, the method may also include but is not limited to step S410, step S420 and step S430.

[0087] Step S410, dividing the multiple sampling durations to obtain multiple sampling stages, wherein each sampling stage includes a target number of sampling durations;

[0088] Step S420: for each sampling stage, average the average current values ​​of the external machine for all sampling durations in the sampling stage to obtain the stage current average value of the sampling stage;

[0089] Step S430: determining the change of the outdoor unit current of the outdoor unit according to the average current values ​​of multiple consecutive sampling stages.

[0090] In one embodiment, in order to detect the situation where the external unit current increases abnormally slowly in a rolling manner, the embodiment of the present application can combine multiple consecutive sampling time periods into a sampling stage, and so on, multiple sampling stages can be obtained in sequence. Then, for each sampling stage, the embodiment of the present application will calculate the stage current average value of each sampling stage, and then, based on the obtained multiple stage current average values, the change of the external unit current of the outdoor unit is judged, thereby detecting the scenario where the external unit current increases abnormally slowly in a rolling manner.

[0091] In addition, if Figure 5 As shown, Figure 5 It is a flow chart of a pressure protection method for an air conditioner provided by another embodiment of the present application; regarding the above-mentioned step S430, it may include but is not limited to step S510 and step S520.

[0092] Step S510: when the plurality of consecutive sampling stages include a first sampling stage, a second sampling stage and a third sampling stage, comparing the magnitude relationship between the stage current average values ​​of the first sampling stage, the second sampling stage and the third sampling stage;

[0093] Step S520, calculating a second ratio of the stage current average value of the third sampling stage to the stage current average value of the first sampling stage, wherein the magnitude relationship and the second ratio represent a change in the outdoor unit current of the outdoor unit.

[0094] In one embodiment, the embodiment of the present application can select three sampling stages for analysis, that is, to analyze three consecutive first sampling stages, second sampling stages and third sampling stages. First, the embodiment of the present application will compare the size relationship between the stage current average values ​​of the three sampling stages. At the same time, the segment current average value of the third sampling stage and the segment current average value of the first sampling stage will be compared, and the second ratio between the segment current average value of the third sampling stage and the segment current average value of the first sampling stage will be calculated; finally, the embodiment of the present application will jointly judge the change of the outdoor unit current of the outdoor unit based on the above-mentioned size relationship and the second ratio.

[0095] In addition, if Figure 6 As shown, Figure 6 is a flow chart of a pressure protection method for an air conditioner provided by another embodiment of the present application; based on the above Figure 4 and Figure 5 The method steps, regarding the above step S130, may include but are not limited to step S610 and step S620.

[0096] Step S610: when the magnitude relationship among the stage current average values ​​of the first sampling stage, the second sampling stage and the third sampling stage satisfies the preset relationship, and the difference between the second ratio and the value 1 is greater than the third preset value, the stage current average value of the second sampling stage is used as the reference current average value;

[0097] Step S620, obtaining the average current of the outdoor unit in the next sampling time, calculating a third ratio of the average current of the outdoor unit in the next sampling time and the average reference current, and controlling the operating state of the compressor according to the third ratio.

[0098] In one embodiment, the preset relationship is: the stage current average value of the third sampling stage is greater than the stage current average value of the second sampling stage and the stage current average value of the first sampling stage in sequence. If the stage current average values ​​of the first sampling stage, the second sampling stage and the third sampling stage satisfy the above preset relationship, and the second ratio is greater than the value one and greater than a certain preset value, it means that the outdoor unit current is in an upward trend. At this time, the embodiment of the present application will use the stage current average value of the second sampling stage as the reference current average value, and calculate the third ratio of the outdoor unit current average value and the reference current average value for the next sampling duration. Finally, the embodiment of the present application can understand the change of the outdoor unit current of the outdoor unit based on the third ratio, and then control the operating state of the compressor.

[0099] In one embodiment, the operation state of the compressor is controlled according to the third ratio in step S620, which may include but is not limited to the following two implementations, which are specifically as follows:

[0100] The first implementation scenario: obtain the operating mode of the air conditioner, determine the target heat exchanger according to the operating mode, and detect the outdoor ambient temperature and the heat exchanger temperature of the target heat exchanger; when the difference between the third ratio and the value one is greater than the first preset value, the heat exchanger temperature is greater than the first preset temperature, and the outdoor ambient temperature is lower than the preset ambient temperature, it indicates that the system pressure is too high. In this regard, the embodiment of the present application will control the compressor to shut down.

[0101] The second implementation scenario: obtain the operating mode of the air conditioner, determine the target heat exchanger according to the operating mode, and detect the outdoor ambient temperature and the heat exchanger temperature of the target heat exchanger; when the difference between the third ratio and the value one is greater than the second preset value, the heat exchanger temperature is greater than the second preset temperature, and the outdoor ambient temperature is greater than or equal to the preset ambient temperature, it indicates that the system pressure is high. In this regard, the embodiment of the present application will control the compressor to shut down.

[0102] In one embodiment, the determination method of the target heat exchanger includes but is not limited to the following two methods, which are specifically as follows:

[0103] The first judgment method: when the operation mode is cooling mode or dehumidification mode, the outdoor heat exchanger is used as the target heat exchanger.

[0104] The second judgment method: when the operation mode is the heating mode, the indoor heat exchanger is used as the target heat exchanger.

[0105] In addition, if Figure 7 As shown, Figure 7 It is a flow chart of a pressure protection method for an air conditioner provided by another embodiment of the present application; before executing step S110, the pressure protection method may also include but is not limited to step S710 and step S720.

[0106] Step S710, obtaining the current operating frequency and target frequency of the compressor, and calculating the absolute value of the deviation between the current operating frequency and the target frequency;

[0107] Step S720: When the absolute value of the deviation is less than or equal to the preset absolute value, the average current of the outdoor unit at each sampling time is obtained in chronological order after a preset delay.

[0108] Based on the pressure protection method for the air conditioner of each of the above-mentioned embodiments, various overall embodiments of the pressure protection method for the air conditioner of the present application are respectively proposed below.

[0109] like Figure 8 As shown, Figure 8 This is an overall flow chart of a pressure protection method for an air conditioner provided by an embodiment of the present application. The overall flow chart includes the following actions:

[0110] 1. The current operating mode is cooling mode or dehumidification mode, the compressor is in operation, and the current operating frequency fre_run and target frequency fre_target of the compressor are read;

[0111] 2. Execution judgment

[0112] The absolute value of the deviation between the target frequency and the current running frequency does not exceed △f Hz: |fre_target-fre_run|<=△f. If it is satisfied, execute action 3 after a predetermined time △time1 second, otherwise return to action 1.

[0113] 3. Execute actions

[0114] 3.1) Take the average value of the external machine current Amp_avg_mi for △time2 seconds, take m values, and then take the average value as Amp_avg_m1. The first Amp_avg_mi is recorded as Amp_base. When taking the following m-1 Amp_avg_mi values, the following judgment is made:

[0115] Condition 2.1 If Amp_avg_mi / Amp_base-1>=amp_judge1, and outdoor heat exchanger temperature T3>temp_t3_1, and outdoor ambient temperature T4 <temp_t4_1;

[0116] Condition 2.2 If Amp_avg_mi / Amp_base-1>=amp_judge2, and outdoor heat exchanger temperature T3>temp_t3_2, and outdoor ambient temperature T4>=temp_t4_1;

[0117] If condition 2.1 or 2.2 is met, it means the system pressure is too high, go to step 6.

[0118] 3.2) Repeat the above step 3.1 to obtain the current average value Amp_avg_m2 of m*△time2 seconds;

[0119] 3.3) Repeat the above step 3.1 to obtain the current average value Amp_avg_m3 of m*△time2 seconds;

[0120] 3.4) Determine the current average values ​​Amp_avg_m1, Amp_avg_m2, Amp_avg_m3 of the three consecutive m*△time2 seconds:

[0121] Condition 2.3 If Amp_avg_m3>Amp_avg_m2>Amp_avg_m1 and Amp_avg_m3 / Amp_avg_m1-1>=amp_judge3;

[0122] If condition 2.3 is met, Amp_base = Amp_avg_m2, and go to step 4; otherwise, Amp_avg_m1 = Amp_avg_m2, Amp_avg_m2 = Amp_avg_m3, and go to step 5.

[0123] 4. Repeat the action

[0124] Take the average value of the external machine current Amp_avg_mi for △time2 seconds and judge the following two conditions:

[0125] Condition 2.1 If Amp_avg_mi / Amp_base-1>=amp_judge1, and T3>temp_t3_1, and T4 <temp_t4_1;

[0126] Condition 2.2 If Amp_avg_mi / Amp_base-1>=amp_judge2, and T3>temp_t3_2, and T4>=temp_t4_1;

[0127] If condition 2.1 or 2.2 is met, it means the system pressure is too high, go to step 6.

[0128] 5. Execute the action:

[0129] 5.1) Take the average value of the external machine current Amp_avg_mi for △time2 seconds, take m values, and then take the average value as Amp_avg_m3. The first Amp_avg_mi is recorded as Amp_base. When taking the following m-1 Amp_avg_mi values, the following judgment is made:

[0130] Condition 2.1 If Amp_avg_mi / Amp_base-1>=amp_judge1, and T3>temp_t3_1, and T4 <temp_t4_1;

[0131] Condition 2.2 If Amp_avg_mi / Amp_base-1>=amp_judge2, and T3>temp_t3_2, and T4>=temp_t4_1;

[0132] If condition 2.1 or 2.2 is met, it means the system pressure is too high, go to step 6.

[0133] 5.2) Make judgment:

[0134] Condition 2.3 If Amp_avg_m3>Amp_avg_m2>Amp_avg_m1 and Amp_avg_m3 / Amp_avg_m1 -1>=amp_judge3;

[0135] If condition 2.3 is met, Amp_base = Amp_avg_m2, and go to step 4; otherwise, Amp_avg_m1 = Amp_avg_m2, Amp_avg_m2 = Amp_avg_m3, and go to step 5.

[0136] 6. Execute actions:

[0137] The compressor stops and restarts after 3 minutes, and then goes to step 1.

[0138] Based on the above process, a specific embodiment of a pressure protection method for an air conditioner is proposed below, which specifically includes the following:

[0139] 1. The current operating mode is cooling mode or dehumidification mode, the compressor is in operation, and the current operating frequency fre_run and target frequency fre_target of the compressor are read.

[0140] 2. Execution judgment

[0141] The absolute value of the deviation between the target frequency and the current running frequency does not exceed △f Hz: |fre_target-fre_run|<=1hz. If it is satisfied, execute action 3 after a predetermined delay of 30 seconds, otherwise return to action 1.

[0142] 3. Execute actions

[0143] 3.1) Take the average value of the external machine current Amp_avg_mi for 2 seconds, take 5 values, and then take the average value as Amp_avg_m1. The first Amp_avg_mi is recorded as Amp_base. When taking the next 4 Amp_avg_mi values, the following judgment is made:

[0144] Condition 2.1 If Amp_avg_mi / Amp_base-1>=7%, and T3>56, and T4<50;

[0145] Condition 2.2 If Amp_avg_mi / Amp_base-1>=7%, and T3>54, and T4>=50;

[0146] If condition 2.1 or 2.2 is met, it means the system pressure is too high, go to step 6.

[0147] 3.2) Repeat step 3.1 above to get the current average value Amp_avg_m2 for 10 seconds;

[0148] 3.3) Repeat step 3.1 above to get the current average value Amp_avg_m3 for 10 seconds;

[0149] 3.4) Determine the current average values ​​Amp_avg_m1, Amp_avg_m2, and Amp_avg_m3 for the three consecutive 10-second periods:

[0150] Condition 2.3 If Amp_avg_m3>Amp_avg_m2>Amp_avg_m1 and Amp_avg_m3 / Amp_avg_m1 -1>=7%;

[0151] If condition 2.3 is met, Amp_base = Amp_avg_m2, and go to step 4; otherwise, Amp_avg_m1 = Amp_avg_m2, Amp_avg_m2 = Amp_avg_m3, and go to step 5.

[0152] 4. Repeat the action

[0153] Take the average value of the external machine current Amp_avg_mi for 2 seconds and judge the following two conditions:

[0154] Condition 2.1 If Amp_avg_mi / Amp_base-1>=7%, and T3>56, and T4<50;

[0155] Condition 2.2 If Amp_avg_mi / Amp_base-1>=7%, and T3>54, and T4>=50;

[0156] If condition 2.1 or 2.2 is met, it means the system pressure is too high, go to step 6.

[0157] 5. Execute the action:

[0158] 5.1) Take the average value of the external machine current Amp_avg_mi for 2 seconds, take 5 values, and then take the average value as Amp_avg_m3. The first Amp_avg_mi is recorded as Amp_base. When taking the next 4 Amp_avg_mi values, the following judgment is made:

[0159] Condition 2.1 If Amp_avg_mi / Amp_base-1>=7%, and T3>56, and T4<50;

[0160] Condition 2.2 If Amp_avg_mi / Amp_base-1>=7%, and T3>54, and T4>=50;

[0161] If condition 2.1 or 2.2 is met, it means the system pressure is too high, go to step 6.

[0162] 5.2) Make judgment:

[0163] Condition 2.3 If Amp_avg_m3>Amp_avg_m2>Amp_avg_m1 and Amp_avg_m3 / Amp_avg_m1-1>=7%;

[0164] If condition 2.3 is met, Amp_base = Amp_avg_m2, and go to step 4; otherwise, Amp_avg_m1 = Amp_avg_m2, Amp_avg_m2 = Amp_avg_m3, and go to step 5.

[0165] 6. Execute actions:

[0166] The compressor stops and restarts after 3 minutes, and then goes to step 1.

[0167] like Fig. 9 As shown, Fig. 9 It is an overall flow chart of a pressure protection method for an air conditioner provided in another embodiment of the present application.

[0168] The overall flow chart includes the following steps:

[0169] 1. The current operating mode is heating mode, the compressor is in operation, and the current operating frequency fre_run and target frequency fre_target of the compressor are read.

[0170] 2. Execution judgment

[0171] The absolute value of the deviation between the target frequency and the current running frequency does not exceed △f Hz: |fre_target-fre_run|<=△f. If it is satisfied, execute action 3 after a predetermined time △time1 second, otherwise return to action 1.

[0172] 3. Execute actions

[0173] 3.1) Take the average value of the external machine current Amp_avg_mi for △time2 seconds, take m values, and then take the average value as Amp_avg_m1. The first Amp_avg_mi is recorded as Amp_base. When taking the following m-1 Amp_avg_mi values, the following judgment is made:

[0174] Condition 2.1 If Amp_avg_mi / Amp_base-1>=amp_judge1, and indoor heat exchanger temperature T2>temp_t2_1, and outdoor ambient temperature T4 <temp_t4_1;

[0175] Condition 2.2 If Amp_avg_mi / Amp_base-1>=amp_judge2, and T2>temp_t2_2, and T4>=temp_t4_1;

[0176] If condition 2.1 or 2.2 is met, it means the system pressure is too high, go to step 6.

[0177] 3.2) Repeat 3.1 above to get the current average value Amp_avg_m2 of m*△time2 seconds

[0178] 3.3) Repeat 3.1 above to get the current average value Amp_avg_m3 of m*△time2 seconds

[0179] 3.4) Determine the current average values ​​Amp_avg_m1, Amp_avg_m2, Amp_avg_m3 of the three consecutive m*△time2 seconds:

[0180] Condition 2.3 If Amp_avg_m3>Amp_avg_m2>Amp_avg_m1 and Amp_avg_m3 / Amp_avg_m1-1>=amp_judge3;

[0181] If condition 2.3 is met, Amp_base = Amp_avg_m2, and go to step 4; otherwise, Amp_avg_m1 = Amp_avg_m2, Amp_avg_m2 = Amp_avg_m3, and go to step 5.

[0182] 4. Repeat the action

[0183] Take the average value of the external machine current Amp_avg_mi for △time2 seconds and judge the following two conditions:

[0184] Condition 2.1 If Amp_avg_mi / Amp_base-1>=amp_judge1, and T2>temp_t2_1, and T4 <temp_t4_1;

[0185] Condition 2.2 If Amp_avg_mi / Amp_base-1>=amp_judge2, and T2>temp_t2_2, and T4>=temp_t4_1;

[0186] If condition 2.1 or 2.2 is met, it means the system pressure is too high, go to step 6.

[0187] 5. Execute the action:

[0188] 5.1) Take the average value of the external machine current Amp_avg_mi for △time2 seconds, take m values, and then take the average value as Amp_avg_m3. The first Amp_avg_mi is recorded as Amp_base. When taking the following m-1 Amp_avg_mi values, the following judgment is made:

[0189] Condition 2.1 If Amp_avg_mi / Amp_base-1>=amp_judge1, and T2>temp_t2_1, and T4 <temp_t4_1;

[0190] Condition 2.2 If Amp_avg_mi / Amp_base-1>=amp_judge2, and T2>temp_t2_2, and T4>=temp_t4_1;

[0191] If condition 2.1 or 2.2 is met, it means the system pressure is too high, go to step 6.

[0192] 5.2) Make judgment:

[0193] Condition 2.3 If Amp_avg_m3>Amp_avg_m2>Amp_avg_m1 and Amp_avg_m3 / Amp_avg_m1 -1>=amp_judge3;

[0194] If condition 2.3 is met, Amp_base = Amp_avg_m2, and go to step 4; otherwise, Amp_avg_m1 = Amp_avg_m2, Amp_avg_m2 = Amp_avg_m3, and go to step 5.

[0195] 6. Execute actions:

[0196] The compressor stops and restarts after 3 minutes, and then goes to step 1.

[0197] Based on the above process, a specific embodiment of a pressure protection method for an air conditioner is proposed below, which specifically includes the following:

[0198] 1. The current operating mode is heating, the compressor is in operation, and the current operating frequency fre_run and target frequency fre_target of the compressor are read.

[0199] 2. Execution judgment

[0200] The absolute value of the deviation between the target frequency and the current running frequency does not exceed △f Hz: |fre_target-fre_run|<=1hz. If it is satisfied, execute action 3 after a predetermined delay of 30 seconds, otherwise return to action 1.

[0201] 3. Execute actions

[0202] 3.1) Take the average value of the external machine current Amp_avg_mi for 2 seconds, take 5 values, and then take the average value as Amp_avg_m1. The first Amp_avg_mi is recorded as Amp_base. When taking the next 4 Amp_avg_mi values, the following judgment is made:

[0203] Condition 2.1 If Amp_avg_mi / Amp_base-1>=7%, and T2>52, and T4<20;

[0204] Condition 2.2 If Amp_avg_mi / Amp_base-1>=7%, and T2>54, and T4>=20;

[0205] If condition 2.1 or 2.2 is met, it means the system pressure is too high, go to step 6.

[0206] 3.2) Repeat 3.1 above to get the 10-second current average value Amp_avg_m2

[0207] 3.3) Repeat 3.1 above to get the 10-second current average value Amp_avg_m3

[0208] 3.4) Determine the current average values ​​Amp_avg_m1, Amp_avg_m2, and Amp_avg_m3 for the three consecutive 10-second periods:

[0209] Condition 2.3 If Amp_avg_m3>Amp_avg_m2>Amp_avg_m1 and Amp_avg_m3 / Amp_avg_m1 -1>=7%;

[0210] If condition 2.3 is met, Amp_base = Amp_avg_m2, and go to step 4; otherwise, Amp_avg_m1 = Amp_avg_m2, Amp_avg_m2 = Amp_avg_m3, and go to step 5.

[0211] 4. Repeat the action

[0212] Take the average value of the external machine current Amp_avg_mi for 2 seconds and judge the following two conditions:

[0213] Condition 2.1 If Amp_avg_mi / Amp_base-1>=7%, and T2>52, and T4<20;

[0214] Condition 2.2 If Amp_avg_mi / Amp_base-1>=7%, and T2>54, and T4>=20;

[0215] If condition 2.1 or 2.2 is met, it means the system pressure is too high, go to step 6.

[0216] 5. Execute the action:

[0217] 5.1) Take the average value of the external machine current Amp_avg_mi for 2 seconds, take 5 values, and then take the average value as Amp_avg_m3. The first Amp_avg_mi is recorded as Amp_base. When taking the next 4 Amp_avg_mi values, the following judgment is made:

[0218] Condition 2.1 If Amp_avg_mi / Amp_base-1>=7%, and T2>52, and T4<20;

[0219] Condition 2.2 If Amp_avg_mi / Amp_base-1>=7%, and T2>54, and T4>=20;

[0220] If condition 2.1 or 2.2 is met, it means the system pressure is too high, go to step 6.

[0221] 5.2) Make judgment:

[0222] Condition 2.3 If Amp_avg_m3>Amp_avg_m2>Amp_avg_m1 and Amp_avg_m3 / Amp_avg_m1-1>=7%;

[0223] If condition 2.3 is met, Amp_base = Amp_avg_m2, and go to step 4; otherwise, Amp_avg_m1 = Amp_avg_m2, Amp_avg_m2 = Amp_avg_m3, and go to step 5.

[0224] 6. Execute actions:

[0225] The compressor stops and restarts after 3 minutes, and then goes to step 1.

[0226] Based on the pressure protection method of the air conditioner in the above-mentioned embodiments, it should be noted that:

[0227] The above judgment conditions 2.1 and 2.2 are used to quickly detect the scenario where the external unit current increases abnormally quickly, while trying to meet the user's cooling needs, and only protect when the system pressure is high enough.

[0228] The judgment condition 2.3 mentioned above is used to detect the scenario where the external unit current increases abnormally slowly, while trying to meet the user's cooling needs, and protection is only performed when the system pressure is high enough.

[0229] In addition, the pressure protection method of the air conditioner according to the embodiment of the present application has the following technical effects:

[0230] After the compressor of the air conditioner is started, when the operating frequency reaches the target frequency, the current value of the outdoor unit will continue to increase for a period of time because the refrigeration system has not yet stabilized, and then it will basically stabilize. If at a certain point in the operation, the outdoor heat exchanger is suddenly blocked by something or dust accumulates to a certain extent, resulting in severe poor heat exchange and increased condensation pressure, the outdoor unit current will increase abnormally. This abnormal increase may be a rapid increase or a slow increase. According to the identified abnormal increase in the external unit current, the present invention proposes an air conditioner pressure protection function, which can detect the abnormal high pressure of the air conditioning system in time and respond, avoiding pipeline leakage due to excessive pressure, combustion, explosion and other safety accidents. In addition, this solution does not need to install a pressure protection switch, which reduces the system cost, and the external unit electronic control board does not need to add a signal interface for obtaining the pressure switch, which is conducive to the standardization of the electronic control board and also facilitates the design of the external unit pipeline.

[0231] Based on the pressure protection method of the air conditioner in each of the above-mentioned embodiments, various embodiments of the controller, air conditioner, computer-readable storage medium and computer program product of the present application are respectively proposed below.

[0232] like Fig.10 As shown, Fig.101 is a schematic diagram of a controller for executing a pressure protection method provided by an embodiment of the present application. The controller 100 implemented in the present application includes: a processor 110, a memory 120, and a computer program stored in the memory 120 and executable on the processor 110, wherein: Fig.10 In the figure, a processor 110 and a memory 120 are taken as an example.

[0233] The processor 110 and the memory 120 may be connected via a bus or other means. Fig.10 The example of connecting through bus is taken in the following.

[0234] The memory 120, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer executable programs. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 120 may optionally include a memory 120 remotely arranged relative to the processor 110, and these remote memories 120 may be connected to the controller 100 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0235] Those skilled in the art will understand that Fig.10 The device structure shown in the figure does not constitute a limitation on the controller 100, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0236] exist Fig.10 In the controller 100 shown, the processor 110 can be used to call the pressure protection program stored in the memory 120, so as to implement the above-mentioned pressure protection method. Specifically, the non-transient software program and instructions required to implement the pressure protection method of the above-mentioned embodiment are stored in the memory 120, and when executed by the processor 110, the pressure protection method of the above-mentioned embodiment is executed.

[0237] It is worth noting that since the controller 100 of the embodiment of the present application can execute the pressure protection method of any of the above-mentioned embodiments, the specific implementation methods and technical effects of the controller 100 of the embodiment of the present application can refer to the specific implementation methods and technical effects of the pressure protection method of any of the above-mentioned embodiments.

[0238] In addition, an embodiment of the present application further provides an air conditioner, which includes the controller of the above embodiment.

[0239] It is worth noting that since the air conditioner of the embodiment of the present application includes the controller of the above embodiment, and the controller of the above embodiment can execute the pressure protection method of any of the above embodiments, the specific implementation methods and technical effects of the air conditioner of the embodiment of the present application can refer to the specific implementation methods and technical effects of the pressure protection method of any of the above embodiments.

[0240] In addition, an embodiment of the present application further provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to execute the above-described pressure protection method. Figures 1 to 9 The method steps in .

[0241] It is worth noting that since the computer-readable storage medium of the embodiment of the present application can execute the pressure protection method of any of the above-mentioned embodiments, the specific implementation methods and technical effects of the computer-readable storage medium of the embodiment of the present application can refer to the specific implementation methods and technical effects of the pressure protection method of any of the above-mentioned embodiments.

[0242] In addition, an embodiment of the present application further provides a computer program product, including a computer program or a computer instruction, the computer program or the computer instruction is stored in a computer-readable storage medium, the processor of the computer device reads the computer program or the computer instruction from the computer-readable storage medium, and the processor executes the computer program or the computer instruction, so that the computer device executes the above-described pressure protection method. Figures 1 to 9 The method steps in .

[0243] It is worth noting that since the computer program product of the embodiments of the present application can execute the pressure protection method of any of the above-mentioned embodiments, the specific implementation methods and technical effects of the computer program product of the embodiments of the present application can refer to the specific implementation methods and technical effects of the pressure protection method of any of the above-mentioned embodiments.

[0244] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media generally include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0245] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the above implementation mode. Technical personnel familiar with the field can also make various equivalent modifications or substitutions under the shared conditions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.

Claims

1. A pressure protection method for an air conditioner, characterized in that: include: Obtain the average current of the outdoor unit at each sampling time in chronological order; Determine the change of the external current of the outdoor unit according to the average values ​​of the multiple external currents; The operating state of the compressor is controlled according to the change of the external machine current.

2. The method according to claim 1, characterized in that The step of determining the change of the external current of the outdoor unit according to the average values ​​of the external currents of the plurality of outdoor units includes: Selecting the earliest external machine current average value from the plurality of external machine current average values ​​as the reference current average value; For each non-reference current average value, a first ratio of the non-reference current average value to the reference current average value is calculated, wherein the first ratio represents a change in the outdoor unit current of the outdoor unit.

3. The method according to claim 2, characterized in that The controlling the operating state of the compressor according to the change of the external machine current includes: Acquiring an operating mode of the air conditioner, and determining a target heat exchanger according to the operating mode; Detecting the outdoor ambient temperature and the heat exchanger temperature of the target heat exchanger; The operating state of the compressor is controlled according to the first ratio, the heat exchanger temperature and the outdoor ambient temperature.

4. The method according to claim 3, characterized in that The controlling the operating state of the compressor according to the first ratio, the heat exchanger temperature and the outdoor ambient temperature comprises at least one of the following: When the difference between the first ratio and the value 1 is greater than a first preset value, the heat exchanger temperature is greater than a first preset temperature, and the outdoor ambient temperature is less than a preset ambient temperature, the compressor is controlled to stop; When the difference between the first ratio and the value one is greater than a second preset value, the heat exchanger temperature is greater than the second preset temperature, and the outdoor ambient temperature is greater than or equal to the preset ambient temperature, the compressor is controlled to stop.

5. The method according to claim 1, characterized in that The step of determining the change of the external current of the outdoor unit according to the average values ​​of the external currents of the plurality of outdoor units includes: Dividing the plurality of sampling durations to obtain a plurality of sampling stages, wherein each sampling stage includes a target number of sampling durations; For each sampling stage, average the external machine current average values ​​of all the sampling durations in the sampling stage to obtain the stage current average value of the sampling stage; The change of the external unit current of the outdoor unit is determined according to the stage current average value of a plurality of continuous sampling stages.

6. The method according to claim 5, characterized in that The step of determining the change of the outdoor unit current according to the stage current average value of a plurality of continuous sampling stages includes: In the case where the plurality of consecutive sampling stages include a first sampling stage, a second sampling stage and a third sampling stage, the magnitude relationships among the stage current average values ​​of the first sampling stage, the second sampling stage and the third sampling stage are compared, and a second ratio of the stage current average value of the third sampling stage to the stage current average value of the first sampling stage is calculated, wherein the magnitude relationship and the second ratio characterize the change in the outdoor unit current of the outdoor unit.

7. The method according to claim 6, characterized in that The controlling the operating state of the compressor according to the change of the external machine current includes: When the magnitude relationship among the stage current average values ​​of the first sampling stage, the second sampling stage and the third sampling stage satisfies a preset relationship, and the difference between the second ratio and the value 1 is greater than a third preset value, the stage current average value of the second sampling stage is used as the reference current average value; Obtaining an average value of the outdoor unit current in the next sampling time, and calculating a third ratio of the average value of the outdoor unit current in the next sampling time to the average value of the reference current, and controlling the operating state of the compressor according to the third ratio; The preset relationship is that the average value of the stage current in the third sampling stage is successively greater than the average value of the stage current in the second sampling stage and the average value of the stage current in the first sampling stage.

8. The method according to claim 7, characterized in that The step of controlling the operating state of the compressor according to the third ratio comprises: Acquire the operation mode of the air conditioner, determine the target heat exchanger according to the operation mode, and detect the outdoor ambient temperature and the heat exchanger temperature of the target heat exchanger; When the difference between the third ratio and the value 1 is greater than a first preset value, the heat exchanger temperature is greater than a first preset temperature, and the outdoor ambient temperature is less than a preset ambient temperature, the compressor is controlled to stop; When the difference between the third ratio and the value one is greater than a second preset value, the heat exchanger temperature is greater than a second preset temperature, and the outdoor ambient temperature is greater than or equal to the preset ambient temperature, the compressor is controlled to stop.

9. The method according to claim 3 or 8, characterized in that: Determining the target heat exchanger according to the operation mode includes one of the following: When the operation mode is a cooling mode or a dehumidification mode, the outdoor heat exchanger is used as a target heat exchanger; When the operation mode is the heating mode, the indoor heat exchanger is used as the target heat exchanger.

10. The method according to claim 1, characterized in that Before obtaining the average current of the outdoor unit at each sampling time in chronological order, the method further includes: Acquire the current operating frequency and target frequency of the compressor, and calculate the absolute value of the deviation between the current operating frequency and the target frequency; When the absolute value of the deviation is less than or equal to the preset absolute value, the average current of the outdoor unit at each sampling time is obtained in chronological order after a preset delay.

11. A controller, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the pressure protection method for the air conditioner as claimed in any one of claims 1 to 10 when executing the computer program.

12. An air conditioner, characterized in that: Comprising a controller as claimed in claim 11.

13. A computer-readable storage medium, characterized in that: Computer executable instructions are stored, and the computer executable instructions are used to execute the pressure protection method for the air conditioner according to any one of claims 1 to 10.

14. A computer program product comprising a computer program or computer instructions, characterized in that The computer program or the computer instructions are stored in a computer-readable storage medium, the processor of a computer device reads the computer program or the computer instructions from the computer-readable storage medium, and the processor executes the computer program or the computer instructions, so that the computer device executes the pressure protection method for the air conditioner as described in any one of claims 1 to 10.