CN110762742A - Air conditioner control method and device, air conditioner and storage medium - Google Patents

Air conditioner control method and device, air conditioner and storage medium Download PDF

Info

Publication number
CN110762742A
CN110762742A CN201910992644.6A CN201910992644A CN110762742A CN 110762742 A CN110762742 A CN 110762742A CN 201910992644 A CN201910992644 A CN 201910992644A CN 110762742 A CN110762742 A CN 110762742A
Authority
CN
China
Prior art keywords
air conditioner
module
optical coupler
communication
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910992644.6A
Other languages
Chinese (zh)
Other versions
CN110762742B (en
Inventor
刘湘
张琴兰
胡作平
徐经碧
韩东
朱松伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongshan Intelligent Software Technology Co Ltd
TCL Air Conditioner Zhongshan Co Ltd
Original Assignee
Zhongshan Intelligent Software Technology Co Ltd
TCL Air Conditioner Zhongshan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongshan Intelligent Software Technology Co Ltd, TCL Air Conditioner Zhongshan Co Ltd filed Critical Zhongshan Intelligent Software Technology Co Ltd
Priority to CN201910992644.6A priority Critical patent/CN110762742B/en
Publication of CN110762742A publication Critical patent/CN110762742A/en
Application granted granted Critical
Publication of CN110762742B publication Critical patent/CN110762742B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • F24F11/32Responding to malfunctions or emergencies
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • F24F11/32Responding to malfunctions or emergencies
    • F24F11/38Failure diagnosis
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/88Electrical aspects, e.g. circuits

Abstract

The application relates to an air conditioner control method and device, an air conditioner and a storage medium, wherein the method comprises the following steps: judging whether a first optocoupler in a communication circuit of the indoor unit and the outdoor unit of the air conditioner breaks down or not; if the first optical coupler fails, the first optical coupler is switched to a second optical coupler, and the second optical coupler is a spare optical coupler; after the first optical coupler is switched to the second optical coupler, whether the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is abnormal is judged; and if the communication between the indoor air conditioner and the outdoor air conditioner is abnormal, prompting that the communication between the indoor air conditioner and the outdoor air conditioner fails. Through the air conditioner control method, the communication fault of the air conditioner caused by the damage of the optical coupler is avoided, the communication fault rate of the air conditioner is reduced, and the use experience of a user is improved.

Description

Air conditioner control method and device, air conditioner and storage medium
Technical Field
The present application relates to the field of air conditioner communication technologies, and in particular, to an air conditioner control method and apparatus, an air conditioner, and a storage medium.
Background
At present, the communication of indoor and outdoor units of a household variable frequency air conditioner mostly adopts a zero-live line communication mode, the zero-live line communication is a current loop communication mode, and the on and off of an optical coupler in a circuit are determined by a loop current value. However, with the increase of service life, the optocoupler is aged, the current transfer ratio (CTR for short) of the optocoupler is reduced, the loop current of the light receiving end of the optocoupler is reduced, the optocoupler cannot be conducted, the internal and external units cannot normally communicate with each other, the air conditioner communication system breaks down, and the normal use of a user is affected.
In the related technology, the zero-live line communication fault is comprehensively judged through the voltage and communication data distribution on the loop, and a convenient troubleshooting means is provided for maintenance personnel by specifying the communication fault to the corresponding circuit module; or acquiring the communication data of the zero line and the live line of the internal and external machines by collecting the strong electricity part of the variable frequency air conditioner, processing the communication data to obtain effective data required by communication monitoring, uploading the effective data, and monitoring the communication between the internal and external machines of the variable frequency air conditioner.
The two methods are both used for maintaining the communication fault of the air conditioner, and a method for solving the problem that the communication fault caused by the damage of the optical coupler such as the aging of the optical coupler influences the use of the air conditioner by a user is not provided in the related technology.
Therefore, the prior art is in need of improvement.
Disclosure of Invention
The invention provides an air conditioner control method and device, an air conditioner and a storage medium, and aims to solve the problem of communication abnormity of the air conditioner caused by damage of an optical coupler.
In a first aspect, an embodiment of the present application provides an air conditioner control method, where the method includes: judging whether a first optocoupler in a communication circuit of the indoor unit and the outdoor unit of the air conditioner breaks down or not; if the first optical coupler fails, the first optical coupler is switched to a second optical coupler, and the second optical coupler is a spare optical coupler; after the first optical coupler is switched to the second optical coupler, whether the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is abnormal is judged; and if the communication between the indoor air conditioner and the outdoor air conditioner is abnormal, prompting that the communication between the indoor air conditioner and the outdoor air conditioner fails.
Optionally, the determining whether a first optocoupler in a communication circuit between the indoor unit of the air conditioner and the outdoor unit of the air conditioner malfunctions includes: judging whether the current transmission ratio of the first optocoupler in the communication circuit is lower than a threshold value, wherein the threshold value is smaller than or equal to the lowest current transmission ratio of the optocoupler when the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is normal; and if the current transmission ratio of the first optical coupler is lower than the threshold value, the first optical coupler breaks down.
Optionally, before judging whether a first optocoupler in a communication circuit between the indoor unit of the air conditioner and the outdoor unit of the air conditioner fails, the method includes: judging whether the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is abnormal or not; and if the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is abnormal, judging whether a first optocoupler in the communication circuit breaks down or not.
In a second aspect, an embodiment of the present application provides an air conditioner control device, including: a first optical coupling unit;
a second optical coupling unit; the control unit is connected with the first optical coupling unit and the second optical coupling unit and used for judging whether the first optical coupling in the communication circuit of the indoor unit and the outdoor unit of the air conditioner fails or not; if the first optical coupler fails, the first optical coupler is switched to a second optical coupler, and the second optical coupler is a spare optical coupler; after the first optical coupler is switched to the second optical coupler, whether the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is abnormal is judged; if the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is abnormal, the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is prompted to break down, wherein the first optical coupler is arranged on the first optical coupler unit, and the second optical coupler is arranged on the second optical coupler unit.
Optionally, the first optical coupling unit includes: the first optical coupling module is connected with the first switch module and is used for communication between the air conditioner indoor unit and the air conditioner outdoor unit; the first switch module is connected with the first optical coupling module, the first sampling module and the control unit and is used for controlling the on-off of the first optical coupling module; the first sampling module is connected with the first switch module and the first amplifying module and is used for sampling the current in the first optical coupling module; the first amplification module is connected with the first sampling module and the control unit and is used for amplifying the current collected by the first sampling module; the first sampling module collects current in the first optical coupling module, the first amplifying module amplifies the current collected by the first sampling module and outputs the current to the control unit, the control unit calculates the current transmission ratio of the optical coupling in the first optical coupling module according to the current output by the first amplifying module and compares the current transmission ratio with a threshold value, the threshold value is smaller than or equal to the lowest current transmission ratio of the optical coupling when the indoor unit of the air conditioner and the outdoor unit of the air conditioner are in communication normally, the on-off of the first switch module is controlled according to the comparison result, and whether the first optical coupling module works is controlled through the on-off of the first switch module.
Optionally, the first optical coupler module comprises a first optical coupler; the first light-switching module comprises a first triode; the first sampling module comprises a first sampling resistor; the first amplification module comprises a first amplification circuit; the first sampling resistor collects current in the first optocoupler, the first amplifying circuit amplifies the current collected by the first sampling resistor and outputs the amplified current to the control unit, the control unit calculates a current transmission ratio of the first optocoupler according to the current output by the first amplifying circuit, compares the current transmission ratio with a threshold value, controls the on-off of the first triode according to a comparison result, and controls whether the first optocoupler works or not through the on-off of the first triode.
Optionally, the second light coupling unit includes: the second optical coupling module is connected with the second switch module and is used for communication between the air conditioner indoor unit and the air conditioner outdoor unit; the second switch module is connected with the second optical coupling module, the second sampling module and the control unit and is used for controlling the on-off of the second optical coupling module; the second sampling module is connected with the second switch module and the second amplifying module and is used for sampling the current in the second optical coupling module; the second amplification module is connected with the second sampling module and the control unit and is used for amplifying the current collected by the second sampling module; the control unit calculates the current transmission ratio of the optocoupler in the first optocoupler module according to the current output by the first amplification module, compares the current transmission ratio with a threshold value, controls the on-off of the second switch module according to the comparison result, and controls whether the second optocoupler module works or not through the on-off of the second switch module.
Optionally, the second optical coupler module comprises a second optical coupler; the second light-switching module comprises a second triode; the second sampling module comprises a second sampling resistor; the second amplification module comprises a second amplification circuit; the first sampling resistor collects current in the first optocoupler, the first amplifying circuit amplifies the current collected by the first sampling resistor and outputs the amplified current to the control unit, the control unit calculates the current transmission ratio of the first optocoupler according to the current output by the first amplifying circuit, compares the current transmission ratio with a threshold value, controls the on-off of the second triode according to a comparison result, and controls whether the second optocoupler works or not through the on-off of the second triode.
In a third aspect, the present application provides an air conditioner, which includes the above device.
In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
judging whether a first optocoupler in the communication circuit breaks down or not; under the condition that the first optical coupler fails, the first optical coupler is switched to a second optical coupler, and the second optical coupler is a spare optical coupler; after the switching is completed, judging whether the communication of the air conditioning unit is abnormal or not; and prompting that the communication of the air conditioning unit fails under the condition that the communication is abnormal.
Compared with the prior art, the embodiment of the application has the following advantages:
according to the method provided by the embodiment of the application, whether a first optocoupler in a communication circuit of an indoor unit and an outdoor unit of an air conditioner breaks down or not is judged; if the first optical coupler fails, the first optical coupler is switched to a second optical coupler, and the second optical coupler is a spare optical coupler; after the first optical coupler is switched to the second optical coupler, whether the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is abnormal is judged; and if the communication between the indoor air conditioner and the outdoor air conditioner is abnormal, prompting that the communication between the indoor air conditioner and the outdoor air conditioner fails. Through the air conditioner control method, the communication fault of the air conditioner caused by the damage of the optical coupler is avoided, the communication fault rate of the air conditioner is reduced, and the use experience of a user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic diagram of a prior art communication circuit;
fig. 2 is a schematic flowchart of an air conditioner control method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of an air conditioner control method according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram of an air conditioning control device according to an embodiment of the present application;
FIG. 5 is a schematic structural diagram of an air conditioning control apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a communication circuit in an embodiment of the present application;
fig. 7 is an internal structural diagram of a computer device in the embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The inventor discovers through research that along with the increase of service life, the opto-coupler is ageing, and the CTR (current transfer ratio) value of opto-coupler reduces, and the photic end loop current of opto-coupler diminishes, leads to the opto-coupler can't switch on, and interior outer machine just also can't normal communication, and air conditioner communication system breaks down, influences user normal use. In the related art, the communication fault of the air conditioner is maintained, and a method for solving the problem that the communication fault caused by the damage of the optical coupler such as the aging of the optical coupler influences the use problem of the air conditioner by a user is not provided.
In order to solve the above problems, in the embodiment of the present application, a new communication circuit for an inverter air conditioner indoor unit and outdoor unit is provided on the basis of a commonly used communication circuit, as shown in fig. 1, as shown in fig. 6. When the communication of air conditioner broke down, detected through the CTR value to the opto-coupler to when the CTR value of opto-coupler was less than the threshold value, replaced the opto-coupler in the air conditioner, avoided the communication trouble because of the air conditioner that the opto-coupler damage leads to, reduced the communication fault rate of air conditioner, promoted user's use and experienced.
Various non-limiting embodiments of the present application are described in detail below with reference to the accompanying drawings.
An embodiment of the present application provides an air conditioner control method, as shown in fig. 2, the method includes:
and S1, judging whether a first optocoupler in a communication circuit of the indoor unit and the outdoor unit of the air conditioner breaks down.
In this embodiment of the present application, in step S1, it is determined whether an optocoupler in a communication circuit between the indoor unit and the outdoor unit of the air conditioner is faulty. Specifically, whether the first optocoupler fails or not can be judged through the current transmission ratio of the first optocoupler. If the current transmission ratio of the first optocoupler is lower than a threshold value, the first optocoupler breaks down; and if the current transmission ratio of the first optical coupler is not lower than the threshold value, the first optical coupler does not have a fault.
In an alternative embodiment, step S1 includes: judging whether the current transmission ratio of the first optocoupler in a communication circuit of the indoor unit of the air conditioner and the outdoor unit of the air conditioner is lower than a threshold value, wherein the threshold value is smaller than or equal to the lowest current transmission ratio of the optocoupler when the indoor unit of the air conditioner and the outdoor unit of the air conditioner are in normal communication; if the current transmission ratio of the first optical coupler is lower than the threshold value, the first optical coupler breaks down; and if the current transmission ratio of the first optical coupler is not lower than the threshold value, the first optical coupler does not break down. The threshold may also be a CTR value during normal communication of the optocoupler.
In an alternative embodiment, as shown in fig. 3, before step S1, the method includes:
and S0, judging whether the communication between the air conditioner indoor unit and the air conditioner outdoor unit is abnormal or not.
In this embodiment of the present application, a communication fault of an air conditioner may be caused by a failure of an optical coupler in a communication circuit, so that it is determined whether communication of an air conditioning unit is abnormal, and if communication between an indoor unit of the air conditioner and an outdoor unit of the air conditioner is abnormal, it is determined whether a failure occurs in a first optical coupler in the communication circuit, that is, in a case of abnormal communication, step S1 is executed; if the communication between the indoor unit and the outdoor unit is normal, the air conditioning unit operates normally (the communication system operates normally), that is, if the communication is normal, step S5 is executed. Step S5 is normal operation of the air conditioning unit (normal operation of the communication system).
In this application embodiment, the air conditioner may also be an air conditioning unit, and the air conditioning unit includes an internal unit and an external unit. The communication in this application can be the communication between air conditioner internal unit and the outer machine of air conditioner.
S2, if the first optical coupler breaks down, the first optical coupler is switched to a second optical coupler, and the second optical coupler is a spare optical coupler.
In this embodiment of the application, if the first optocoupler does not have a fault, it is prompted that the communication of the air conditioning unit has a fault, that is, under the condition that the first optocoupler does not have a fault, step S4 is executed.
And S3, after the first optical coupler is switched to the second optical coupler, judging whether the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is abnormal.
In this application embodiment, the communication abnormality of the air conditioning unit may be caused by other reasons or by damage of the optical coupler and other reasons in addition to damage of the optical coupler, so that after the first optical coupler is switched to the second optical coupler, the communication between the air conditioning indoor unit and the air conditioning outdoor unit needs to be judged again to confirm that the communication between the air conditioning indoor unit and the air conditioning outdoor unit is recovered to be normal.
And S4, if the communication between the air conditioner indoor unit and the air conditioner outdoor unit is abnormal, prompting that the communication between the air conditioner indoor unit and the air conditioner outdoor unit is in failure.
In this embodiment, if the communication is normal, the indoor unit and the outdoor unit of the air conditioner operate normally (the communication system operates normally), that is, if the communication is normal, step S5 is executed. After the optical coupler is replaced, when the communication of the air conditioning unit is still abnormal, the communication of the air conditioning unit needs to be prompted to have a fault. The communication of the air conditioning unit can be prompted to be in fault through sound, or fault prompting messages can be sent to users and air conditioning maintenance personnel.
An embodiment of the present application provides an air conditioner control device, as shown in fig. 4, the device includes:
a first optical coupling unit 40;
the second optical coupling unit 42;
the control unit 44 is connected with the first optical coupling unit and the second optical coupling unit and used for judging whether a first optical coupling in a communication circuit of the indoor unit and the outdoor unit of the air conditioner fails or not; if the first optical coupler fails, the first optical coupler is switched to a second optical coupler, and the second optical coupler is a spare optical coupler; after the first optical coupler is switched to the second optical coupler, whether the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is abnormal is judged; if the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is abnormal, the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is prompted to break down, wherein the first optical coupler is arranged on the first optical coupler unit, and the second optical coupler is arranged on the second optical coupler unit.
In this application embodiment, when the opto-coupler in the first opto-coupler unit is damaged, switch over first opto-coupler unit into second opto-coupler unit.
In an alternative embodiment, as shown in fig. 5, the first optical coupling unit 40 includes:
the first optocoupler module 400 is connected with the first switch module 402 and is used for communication between the air conditioner indoor unit and the air conditioner outdoor unit;
the first switch module 402 is connected to the first optical coupler module 400, the first sampling module 404 and the control unit 44, and is configured to control on/off of the first optical coupler module 400;
the first sampling module 404 is connected to the first switching module 402 and the first amplifying module 406, and is configured to sample a current in the first optical coupler module;
the first amplifying module 406 is connected to the first sampling module 404 and the control unit 404, and is configured to amplify the current collected by the first sampling module;
the first sampling module 404 collects a current in the first optical coupler module 400, the first amplifying module 406 amplifies the current collected by the first sampling module 404 and outputs the amplified current to the control unit 44, the control unit 44 calculates a current transmission ratio of an optical coupler in the first optical coupler module 400 according to the current output by the first amplifying module 406, compares the current transmission ratio with a threshold value, the threshold value is less than or equal to a lowest current transmission ratio of the optical coupler when the indoor unit of the air conditioner and the outdoor unit of the air conditioner are in normal communication, controls on/off of the first switch module 402 according to a comparison result, and controls whether the first optical coupler module 400 works or not through on/off of the first switch module 402.
In an alternative embodiment, as shown in FIG. 6:
the first optical coupling module comprises a first optical coupling OPT 1;
the first light-switching module comprises a first triode Q1;
the first sampling module comprises a first sampling resistor R1;
the first amplification block comprises a first amplification circuit OPA 1;
the first sampling resistor R1 collects current in the first optical coupler OPT1, the first amplifying circuit OPA1 amplifies the current collected by the first sampling resistor R1 and outputs the amplified current to the control unit MCU, the control unit MCU calculates the current transmission ratio of the first optical coupler OPT1 according to the current output by the first amplifying circuit OPA1, compares the current transmission ratio with a threshold value, controls the on-off of the first triode Q1 and the second triode Q2 according to a comparison result, and controls the work of the first optical coupler OPT1 or the second optical coupler OPT2 through the on-off of the first triode Q1 and the second triode Q2.
In the embodiment of the application, when the current transmission ratio of the first optical coupler OPT1 is less than or equal to a threshold value, the threshold value is less than or equal to the lowest current transmission ratio of the optical coupler when the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is normal, the disconnection of the first triode Q1 is controlled, and meanwhile, the second triode Q2 is controlled to be opened, so that the first optical coupler unit 40 is switched to the second optical coupler unit 42, and the first optical coupler OPT1 is replaced by the second optical coupler OPT 2; when the current transmission ratio of the first optocoupler OPT1 is not less than the threshold value, the states of the first triode Q1 and the second triode Q2 are kept unchanged, the first triode Q1 is turned on, and the second triode Q2 is turned off.
In an alternative embodiment, as shown in fig. 5, the second optical coupling unit 42 includes:
the second optical coupling module 420 is connected with the second switch module 422 and used for communication between the air conditioner indoor unit and the air conditioner outdoor unit;
the second switch module 422 is connected to the second optical coupler module 420, the second sampling module 424 and the control unit 44, and is configured to control on/off of the second optical coupler module;
the second sampling module 424 is connected to the second switching module 422 and the second amplifying module 426, and is configured to sample a current in the second optical coupler module;
the second amplifying module 426, connected to the second sampling module 424 and the control unit 44, is configured to amplify the current collected by the second sampling module;
the first sampling module 404 collects a current in the first optical coupler module 400, the first amplifying module 406 amplifies the current collected by the first sampling module 404 and outputs the amplified current to the control unit 44, the control unit 44 calculates a current transmission ratio of an optical coupler in the first optical coupler module 400 according to the current output by the first amplifying module 406, compares the current transmission ratio with a threshold value, the threshold value is less than or equal to a minimum current transmission ratio of the optical coupler when the indoor unit of the air conditioner and the outdoor unit of the air conditioner are in normal communication, controls on/off of the second switch module 424 according to a comparison result, and controls whether the second optical coupler module 420 works or not through on/off of the second switch module 424.
In an alternative embodiment, as shown in FIG. 6:
the second optical coupling module comprises a second optical coupling OPT 2;
the second light-switching module comprises a second triode Q2;
the second sampling module comprises a second sampling resistor R2;
the second amplification block comprises a second amplification circuit OPA 2;
the first sampling resistor R1 collects current in the first optical coupler OPT1, the first amplifying circuit OPA1 amplifies the current collected by the first sampling resistor R1 and outputs the amplified current to the control unit MCU, the control unit MCU calculates the current transmission ratio of the first optical coupler OPT1 according to the current output by the first amplifying circuit OPA1, compares the current transmission ratio with the threshold value, controls the on-off of the first triode Q1 and the second triode Q2 according to the comparison result, and controls the work of the first optical coupler OPT1 or the second optical coupler OPT2 through the on-off of the first triode Q1 and the second triode Q2.
In the embodiment of the application, when the current transmission ratio of the first optical coupler OPT1 is less than or equal to a threshold value, the threshold value is less than or equal to the lowest current transmission ratio of the optical coupler when the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is normal, the disconnection of the first triode Q1 is controlled, and meanwhile, the second triode Q2 is controlled to be opened, so that the first optical coupler unit 40 is switched to the second optical coupler unit 42, and the first optical coupler OPT1 is replaced by the second optical coupler OPT 2; when the current transmission ratio of the first optocoupler OPT1 is not less than the threshold value, the states of the first triode Q1 and the second triode Q2 are kept unchanged, the first triode Q1 is turned on, and the second triode Q2 is turned off.
This application is through judging whether the opto-coupler breaks down when air conditioner communication breaks down, and is concrete, whether the opto-coupler breaks down is determined to be less than the threshold value through the opto-coupler CTR value among the automatically controlled board communication circuit of air conditioner, when the opto-coupler breaks down, replace the opto-coupler, with the problem of the air conditioner communication trouble of solving because of the problem that the opto-coupler damages such as the opto-coupler damages, the number of times that air conditioner communication trouble takes place has been reduced, simultaneously through the air conditioner automatic switch to the opto-coupler when communication trouble, need not to change automatically controlled board, the maintenance cost is reduced.
The embodiment of the application also provides an air conditioner, which comprises the device for reducing the communication fault of the air conditioner.
In one embodiment, the present application provides a computer device, which may be a terminal, having an internal structure as shown in fig. 7. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an air conditioning control method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the illustration in fig. 7 is merely a block diagram of a portion of the structure associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
An embodiment of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the following steps when executing the computer program:
judging whether a first optocoupler in a communication circuit of the indoor unit and the outdoor unit of the air conditioner breaks down or not;
if the first optical coupler fails, the first optical coupler is switched to a second optical coupler, and the second optical coupler is a spare optical coupler;
after the first optical coupler is switched to the second optical coupler, whether the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is abnormal is judged;
and if the communication between the indoor air conditioner and the outdoor air conditioner is abnormal, prompting that the communication between the indoor air conditioner and the outdoor air conditioner fails.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
judging whether a first optocoupler in a communication circuit of the indoor unit and the outdoor unit of the air conditioner breaks down or not;
if the first optical coupler fails, the first optical coupler is switched to a second optical coupler, and the second optical coupler is a spare optical coupler;
after the first optical coupler is switched to the second optical coupler, whether the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is abnormal is judged;
and if the communication between the indoor air conditioner and the outdoor air conditioner is abnormal, prompting that the communication between the indoor air conditioner and the outdoor air conditioner fails.
In summary, compared with the prior art, the embodiment of the present application has the following advantages:
according to the method and the device for reducing the communication fault of the air conditioner, the storage medium and the air conditioner, the method comprises the following steps: judging whether a first optocoupler in a communication circuit of the indoor unit and the outdoor unit of the air conditioner breaks down or not; if the first optical coupler fails, the first optical coupler is switched to a second optical coupler, and the second optical coupler is a spare optical coupler; after the first optical coupler is switched to the second optical coupler, whether the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is abnormal is judged; and if the communication between the indoor air conditioner and the outdoor air conditioner is abnormal, prompting that the communication between the indoor air conditioner and the outdoor air conditioner fails. Through the method for reducing the communication faults of the air conditioner, the communication faults of the air conditioner caused by the damage of the optical coupler are avoided, the communication fault rate of the air conditioner is reduced, and the use experience of a user is improved.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An air conditioner control method, characterized in that the method comprises:
judging whether a first optocoupler in a communication circuit of the indoor unit and the outdoor unit of the air conditioner breaks down or not;
if the first optical coupler fails, the first optical coupler is switched to a second optical coupler, and the second optical coupler is a spare optical coupler;
after the first optical coupler is switched to the second optical coupler, whether the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is abnormal is judged;
and if the communication between the indoor air conditioner and the outdoor air conditioner is abnormal, prompting that the communication between the indoor air conditioner and the outdoor air conditioner fails.
2. The method of claim 1, wherein the determining whether a first optocoupler in a communication circuit between the indoor unit and the outdoor unit fails comprises:
judging whether the current transmission ratio of the first optocoupler in the communication circuit is lower than a threshold value, wherein the threshold value is smaller than or equal to the lowest current transmission ratio of the optocoupler when the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is normal;
and if the current transmission ratio of the first optical coupler is lower than the threshold value, the first optical coupler breaks down.
3. The method of claim 1, wherein before determining whether a first optocoupler in a communication circuit between the indoor unit and the outdoor unit fails, the method comprises:
judging whether the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is abnormal or not;
and if the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is abnormal, judging whether a first optocoupler in the communication circuit breaks down or not.
4. An air conditioning control apparatus, characterized in that the apparatus comprises:
a first optical coupling unit;
a second optical coupling unit;
the control unit is connected with the first optical coupling unit and the second optical coupling unit and used for judging whether the first optical coupling in the communication circuit of the indoor unit and the outdoor unit of the air conditioner fails or not; if the first optical coupler fails, the first optical coupler is switched to a second optical coupler, and the second optical coupler is a spare optical coupler; after the first optical coupler is switched to the second optical coupler, whether the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is abnormal is judged; if the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is abnormal, the communication between the indoor unit of the air conditioner and the outdoor unit of the air conditioner is prompted to break down, wherein the first optical coupler is arranged on the first optical coupler unit, and the second optical coupler is arranged on the second optical coupler unit.
5. The apparatus of claim 4, wherein the first light coupling unit comprises:
the first optical coupling module is connected with the first switch module and is used for communication between the air conditioner indoor unit and the air conditioner outdoor unit;
the first switch module is connected with the first optical coupling module, the first sampling module and the control unit and is used for controlling the on-off of the first optical coupling module;
the first sampling module is connected with the first switch module and the first amplifying module and is used for sampling the current in the first optical coupling module;
the first amplification module is connected with the first sampling module and the control unit and is used for amplifying the current collected by the first sampling module;
the first sampling module collects current in the first optical coupling module, the first amplifying module amplifies the current collected by the first sampling module and outputs the current to the control unit, the control unit calculates the current transmission ratio of the optical coupling in the first optical coupling module according to the current output by the first amplifying module and compares the current transmission ratio with a threshold value, the threshold value is smaller than or equal to the lowest current transmission ratio of the optical coupling when the indoor unit of the air conditioner and the outdoor unit of the air conditioner are in communication normally, the on-off of the first switch module is controlled according to the comparison result, and whether the first optical coupling module works is controlled through the on-off of the first switch module.
6. The apparatus of claim 5,
the first optical coupler module comprises a first optical coupler;
the first light-switching module comprises a first triode;
the first sampling module comprises a first sampling resistor;
the first amplification module comprises a first amplification circuit;
the first sampling resistor collects current in the first optocoupler, the first amplifying circuit amplifies the current collected by the first sampling resistor and outputs the amplified current to the control unit, the control unit calculates a current transmission ratio of the first optocoupler according to the current output by the first amplifying circuit, compares the current transmission ratio with a threshold value, controls the on-off of the first triode according to a comparison result, and controls whether the first optocoupler works or not through the on-off of the first triode.
7. The apparatus of claim 4, wherein the second light coupling unit comprises:
the second optical coupling module is connected with the second switch module and is used for communication between the air conditioner indoor unit and the air conditioner outdoor unit;
the second switch module is connected with the second optical coupling module, the second sampling module and the control unit and is used for controlling the on-off of the second optical coupling module;
the second sampling module is connected with the second switch module and the second amplifying module and is used for sampling the current in the second optical coupling module;
the second amplification module is connected with the second sampling module and the control unit and is used for amplifying the current collected by the second sampling module;
the control unit calculates the current transmission ratio of the optocoupler in the first optocoupler module according to the current output by the first amplification module, compares the current transmission ratio with a threshold value, controls the on-off of the second switch module according to the comparison result, and controls whether the second optocoupler module works or not through the on-off of the second switch module.
8. The apparatus of claim 7,
the second optical coupler module comprises a second optical coupler;
the second light-switching module comprises a second triode;
the second sampling module comprises a second sampling resistor;
the second amplification module comprises a second amplification circuit;
the first sampling resistor collects current in the first optocoupler, the first amplifying circuit amplifies the current collected by the first sampling resistor and outputs the amplified current to the control unit, the control unit calculates the current transmission ratio of the first optocoupler according to the current output by the first amplifying circuit, compares the current transmission ratio with a threshold value, controls the on-off of the second triode according to a comparison result, and controls whether the second optocoupler works or not through the on-off of the second triode.
9. An air conditioner characterized in that it comprises a device according to any one of claims 4 to 8.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 3.
CN201910992644.6A 2019-10-18 2019-10-18 Air conditioner control method and device, air conditioner and storage medium Active CN110762742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910992644.6A CN110762742B (en) 2019-10-18 2019-10-18 Air conditioner control method and device, air conditioner and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910992644.6A CN110762742B (en) 2019-10-18 2019-10-18 Air conditioner control method and device, air conditioner and storage medium

Publications (2)

Publication Number Publication Date
CN110762742A true CN110762742A (en) 2020-02-07
CN110762742B CN110762742B (en) 2021-07-02

Family

ID=69332850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910992644.6A Active CN110762742B (en) 2019-10-18 2019-10-18 Air conditioner control method and device, air conditioner and storage medium

Country Status (1)

Country Link
CN (1) CN110762742B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112283875A (en) * 2020-10-26 2021-01-29 Tcl空调器(中山)有限公司 Air conditioner, communication circuit of air conditioner internal and external machines and fault detection method of communication circuit
CN114791157A (en) * 2022-04-15 2022-07-26 珠海格力电器股份有限公司 Communication device of air conditioner outdoor unit and communication system of air conditioner

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090038715A (en) * 2007-10-16 2009-04-21 (주)엘고테크 Compressor control device of oxygen generator and control method thereof
CN104390306A (en) * 2014-10-24 2015-03-04 珠海格力电器股份有限公司 Air conditioner communication system, air conditioner communication method and air conditioner
CN105972768A (en) * 2016-05-26 2016-09-28 广东美的制冷设备有限公司 Electric current loop communication control circuit and method of air conditioner
CN208846635U (en) * 2018-08-22 2019-05-10 奥克斯空调股份有限公司 A kind of communication control switching circuit and air conditioner
CN110173805A (en) * 2019-05-10 2019-08-27 广东美的制冷设备有限公司 Air conditioner and its communication control method, device
CN110173802A (en) * 2019-05-10 2019-08-27 广东美的制冷设备有限公司 Air conditioner and its communication control method, device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090038715A (en) * 2007-10-16 2009-04-21 (주)엘고테크 Compressor control device of oxygen generator and control method thereof
CN104390306A (en) * 2014-10-24 2015-03-04 珠海格力电器股份有限公司 Air conditioner communication system, air conditioner communication method and air conditioner
CN105972768A (en) * 2016-05-26 2016-09-28 广东美的制冷设备有限公司 Electric current loop communication control circuit and method of air conditioner
CN208846635U (en) * 2018-08-22 2019-05-10 奥克斯空调股份有限公司 A kind of communication control switching circuit and air conditioner
CN110173805A (en) * 2019-05-10 2019-08-27 广东美的制冷设备有限公司 Air conditioner and its communication control method, device
CN110173802A (en) * 2019-05-10 2019-08-27 广东美的制冷设备有限公司 Air conditioner and its communication control method, device and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112283875A (en) * 2020-10-26 2021-01-29 Tcl空调器(中山)有限公司 Air conditioner, communication circuit of air conditioner internal and external machines and fault detection method of communication circuit
CN114791157A (en) * 2022-04-15 2022-07-26 珠海格力电器股份有限公司 Communication device of air conditioner outdoor unit and communication system of air conditioner
CN114791157B (en) * 2022-04-15 2023-09-26 珠海格力电器股份有限公司 Communication device of air conditioner external unit and communication system of air conditioner

Also Published As

Publication number Publication date
CN110762742B (en) 2021-07-02

Similar Documents

Publication Publication Date Title
US7831860B2 (en) System and method for testing redundancy and hot-swapping capability of a redundant power supply
CN110762742B (en) Air conditioner control method and device, air conditioner and storage medium
CN106912069B (en) Distributed antenna system remote terminal and uplink signal link detection method and device thereof
DE102009058680B3 (en) Method for using power supply to perform remote monitoring of electronic system, involves setting up alarm conditions, where alarm conditions are defined and stored in signal integration unit
EP2437430A1 (en) Method and system for switching main/standby boards
CN109450527B (en) Fault determination method and device, computer equipment and storage medium
KR101234827B1 (en) System for diagnosis communication error of air-conditioner and method thereof
CN109062184B (en) Double-machine emergency rescue equipment, fault switching method and rescue system
CN111077763A (en) Vehicle-mounted display device redundancy control method and device
CN112019455B (en) Switch monitoring device and method based on programmable logic device
CN109539513A (en) Machine telecommunication circuit and its control method and a kind of air-conditioning inside and outside a kind of air-conditioning
JP7403324B2 (en) Server, management device, device management system, device management method and program
US8364990B2 (en) Remote controlled power supply system
US5500626A (en) Independent amplifier control module
JP5455846B2 (en) Substation monitoring and control system and control function switching method of console
CN110677264B (en) Method and device for processing power supply fault
JP5461886B2 (en) Optical path switching device, optical path switching method, and optical path switching program
US10838473B2 (en) Smart internet and power connector
CN105245840A (en) Data forwarding method and device and camera
US10110452B2 (en) Smart internet and power connector
CN109444671B (en) On-site feeder automation remote test system
CN213904102U (en) Intelligent power supply management device
CN113028584B (en) Abnormity processing method and device for air conditioner singlechip
CN114338264B (en) Bus communication quality control method and system, air conditioning unit and electronic equipment
CN218387528U (en) Load module, communication system and household electrical appliance

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant