Air conditioner
By designing the first control circuit in the air conditioner to control the current loop path on and off, and using the reset circuit to charge and discharge the second control circuit, the problem of the failure to realize reset control when the outdoor MCU program is abnormal, and the abnormality is achieved Reset operation in state.
Patent Information
- Application Number
- CN202411208037.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-11-08
AI Technical Summary
In the split air conditioner electronic control architecture that is multiplexed by L and S, when the outdoor unit MCU program is abnormal, the power-down reset control of the outdoor unit cannot be achieved because the outdoor unit MCU does not respond to the power-down information of the indoor unit.
An air conditioner is designed to control the current loop path on and off when the communication between the second control circuit is abnormal through the first control circuit, and charge and discharge by a reset circuit to realize reset of the second control circuit. The air conditioner includes a first device and a second device, which is an indoor unit and an outdoor unit, and establishes a current loop path with the first device through the neutral line in the second current loop circuit, the communication line and the power line, and the reset circuit and the communication line are set up with the first device through the neutral line in the second current loop circuit, the communication line and the power line. It is connected to the second control circuit. When the first control circuit determines that the communication is abnormal, the current loop path is turned on and off to charge and discharge the reset circuit.
When the communication of the second control circuit is abnormal, reset control can be realized, and the problem of not being able to perform reset control in the case where the power outage information cannot be responded to.
Smart Images

Figure CN118912571A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of household appliances, and in particular to an air conditioner. Background Art
[0002] In the split air conditioner electronic control architecture using L and S multiplexing, when the outdoor unit is powered on, the outdoor unit MCU (MicroController Unit) controls the outdoor unit large relay K2 to close. At this time, the outdoor unit current does not pass through the indoor unit, so the indoor unit needs to send a signal to the outdoor unit through the current loop to control the outdoor unit MCU to disconnect the outdoor unit large relay K2 to achieve reset control of the outdoor unit. However, when the outdoor unit MCU program is in an abnormal state and the outdoor unit MCU does not respond to the power-off information of the indoor unit, the power-off reset control of the outdoor unit cannot be achieved. Summary of the invention
[0003] The present invention aims to solve at least one of the technical problems in the related art to a certain extent. To this end, the first purpose of the present invention is to provide an air conditioner, based on which the first control circuit can control the on-off of the current loop path when the communication of the second control circuit is abnormal, so that the reset circuit resets the second control circuit, solving the technical problem in the related art that the second control circuit program is in an abnormal state and does not respond to the power-off information and cannot perform the reset control on the second control circuit.
[0004] To achieve the above-mentioned purpose, an embodiment of the first aspect of the present invention proposes an air conditioner, comprising: a first device and a second device, one of the first device and the second device is an indoor unit, and the other is an outdoor unit; the first device comprises a first current loop circuit and a first control circuit; the second device comprises a second current loop circuit, a reset circuit and a second control circuit, the second device establishes a current loop path with the first device through the second current loop circuit, a communication line, a neutral line in a power line and the first current loop circuit, and the reset circuit is respectively connected to the communication line, the neutral line and the second control circuit; wherein the first control circuit is used to control the on-off of the current loop path to charge and discharge the reset circuit when it is determined that the communication of the second control circuit is abnormal, so that the reset circuit resets the second control circuit.
[0005] According to the air conditioner of the embodiment of the present invention, one of the first device and the second device is an indoor unit, and the other is an outdoor unit, the first device includes a first current loop circuit and a first control circuit, the second device includes a second current loop circuit, a reset circuit, and a second control circuit, the second device establishes a current loop path with the first device through the second current loop circuit, the communication line, the neutral line in the power line, and the first current loop circuit, the reset circuit is respectively connected to the communication line, the neutral line, and the second control circuit, and the first control circuit performs on-off control on the current loop path to charge and discharge the reset circuit when determining that the communication of the second control circuit is abnormal, so that the reset circuit resets the second control circuit. Therefore, the air conditioner can perform on-off control on the current loop path based on the first control circuit when the communication of the second control circuit is abnormal, so that the reset circuit resets the second control circuit, solving the technical problem in the related art that the second control circuit program is in an abnormal state and does not respond to the power-off information and cannot perform reset control on the second control circuit.
[0006] In addition, the air conditioner according to the above embodiment of the present invention may also have the following additional technical features:
[0007] According to an embodiment of the present invention, the first control circuit is used to perform multiple heartbeat communications with the second control circuit through the current loop path, and determine that the communication of the second control circuit is abnormal when multiple heartbeat communications fail.
[0008] According to one embodiment of the present invention, the reset circuit includes a reset optocoupler, a pull-up resistor, a pull-down resistor and a reset capacitor, the first end of the reset optocoupler is connected to the neutral line, the second end of the reset optocoupler is connected to the communication line, the third end of the reset optocoupler is connected to the second preset power supply through the pull-up resistor, the fourth end of the reset optocoupler is connected to the second control circuit and grounded through the pull-down resistor, and the reset capacitor is connected in parallel with the pull-down resistor.
[0009] According to one embodiment of the present invention, the first control circuit is used to control the current loop path to first disconnect for a first preset time length so that the reset capacitor can discharge through the pull-down resistor, and then control the current loop path to be turned on so that the second preset power supply can charge the reset capacitor through the pull-up resistor to reset the second control circuit.
[0010] According to one embodiment of the present invention, the first preset time length > Rf1*Cf*Ln(V0 / Vt), V0 = (VccB-Vc)*Rf1 / (Rf2+Rf1), wherein Rf1 is the resistance of the pull-down resistor, Cf is the capacitance of the reset capacitor, Vt is the reset voltage of the second control circuit, VccB is the voltage of the second preset power supply, Vc is the on-state voltage drop of the reset optocoupler, and Rf2 is the resistance of the pull-up resistor.
[0011] According to one embodiment of the present invention, in a process in which a first control circuit communicates with a second control circuit through a current loop to transmit data frames, the time interval between two adjacent data frames is greater than a second preset duration, and the transmission duration of each data frame is less than a third preset duration; wherein the second preset duration is determined based on V0, and the third preset duration is determined based on Vt.
[0012] According to one embodiment of the present invention, the second current loop circuit includes: a second receiving optocoupler, a second transmitting optocoupler, a second resistor, a second diode and a second transmitting switch, the first end of the second receiving optocoupler is connected to the neutral line, the second end of the second receiving optocoupler is connected to the third end of the second transmitting optocoupler, the third end of the second receiving optocoupler is connected to the second preset power supply, the fourth end of the second receiving optocoupler is connected to the second control circuit, the first end of the second transmitting optocoupler is connected to the second preset power supply, the second end of the second transmitting optocoupler is connected to the second control circuit through the second transmitting switch, the fourth end of the second transmitting optocoupler is connected to one end of the second resistor, the other end of the second resistor is connected to the anode of the second diode, and the cathode of the second diode is connected to the communication line; wherein, the second end of the reset optocoupler is connected to one end of the second resistor, or to the other end of the second resistor, or to the cathode of the second diode.
[0013] According to one embodiment of the present invention, the first device also includes a communication power supply circuit for powering the current loop path, and the first current loop circuit includes: a first receiving optocoupler, a first transmitting optocoupler, a first resistor, a first diode and a first transmitting switch, the first end of the first receiving optocoupler is connected to the cathode of the first diode through the first resistor, the anode of the first diode is connected to the communication line, the second end of the first receiving optocoupler is connected to the third end of the first transmitting optocoupler, the third end of the first receiving optocoupler is connected to the first preset power supply, the fourth end of the first receiving optocoupler is connected to the first control circuit, the first end of the first transmitting optocoupler is connected to the first preset power supply, the second end of the first transmitting optocoupler is connected to the first control circuit through the first transmitting switch, the fourth end of the first transmitting optocoupler is connected to the communication power supply circuit, and the communication power supply circuit is connected to the power line; wherein the first control circuit is used to control the first transmitting optocoupler to be turned on or off so as to turn on or off the current loop path.
[0014] According to one embodiment of the present invention, a communication power supply circuit includes: a first capacitor, a first voltage-stabilizing diode, a third resistor, a fourth resistor and a third diode, one end of the first capacitor is connected to the fourth end of the first transmitting optocoupler, the other end of the first capacitor is connected to the neutral line, the anode of the first voltage-stabilizing diode is connected to one end of the first capacitor, the cathode of the first voltage-stabilizing diode is connected to the other end of the first capacitor, the third resistor is connected in parallel with the first capacitor, one end of the fourth resistor is connected to one end of the first capacitor, the other end of the fourth resistor is connected to the anode of the third diode, and the cathode of the third diode is connected to the live wire in the power line.
[0015] According to one embodiment of the present invention, the first device also includes a pre-charging circuit, which is respectively connected to the communication line and the power line, and the second device also includes a power switch and a second power supply circuit, the power switch selectively connects the communication line or the power line, and the second power supply circuit is connected to the power switch for supplying power to the second device, wherein, when the power switch is connected to the power line, an external power supply supplies power to the second power supply circuit through the power line, and when the power switch is connected to the communication line, the external power supply pre-charges the second power supply circuit through the pre-charging circuit, the communication line and the power line.
[0016] According to one embodiment of the present invention, when the pre-charging circuit is respectively connected to the live wire in the communication line and the power line, the first end of the power switch is connected to the first input end of the second power supply circuit, the second end of the power switch is connected to the live wire, the third end of the power switch is connected to the communication line, and the neutral wire is respectively connected to the second input end of the second power supply circuit and the first end of the second receiving optocoupler; wherein, when the first end and the second end of the power switch are connected, the power switch is connected to the power line; when the first end and the third end of the power switch are connected, the power switch is connected to the communication line.
[0017] According to one embodiment of the present invention, when the pre-charging circuit is respectively connected to the communication line and the neutral line, the first end of the power switch is respectively connected to the first end of the second receiving optocoupler and the first input end of the second power supply circuit, the second end of the power switch is connected to the neutral line, the third end of the power switch is connected to the communication line, and the second input end of the second power supply circuit is connected to the live wire in the power line; wherein, when the first end and the second end of the power switch are connected, the power switch is connected to the power line; when the first end and the third end of the power switch are connected, the power switch is connected to the communication line.
[0018] According to one embodiment of the present invention, the pre-charging circuit includes a pre-charging resistor and a pre-charging switch connected in series; wherein the first control circuit is also used to control the pre-charging switch to be turned on or off.
[0019] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a connection diagram of an air conditioner according to an embodiment of the present invention;
[0021] Figure 2 is a circuit diagram of an air conditioner according to a specific embodiment of the present invention;
[0022] Figure 3 is a circuit diagram of an air conditioner according to a specific embodiment of the present invention;
[0023] Figure 4A schematic diagram of the connection of power supply for an indoor unit according to an embodiment of the present invention;
[0024] Figure 5 A schematic diagram of connecting power to an outdoor unit according to an embodiment of the present invention;
[0025] Figure 6 FIG. 4 is a control flow chart of a first control circuit according to a specific embodiment of the present invention. DETAILED DESCRIPTION
[0026] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0027] The air conditioner according to the embodiment of the present invention will be described below with reference to the accompanying drawings.
[0028] Figure 1 FIG. 1 is a connection diagram of an air conditioner 1000 according to an embodiment of the present invention.
[0029] like Figure 1 As shown, the air conditioner 1000 of the embodiment of the present invention includes: a first device 10 and a second device 20, one of the first device 10 and the second device 20 is an indoor unit, and the other is an outdoor unit; the first device 10 includes a first current loop circuit 11 and a first control circuit 12; the second device 20 includes a second current loop circuit 21, a reset circuit 22 and a second control circuit 23, the second device 20 establishes a current loop path with the first device 10 through the second current loop circuit 21, a communication line S, a neutral line N in the power line and the first current loop circuit 11, and the reset circuit 22 is respectively connected to the communication line S, the neutral line N and the second control circuit 23; wherein the first control circuit 12 is used to control the on-off of the current loop path to charge and discharge the reset circuit 22 when it is determined that the communication of the second control circuit 23 is abnormal, so that the reset circuit 22 resets the second control circuit 23.
[0030] Specifically, one of the first device 10 and the second device 20 is an indoor unit and the other is an outdoor unit. For example, the first device 10 is an indoor unit and the second device 20 is an outdoor unit; or, the first device 10 is an outdoor unit and the second device 20 is an outdoor unit, without specific limitation.
[0031] The air conditioner 1000 of the present application is described in detail below by taking the first device 10 as an indoor unit and the second device 20 as an outdoor unit as an example.
[0032] After the air conditioner 1000 is powered on, the outdoor unit establishes a current loop path with the indoor unit through the second current loop circuit 21, the communication line S, the neutral line N in the power line and the first current loop circuit 11 to communicate between the indoor unit and the outdoor unit.
[0033] When the second control circuit 23 is in normal communication, when it is necessary to control the outdoor unit to reset, the first control circuit 12 can send a reset signal to the second control circuit 23 based on the current loop path, and the second control circuit 23 controls the large relay of the outdoor unit to disconnect based on the reset signal to disconnect the external power supply to the outdoor unit, so as to reset the second control circuit 23.
[0034] If the communication of the second control circuit 23 is abnormal, the communication between the first control circuit 12 and the second control circuit 23 is disconnected. When the first control circuit 12 does not receive a signal sent by the outdoor unit within a preset time based on the current loop path, the first control circuit 12 determines that the communication of the second control circuit 23 is abnormal, and the current loop path is controlled to be on and off to charge and discharge the reset circuit 22, and the reset circuit 22 is reset to the second control circuit 23 by charging and discharging the reset circuit 22. Among them, the output end of the reset circuit 22 can be connected to the reset end of the second control circuit 23, and the voltage output to the reset end of the second control circuit 23 is changed by controlling the charge and discharge of the reset circuit 22, thereby realizing the reset control of the second control circuit 23. For example, when the reset circuit 22 is charged, the output end voltage of the reset circuit 22 increases, and a high level signal is provided to the reset end of the second control circuit 23; when the reset circuit 22 is discharged, the output end voltage of the reset circuit 22 decreases, and when the voltage drops to the preset voltage lower limit, a low level signal is provided to the reset end of the second control circuit 23, and then the second control circuit 23 is reset based on the voltage change.
[0035] Therefore, when the communication of the second control circuit is abnormal, the air conditioner can control the on and off of the current loop path so that the reset circuit resets the second control circuit, thereby solving the technical problem in the related technology that the second control circuit program is in an abnormal state and does not respond to the power-off information of the indoor unit and cannot be reset.
[0036] In one embodiment of the present invention, the first control circuit 12 is used to perform multiple heartbeat communications with the second control circuit 23 through the current loop path, and determine that the second control circuit 23 has communication abnormalities when multiple heartbeat communications fail.
[0037] Specifically, when the indoor unit and the outdoor unit are working normally and are in a communication task idle state, the indoor unit and the outdoor unit perform heartbeat communication at regular intervals, for example, sending a heartbeat signal every t seconds. When the first control circuit 12 fails in multiple heartbeat communications, it is determined that the second control circuit 23 has communication abnormalities. Among them, multiple heartbeat communications fail may include the indoor unit not receiving a response signal from the outdoor unit for multiple consecutive times, or not receiving a heartbeat signal sent by the outdoor unit for multiple consecutive times, which is illustrated below by example.
[0038] Assume that the indoor unit is the active party in communication and the outdoor unit is the passive party in communication. The indoor unit sends a signal to the outdoor unit. If the response signal from the outdoor unit is not received within t seconds, it is considered that the heartbeat communication has failed. Then, the indoor unit sends a signal to the outdoor unit again. If the response signal from the outdoor unit is still not received within t seconds, it is considered that the heartbeat communication has failed again. After multiple times (i.e., after T seconds, T=t*number of times), if the response signal from the outdoor unit is still not received, it is considered that the outdoor unit is working abnormally and the second control circuit 23 is communicating abnormally. Then the control current loop is disconnected, and the reset circuit is charged and discharged to reset the second control circuit.
[0039] Assume that the indoor unit is the passive party in communication and the outdoor unit is the active party in communication. Then, according to the agreement, the indoor unit is always in a receiving state. If the signal actively sent by the outdoor unit is not received within t seconds, it is considered that one heartbeat communication has failed (if received, a response signal is sent to the outdoor unit to determine that the second control circuit 23 communicates normally). After confirming that the heartbeat communication has failed, the indoor unit continues to be in a receiving state. If the signal actively sent by the outdoor unit is not received within t seconds, it is considered that the communication has failed again. After multiple times (i.e., after T seconds, T=t*number of times), the signal actively sent by the outdoor unit is still not received, it is considered that the outdoor unit is working abnormally, that is, the second control circuit 23 is communicating abnormally, and then the control current loop is disconnected, and the reset circuit is charged and discharged to reset the second control circuit.
[0040] Combination Figure 2 , Figure 3 As shown, in one embodiment of the present invention, the reset circuit 22 includes a reset optocoupler ICf, a pull-up resistor Rf2, a pull-down resistor Rf1 and a reset capacitor Cf, the first end of the reset optocoupler ICf is connected to the neutral line N, the second end of the reset optocoupler ICf is connected to the communication line S, the third end of the reset optocoupler ICf is connected to the second preset power supply Vcc-B through the pull-up resistor Rf2, the fourth end of the reset optocoupler ICf is connected to the second control circuit 23, and is grounded through the pull-down resistor Rf1, and the reset capacitor Cf is connected in parallel with the pull-down resistor Rf1.
[0041] Specifically, when the current loop is disconnected, the reset optocoupler ICf is turned off, the reset capacitor Cf is discharged, and the output voltage of the reset circuit 22 gradually decreases. When the current loop is turned on, the reset optocoupler ICf is turned on, the second preset power supply Vcc-B charges the reset capacitor Cf, and the output voltage of the reset circuit 22 gradually increases.
[0042] In one embodiment of the present invention, the first control circuit 12 is used to control the current loop path to first disconnect for a first preset time length so that the reset capacitor Cf discharges through the pull-down resistor Rf1, and then control the current loop path to be turned on so that the second preset power supply charges the reset capacitor Cf through the pull-up resistor Rf2 to reset the second control circuit 23.
[0043] That is to say, when the first control circuit 12 determines that the communication of the second control circuit 23 is abnormal, it first controls the current loop path to be disconnected, the reset optocoupler ICf to be turned off, and the reset capacitor Cf to be discharged. When the voltage of the reset capacitor Cf drops below the first preset voltage, the reset end of the second control circuit 23 is at a low level. After the current loop path is controlled to be disconnected for a first preset time, the first control circuit 12 is controlled to control the current loop path to be turned on, the reset optocoupler ICf is turned on, and the second preset power supply Vcc-B charges the reset capacitor Cf. When the voltage of the reset capacitor Cf rises to above the second preset voltage, the reset end of the second control circuit 23 is at a high level to reset the second control circuit 23.
[0044] In one embodiment of the present invention,
[0045] First preset duration>Rf1*Cf*Ln(V0 / Vt) (1)
[0046] V0=(VccB-Vc)*Rf1 / (Rf2+Rf1) (2)
[0047] Among them, Rf1 is the resistance of the pull-down resistor Rf1, Cf is the capacitance of the reset capacitor Cf, Vt is the reset voltage of the second control circuit 23, VccB is the voltage of the second preset power supply, Vc is the on-state voltage drop of the reset optical coupler ICf, and Rf2 is the resistance of the pull-up resistor Rf2.
[0048] Specifically, the first control circuit 12 controls the current loop path to be disconnected and then reopened after a first preset time period, and the first preset time period is determined by formulas (1) and (2) to ensure that the voltage of the reset capacitor Cf drops below the reset voltage Vt of the second control circuit 23 within the first preset time period, so that the reset end of the second control circuit 23 is at a low level to meet the voltage requirement for the reset control of the second control circuit 23. After the reset capacitor Cf is charged, the voltage value of the reset capacitor Cf is V0.
[0049] In one embodiment of the present invention, in the process of the first control circuit 12 communicating with the second control circuit 23 through the current loop to transmit data frames, the time interval between two adjacent data frames is greater than the second preset duration, and the transmission duration of each data frame is less than the third preset duration; wherein the second preset duration is determined based on V0, and the third preset duration is determined based on Vt.
[0050] Specifically, when the first control circuit 21 and the second control circuit 23 communicate with each other, the current loop path is always in the on state in the time interval between two adjacent data frames.
[0051] If the message of a data frame is very long, there may be multiple "0"s sent continuously. At this time, the current loop path will continue to be in a disconnected state, the reset optocoupler ICf will be cut off, and the reset capacitor Cf will continue to discharge. If the continuous discharge time is too long, the reset capacitor Cf will be reduced, and may even be lower than the reset voltage Vt of the second control circuit 23, causing the second control circuit 23 to be reset incorrectly. Therefore, in the communication protocol between the first control circuit 12 and the second control circuit 23, it should be determined that the transmission time of each data frame should not be too long, that is, it should be less than the third preset time, so as to avoid the reset capacitor Cf discharging time being too long, causing the voltage of the reset capacitor Cf to drop more than the reset voltage Vt of the second control circuit 23, causing the second control circuit 23 to be reset incorrectly.
[0052] When the transmission duration of a data frame is less than the third preset duration, the reset capacitor Cf will not drop more than the reset voltage Vt during the data frame transmission process, and will not cause an erroneous reset. However, if the time interval between two adjacent data frames is short, then within the time interval, the current loop path is turned on, and the charging time of the reset capacitor Cf is short, which will cause the reset capacitor Cf to be unable to charge to V0. After multiple such cycles, the voltage of the reset capacitor Cf may also be lower than Vt, causing an erroneous reset. Therefore, in the communication protocol of the first control circuit 12 and the second control circuit 23, it is also necessary to ensure that the time interval between two adjacent data frames is long enough, that is, greater than the second preset duration, so that the reset optocoupler ICf remains in the on state for a long enough time so that the reset capacitor Cf can be charged and restored to V0.
[0053] In one embodiment of the present invention, the second current loop circuit 21 includes: a second receiving optocoupler IC3, a second transmitting optocoupler IC4, a second resistor R2, a second diode D2 and a second transmitting switch Q2, the first end of the second receiving optocoupler IC3 is connected to the neutral line N, the second end of the second receiving optocoupler IC3 is connected to the third end of the second transmitting optocoupler IC4, the third end of the second receiving optocoupler IC3 is connected to the second preset power supply Vcc-B, the fourth end of the second receiving optocoupler IC3 is connected to the second control circuit 23, the first end of the second transmitting optocoupler IC4 is connected to the second preset power supply Vcc-B, the second end of the second transmitting optocoupler IC4 is connected to the second control circuit 23 through the second transmitting switch Q2, the fourth end of the second transmitting optocoupler IC4 is connected to one end of the second resistor R2, the other end of the second resistor R2 is connected to the anode of the second diode D2, and the cathode of the second diode D2 is connected to the communication line S; wherein, the second end of the reset optocoupler ICf is connected to one end of the second resistor R2, or to the other end of the second resistor R2, or to the cathode of the second diode D2.
[0054] That is to say, the second end of the reset optical coupler ICf is connected to the current loop path so as to perform a synchronous action when the current loop path is turned on or off.
[0055] Specifically, Figure 2 and Figure 3 For example, the second end of the reset optical coupler ICf is connected to one end of the second resistor R2. When current flows through the current loop, the second control circuit 23 and the first control circuit 12 communicate based on the current loop.
[0056] When the indoor unit is sending and the outdoor unit is receiving, if the first control circuit 12 sends a high level and the control current loop path remains turned on, the second receiving optocoupler IC3 is turned on, and the signal receiving pin RXD2 of the second control circuit 23 receives a high level. At the same time, the reset optocoupler ICf is turned on, and the reset capacitor Cf is in a charging state; if the first control circuit 12 sends a low level, the control current loop path is disconnected, the second receiving optocoupler IC3 is turned off, and the signal receiving pin RXD2 of the second control circuit 23 receives a low level. At the same time, the reset optocoupler ICf is turned off, and the reset capacitor Cf is in a discharging state.
[0057] When the outdoor unit is sending and the indoor unit is receiving, if the second control circuit 23 outputs a low-level signal through the signal sending pin TXD2, the second sending switch Q2 is disconnected, the second sending optocoupler IC4 is turned off, the current loop is disconnected, and at the same time the reset optocoupler ICf is turned off, and the reset capacitor Cf is in a discharging state; if the second control circuit 23 outputs a high-level signal through the signal sending pin TXD2, the second sending switch Q2 is turned on, the second sending optocoupler IC4 is turned on, the current loop is in a conducting state, and at the same time the reset optocoupler ICf is turned on, and the reset capacitor Cf is in a charging state.
[0058] Among them, the second resistor R2 is used for current limiting, and a PTC (Positive Temperature Coefficient) resistor can be selected. The second diode D2 is used to limit the current direction in the current loop. In addition, this embodiment is based on an optocoupler to establish a current loop to achieve control of the communication of the strong current part through the weak current part, thereby achieving the effect of isolating the strong and weak currents, so that the operation of the weak current part is not affected by the strong current part.
[0059] In one embodiment of the present invention, the first device 10 also includes a communication power supply circuit 13 for powering the current loop path, and the first current loop circuit 11 includes: a first receiving optocoupler IC1, a first transmitting optocoupler IC2, a first resistor R1, a first diode D1 and a first transmitting switch Q1, the first end of the first receiving optocoupler IC1 is connected to the cathode of the first diode D1 through the first resistor R1, the anode of the first diode D1 is connected to the communication line S, the second end of the first receiving optocoupler IC1 is connected to the third end of the first transmitting optocoupler IC2, and the first receiving optocoupler IC1 The third end is connected to the first preset power supply Vcc-A, the fourth end of the first receiving optocoupler IC1 is connected to the first control circuit 12, the first end of the first transmitting optocoupler IC2 is connected to the first preset power supply Vcc-A, the second end of the first transmitting optocoupler IC2 is connected to the first control circuit 12 through the first transmitting switch Q1, the fourth end of the first transmitting optocoupler IC2 is connected to the communication power supply circuit 13, and the communication power supply circuit 13 is connected to the power line; wherein, the first control circuit 12 is used to control the first transmitting optocoupler IC2 to be turned on or off so as to turn on or off the current loop.
[0060] Specifically, when the communication power supply circuit 13 supplies power to the current loop path and current flows through the current loop path, the first control circuit 12 and the second control circuit 23 communicate based on the current loop path.
[0061] When the outdoor unit is sending and the indoor unit is receiving, if the outdoor unit sends a high level and the control current loop path remains turned on, the first receiving optocoupler IC1 is turned on, and the signal receiving pin RXD1 of the first control circuit 12 receives a high level. At the same time, the reset optocoupler ICf is turned on, and the reset capacitor Cf is in a charging state; if the outdoor unit sends a low level, the control current loop path is disconnected, the first receiving optocoupler IC1 is turned off, and the signal receiving pin RXD1 of the first control circuit 12 receives a low level. At the same time, the reset optocoupler ICf is turned off, and the reset capacitor Cf is in a discharging state.
[0062] When the indoor unit is sending and the outdoor unit is receiving, if the first control circuit 12 outputs a low-level signal through the signal sending pin TXD1, the first sending switch Q1 is disconnected, the first sending optocoupler IC2 is turned off, the current loop is disconnected, and at the same time the reset optocoupler ICf is turned off, and the reset capacitor Cf is in a discharging state; if the first control circuit 12 outputs a high-level signal through the signal sending pin TXD1, the first sending switch Q1 is turned on, the first sending optocoupler IC2 is turned on, the current loop is in a conducting state, and at the same time the reset optocoupler ICf is turned on, and the reset capacitor Cf is in a charging state.
[0063] Among them, the first resistor R1 is used for current limiting, and a PTC resistor can be selected. The first diode D1 is used to limit the current direction in the current loop. In addition, this embodiment establishes a current loop based on an optocoupler to achieve control of the communication of the strong current part through the weak current part, thereby achieving the effect of isolating strong and weak currents, so that the operation of the weak current part is not affected by the strong current part.
[0064] In one embodiment of the present invention, the communication power supply circuit 13 includes: a first capacitor C1, a first voltage regulator tube ZV1, a third resistor R3, a fourth resistor R4 and a third diode D3, one end of the first capacitor C1 is connected to the fourth end of the first transmitting optocoupler IC2, the other end of the first capacitor C1 is connected to the neutral line N, the anode of the first voltage regulator tube ZV1 is connected to one end of the first capacitor C1, the cathode of the first voltage regulator tube ZV1 is connected to the other end of the first capacitor C1, the third resistor R3 is connected in parallel with the first capacitor C1, one end of the fourth resistor R4 is connected to one end of the first capacitor C1, the other end of the fourth resistor R4 is connected to the anode of the third diode D3, and the cathode of the third diode D3 is connected to the live wire L in the power line.
[0065] Specifically, when the AC power is in the negative half cycle, the AC power charges the first capacitor C1 and supplies power to the current loop path. When the AC power is in the positive half cycle, the first capacitor C1 discharges to continue to supply power to the current loop communication loop, so that during the communication process, there is always a power supply voltage in the current loop communication loop to ensure that the indoor unit and the outdoor unit can achieve continuous communication.
[0066] In one embodiment of the present invention, the first device 10 also includes a pre-charging circuit 14, which is respectively connected to the communication line S and the power line. The second device 20 also includes a power switch K2 and a second power supply circuit 24. The power switch K2 selectively connects the communication line S or the power line. The second power supply circuit 24 is connected to the power switch K2 for supplying power to the second device 20. When the power switch K2 is connected to the power line, an external power supply supplies power to the second power supply circuit 24 through the power line. When the power switch K2 is connected to the communication line S, the external power supply pre-charges the second power supply circuit 24 through the pre-charging circuit 14, the communication line S and the power line.
[0067] Specifically, the pre-charging circuit 14 is used to provide a pre-charging branch with a large impedance for the second power supply circuit 24 to perform a pre-charging action on the second power supply circuit 24. A large resistor is connected in series in the pre-charging circuit 14 to avoid excessive instantaneous current when supplying power to the second power supply circuit 24, which may cause damage to the second power supply circuit 24.
[0068] Wherein, the power line includes a live line L and a neutral line N, then the pre-charging circuit 14 can be as follows Figure 2 As shown, they are connected to the communication line S and the live line L respectively, or Figure 3 As shown, they are respectively connected to the communication line S and the neutral line N. The power line connected to the pre-charging circuit 11 is consistent with the power line connected to the power switch K2 to ensure the power supply effect to the second power supply circuit 24.
[0069] The following are Figure 2 Taking as an example, the circuit connection of the air conditioner 1000 is illustrated.
[0070] exist Figure 2 In the illustrated embodiment, the pre-charging circuit 14 is connected to the communication line S and the live line L, respectively. Then, the first end 1 of the power switch K2 is connected to an input end of the second power supply circuit 24, the second end 2 of the power switch K2 is connected to the live line L, the third end 3 of the power switch K2 is connected to the communication line S, and the other input end of the second power supply circuit 24 is connected to the neutral line N. In the process of pre-charging the second power supply circuit 24, the first control circuit 12 controls the pre-charging circuit 14 to be turned on, the first end 1 of the power switch K2 is connected to the third end 3, that is, the power switch K2 is connected to the communication line S. At this time, the external power supply pre-charges the second power supply circuit 24 based on the pre-charging circuit 14, the communication line S and the power line.
[0071] exist Figure 3In the illustrated embodiment, the pre-charging circuit 14 is connected to the communication line S and the neutral line N, respectively, then the first end 1 of the power switch K2 is connected to the other input end of the second power supply circuit 24, the second end 2 of the power switch K2 is connected to the neutral line N, the third end 3 of the power switch K2 is connected to the communication line S, and one input end of the second power supply circuit 24 is connected to the live line L. In the process of pre-charging the second power supply circuit 24, the pre-charging circuit 14 is turned on, the first end 1 of the power switch K2 is connected to the third end 3, that is, the power switch K2 is connected to the communication line S, at this time, the external power supply pre-charges the second power supply circuit 24 based on the pre-charging circuit 14, the communication line S and the power line.
[0072] After the pre-charging of the second power supply circuit 24 is completed, the power supply switch K2 of the second control circuit 23 is closed and connected to the power line, the first control circuit 21 controls the pre-charging circuit 14 to be disconnected, and the current loop path between the indoor unit and the outdoor unit is established. When the second control circuit 23 is in normal communication, the first control 12 can send a reset signal to the second control circuit 23 based on the current loop path, and the second control circuit 23 controls the large relay of the outdoor unit to be disconnected based on the reset signal to disconnect the external power supply to the outdoor unit, and at the same time, the first control circuit 12 controls the pre-charging circuit 11 to be turned on to reset the second control circuit 23.
[0073] Further, in Figure 2 and Figure 3 In the embodiment shown, the power switch K2 uses a single-pole double-throw switch to complete the connection between the second power supply circuit 24 and the power line or the communication line S. In addition to the above application method, the power switch K2 can also use two linkage switches, for example, Figure 2 In the embodiment shown, two linkage switches can be connected in series on the branches where the second power supply circuit 24 is connected to the communication line S and the live line L, respectively. The input end of the second power supply circuit 24 is controlled to be connected to the communication line S or the live line L by controlling the two linkage switches. Figure 3 In the embodiment shown, two interlocking switches can be respectively connected in series on the branches where the second power supply circuit 24 is connected to the communication line S and the neutral line N, and the input end of the second power supply circuit 24 is controlled to be connected to the communication line S or the neutral line N by controlling the two interlocking switches.
[0074] In addition, the external power supply is used to provide AC power. The external power supply can be connected to the first device 10 to supply power to the power line through the first device 10, or can be connected to the second device 20 to supply power to the power line through the second device 20. For example, the first device 10 is an indoor unit and the second device 20 is an outdoor unit. Figure 4 In the embodiment of indoor unit power supply shown in FIG. 1 , the indoor unit is connected to an external power source through a socket 30. Figure 5 In the outdoor unit power supply embodiment shown, the outdoor unit is connected to an external power supply through a socket 30. Among them, the PE line is a common ground line.
[0075] In one embodiment of the present invention, when the pre-charging circuit 14 is respectively connected to the communication line S and the live wire L in the power line, the first end of the power supply switch K2 is connected to the first input end of the second power supply circuit 24, the second end of the power supply switch K2 is connected to the live wire L, the third end of the power supply switch K2 is connected to the communication line S, and the neutral line N is respectively connected to the second input end of the second power supply circuit 24 and the first end of the second receiving optocoupler IC3; wherein, when the first end and the second end of the power supply switch K2 are connected, the power supply switch K2 is connected to the power line; when the first end and the third end of the power supply switch K2 are connected, the power supply switch K2 is connected to the communication line S.
[0076] Among them, the power switch K2 can adopt a single-pole double-throw relay, and the second control circuit 23 controls the closing and opening of the power switch K2 through the driving circuit B. Among them, the default initial state of the power switch K2 is the open state, and the first end 1 of the power switch K2 is connected to the third end 3; when the power switch K2 is controlled to be closed, the first end 1 of the power switch K2 is connected to the second end 2.
[0077] Specifically, during the pre-charging process of the second power supply circuit 24, the first end 1 and the third end 3 of the power supply switch K2 are connected, the live wire L is connected to the first input end of the second power supply circuit 24 through the pre-charging circuit 14, the communication line S, and the power supply switch K2, and the neutral line N is connected to the second input end of the second power supply circuit 24. The external power supply pre-charges the second power supply circuit 24 through the pre-charging circuit 14, the communication line S and the power line; at the end of the pre-charging, the second control circuit 23 controls the power supply switch K2 to close, that is, the first end 1 and the second end 2 are connected. At this time, the live wire L is directly connected to the first input end of the second power supply circuit 24 through the power supply switch K2, and the neutral line N is connected to the second input end of the second power supply circuit 24. The external power supply supplies power to the outdoor unit normally through the power line.
[0078] In one embodiment of the present invention, when the pre-charging circuit 14 is respectively connected to the communication line S and the neutral line N, the first end of the power supply switch K2 is respectively connected to the first end of the second receiving optocoupler IC3 and the first input end of the second power supply circuit 24, the second end of the power supply switch K2 is connected to the neutral line N, the third end of the power supply switch K2 is connected to the communication line S, and the second input end of the second power supply circuit 24 is connected to the live wire L in the power line; wherein, when the first end and the second end of the power supply switch K2 are connected, the power supply switch K2 is connected to the power line; when the first end and the third end of the power supply switch K2 are connected, the power supply switch K2 is connected to the communication line S.
[0079] Among them, the power switch K2 can adopt a single-pole double-throw relay, and the second control circuit 23 controls the closing and opening of the power switch K2 through the driving circuit B. Among them, the default initial state of the power switch K2 is the open state, and the first end 1 of the power switch K2 is connected to the third end 3; when the power switch K2 is controlled to be closed, the first end 1 of the power switch K2 is connected to the second end 2.
[0080] Specifically, during the process of precharging the second power supply circuit 24, the first end 1 and the third end 3 of the power supply switch K2 are connected, the neutral line N is connected to the first input end of the second power supply circuit 24 through the precharging circuit 14, the communication line S, and the power supply switch K2, and the live line L is directly connected to the second input end of the second power supply circuit 24. The external power supply precharges the second power supply circuit 24 through the precharging circuit 14, the communication line S and the power line; at the end of the precharging, the second control circuit 23 controls the power supply switch K2 to close, that is, the first end 1 and the second end 2 are connected. At this time, the neutral line N is directly connected to the first input end of the second power supply circuit 24 through the power supply switch K2, and the live line L is connected to the second input end of the second power supply circuit 24. The external power supply supplies power to the outdoor unit normally through the power line.
[0081] In one embodiment of the present invention, the pre-charging circuit 14 includes a pre-charging resistor R and a pre-charging switch K1 connected in series; wherein the first control circuit 12 is further used to control the pre-charging switch K1 to be turned on or off.
[0082] The first control circuit 12 controls the pre-charging switch K1 to be turned on or off through the driving circuit A, thereby controlling the pre-charging circuit 14 to be turned on or off.
[0083] Specifically, during the pre-charging process of the second power supply circuit 24, the first control circuit 12 controls the pre-charging switch K1 to be turned on, so that the external power supply pre-charges the second power supply circuit 24 through the pre-charging circuit 14, the communication line S and the power line. After the pre-charging of the second power supply circuit 24 is completed, the first control circuit 12 controls the pre-charging switch K1 to be turned off.
[0084] For example, Figure 3For example, in the process of precharging the second power supply circuit 24, the first control circuit 12 controls the precharging switch K1 to be turned on, and the initial state of the power supply switch K2 is that the first end 1 is connected to the third end 3, and the external power supply supplies power to the second power supply circuit 24 through the precharging circuit 14, the communication line S and the power line to precharge the second power supply circuit 24. At the same time, in the process of precharging the second power supply circuit 24, the first control circuit 12 controls the precharging switch K1 to be turned on and starts timing, and after the timing time reaches the preset conduction time, it is determined that the precharging is completed, and the precharging switch K1 is controlled to be disconnected. At the same time, when the output voltage of the second power supply circuit 24 reaches the preset voltage threshold, the second control circuit 23 controls the power supply switch K2 to be closed, and the precharging is completed. The current loop path between the second control circuit 23 and the first control circuit 12 is established, and the normal communication stage is carried out.
[0085] Furthermore, the pre-charging resistor R may be a PTC resistor, and the pre-charging switch K1 may be a relay, and the pre-charging switch K1 may be turned on or off by a driving signal output by the first control circuit 12 .
[0086] As a specific embodiment of the present application, the circuit of the air conditioner 1000 is as follows: Figure 2 As shown, the first device 10 is an indoor unit, and the second device 20 is an outdoor unit. It is understandable that the output end of the reset optocoupler ICf needs to be connected to a reset capacitor Cf with a large capacitance value to ensure that when the outdoor unit and the indoor unit are communicating normally, the reset optocoupler ICf is cut off due to the 0 and 1 jump of the communication signal, which does not cause the signal voltage at the output end of the reset capacitor Cf to be too low, causing the second control circuit 23 to be reset by mistake.
[0087] After the pre-charging of the second power supply circuit 24 is completed, the current loop path between the first control circuit 12 and the second control circuit 23 is established, and normal communication is performed. In addition, the first control circuit 12 and the second control circuit 23 need to communicate through a timed heartbeat in an idle state without a communication task. Then, the first control circuit 12 can determine whether the second control circuit 23 is communicating normally based on the reception and transmission of signals, so as to perform reset control. Among them, the control method of the first control circuit 12 can be as follows: Figure 6 As shown, the following steps are included:
[0088] S101, determine whether there is a communication task. If yes, execute step S102; if no, execute step S103.
[0089] S102, determine that the communication is normal, and clear the communication timeout period. Execute step S101.
[0090] S103, determine whether the heartbeat information is received within time t. If yes, execute step S102; if not, execute step S104.
[0091] S104, determine whether the timeout period reaches a preset period. If yes, execute step S105; if no, execute step S101.
[0092] S105, controlling the first transmitting optical coupler IC2 to be turned off, and controlling the first transmitting optical coupler IC2 to be turned on after a first preset time period, so as to charge and discharge the reset circuit, so that the reset circuit resets the second control circuit.
[0093] S106, sending a communication message.
[0094] S107, determining whether the feedback information sent by the second detection circuit is received within a preset time. If yes, it is determined that the second control circuit is reset successfully, and step S108 is executed; if no, it is determined that the second control circuit is reset unsuccessfully, and step S109 is executed.
[0095] S108, record the abnormal information and report the abnormal recovery information. Return to step S102.
[0096] S109, record the abnormal information and report the abnormal information.
[0097] S110, entering standby state.
[0098] In summary, according to the air conditioner of the embodiment of the present invention, one of the first device and the second device is an indoor unit, and the other is an outdoor unit, the first device includes a first current loop circuit and a first control circuit, the second device includes a second current loop circuit, a reset circuit, and a second control circuit, the second device establishes a current loop path with the first device through the second current loop circuit, the communication line, the neutral line in the power line, and the first current loop circuit, the reset circuit is respectively connected to the communication line, the neutral line, and the second control circuit, and the first control circuit performs on-off control on the current loop path to charge and discharge the reset circuit when determining that the communication of the second control circuit is abnormal, so that the reset circuit resets the second control circuit. Therefore, the air conditioner can perform on-off control on the current loop path based on the first control circuit when the communication of the second control circuit is abnormal, so that the reset circuit resets the second control circuit, which solves the technical problem in the related art that the second control circuit program is in an abnormal state and does not respond to the power-off information and cannot perform reset control on the second control circuit.
[0099] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0100] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0101] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0102] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. An air conditioner, characterized in that: include: a first device and a second device, wherein one of the first device and the second device is an indoor unit and the other is an outdoor unit; The first device includes a first current loop circuit and a first control circuit; The second device includes a second current loop circuit, a reset circuit and a second control circuit. The second device establishes a current loop path with the first device through the second current loop circuit, a communication line, a neutral line in a power line and the first current loop circuit. The reset circuit is connected to the communication line, the neutral line and the second control circuit respectively; wherein, The first control circuit is used for controlling the on-off of the current loop path to charge and discharge the reset circuit when it is determined that the communication of the second control circuit is abnormal, so that the reset circuit resets the second control circuit.
2. The air conditioner according to claim 1, characterized in that: The first control circuit is used to perform multiple heartbeat communications with the second control circuit through the current loop path, and determine that the communication of the second control circuit is abnormal when multiple heartbeat communications fail.
3. The air conditioner according to claim 1, characterized in that: The reset circuit includes a reset optocoupler, a pull-up resistor, a pull-down resistor and a reset capacitor. The first end of the reset optocoupler is connected to the neutral line, the second end of the reset optocoupler is connected to the communication line, the third end of the reset optocoupler is connected to the second preset power supply through the pull-up resistor, the fourth end of the reset optocoupler is connected to the second control circuit and grounded through the pull-down resistor, and the reset capacitor is connected in parallel with the pull-down resistor.
4. The air conditioner according to claim 3, characterized in that: The first control circuit is used to control the current loop path to first be disconnected for a first preset time length so that the reset capacitor discharges through the pull-down resistor, and then control the current loop path to be turned on so that the second preset power supply charges the reset capacitor through the pull-up resistor to reset the second control circuit.
5. The air conditioner according to claim 4, characterized in that: The first preset time length > Rf1*Cf*Ln(V0 / Vt), V0 = (VccB-Vc)*Rf1 / (Rf2+Rf1), wherein Rf1 is the resistance of the pull-down resistor, Cf is the capacitance of the reset capacitor, Vt is the reset voltage of the second control circuit, VccB is the voltage of the second preset power supply, Vc is the on-state voltage drop of the reset optocoupler, and Rf2 is the resistance of the pull-up resistor.
6. The air conditioner according to claim 5, characterized in that: In the process of the first control circuit communicating with the second control circuit through the current loop to transmit data frames, the time interval between two adjacent data frames is greater than a second preset duration, and the transmission duration of each data frame is less than a third preset duration; wherein the second preset duration is determined based on V0, and the third preset duration is determined based on Vt.
7. The air conditioner according to claim 3, characterized in that: The second current loop circuit includes: a second receiving optocoupler, a second transmitting optocoupler, a second resistor, a second diode and a second transmitting switch, wherein the first end of the second receiving optocoupler is connected to the neutral line, the second end of the second receiving optocoupler is connected to the third end of the second transmitting optocoupler, the third end of the second receiving optocoupler is connected to the second preset power supply, the fourth end of the second receiving optocoupler is connected to the second control circuit, the first end of the second transmitting optocoupler is connected to the second preset power supply, the second end of the second transmitting optocoupler is connected to the second control circuit through the second transmitting switch, the fourth end of the second transmitting optocoupler is connected to one end of the second resistor, the other end of the second resistor is connected to the anode of the second diode, and the cathode of the second diode is connected to the communication line; wherein, The second end of the reset optical coupler is connected to one end of the second resistor, or to the other end of the second resistor, or to the cathode of the second diode.
8. The air conditioner according to claim 4, characterized in that: The first device also includes a communication power supply circuit for supplying power to the current loop path, the first current loop circuit includes: a first receiving optocoupler, a first transmitting optocoupler, a first resistor, a first diode and a first transmitting switch, the first end of the first receiving optocoupler is connected to the cathode of the first diode through the first resistor, the anode of the first diode is connected to the communication line, the second end of the first receiving optocoupler is connected to the third end of the first transmitting optocoupler, the third end of the first receiving optocoupler is connected to a first preset power supply, the fourth end of the first receiving optocoupler is connected to the first control circuit, the first end of the first transmitting optocoupler is connected to the first preset power supply, the second end of the first transmitting optocoupler is connected to the first control circuit through the first transmitting switch, the fourth end of the first transmitting optocoupler is connected to the communication power supply circuit, and the communication power supply circuit is connected to the power line; wherein, The first control circuit is used to control the first transmitting optical coupler to be turned on or off so as to turn the current loop path on or off.
9. The air conditioner according to claim 8, characterized in that: The communication power supply circuit includes: a first capacitor, a first voltage regulator, a third resistor, a fourth resistor and a third diode, one end of the first capacitor is connected to the fourth end of the first transmitting optocoupler, the other end of the first capacitor is connected to the neutral line, the anode of the first voltage regulator is connected to one end of the first capacitor, the cathode of the first voltage regulator is connected to the other end of the first capacitor, the third resistor is connected to the first capacitor in parallel, one end of the fourth resistor is connected to one end of the first capacitor, the other end of the fourth resistor is connected to the anode of the third diode, and the cathode of the third diode is connected to the live wire in the power line.
10. The air conditioner according to claim 7, characterized in that: The first device also includes a pre-charging circuit, which is respectively connected to the communication line and the power line. The second device also includes a power switch and a second power supply circuit. The power switch selectively connects the communication line or the power line. The second power supply circuit is connected to the power switch and is used to supply power to the second device. When the power switch is connected to the power line, an external power supply supplies power to the second power supply circuit through the power line. When the power switch is connected to the communication line, the external power supply pre-charges the second power supply circuit through the pre-charging circuit, the communication line and the power line.
11. The air conditioner according to claim 10, characterized in that: In the case where the pre-charging circuit is respectively connected to the live wire of the communication line and the power line, the first end of the power switch is connected to the first input end of the second power supply circuit, the second end of the power switch is connected to the live wire, the third end of the power switch is connected to the communication line, and the neutral wire is respectively connected to the second input end of the second power supply circuit and the first end of the second receiving optical coupler; wherein, When the first end and the second end of the power switch are connected, the power switch is connected to the power line; when the first end and the third end of the power switch are connected, the power switch is connected to the communication line.
12. The air conditioner according to claim 10, characterized in that: In the case where the pre-charging circuit is respectively connected to the communication line and the neutral line, the first end of the power switch is respectively connected to the first end of the second receiving optical coupler and the first input end of the second power supply circuit, the second end of the power switch is connected to the neutral line, the third end of the power switch is connected to the communication line, and the second input end of the second power supply circuit is connected to the live line in the power line; wherein, When the first end and the second end of the power switch are connected, the power switch is connected to the power line; when the first end and the third end of the power switch are connected, the power switch is connected to the communication line.
13. The air conditioner according to any one of claims 10 to 12, characterized in that: The pre-charging circuit includes a pre-charging resistor and a pre-charging switch connected in series; wherein the first control circuit is also used to control the pre-charging switch to be turned on or off.
