Air conditioner, fault diagnosis method and diagnosis device for power supply switch of air conditioner and controller
Through the fault diagnosis method of the power supply switch of the air conditioner, the output voltage is obtained by using the one-way precharge circuit and control circuit to quickly detect the damage of the power supply switch, which solves the safety risks and increased power consumption caused by the failure of the outdoor main relay, and improves the air conditioner's Safety and power consumption efficiency.
Patent Information
- Application Number
- CN202411207755.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-11-12
AI Technical Summary
When the outdoor main relay in the air conditioner fails, it cannot be disconnected in time, which poses a safety risk and increases power consumption.
In the fault diagnosis method of power supply switch of air conditioner, the output voltage is obtained through the one-way precharge circuit and the control circuit, and whether the power supply switch is damaged is determined to achieve rapid fault detection.
Improves the safety and power consumption efficiency of the air conditioner, avoiding unnecessary power consumption and safety risks caused by failures.
Smart Images

Figure CN118935617A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of household appliances, and in particular to an air conditioner and a power switch fault diagnosis method, a diagnosis device and a controller thereof. Background Art
[0002] In the air conditioner, the outdoor unit is powered by pre-charging. The outdoor unit determines that the pre-charging is completed after a period of power outage. At this time, the outdoor unit controls the outdoor main relay to close to disconnect the pre-charging branch, directly draw power from the external power supply, and execute normal power supply to the outdoor unit.
[0003] However, when the outdoor main relay fails, that is, the outdoor main relay is always in a closed state, if a major failure occurs in the outdoor unit, the outdoor main relay cannot be disconnected immediately, which poses a certain safety risk. Summary of the invention
[0004] 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 object of the present invention is to provide an air conditioner, in the process of precharging the second power supply circuit, a fault diagnosis of the power supply switch is performed based on the output voltage, and whether the power supply switch is damaged can be quickly detected, so that the air conditioner is further improved in terms of safety and power consumption.
[0005] A second object of the present invention is to provide a method for diagnosing a power switch fault of an air conditioner.
[0006] The third object of the present invention is to provide a controller.
[0007] A fourth object of the present invention is to provide a device for diagnosing faults of a power switch of an air conditioner.
[0008] A fifth object of the present invention is to provide an air conditioner.
[0009] 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 unidirectional pre-charging circuit, and the unidirectional pre-charging circuit is respectively connected to a communication line and a power line; the second device comprises a power switch, a second power supply circuit and a second control circuit, the power switch selectively connects to a communication line or a 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 unidirectional pre-charging circuit, the communication line and the power line; wherein the second control circuit is used to obtain the output voltage of the second power supply circuit in the process of the power switch being connected to the communication line so that the external power supply pre-charges the second power supply circuit through the unidirectional pre-charging circuit, the communication line and the power line, and determine whether there is a fault in the power switch based on the output voltage.
[0010] 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 unidirectional pre-charging circuit, the unidirectional pre-charging circuit is connected to the communication line and the power line respectively, the second device includes a power switch, a second power supply circuit and a second control 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 the second device is powered by the second power supply circuit, wherein, when the power switch is connected to the power line, the 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 unidirectional pre-charging circuit, the communication line and the power line; wherein, the second control circuit obtains the output voltage of the second power supply circuit in the process of the power switch connecting the communication line so that the external power supply pre-charges the second power supply circuit through the unidirectional pre-charging circuit, the communication line and the power line, and determines whether the power switch has a fault based on the output voltage. Therefore, in the process of pre-charging the second power supply circuit, the air conditioner performs fault diagnosis on the power switch based on the output voltage, and can quickly detect whether the power switch is damaged, so that the air conditioner is further improved in terms of safety and power consumption.
[0011] In addition, the air conditioner according to the above embodiment of the present invention may also have the following additional technical features:
[0012] According to one embodiment of the present invention, the external power supply is alternating current, and the second power supply circuit includes a rectifier circuit; wherein the second control circuit is used to determine that the power supply switch is not faulty when the waveform of the output voltage is half-wave within a preset time, and to determine that the power supply switch is faulty when the waveform of the output voltage is full-wave within a preset time.
[0013] According to one embodiment of the present invention, the first device also includes a first current loop circuit, and the second device also includes a second current loop circuit, and 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; wherein the second control circuit is used to send power switch fault information to the first device through the current loop path when the power switch fails, and control the power switch to connect the power line when the power switch is not faulty and the pre-charging of the second power supply circuit is completed.
[0014] According to one embodiment of the present invention, the second control circuit is further used to obtain the pre-charging time of the second power supply circuit, and determine that the pre-charging of the second power supply circuit is completed when the pre-charging time reaches a preset time.
[0015] According to one embodiment of the present invention, when the unidirectional pre-charging circuit is respectively connected to the live wire in the communication line and the power line, the first end of the power supply switch is connected to the first input end of the second power supply circuit, the second end of the power supply switch is connected to the live wire, the third end of the power supply 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 second current loop circuit; wherein, when the first end and the second end of the power supply switch are connected, the power supply switch is connected to the power line; when the first end and the third end of the power supply switch are connected, the power supply switch is connected to the communication line.
[0016] According to one embodiment of the present invention, when the unidirectional pre-charging circuit is respectively connected to the communication line and the neutral line in the power line, the first end of the power supply switch is respectively connected to the second current loop circuit and the first input end of the second power supply circuit, the second end of the power supply switch is connected to the neutral line, the third end of the power supply 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 supply switch are connected, the power supply switch is connected to the power line; when the first end and the third end of the power supply switch are connected, the power supply switch is connected to the communication line.
[0017] According to one embodiment of the present invention, a unidirectional pre-charging circuit includes a pre-charging resistor, a pre-charging switch and a pre-charging diode connected in series; wherein the first device also includes a first control circuit for controlling the pre-charging switch to be turned on or off.
[0018] According to one embodiment of the present invention, the first device further includes: a communication power supply circuit connected to the power line and used to supply power to the current loop path; and a first power supply circuit connected to the power line and used to supply power to the first device.
[0019] According to one embodiment of the present invention, 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, and the fourth end of the first transmitting optocoupler is connected to the communication power supply circuit; wherein, the anode of the pre-charge diode is connected to the anode of the first diode.
[0020] 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 suitable for connecting to the neutral line or the first end of the power supply switch, 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 the anode of the second diode through the second resistor, and the cathode of the second diode is connected to the communication line.
[0021] 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 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.
[0022] To achieve the above-mentioned purpose, the second aspect of the present invention proposes a method for diagnosing a power switch fault of an air conditioner, wherein the air conditioner comprises 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, wherein the first device comprises a unidirectional pre-charging circuit, wherein the unidirectional pre-charging circuit is respectively connected to a communication line and a power line, wherein the second device comprises a power switch and a second power supply circuit, wherein the power switch selectively connects to a communication line or a 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 unidirectional pre-charging circuit, the communication line and the power line; the method for diagnosing a power switch fault of the air conditioner comprises: obtaining the output voltage of the second power supply circuit in the process of connecting the power switch to the communication line so that the external power supply pre-charges the second power supply circuit through the unidirectional pre-charging circuit, the communication line and the power line; and determining whether the power switch has a fault based on the output voltage.
[0023] According to the power switch fault diagnosis method of the air conditioner of the embodiment of the present invention, in the process of the power switch connecting the communication line so that the external power supply pre-charges the second power supply circuit through the unidirectional pre-charging circuit, the communication line and the power line, the output voltage of the second power supply circuit is obtained, and whether the power switch is faulty is determined based on the output voltage. Therefore, in the process of pre-charging the second power supply circuit, the method performs fault diagnosis on the power switch based on the output voltage, and can quickly detect whether the power switch is damaged, so that the air conditioner is further improved in terms of safety and power consumption.
[0024] To achieve the above objectives, a third aspect of the present invention proposes a controller, including a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, the above-mentioned air conditioner power switch fault diagnosis method is implemented.
[0025] According to the controller of the embodiment of the present invention, when the processor executes the program, the above-mentioned power switch fault diagnosis method of the air conditioner is implemented. Based on the above-mentioned power switch fault diagnosis method of the air conditioner, it is possible to quickly detect whether the power switch is damaged, so that the safety and power consumption of the air conditioner are further improved.
[0026] To achieve the above-mentioned purpose, the fourth aspect of the present invention proposes a power switch fault diagnosis device for an air conditioner, the air conditioner includes 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 includes a unidirectional pre-charging circuit, the unidirectional pre-charging circuit is respectively connected to a communication line and a power line, the second device includes a power switch and a second power supply circuit, the power switch selectively connects to 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, 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 unidirectional pre-charging circuit, the communication line and the power line; the power switch fault diagnosis device for the air conditioner includes: an acquisition module, used to acquire the output voltage of the second power supply circuit in the process of connecting the power switch to the communication line so that the external power supply pre-charges the second power supply circuit through the unidirectional pre-charging circuit, the communication line and the power line; a control module, used to determine whether there is a fault in the power switch based on the output voltage.
[0027] According to the power switch fault diagnosis device of the air conditioner of the embodiment of the present invention, the acquisition module obtains the output voltage of the second power supply circuit in the process of the power switch connecting the communication line so that the external power supply pre-charges the second power supply circuit through the unidirectional pre-charging circuit, the communication line and the power line, and the control module determines whether the power switch has a fault based on the output voltage. Therefore, in the process of pre-charging the second power supply circuit, the device performs fault diagnosis on the power switch based on the output voltage, and can quickly detect whether the power switch is damaged, so that the air conditioner is further improved in terms of safety and power consumption.
[0028] To achieve the above-mentioned object, a fifth aspect of the present invention provides an air conditioner, including the above-mentioned controller, or the above-mentioned power switch fault diagnosis device of the air conditioner.
[0029] According to the air conditioner of the embodiment of the present invention, based on the above-mentioned controller or the above-mentioned power switch fault diagnosis device of the air conditioner, it is possible to quickly detect whether the power switch is damaged, so that the air conditioner is further improved in terms of safety and power consumption.
[0030] 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
[0031] Figure 1 is a connection diagram of an air conditioner according to an embodiment of the present invention;
[0032] Figure 2 is a connection diagram of an air conditioner according to another embodiment of the present invention;
[0033] Figure 3 A schematic diagram of a connection for powering an indoor unit according to an embodiment of the present invention;
[0034] Figure 4 A connection diagram for powering an outdoor unit according to an embodiment of the present invention;
[0035] Figure 5 A circuit diagram of an air conditioner according to a specific embodiment of the present invention Figure 1 ;
[0036] Figure 6 A circuit diagram of an air conditioner according to a specific embodiment of the present invention Figure 2 ;
[0037] Figure 7 A control timing diagram of a power switch of an outdoor unit without fault according to a specific embodiment of the present invention;
[0038] Figure 8 is a control timing diagram of a power switch failure of an outdoor unit according to a specific embodiment of the present invention;
[0039] Fig. 9 is a control flow chart of a second control circuit according to a specific embodiment of the present invention;
[0040] Fig.10 A current flow diagram of a current loop path of an air conditioner according to a specific embodiment of the present invention;
[0041] Fig.11 is a flow chart of a method for diagnosing a power switch fault of an air conditioner according to an embodiment of the present invention;
[0042] Fig.12 is a block diagram of a controller according to an embodiment of the present invention;
[0043] Fig.13 is a connection diagram of a power switch fault diagnosis device for an air conditioner according to an embodiment of the present invention;
[0044] Fig.14 is a block diagram of an air conditioner according to an embodiment of the present invention;
[0045] Fig.15 FIG. 4 is a block diagram of an air conditioner according to another embodiment of the present invention. DETAILED DESCRIPTION
[0046] 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.
[0047] The following describes an air conditioner and a power switch fault diagnosis method, a power switch fault diagnosis device, and a controller thereof provided by embodiments of the present invention with reference to the accompanying drawings.
[0048] Figure 1 and Figure 2 Schematic diagram of the connection of an air conditioner according to an embodiment of the present invention.
[0049] like Figure 1 , Figure 2 As shown, the air conditioner 1000 of the embodiment of the present invention may include: 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 unidirectional pre-charging circuit 11, and the unidirectional pre-charging circuit 11 is respectively connected to the communication line S and the power line; the second device 20 includes a power switch K2, a second power supply circuit 21 and a second control circuit 22, the power switch K2 selectively connects the communication line S or the power line, and the second power supply circuit 21 is connected to the power switch K2 for supplying power to the second device 20, wherein, in the power supply When the switch K2 is connected to the power line, the external power supply supplies power to the second power supply circuit 21 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 21 through the unidirectional pre-charging circuit 11, the communication line S and the power line. The second control circuit 22 is used to obtain the output voltage of the second power supply circuit 21 when the power switch K2 is connected to the communication line S so that the external power supply pre-charges the second power supply circuit 21 through the unidirectional pre-charging circuit 11, the communication line S and the power line, and determine whether the power switch K2 is faulty based on the output voltage.
[0050] 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.
[0051] The unidirectional pre-charging circuit 11 is used to provide a unidirectional current branch with a large impedance for the second power supply circuit 21 to perform a pre-charging operation on the second power supply circuit 21. For example, the unidirectional pre-charging circuit 11 only allows current to flow from the communication line S to the power line, or only allows current to flow from the power line to the communication line S, and a large resistor is connected in series in the unidirectional pre-charging circuit 11 to avoid excessive current at the moment of power supply, which may damage the second power supply circuit 21. Wherein, the power line includes a live line L and a neutral line N, then the unidirectional pre-charging circuit 11 can be as follows: Figure 1 As shown, they are connected to the communication line S and the live line L respectively, or Figure 2 As shown, they are connected to the communication line S and the neutral line N respectively.
[0052] It can be understood that the power line connected to the unidirectional 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 21. Figure 1 and Figure 2 Taking as an example, the circuit connection of the air conditioner 1000 is illustrated.
[0053] exist Figure 1 In the illustrated embodiment, the unidirectional pre-charging circuit 11 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 21, 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 21 is connected to the neutral line N. In the process of pre-charging the second power supply circuit 21, the unidirectional pre-charging circuit 11 is turned on, the first end 1 of the power switch K2 is connected to the second 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 21 based on the unidirectional pre-charging circuit 11, the communication line S and the power line.
[0054] exist Figure 2 In the illustrated embodiment, the unidirectional pre-charging circuit 11 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 21, 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 21 is connected to the live line L. In the process of pre-charging the second power supply circuit 21, the unidirectional pre-charging circuit 11 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 21 based on the unidirectional pre-charging circuit 11, the communication line S and the power line.
[0055] Further, in Figure 1 and Figure 2In the embodiment shown, the power switch K2 uses a single-pole double-throw switch to complete the connection between the second power supply circuit 21 and the power line or communication line S. In addition to the above application method, the power switch K2 can also use two linkage switches, for example, Figure 1 In the embodiment shown, two linkage switches can be connected in series on the branches of the second power supply circuit 21 connected to the communication line S and the live line L, respectively, and the input end of the second power supply circuit 21 can be controlled to be connected to the communication line S or the live line L by controlling the two linkage switches; Figure 2 In the embodiment shown, two interlocking switches can be respectively connected in series on branches of the second power supply circuit 21 connected to the communication line S and the neutral line N, and the input end of the second power supply circuit 21 can be controlled to be connected to the communication line S or the neutral line N by controlling the two interlocking switches.
[0056] 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 3 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 4 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.
[0057] During the pre-charging process of the second power supply circuit 21, the external power supply supplies power to the second power supply circuit 21 through the unidirectional pre-charging circuit 11, the communication line S and the power line. Under the action of the unidirectional pre-charging circuit 11, only half a cycle of alternating current is output to the second power supply circuit 21. The second power supply circuit 21 converts the half cycle of alternating current to obtain an output voltage. The second control circuit 22 obtains the output voltage of the second power supply circuit 21 through a voltage sampling unit, and judges the state of the power supply switch K2 based on data parameters such as the voltage value, voltage change or voltage waveform of the output voltage to determine whether the power supply switch K2 fails.
[0058] During the process of pre-charging the second power supply circuit 21, this embodiment performs fault detection on the power supply switch K2 based on the output voltage of the second power supply circuit 21, so that the fault detection is faster and the situation that the power supply switch K2 cannot be disconnected in time when the second device 20 fails due to a fault in the power supply switch K2 is avoided. This is more conducive to the safe operation of the air conditioner 1000 and unnecessary additional power consumption caused by the power supply switch K2 being in a closed state for a long time is avoided, so that the air conditioner 1000 can achieve further performance improvement in terms of safety and power consumption.
[0059] 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.
[0060] In one embodiment of the present invention, the external power supply is AC power, and the second power supply circuit 21 includes a rectifier circuit 211; wherein the second control circuit 22 is used to determine that the power switch K2 is not faulty when the waveform of the output voltage is half-wave within a preset time, and to determine that the power switch K2 is faulty when the waveform of the output voltage is full-wave within a preset time. The preset time can be set according to actual conditions.
[0061] Specifically, in Figure 5 In the illustrated embodiment, the rectifier circuit 211 is a full-wave rectifier circuit, and the unidirectional pre-charging circuit 11 is respectively connected to the communication line S and the live line L. Since the unidirectional pre-charging circuit 11 only allows current to flow in one direction, that is, current is allowed to flow from the communication line S to the live line L, or current is allowed to flow from the live line L to the communication line S, then in the process of the external power supply pre-charging the second power supply circuit 21 through the unidirectional pre-charging circuit 11, the communication line S and the power line, only half a cycle of alternating current enters the second power supply circuit 21 to execute the process of pre-charging the second power supply circuit 21.
[0062] exist Figure 6 In the illustrated embodiment, the rectifier circuit 211 is a full-wave rectifier circuit, and the unidirectional pre-charging circuit 11 is respectively connected to the communication line S and the neutral line N. Since the unidirectional pre-charging circuit 11 only allows current to flow in one direction, that is, current is allowed to flow from the communication line S to the neutral line N, or current is allowed to flow from the neutral line N to the communication line S, then in the process of the external power supply pre-charging the second power supply circuit 21 through the unidirectional pre-charging circuit 11, the communication line S and the power line, only half a cycle of alternating current enters the second power supply circuit 21 to execute the process of pre-charging the second power supply circuit 21.
[0063] by Figure 5 For example, assuming that the unidirectional pre-charging circuit 11 only allows current to flow from the communication line S to the live line L, then the unidirectional pre-charging circuit 11 allows the negative half-cycle AC to pass. In the process of pre-charging the second power supply circuit 21, if the power supply switch K2 is not faulty, the power supply switch K2 is connected to the communication line S, and the external power supply pre-charges the second power supply circuit 21 through the unidirectional pre-charging circuit 11, the communication line S and the power line, and only the negative half-cycle AC current enters the second power supply circuit 21. At this time, the output voltage of the second power supply circuit 21 is half-wave; if the power supply switch K2 fails, the power supply switch K2 may be connected to the live line L during the pre-charging process. When the power supply switch K2 is connected to the live line L, the AC output by the external power supply directly pre-charges the second power supply circuit 21 through the power line, and the second power supply circuit 21 performs full-wave rectification on the AC, and its output voltage is full-wave.
[0064] During the process of precharging the second power supply circuit 21, if the second control circuit 22 determines that the output voltage of the second power supply circuit 21 is half-wave within the preset time during the precharging process, it is determined that the power supply switch K2 is not faulty. Figure 7 AC-Out shown; if it is determined that the output voltage of the second power supply circuit 21 appears full-wave during the pre-charging process, it means that the power switch K2 has been closed, that is, connected to the power line, without the second control circuit 22 controlling the power switch K2 to be closed, and it is considered that the power switch K2 is damaged, and it is determined that the power switch K2 is faulty, for example Figure 8 The AC-Out shown. The preset time can be determined according to the pre-charging time of the pre-charging.
[0065] In one embodiment of the present invention, the first device 10 also includes a first current loop circuit 12, and the second device 20 also includes a second current loop circuit 23. The second device 20 establishes a current loop path with the first device 10 through the second current loop circuit 23, the communication line S, the neutral line N in the power line and the first current loop circuit 12; wherein the second control circuit 22 is used to send power switch K2 fault information to the first device 10 through the current loop path when the power switch K2 fails, and control the power switch K2 to connect to the power line when the power switch K2 is not faulty and the pre-charging of the second power supply circuit 21 is completed.
[0066] That is to say, during the process of precharging the second power supply circuit 21, if the second control circuit 22 determines that the power supply switch K2 fails, the second control circuit 22 sends the fault information of the power supply switch K2 to the first device 10 through the current loop path formed by the first current loop circuit 12 and the second current loop circuit 23 to inform the indoor unit. If the second control circuit 22 determines that the power supply switch K2 is normal, after the precharging is completed, the power supply switch K2 is controlled to connect the power line, the indoor unit controls the unidirectional precharging circuit 11 to be disconnected, the external power supply directly supplies power to the second power supply circuit 21 through the power line, and the second power supply circuit 21 outputs full wave to supply power to the outdoor unit normally.
[0067] In one embodiment of the present invention, the second control circuit 22 is further used to obtain the pre-charging duration of the second power supply circuit 21, and determine that the pre-charging of the second power supply circuit 21 is completed when the pre-charging duration reaches a preset duration.
[0068] That is to say, when pre-charging the second power supply circuit 21, the second control circuit 22 times the pre-charging time. When it is determined that the power supply switch K2 is not faulty, if it is determined that the pre-charging time reaches the preset time, the pre-charging is considered to be completed, the power supply switch K2 is controlled to be connected to the power line, and the status of the power supply switch K2 is sent to the indoor unit.
[0069] like Figure 5 As shown, in one embodiment of the present invention, when the unidirectional pre-charging circuit 11 is respectively connected to the communication line S and the live wire L in the power line, the first end 1 of the power supply switch K2 is connected to the first input end of the second power supply circuit 21, the second end 2 of the power supply switch K2 is connected to the live wire L, the third end 3 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 21 and the second current loop circuit 23; wherein, when the first end 1 and the second end 2 of the power supply switch K2 are connected, the power supply switch K2 is connected to the power line; when the first end 1 and the third end 3 of the power supply switch K2 are connected, the power supply switch K2 is connected to the communication line S.
[0070] Among them, the power switch K2 can adopt a single-pole double-throw relay, and the second control circuit 22 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.
[0071] Specifically, in the process of pre-charging the second power supply circuit 21, 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 21 through the unidirectional pre-charging circuit 11, the communication line S, and the power supply switch K2, and the neutral wire N is connected to the second input end of the second power supply circuit 21. The alternating current input to the second power supply circuit 21 is limited by the unidirectional pre-charging circuit 11, so that the second power supply circuit 21 is pre-charged based on the half-cycle alternating current; at the end of the pre-charging, the second control circuit 22 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 21 through the power supply switch K2, and the neutral wire N is connected to the second input end of the second power supply circuit 21. The second power supply circuit 21 full-wave rectifies the entire cycle of alternating current provided by the external power supply to supply power to the outdoor unit normally.
[0072] Combination Figure 6 As shown, in one embodiment of the present invention, when the unidirectional pre-charging circuit 11 is respectively connected to the communication line S and the neutral line N in the power line, the first end 1 of the power supply switch K2 is respectively connected to the second current loop circuit 23 and the first input end of the second power supply circuit 21, the second end 2 of the power supply switch K2 is connected to the neutral line N, the third end 3 of the power supply switch K2 is connected to the communication line S, and the second input end of the second power supply circuit 21 is connected to the live line L in the power line; wherein, when the first end 1 and the second end 2 of the power supply switch K2 are connected, the power supply switch K2 is connected to the power line; when the first end 1 and the third end 3 of the power supply switch K2 are connected, the power supply switch K2 is connected to the communication line S.
[0073] Among them, the power switch K2 can adopt a single-pole double-throw relay, and the second control circuit 22 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.
[0074] Specifically, in the process of precharging the second power supply circuit 21, 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 21 through the unidirectional precharging circuit 11, 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 21. The alternating current input to the second power supply circuit 21 is limited by the unidirectional precharging circuit 11, so that the second power supply circuit 21 is precharged based on the half-cycle alternating current; at the end of the precharging, the second control circuit 22 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 21 through the power supply switch K2, and the live line L is connected to the second input end of the second power supply circuit 21. The second power supply circuit 21 full-wave rectifies the entire cycle of alternating current provided by the external power supply to supply power to the outdoor unit normally.
[0075] In one embodiment of the present invention, the unidirectional pre-charging circuit 11 includes a pre-charging resistor R, a pre-charging switch K1 and a pre-charging diode D connected in series; wherein the first device 10 also includes a first control circuit 13 for controlling the pre-charging switch K1 to be turned on or off.
[0076] That is, in the process of precharging the second power supply circuit 21, the first control circuit 13 controls the precharging switch K1 to be turned on, so that the external power supply precharges the second power supply circuit 21 through the unidirectional precharging circuit 11, the communication line S and the power line. After the precharging of the second power supply circuit 21 is completed, the first control circuit 13 controls the precharging switch K1 to be turned off.
[0077] Specifically, Figure 5For example, in the process of precharging the second power supply circuit 21, the first control circuit 13 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. If the power supply switch K2 is normal, then in the precharging process, based on the unidirectional precharging circuit 11, the negative half-cycle AC power is input to the second power supply circuit 21, and the second power supply circuit 21 is precharged, and the output voltage of the second power supply circuit 21 is half-wave; if the power supply switch K2 fails, the first end 1 and the second end 2 of the power supply switch K2 are connected, then in the precharging process, the AC power provided by the external power supply is directly output to the second power supply circuit 21, and the output voltage of the second power supply circuit 21 has a full wave. Therefore, the second control circuit 22 can determine whether the power supply switch K2 fails based on the output voltage of the second power supply circuit 21 during the precharging process.
[0078] At the same time, in the process of precharging the second power supply circuit 21, the first control circuit 13 starts timing after controlling the precharging switch K1 to be turned on, and after the timing time reaches the preset turn-on time, it is determined that the precharging is completed and the precharging switch K1 is controlled to be turned off.
[0079] Furthermore, the pre-charge resistor R can be a PTC (Positive Temperature Coefficient) resistor, and the pre-charge switch K1 can be a soft start switch. The PWM (Pulse Width Modulation) signal output by the first control circuit 13 is used to control the conduction or disconnection of the pre-charge switch K1, and the pre-charge diode D limits the current flow direction to achieve unidirectional conduction.
[0080] In one embodiment of the present invention, the first device 10 further includes: a communication power supply circuit 14 connected to the power line for supplying power to the current loop; and a first power supply circuit 15 connected to the power line for supplying power to the first device 10.
[0081] That is, when the external power supply supplies power to the air conditioner, the AC power provided by the external power supply is input to the power line, the communication power supply circuit 14 draws power from the power line, and outputs the target electrical signal of the AC power provided by the external power supply, and supplies power to the current loop path, so that the outdoor unit and the indoor unit can communicate based on the current loop path. The first power supply circuit 15 draws power from the power line, and converts the AC power provided by the external power supply into the target DC power, and supplies power to the indoor unit, so that the indoor unit starts.
[0082] In one embodiment of the present invention, the first current loop circuit 12 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, the third end of the first receiving optocoupler IC1 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 13, 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 13 through the first transmitting switch Q1, and the fourth end of the first transmitting optocoupler IC2 is connected to the communication power supply circuit 14; wherein, the anode of the pre-charge diode D is connected to the anode of the first diode D1.
[0083] Specifically, when the communication power supply circuit 14 supplies power to the current loop, the first control circuit 13 of the indoor unit can receive the signal sent by the outdoor unit based on the first receiving optocoupler IC1. For example, when the second current loop circuit 23 sends a high level signal, the first receiving optocoupler IC1 outputs a high level to the signal receiving pin RXD1 of the first control circuit 13; when the second current loop circuit 23 sends a low level signal, the first receiving optocoupler IC1 outputs a low level to the signal receiving pin RXD1 of the first control circuit 13. At the same time, the indoor unit can send a signal to the outdoor unit through the first transmitting optocoupler IC2. For example, when the first control circuit 13 outputs a low level signal through the signal transmitting pin TXD1, the first transmitting switch Q1 is disconnected and a low level signal is output through the first transmitting optocoupler IC2; when the first control circuit 13 outputs a high level signal through the signal transmitting pin TXD1, the first transmitting switch Q1 is turned on and a high level signal is output through the first transmitting optocoupler IC2. Among them, the first resistor R1 is used for current limiting, and a PTC resistor can be selected, and the first diode D1 is used to limit the current direction in the current loop.
[0084] In one embodiment of the present invention, the second current loop circuit 23 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 suitable for connecting to the neutral line N or the first end 1 of the power supply switch K2, the second end of the second receiving optocoupler IC3 is connected to the third end of the second transmitting optocoupler IC4, the third end 3 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 22, the first end 1 of the second transmitting optocoupler IC4 is connected to the second preset power supply VCC-B, the second end 2 of the second transmitting optocoupler IC4 is connected to the second control circuit 22 through the second transmitting switch Q2, the fourth end of the second transmitting optocoupler IC4 is connected to the anode of the second diode D2 through the second resistor R2, and the cathode of the second diode D2 is connected to the communication line S.
[0085] Specifically, when the communication power supply circuit 14 supplies power to the current loop, the outdoor unit can receive the transmission signal of the indoor unit based on the second receiving optical coupler IC3. For example, when the first current loop circuit 12 sends a high level, the second receiving optical coupler IC3 outputs a high level to the signal receiving RXD1 of the second control circuit 22; when the first current loop circuit 12 sends a low level, the second receiving optical coupler IC3 outputs a low level to the signal receiving pin RXD1 of the second control circuit 22. At the same time, the outdoor unit can send a signal to the indoor unit through the second transmitting optical coupler IC4. For example, when the second control circuit 22 outputs a low level signal through the signal sending pin TXD2, the second sending switch Q2 is disconnected and a low level is output through the second sending optical coupler IC4; when the second control circuit 22 outputs a high level signal through the signal sending pin TXD2, the second sending switch Q2 is turned on and a high level is output through the second sending optical coupler IC4. Among them, the second resistor R2 is used for current limiting, and the second diode D1 is used for limiting the current direction in the current loop.
[0086] In one embodiment of the present invention, the communication power supply circuit 14 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 ZD1 is connected to one end of the first capacitor C1, the cathode of the first voltage regulator tube ZD1 is connected to the other end of the first capacitor C1, the third resistor R3 is connected to the first capacitor C1 in parallel, 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 line L.
[0087] Specifically, when the AC power is in the positive 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 negative 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.
[0088] As a specific embodiment of the present application, Figure 5 As shown, the first device 10 is an indoor unit, and the second device 20 is an outdoor unit. The control timing diagram is as follows Figure 6 and Figure 7 As shown, the initial state of the power switch K2 is the disconnected state, that is, the first end 1 and the third end 3 of the power switch K2 are connected.
[0089] After the air conditioner 1000 is powered on, the indoor unit takes power from the neutral line N and the live line L, the first control circuit 12 is powered on and started, and performs temperature detection, indoor unit fault diagnosis, communication and other related work. At the same time, the signal sending pin TXD1 of the first controller circuit 12 defaults to a high level, and outputs a signal PWM1 to control the pre-charge switch K1 to be turned on. At this time, the communication line S and the live line L are connected together to pre-charge the second power supply circuit 21 of the outdoor unit. Among them, pre-charging the second power supply circuit 21 is specifically pre-charging the capacitor E2.
[0090] In the process of precharging the second power supply circuit 21, when the power supply switch K2 is not faulty, the first end 1 of the power supply switch K2 is connected to the third end 3, and the external power supply supplies power to the second power supply circuit 21 through the unidirectional conduction circuit 11, the communication line S, the power supply switch K2 and the power line. Under the action of the precharging diode D of the unidirectional conduction circuit 11, only the negative half-cycle AC is input to the second power supply circuit 21. At this time, the output voltage of the second power supply circuit 21 is half-wave, such as Figure 7 The AC-Out waveform shown; in the case of a power switch K2 failure, the first end 1 of the power switch K2 is connected to the second end 2, then the external power supply directly supplies power to the second power supply circuit 21 through the power line, and the second power supply circuit 21 completely rectifies the AC power, and the output voltage is full-wave, such as Figure 8 The AC-Out waveform is shown.
[0091] During the pre-charging process of the second power supply circuit 21 , the first control circuit 12 times the on-time of the pre-charging switch K1 , determines that the pre-charging is finished when the timing time reaches the preset on-time, and then controls the pre-charging switch K1 to be turned off.
[0092] At the same time, when precharging the second power supply circuit 21, the second control circuit 22 is powered on and started based on the output voltage of the second power supply circuit 21, the output voltage of the second power supply circuit 21 is obtained through the voltage sampling unit, the state of the power supply switch K2 is detected based on the output voltage, and the precharging time is timed, and the precharging is determined to be over when the precharging time reaches the preset time, the power supply switch K2 is controlled to be closed, and the state signal is fed back based on the current loop circuit after the precharging is over. Among them, the precharging stage can refer to the time period corresponding to the precharging switch K1 starting to turn on and off.
[0093] As a specific embodiment of the present application, the control method of the second control circuit 22 is as follows: Fig. 9 As shown, the following steps may be included:
[0094] S101, during the pre-charging process, the outdoor unit is powered on.
[0095] S102: Obtain an output voltage of a second power supply circuit.
[0096] S103, determining whether the output voltage is half-wave within a preset time. If yes, executing step S104; if no, executing step S105.
[0097] S104, determining that the power switch K2 has no faults, and controlling the power switch K2 to close when the pre-charging time reaches a preset time, entering current loop communication, and operating normally.
[0098] S105, determine that the power switch K2 has a fault, and control the power switch K2 to close when the pre-charging time reaches a preset time, enter the current loop communication, and inform the indoor unit of the fault information. Wherein, when it is determined that the power switch K2 has a fault, the second control circuit 22 sends a closing control signal to the power switch K2, which can further ensure the stability of the closed state of the power switch K2 so that the current loop communication is established.
[0099] In addition, current loop communication means: after the first control circuit 12 controls the pre-charge switch K1 to be disconnected (the communication line S and the live line L are no longer reused), and the second control circuit 22 controls the power supply switch K2 to be closed, a communication link is formed by connecting the first receiving optocoupler IC1, the first transmitting optocoupler IC2, the second receiving optocoupler IC3 and the second transmitting optocoupler IC4 in series, and the communication link is powered based on the communication power supply unit 14 to communicate. For details, see Fig.10 Dashed lines mark loops.
[0100] 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 unidirectional pre-charging circuit, the unidirectional pre-charging circuit is respectively connected to the communication line and the power line, the second device includes a power switch, a second power supply circuit and a second control 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 the second device is powered by the second power supply circuit, wherein, when the power switch is connected to the power line, the 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 unidirectional pre-charging circuit, the communication line and the power line; wherein, the second control circuit obtains the output voltage of the second power supply circuit in the process of the power switch connecting the communication line so that the external power supply pre-charges the second power supply circuit through the unidirectional pre-charging circuit, the communication line and the power line, and determines whether the power switch has a fault based on the output voltage. Therefore, in the process of pre-charging the second power supply circuit, the air conditioner performs fault diagnosis on the power switch based on the output voltage, and can quickly detect whether the power switch is damaged, so that the air conditioner is further improved in terms of safety and power consumption.
[0101] Corresponding to the above-mentioned embodiment, the present invention further proposes a method for diagnosing a power switch fault of an air conditioner.
[0102] According to one embodiment of the present invention, an air conditioner includes 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 includes a unidirectional pre-charging circuit, the unidirectional pre-charging circuit is respectively connected to a communication line and a power line, the second device 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, 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 unidirectional pre-charging circuit, the communication line and the power line.
[0103] like Fig.11 As shown, the method for diagnosing a power switch fault of an air conditioner according to an embodiment of the present invention comprises:
[0104] S1, obtaining an output voltage of the second power supply circuit in a process where the power supply switch is connected to the communication line so that the external power supply pre-charges the second power supply circuit through the unidirectional pre-charging circuit, the communication line and the power line;
[0105] S2, determining whether the power switch is faulty based on the output voltage.
[0106] It should be noted that for details not disclosed in the method for diagnosing a fault in the power switch of the air conditioner according to the embodiment of the present invention, please refer to the details disclosed in the air conditioner according to the above embodiment of the present invention, and no further details will be given here.
[0107] According to the power switch fault diagnosis method of the air conditioner of the embodiment of the present invention, in the process of the power switch connecting the communication line so that the external power supply pre-charges the second power supply circuit through the unidirectional pre-charging circuit, the communication line and the power line, the output voltage of the second power supply circuit is obtained, and whether the power switch is faulty is determined based on the output voltage. Therefore, in the process of pre-charging the second power supply circuit, the method performs fault diagnosis on the power switch based on the output voltage, and can quickly detect whether the power switch is damaged, so that the air conditioner is further improved in terms of safety and power consumption.
[0108] Corresponding to the above embodiment, the present invention also proposes a controller.
[0109] like Fig.12 As shown, the controller 100 of the embodiment of the present invention includes a memory 110, a processor 120, and a program stored in the memory 110 and executable on the processor 120. When the processor 120 executes the program, the above-mentioned air conditioner power switch fault diagnosis method is implemented.
[0110] According to the controller of the embodiment of the present invention, when the processor executes the program, the above-mentioned power switch fault diagnosis method of the air conditioner is implemented. Based on the above-mentioned power switch fault diagnosis method of the air conditioner, it is possible to quickly detect whether the power switch is damaged, so that the safety and power consumption of the air conditioner are further improved.
[0111] Corresponding to the above-mentioned embodiment, the present invention further proposes a power switch fault diagnosis device for an air conditioner.
[0112] According to one embodiment of the present invention, an air conditioner includes 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 includes a unidirectional pre-charging circuit, the unidirectional pre-charging circuit is respectively connected to a communication line and a power line, the second device 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, 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 unidirectional pre-charging circuit, the communication line and the power line.
[0113] like Fig.13As shown, the power switch fault diagnosis device of the air conditioner according to the embodiment of the present invention may include: an acquisition module 210 and a control module 220, wherein the acquisition module 210 is used to acquire the output voltage of the second power supply circuit during the process of the power switch connecting the communication line so that the external power supply pre-charges the second power supply circuit through the unidirectional pre-charging circuit, the communication line and the power line. The control module 220 is used to determine whether the power switch has a fault based on the output voltage.
[0114] According to the power switch fault diagnosis device of the air conditioner of the embodiment of the present invention, the acquisition module obtains the output voltage of the second power supply circuit in the process of the power switch connecting the communication line so that the external power supply pre-charges the second power supply circuit through the unidirectional pre-charging circuit, the communication line and the power line, and the control module determines whether the power switch has a fault based on the output voltage. Therefore, in the process of pre-charging the second power supply circuit, the device performs fault diagnosis on the power switch based on the output voltage, and can quickly detect whether the power switch is damaged, so that the air conditioner is further improved in terms of safety and power consumption.
[0115] Corresponding to the above embodiment, the present invention also proposes an air conditioner.
[0116] like Fig.14 As shown, the air conditioner 1000 of the embodiment of the present invention includes the controller 100 described above, or as shown in FIG. Fig.15 As shown, the air conditioner 1000 according to the embodiment of the present invention includes the above-mentioned power switch fault diagnosis device 200 for the air conditioner.
[0117] According to the air conditioner of the embodiment of the present invention, based on the above-mentioned controller or the above-mentioned power switch fault diagnosis device of the air conditioner, it is possible to quickly detect whether the power switch is damaged, so that the air conditioner is further improved in terms of safety and power consumption.
[0118] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0119] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0120] 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.
[0121] 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.
[0122] 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.
[0123] 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 unidirectional pre-charging circuit, and the unidirectional pre-charging circuit is connected to the communication line and the power line respectively; The second device includes a power switch, a second power supply circuit and a second control 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, 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 unidirectional pre-charging circuit, the communication line and the power line; wherein, The second control circuit is used to obtain the output voltage of the second power supply circuit during the process of the power supply switch connecting the communication line so that the external power supply pre-charges the second power supply circuit through the unidirectional pre-charging circuit, the communication line and the power line, and determine whether the power supply switch is faulty based on the output voltage.
2. The air conditioner according to claim 1, characterized in that: The external power supply is alternating current, and the second power supply circuit includes a rectifier circuit; wherein, The second control circuit is used to determine that the power switch is not faulty when the waveform of the output voltage is half-wave within a preset time, and to determine that the power switch is faulty when the waveform of the output voltage is a full wave within the preset time.
3. The air conditioner according to claim 2, characterized in that: The first device further includes a first current loop circuit, the second device further includes a second current loop circuit, and 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; wherein, The second control circuit is used to send power switch failure information to the first device through the current loop path when the power switch fails, and control the power switch to connect to the power line when the power switch is not failed and the pre-charging of the second power supply circuit is completed.
4. The air conditioner according to claim 3, characterized in that: The second control circuit is further used to obtain a pre-charging time of the second power supply circuit, and determine that the pre-charging of the second power supply circuit is completed when the pre-charging time reaches a preset time.
5. The air conditioner according to claim 3, characterized in that: In the case where the unidirectional 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 second current loop circuit; 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.
6. The air conditioner according to claim 3, characterized in that: In the case where the unidirectional pre-charging circuit is respectively connected to the communication line and the neutral line in the power line, the first end of the power switch is respectively connected to the second current loop circuit 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.
7. The air conditioner according to claim 5 or 6, characterized in that: The unidirectional pre-charging circuit includes a pre-charging resistor, a pre-charging switch and a pre-charging diode connected in series; wherein, the first device also includes a first control circuit for controlling the pre-charging switch to be turned on or off.
8. The air conditioner according to claim 7, characterized in that: The first device also includes: A communication power supply circuit, connected to the power line, for supplying power to the current loop path; A first power supply circuit is connected to the power line and is used to supply power to the first device.
9. The air conditioner according to claim 8, characterized in that: 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, wherein 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, and the fourth end of the first transmitting optocoupler is connected to the communication power supply circuit; wherein, An anode of the pre-charge diode is connected to an anode of the first diode.
10. The air conditioner according to claim 9, 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, the first end of the second receiving optocoupler is suitable for connecting to the neutral line or the first end of the power supply switch, 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 the anode of the second diode through the second resistor, and the cathode of the second diode is connected to the communication line.
11. The air conditioner according to claim 9, 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.
12. A method for diagnosing a power switch fault of an air conditioner, characterized in that: The air conditioner comprises 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 unidirectional pre-charging circuit, the unidirectional pre-charging circuit is respectively connected to a communication line and a power line, the second device comprises 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, 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 unidirectional pre-charging circuit, the communication line and the power line; the method comprises: In the process of connecting the power switch to the communication line so that the external power supply precharges the second power supply circuit through the unidirectional pre-charging circuit, the communication line and the power line, obtaining the output voltage of the second power supply circuit; It is determined whether the power switch is faulty based on the output voltage.
13. A controller, characterized in that: The method comprises a memory, a processor and a program stored in the memory and executable on the processor. When the processor executes the program, the method for diagnosing a power switch fault of an air conditioner according to claim 12 is implemented.
14. A device for diagnosing faults of a power switch of an air conditioner, characterized in that: The air conditioner comprises 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 unidirectional pre-charging circuit, the unidirectional pre-charging circuit is respectively connected to a communication line and a power line, the second device comprises 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, 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 unidirectional pre-charging circuit, the communication line and the power line; the device comprises: An acquisition module, configured to acquire an output voltage of the second power supply circuit during a process in which the power switch is connected to the communication line so that the external power supply precharges the second power supply circuit through the unidirectional pre-charging circuit, the communication line and the power line; A control module is used to determine whether the power switch has a fault based on the output voltage.
15. An air conditioner, characterized in that: It comprises the controller according to claim 13, or the power switch fault diagnosis device for the air conditioner according to claim 14.
