CN-118896387-B - Method and device for controlling air conditioner, air conditioner and computer readable storage medium
Abstract
The application relates to the technical field of intelligent household appliances and discloses a method for controlling an air conditioner, wherein the air conditioner comprises a four-way valve for controlling the flow direction of a refrigerant, when an electromagnetic coil of the four-way valve is not electrified, a sliding block of the four-way valve is positioned at a refrigerating position, when the electromagnetic coil is electrified in the forward direction, the sliding block is positioned at a heating position, when the electromagnetic coil is electrified in the reverse direction, the sliding block is rebounded to the refrigerating position, the method comprises the steps of adjusting the position of the sliding block according to an operation mode selected by a user so as to reverse the four-way valve, judging whether the conduction direction of the four-way valve is normal according to the overheat degree of exhaust, and adjusting the voltage of the electromagnetic coil when the conduction direction of the four-way valve is abnormal so that the conduction direction of the four-way valve corresponds to the operation mode selected by the user. When the refrigerating mode or the heating mode is switched, the method avoids the switching fault condition of the four-way valve, avoids the shutdown of the air conditioner caused by the switching fault of the four-way valve, and improves the use experience of users.
Inventors
- SONG LONG
- LING XIANFENG
- DONG SHUCHENG
- WANG YIHENG
- YANG SHENG
Assignees
- 青岛海尔空调器有限总公司
- 青岛海尔空调电子有限公司
- 海尔智家股份有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20240731
Claims (9)
- 1. A method for controlling an air conditioner, the air conditioner comprising a four-way valve for controlling the flow direction of a refrigerant, wherein when an electromagnetic coil of the four-way valve is not energized, a sliding block of the four-way valve is in a refrigerating position, when the electromagnetic coil is energized in a forward direction, the sliding block is in a heating position, when the electromagnetic coil is energized in a reverse direction, the sliding block is rebounded to the refrigerating position, the method comprising: the position of the sliding block is adjusted according to the operation mode selected by the user so as to change the direction of the four-way valve; judging whether the conduction direction of the four-way valve is normal or not according to the exhaust superheat degree; Under the condition that the conduction direction of the four-way valve is abnormal, according to the exhaust superheat degree, the operation mode selected by a user and the previous operation mode after startup, the voltage of the electromagnetic coil is regulated so that the conduction direction of the four-way valve corresponds to the operation mode selected by the user; the method comprises the steps of adjusting the voltage of the electromagnetic coil according to the exhaust superheat degree, the operation mode selected by a user and the previous operation mode after startup so that the conduction direction of the four-way valve corresponds to the operation mode selected by the user, wherein when the operation mode selected by the user is a refrigeration mode and the previous operation mode after startup is a heating mode, increasing the reverse voltage of the electromagnetic coil according to the exhaust superheat degree and the magnetic force coefficient of the electromagnetic coil so that the conduction direction of the four-way valve is the refrigeration direction.
- 2. The method of claim 1, wherein determining whether the conduction direction of the four-way valve is normal based on the degree of superheat of the exhaust gas, comprises: Under the condition of normal exhaust superheat degree, the conduction direction of the four-way valve is determined to be normal, or, And under the condition of abnormal exhaust superheat, determining that the conduction direction of the four-way valve is abnormal.
- 3. The method of claim 1, wherein adjusting the solenoid voltage to cause the conduction direction of the four-way valve to correspond to the user-selected mode of operation based on the degree of superheat of the exhaust gas and the user-selected mode of operation and the previous mode of operation after startup, further comprises: and under the condition that the operation mode selected by the user is a heating mode, increasing the forward voltage of the electromagnetic coil according to the exhaust superheat degree and the magnetic coefficient of the electromagnetic coil so as to enable the conduction direction of the four-way valve to be the heating direction.
- 4. The method according to claim 1, wherein in the case of abnormality in the conduction direction of the four-way valve, further comprising: and sending out four-way valve fault alarm information under the condition that the operation mode selected by the user is a refrigeration mode and the previous operation mode after the power-on is a non-heating mode or the power-on is started for the first time.
- 5. The method of any one of claims 1 to 4, wherein adjusting the position of the slider to reverse the four-way valve according to the user-selected mode of operation comprises: and adjusting the position of the sliding block according to the operation mode selected by the user and/or the previous operation mode after the starting-up so as to reverse the four-way valve.
- 6. An apparatus for controlling an air conditioner, wherein the air conditioner includes a four-way valve for controlling a flow direction of a refrigerant, a slider is in a cooling position when an electromagnetic coil of the four-way valve is not energized, the slider is in a heating position when the electromagnetic coil is energized in a forward direction, and the slider is rebounded to the cooling position when the electromagnetic coil is energized in a reverse direction, the apparatus comprising: The reversing module is configured to adjust the position of the sliding block according to the operation mode selected by a user so as to reverse the four-way valve; The device comprises a judging and adjusting module, a judging and adjusting module and a control module, wherein the judging and adjusting module is configured to judge whether the conduction direction of the four-way valve is normal according to the degree of superheat of exhaust; the method comprises the steps of adjusting the voltage of the electromagnetic coil according to the exhaust superheat degree, the operation mode selected by a user and the previous operation mode after startup so that the conduction direction of the four-way valve corresponds to the operation mode selected by the user, wherein when the operation mode selected by the user is a refrigeration mode and the previous operation mode after startup is a heating mode, increasing the reverse voltage of the electromagnetic coil according to the exhaust superheat degree and the magnetic force coefficient of the electromagnetic coil so that the conduction direction of the four-way valve is the refrigeration direction.
- 7. An apparatus for controlling an air conditioner comprising a processor and a memory storing program instructions, wherein the processor is configured to perform the method for controlling an air conditioner according to any one of claims 1 to 5 when the program instructions are executed.
- 8. An air conditioner, comprising: The air conditioner body comprises a four-way valve for controlling the flow direction of a refrigerant to be switched, wherein when an electromagnetic coil of the four-way valve is not electrified, a sliding block of the four-way valve is positioned at a refrigerating position, when the electromagnetic coil is electrified in the forward direction, the sliding block is positioned at a heating position, and when the electromagnetic coil is electrified in the reverse direction, the sliding block is rebounded to the refrigerating position; The apparatus for controlling an air conditioner as claimed in claim 6 or 7, mounted to the air conditioner body.
- 9. A computer readable storage medium storing program instructions which, when executed, are adapted to cause a computer to carry out the method for controlling an air conditioner according to any one of claims 1 to 5.
Description
Method and device for controlling air conditioner, air conditioner and computer readable storage medium Technical Field The present application relates to the technical field of intelligent home appliances, and for example, to a method and apparatus for controlling an air conditioner, and a computer readable storage medium. Background At present, the four-way valve used for the common direct-current variable-frequency air conditioner realizes the change of the magnetic field direction by changing the alternating-current input, so as to control the conduction of the four-way valve, but the changing alternating-current input has higher requirements on a power supply and a system component, and is easy to damage a circuit. The related technology discloses a control circuit of a bistable electromagnetic valve, which comprises a magnetic induction coil of the bistable electromagnetic valve, a double-pole double-throw switch and a voltage dividing resistor, wherein one end of the voltage dividing resistor is connected with a first end of the magnetic induction coil, the first end of the magnetic induction coil is used as a first fixed contact of the first switch of the double-pole double-throw switch, the second end of the magnetic induction coil is used as a second fixed contact of the first switch, the second end of the magnetic induction coil is used as a first fixed contact of the second switch of the double-pole double-throw switch, the other end of the voltage dividing resistor is used as a second fixed contact of the second switch, and the first switch and the second switch are respectively provided with movable contacts for connecting a power supply. In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art: When the bistable four-way valve is used for switching a refrigerating mode or a heating mode, switching faults are easy to occur, so that the air conditioner is stopped, the use of a user is affected, and the user experience is poor. It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the application and thus may include information that does not form the prior art that is already known to those of ordinary skill in the art. Disclosure of Invention The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview, and is intended to neither identify key/critical elements nor delineate the scope of such embodiments, but is intended as a prelude to the more detailed description that follows. The embodiment of the disclosure provides a method and a device for controlling an air conditioner, the air conditioner and a computer readable storage medium, so as to avoid a switching failure condition of a four-way valve when a refrigerating mode or a heating mode is switched, avoid the air conditioner stop caused by the switching failure of the four-way valve, and improve the use experience of a user. In some embodiments, the air conditioner comprises a four-way valve for controlling the flow direction of a refrigerant, when an electromagnetic coil of the four-way valve is not electrified, a sliding block of the four-way valve is in a refrigerating position, when the electromagnetic coil is electrified in the forward direction, the sliding block is in a heating position, when the electromagnetic coil is electrified in the reverse direction, the sliding block is bounced back to the refrigerating position, the method comprises the steps of adjusting the position of the sliding block according to an operation mode selected by a user to reverse the four-way valve, judging whether the conduction direction of the four-way valve is normal according to the overheat degree of exhaust, and adjusting the voltage of the electromagnetic coil when the conduction direction of the four-way valve is abnormal so that the conduction direction of the four-way valve corresponds to the operation mode selected by the user. Optionally, the position of the sliding block is adjusted according to the operation mode selected by the user to reverse the four-way valve, including adjusting the position of the sliding block according to the operation mode selected by the user and/or the previous operation mode after startup to reverse the four-way valve. Optionally, according to the operation mode selected by a user and/or the previous operation mode after the start-up, the position of the sliding block is adjusted to change the four-way valve, wherein the method comprises the steps of controlling the electromagnetic coil to be not electrified when the operation mode selected by the user is a refrigeration mode and the previous operation mode after the start-up is a non-heating mode or the first start-up, so that the sliding block is positioned at the refrigerat