Compressor control method, device, medium, electronic equipment and air conditioner

By calculating the difference between the outdoor ambient temperature and the set indoor temperature and adjusting the current threshold, the problem of increased operating resistance caused by foreign objects stuck in the compressor is solved, realizing automatic protection of the compressor and avoiding false alarms and equipment damage.

CN117515766BActive Publication Date: 2026-07-21GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GREE ELECTRIC APPLIANCE INC OF ZHUHAI
Filing Date
2023-10-07
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

In existing technologies, when a foreign object gets stuck in the cylinder, causing increased operating resistance, the compressor cannot automatically stop, resulting in poor cooling or heating of the system and the risk of repeated triggering of overload protection.

Method used

By calculating the difference between the current outdoor ambient temperature and the set indoor temperature, the load level under the current operating conditions is determined, the upper and lower limit current thresholds are adjusted, and the compressor fault is judged in combination with the phase current to achieve automatic shutdown protection.

Benefits of technology

This effectively avoids the problem of false alarms and repeated triggering of current protection and overload protection under high load conditions, ensuring the safe operation of the compressor and preventing equipment damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117515766B_ABST
    Figure CN117515766B_ABST
Patent Text Reader

Abstract

The application provides a compressor control method and device, medium, electronic equipment and air conditioner, relates to the technical field of air conditioners, and solves the technical problem that when foreign matter causes the running resistance of a compressor to increase, the compressor does not automatically stop, leading to poor system refrigeration or heating, but still sending air. The method comprises the following steps: obtaining a user set temperature T1, an ambient temperature and a phase current I3; comparing the obtained user set temperature T1 with the ambient temperature, calculating upper and lower limit currents based on the comparison result; comparing the phase current I3 with the calculated upper and lower limit currents, judging whether the compressor is faulty based on the comparison result; and performing subsequent processing steps based on the judgment result. By changing the limited current into a gradient change amount related to the difference between the current inner and outer ring temperatures and the set indoor temperature, the application can effectively avoid the problems of false current protection and repeated triggering of the overload protection device in a high load working condition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of air conditioner technology, and in particular to a compressor control method, device, medium, electronic equipment, and air conditioner. Background Technology

[0002] In existing technology, when an air conditioner compressor malfunctions, the system determines whether the compressor is abnormal by judging whether the phase current exceeds the upper limit, and then shuts down to protect the compressor and air conditioner, and prevent accidents such as short circuits. However, if a foreign object gets stuck in the compressor piping, even if the compressor operates normally during factory inspection, it may fall into the cylinder after transportation, causing the compressor's rotational resistance to increase. In this case, even if the phase current has not exceeded the upper limit, continuing to run the compressor will pose a risk. Summary of the Invention

[0003] The purpose of this invention is to provide a compressor control method, device, medium, electronic device and air conditioner to solve the technical problem in the prior art that when foreign objects cause the compressor to run with increased resistance, it will not automatically stop, resulting in poor cooling or heating of the system, but still blowing air.

[0004] To achieve the above objectives, the present invention provides the following technical solution:

[0005] The present invention provides a compressor control method, comprising:

[0006] Obtain the user-defined temperature T1, ambient temperature, and phase current I3;

[0007] The user-set temperature T1 is compared with the ambient temperature, and the upper and lower limit currents are calculated based on the comparison results.

[0008] The phase current I3 is compared with the calculated upper and lower limit currents. Based on the comparison results, it is determined whether the compressor is faulty.

[0009] Based on the judgment result, proceed with subsequent processing steps.

[0010] Furthermore, the subsequent processing steps based on the judgment result include:

[0011] When the judgment result is a compressor failure, a fault code is displayed, and the internal and external fans and compressor are stopped.

[0012] When the judgment result indicates that the compressor is normal, the system continues to operate as before, and the steps of acquisition, calculation, judgment and execution are repeated until the air conditioner is turned off or adjusted to another mode.

[0013] Furthermore, the ambient temperature includes indoor ambient temperature T2 and outdoor ambient temperature T3.

[0014] Furthermore, the step of comparing the acquired user-set temperature T1 with the ambient temperature, and calculating the upper and lower limit currents based on the comparison results, includes:

[0015] When the air conditioner is in cooling mode

[0016] Compare the outdoor ambient temperature T3 with the user-set temperature T1. When the outdoor ambient temperature T3 ≥ the user-set temperature T1, the upper limit current I1 is obtained by the following formula: I1 = (T3 - T1) x A1 + A2; otherwise, the upper limit current I1 is obtained by the following formula: I1 = A2.

[0017] Compare the indoor ambient temperature T2 with the user-set temperature T1. When the indoor ambient temperature T2 ≥ the user-set temperature T1, the lower limit current I2 is obtained by the following formula: I2 = (T2 - T1) x A3; otherwise, the lower limit current I2 is obtained by the following formula: I2 = 0.

[0018] When the air conditioner is in heating mode

[0019] Compare the outdoor ambient temperature T3 with the user-set temperature T1. When the user-set temperature T1 ≥ the outdoor ambient temperature T3, the upper limit current I1 is obtained by the following formula: I1 = (T1 - T3) x A1 + A2; otherwise, the upper limit current I1 is obtained by the following formula: I1 = A2.

[0020] Compare the indoor ambient temperature T2 with the user-set temperature T1. When the user-set temperature T1 ≥ the indoor ambient temperature T2, the lower limit current I2 is obtained according to the following formula: I2 = (T1 - T2) x A3; otherwise, the lower limit current I2 is obtained according to the following formula: I2 = 0.

[0021] Where A1 is the preset upper limit product coefficient; A2 is the preset upper limit base value; and A3 is the preset lower limit product coefficient.

[0022] Overcurrent protection typically sets a fixed current limit. Its primary purpose is to protect devices like compressors when a short circuit occurs in the system. However, under overload conditions where there is a significant temperature difference between the inner and outer loops, the current limit often falls too low. By changing this current limit to a gradient change related to the difference between the current outdoor ambient temperature and the set indoor temperature, false current alarms under high load conditions can be effectively avoided.

[0023] Most compressors nowadays have built-in overload protection devices. These devices automatically trigger when the compressor temperature is too high and automatically deactivate once the temperature drops to a recovery temperature. However, since the compressor itself is generally not directly connected to the system, there's a possibility that the overload protection might be triggered repeatedly, but the system interprets it as a low-frequency operation. This can lead to repeated overload protection triggers. If the overload protection fails and remains constantly open, the compressor can continue to heat up, potentially causing various accidents. By calculating the difference between the ambient indoor temperature and the inner loop set temperature, the current operating state of the compressor is determined. Multiplying this difference by a fixed coefficient yields the current lower limit current. If the compressor operating current falls below this lower limit, the system determines that overload protection has been triggered, automatically shuts down, and reports a compressor fault, thus resolving the problem of repeated overload protection triggers.

[0024] This invention addresses the problem of compressors failing to automatically shut down when foreign objects increase operating resistance, resulting in poor cooling or heating while still supplying air. It also solves the problem of false overcurrent protection alarms caused by excessively low phase current limits under overload conditions with large internal and external temperature differences, leading to misjudgments by users and after-sales personnel. Furthermore, it resolves the issue of compressors repeatedly attempting to recover after being triggered by built-in overload, which could potentially lead to compressor overheating and melting if the overload protection device repeatedly fails.

[0025] Furthermore, comparing the phase current I3 with the calculated upper and lower limit currents, and determining whether the compressor is faulty based on the comparison result, includes:

[0026] The phase current I3 is compared with the upper limit current I1 and the lower limit current I2 respectively;

[0027] If the phase current I3 is greater than the upper limit current I1, or if the phase current I3 is less than the lower limit current I2, then the compressor is considered faulty; otherwise, the compressor is normal.

[0028] The compressor control method provided by this invention determines the load level under the current operating conditions by calculating the difference between the current outdoor ambient temperature and the set indoor temperature. Multiplying this difference by a fixed coefficient and adding an initial value yields the current upper limit current. When foreign objects cause wear on the compressor, the huge frictional resistance inside the compressor hinders rotor rotation, causing the compressor current to increase further. Eventually, the system current exceeds the limit current, the system determines a compressor fault, and automatically shuts down to protect the equipment and prevent the indoor fan from continuing to blow air. The current compressor operating state is determined by calculating the difference between the indoor ambient temperature and the inner ring set temperature. Multiplying this difference by a fixed coefficient yields the current lower limit current. Once the compressor operating current falls below this lower limit current, the system determines that overload protection has been triggered, automatically shuts down, and reports a compressor fault, thus solving the problem of repeated triggering of the overload protection device.

[0029] The present invention provides a control device comprising:

[0030] The acquisition unit is used to acquire the user-set temperature T1, ambient temperature, and phase current I3;

[0031] The calculation unit is used to compare the acquired user-set temperature T1 with the ambient temperature, and calculate the upper and lower limit currents based on the comparison results.

[0032] The judgment unit is used to compare the phase current I3 with the calculated upper and lower limit currents, and based on the comparison results, to determine whether the compressor is faulty.

[0033] The execution unit is used to perform subsequent processing steps based on the judgment result.

[0034] The present invention provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, is capable of performing the method.

[0035] The present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method through the computer program.

[0036] The present invention provides an air conditioner for performing the method.

[0037] Furthermore, it includes a compressor, an inner ring temperature detection device, an outer ring temperature detection device, and a current detection device; the outer ring temperature detection device is arranged on the outdoor side; the inner ring temperature detection device is arranged on the indoor side; and the current detection device is arranged on the power supply line of the compressor.

[0038] The air conditioner provided by this invention, by setting an inner loop temperature detection device, an outer loop temperature detection device, and a current detection device, can detect the outdoor ambient temperature, the indoor ambient temperature, and the phase current respectively. By changing the limited current to a gradient change amount related to the difference between the current inner and outer loop temperatures and the set indoor temperature, the problem of false current protection alarms and repeated triggering of overload protection devices under high load conditions can be effectively avoided. Attached Figure Description

[0039] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0040] Figure 1 This is a flowchart of the control method of the present invention;

[0041] Figure 2 This is a logic control diagram of one embodiment of the control method of the present invention;

[0042] Figure 3 This is a logic control diagram of another embodiment of the control method of the present invention;

[0043] Figure 4 This is a system composition diagram of the air conditioner of the present invention;

[0044] Figure 5 This is a system composition diagram of the control device of the present invention.

[0045] In the diagram: 1. Compressor; 2. Inner ring temperature detection device; 3. Outer ring temperature detection device; 4. Current detection device; 10. Acquisition unit; 20. Calculation unit; 30. Judgment unit; 40. Execution unit. Detailed Implementation

[0046] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be described in detail below. Obviously, the described embodiments are merely some embodiments of this invention, and not all embodiments. Based on the embodiments of this invention, all other implementation methods obtained by those skilled in the art without creative effort are within the scope of protection of this invention.

[0047] like Figure 1 As shown, the present invention provides a compressor control method, comprising:

[0048] S1. Obtain the user-set temperature T1, ambient temperature, and phase current I3; where the ambient temperature includes the indoor ambient temperature T2 and the outdoor ambient temperature T3; this step is to obtain parameters for subsequent calculation of the current limit.

[0049] S2. Compare the obtained user-set temperature T1 with the ambient temperature, and calculate the upper and lower limit currents based on the comparison results;

[0050] It should be noted here that the comparison includes the comparison between the user-set temperature T1 and the outdoor ambient temperature T3, as well as the comparison between the user-set temperature T1 and the indoor ambient temperature T2; the upper limit current I1 and the lower limit current I2 are calculated based on the two sets of comparison results.

[0051] S3. Compare the phase current I3 with the calculated upper and lower limit currents, and determine whether the compressor is faulty based on the comparison results.

[0052] It should be noted here that the comparison includes comparing the phase current I3 with the calculated upper limit current I1, and also comparing the phase current I3 with the calculated lower limit current I2. Both sets of comparison results can be used to determine whether the compressor is in a faulty state.

[0053] S4. Based on the judgment result, execute the subsequent processing steps.

[0054] The control method provided by this invention is a method that uses monitoring of internal and external ambient temperatures to determine the working load, and uses detection of compressor current to detect compressor faults, thereby achieving immediate shutdown and prompting of compressor faults, and triggering protection mechanisms.

[0055] Furthermore, the judgment result includes whether the compressor is in a faulty state, in which case the fault handling steps will be executed; or whether the compressor is in a normal operating state, in which case no action is required and the original mode of operation will continue.

[0056] Specifically, in this embodiment, the subsequent processing steps include:

[0057] When the judgment result is a compressor failure, a fault code is displayed, and the internal and external fans and compressor are stopped.

[0058] When the judgment result indicates that the compressor is normal, the system continues to operate as before, and the acquisition, calculation, judgment and execution steps S1, S2, S3 and S4 above are executed repeatedly until the air conditioner is turned off or adjusted to another mode that does not require the compressor to be turned on.

[0059] The following further explains the control method using the air conditioner in cooling or heating mode as an example. Figure 2 As shown, when the air conditioner is in cooling mode,

[0060] Compare the outdoor ambient temperature T3 with the user-set temperature T1. When the outdoor ambient temperature T3 ≥ the user-set temperature T1, the upper limit current I1 is obtained by the following formula: I1 = (T3 - T1) x A1 + A2; otherwise, the upper limit current I1 is obtained by the following formula: I1 = A2.

[0061] Compare the indoor ambient temperature T2 with the user-set temperature T1. When the indoor ambient temperature T2 ≥ the user-set temperature T1, the lower limit current I2 is obtained by the following formula: I2 = (T2 - T1) x A3; otherwise, the lower limit current I2 is obtained by the following formula: I2 = 0.

[0062] like Figure 3 As shown, when the air conditioner is in heating mode,

[0063] Compare the outdoor ambient temperature T3 with the user-set temperature T1. When the user-set temperature T1 ≥ the outdoor ambient temperature T3, the upper limit current I1 is obtained by the following formula: I1 = (T1 - T3) x A1 + A2; otherwise, the upper limit current I1 is obtained by the following formula: I1 = A2.

[0064] Compare the indoor ambient temperature T2 with the user-set temperature T1. When the user-set temperature T1 ≥ the indoor ambient temperature T2, the lower limit current I2 is obtained according to the following formula: I2 = (T1 - T2) x A3; otherwise, the lower limit current I2 is obtained according to the following formula: I2 = 0.

[0065] Where A1 is the preset upper limit product coefficient; A2 is the preset upper limit base value; and A3 is the preset lower limit product coefficient.

[0066] After calculating the upper and lower limit currents, it is necessary to determine whether the compressor is faulty based on the relationship between the phase current and the upper and lower limit currents. Specifically:

[0067] The phase current I3 is compared with the upper limit current I1 and the lower limit current I2 respectively;

[0068] When the phase current I3 is greater than the upper limit current I1, or when the phase current I3 is less than the lower limit current I2, the compressor is determined to be faulty, a fault code is displayed, and the indoor and outdoor fans and the compressor are stopped. Otherwise, if I2≤I3≤I1, the compressor is normal, and the above steps S1, S2, S3 and S4 are repeatedly executed in a loop for acquisition, calculation, judgment and execution until the air conditioner is turned off or switched to another mode that does not require the compressor to be turned on.

[0069] The compressor control method provided by this invention determines the load level under the current operating conditions by calculating the difference between the current outdoor ambient temperature and the set indoor temperature. Multiplying this difference by a fixed coefficient and adding an initial value yields the current upper limit current. When foreign objects cause wear on the compressor, the huge frictional resistance inside the compressor hinders rotor rotation, causing the compressor current to increase further. Eventually, the system current exceeds the limit current, the system determines a compressor fault, and automatically shuts down to protect the equipment and prevent the indoor fan from continuing to blow air. The current compressor operating state is determined by calculating the difference between the indoor ambient temperature and the inner ring set temperature. Multiplying this difference by a fixed coefficient yields the current lower limit current. Once the compressor operating current falls below this lower limit current, the system determines that overload protection has been triggered, automatically shuts down, and reports a compressor fault, thus solving the problem of repeated triggering of the overload protection device.

[0070] like Figure 5 As shown, the present invention provides a control device comprising:

[0071] Acquisition unit 10 is used to acquire user-set temperature T1, ambient temperature and phase current I3;

[0072] The calculation unit 20 is used to compare the acquired user-set temperature T1 with the ambient temperature, and calculate the upper and lower limit currents based on the comparison results.

[0073] The judgment unit 30 is used to compare the phase current I3 with the calculated upper and lower limit currents, and based on the comparison result, to determine whether the compressor is faulty.

[0074] Execution unit 40 is used to execute subsequent processing steps based on the judgment result.

[0075] It should be noted that the aforementioned units can be either functional modules or program modules, and can be implemented through software or hardware. For modules implemented in hardware, these modules can reside in the same processor; or they can be located in different processors in any combination.

[0076] This invention provides a computer-readable storage medium storing a computer program. When executed by a processor, the computer program can perform the various processes of the compressor control method embodiments described above, achieving the same technical effects. To avoid repetition, these will not be repeated here. The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. The computer program stored on the computer-readable storage medium, when executed by a processor, can perform the described method.

[0077] The present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor executes the above-described compressor control method through the computer program.

[0078] like Figure 4 As shown, the present invention provides an air conditioner for performing the method.

[0079] Furthermore, it includes a compressor, an inner ring temperature detection device, an outer ring temperature detection device, and a current detection device; the outer ring temperature detection device is arranged on the outdoor side; the inner ring temperature detection device is arranged on the indoor side; and the current detection device is arranged on the power supply line of the compressor.

[0080] It should be noted that the current detection device can be placed on any phase line that supplies power to the compressor, and this line can also supply power to the main board. The inner ring temperature detection device can be configured separately or the temperature sensor at the indoor unit's air inlet can be used directly instead; the outer ring temperature detection device can be configured separately or the temperature sensor at the outdoor unit's air inlet can be used directly instead.

[0081] Furthermore, the compressor is a fixed-frequency compressor or a variable-frequency compressor.

[0082] The air conditioner provided by this invention, by setting an inner loop temperature detection device, an outer loop temperature detection device, and a current detection device, can detect the outdoor ambient temperature, the indoor ambient temperature, and the phase current respectively. By changing the limited current to a gradient change amount related to the difference between the current inner and outer loop temperatures and the set indoor temperature, the problem of false current protection alarms and repeated triggering of overload protection devices under high load conditions can be effectively avoided.

[0083] Control principle:

[0084] When the air conditioner is running, the compressor starts, and the system receives the indoor ambient temperature T2 returned by the inner loop temperature detection device, the outdoor ambient temperature T3 returned by the outer loop temperature detection device, the user-set temperature T1, and the phase current I3 on ​​the compressor power supply line.

[0085] When the air conditioner is in cooling mode, when T3≥T1, the larger the difference between T3 and T1, the greater the difficulty for the compressor to transport the cooling capacity from the outside, the greater the work required by the compressor, and the greater the corresponding compressor phase current I3. Therefore, the upper limit current required to detect compressor faults must also be increased accordingly. By setting the upper limit current I1=(T3-T1)×A1+A2, the upper limit current can be increased with the increase of compressor load, avoiding false fault alarms that lead to shutdown. At the same time, it can also detect and shut down the air conditioner system in the first place when there are faults such as compressor wear, so as to protect the air conditioning system.

[0086] When the air conditioner is in cooling mode, when T3 < T1, the outdoor temperature is already lower than the indoor temperature. The compressor only needs to run at a low frequency to transfer the cooling capacity of the outer loop into the room. The corresponding compressor phase current I3 will be stable at the low frequency current. Therefore, by setting the upper limit current I1 = A2, the upper limit current is fixed at a lower value, thereby accurately detecting abnormal compressor conditions.

[0087] When the air conditioner is in cooling mode, if T2 ≥ T1, the ambient temperature has not yet reached the required temperature, and the compressor needs to start running. The larger the temperature difference (T2-T1), the higher the frequency of compressor operation, and the higher the phase current generated by each operating component. Therefore, by setting the lower limit current I2 = (T2-T1) × A3, the overload protection status of the compressor can be accurately sensed. Once the overload protection is triggered, the current will be lower than I2, and the system can detect the compressor abnormality in time, thereby controlling the shutdown to protect the equipment safety. If T2 < T1, the ambient temperature is already lower than the set temperature, the compressor stops, and the lower limit current I2 also drops to 0 to avoid false alarms.

[0088] When the air conditioner is in heating mode, when T1≥T3, the larger the difference between T1 and T3, the greater the difficulty for the compressor to move heat from the outside, and the greater the work required for the compressor to move cooling capacity. The corresponding compressor phase current I3 will also be greater. Therefore, the upper limit current required to detect compressor faults should also be increased accordingly. By setting the upper limit current I1=(T1-T3)×A1+A2, the upper limit current can be increased with the increase of compressor load, avoiding false fault alarms that lead to shutdown. At the same time, it can also detect and shut down the air conditioner system in the first place when there are faults such as compressor wear, so as to protect the air conditioning system.

[0089] When the air conditioner is in heating mode, when T1 < T3, the outdoor temperature is already higher than the indoor temperature. The compressor only needs to run at a low frequency to transfer the heat from the outer loop into the room. The corresponding compressor phase current I3 will be stable at the low frequency current. Therefore, by setting the upper limit current I1 = A2, the upper limit current is fixed at a lower value, thereby accurately detecting abnormal compressor conditions.

[0090] When the air conditioner is in heating mode, if T1≥T2, the surface indoor temperature has not yet reached the required temperature, and the compressor needs to be turned on. The larger the temperature difference (T1-T2), the higher the frequency of compressor operation, and the higher the phase current generated by each operating component. Therefore, by setting the lower limit current I2=(T1-T2)×A3, the overload protection status of the compressor can be accurately sensed. Once the overload protection is triggered, the current will be lower than I2, and the system can detect the compressor abnormality in time, thereby controlling the shutdown to protect the equipment safety.

[0091] When the air conditioner is in heating mode, if T1 < T2, the ambient temperature has exceeded the set temperature, the compressor stops, and the lower limit current I2 also drops to 0 to avoid false alarms.

[0092] It should be noted that since the control device generally shares a power supply with the compressor, it has a small current that is proportional to the compressor current. When the compressor malfunctions, the current generated by the control module is prone to causing false alarms. Therefore, the lower limit current I2 needs to change linearly.

[0093] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0094] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0095] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0096] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0097] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0098] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0099] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0100] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A compressor control method, characterized in that, include: The system acquires the user-set temperature T1, ambient temperature, and phase current I3; the ambient temperature includes the indoor ambient temperature T2 and the outdoor ambient temperature T3. The user-set temperature T1 is compared with the ambient temperature. Based on the comparison result, the upper and lower limit currents are calculated, including: When the air conditioner is in cooling mode Compare the outdoor ambient temperature T3 with the user-set temperature T1. When the outdoor ambient temperature T3 ≥ the user-set temperature T1, the upper limit current I1 is obtained by the following formula: I1 = (T3 - T1) x A1 + A2; otherwise, the upper limit current I1 is obtained by the following formula: I1 = A2. Compare the indoor ambient temperature T2 with the user-set temperature T1. When the indoor ambient temperature T2 ≥ the user-set temperature T1, the lower limit current I2 is obtained according to the following formula: I2 = (T2 - T1) x A3; otherwise, the lower limit current I2 is obtained according to the following formula: I2 = 0. When the air conditioner is in heating mode Compare the outdoor ambient temperature T3 with the user-set temperature T1. When the user-set temperature T1 ≥ the outdoor ambient temperature T3, the upper limit current I1 is obtained according to the following formula: I1 = (T1 - T3) x A1 + A2; otherwise, the upper limit current I1 is obtained according to the following formula: I1 = A2. Compare the indoor ambient temperature T2 with the user-set temperature T1. When the user-set temperature T1 ≥ the indoor ambient temperature T2, the lower limit current I2 is obtained according to the following formula: I2 = (T1 - T2) x A3; otherwise, the lower limit current I2 is obtained according to the following formula: I2 = 0. Where A1 is the preset upper limit product coefficient; A2 is the preset upper limit base value; and A3 is the preset lower limit product coefficient. The phase current I3 is compared with the calculated upper and lower limit currents. Based on the comparison results, it is determined whether the compressor is faulty. Based on the judgment result, proceed with subsequent processing steps.

2. The method according to claim 1, characterized in that, The subsequent processing steps based on the judgment result include: When the judgment result is a compressor failure, a fault code is displayed, and the internal and external fans and compressor are stopped. When the judgment result indicates that the compressor is normal, the system continues to operate as before, and the steps of acquisition, calculation, judgment and execution are repeated until the air conditioner is turned off or adjusted to another mode.

3. The method according to claim 1, characterized in that, The step of comparing the phase current I3 with the calculated upper and lower limit currents, and determining whether the compressor is faulty based on the comparison result, includes: The phase current I3 is compared with the upper limit current I1 and the lower limit current I2 respectively; If the phase current I3 is greater than the upper limit current I1, or if the phase current I3 is less than the lower limit current I2, then the compressor is considered faulty; otherwise, the compressor is normal.

4. A control device, characterized in that, include: The acquisition unit is used to acquire the user-set temperature T1, ambient temperature, and phase current I3; the ambient temperature includes indoor ambient temperature T2 and outdoor ambient temperature T3. The calculation unit compares the acquired user-set temperature T1 with the ambient temperature, and calculates the upper and lower limit currents based on the comparison results, including: when the air conditioner is in cooling mode, Compare the outdoor ambient temperature T3 with the user-set temperature T1. When the outdoor ambient temperature T3 ≥ the user-set temperature T1, the upper limit current I1 is obtained by the following formula: I1 = (T3 - T1) x A1 + A2; otherwise, the upper limit current I1 is obtained by the following formula: I1 = A2. Compare the indoor ambient temperature T2 with the user-set temperature T1. When the indoor ambient temperature T2 ≥ the user-set temperature T1, the lower limit current I2 is obtained according to the following formula: I2 = (T2 - T1) x A3; otherwise, the lower limit current I2 is obtained according to the following formula: I2 = 0. When the air conditioner is in heating mode Compare the outdoor ambient temperature T3 with the user-set temperature T1. When the user-set temperature T1 ≥ the outdoor ambient temperature T3, the upper limit current I1 is obtained according to the following formula: I1 = (T1 - T3) x A1 + A2; otherwise, the upper limit current I1 is obtained according to the following formula: I1 = A2. Compare the indoor ambient temperature T2 with the user-set temperature T1. When the user-set temperature T1 ≥ the indoor ambient temperature T2, the lower limit current I2 is obtained according to the following formula: I2 = (T1 - T2) x A3; otherwise, the lower limit current I2 is obtained according to the following formula: I2 = 0. Where A1 is the preset upper limit product coefficient; A2 is the preset upper limit base value; and A3 is the preset lower limit product coefficient. The judgment unit is used to compare the phase current I3 with the calculated upper and lower limit currents, and based on the comparison results, to determine whether the compressor is faulty. The execution unit is used to perform subsequent processing steps based on the judgment result.

5. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, is capable of performing the method as described in any one of claims 1-3.

6. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor performs the method as described in any one of claims 1-3 through the computer program.

7. An air conditioner, characterized in that, The air conditioner is used to perform the method as described in any one of claims 1-3.

8. The air conditioner according to claim 7, characterized in that, It includes a compressor, an inner ring temperature detection device, an outer ring temperature detection device, and a current detection device; the outer ring temperature detection device is located on the outdoor side; the inner ring temperature detection device is located on the indoor side; and the current detection device is located on the power supply line of the compressor.