A relay driving circuit, method and relay system of grid-connected inverter

By using switch tube circuits and delay circuits in relay drive circuits, combined with diodes and voltage stabilization diodes, the controllability and reduction of relay coil voltage is achieved, and the problems of high electrical loss and complex design in the prior art are solved, and efficiency is improved and adaptability, meet different environmental and specification requirements.

CN112992606BActive Publication Date: 2024-12-03AISWEI TECHNOLOGY CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110330930.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-26
Publication Date
2024-12-03
Estimated Expiration
2041-03-26

AI Technical Summary

Technical Problem

During the driving process of the relay, the existing relay drive circuit has problems such as high electrical loss, sharp increase in temperature, increased cost, and changes in resistance and capacitance parameters during power switching, and cannot meet the voltage change requirements in the relay specifications, and different brands The voltage requirements are different from those at ambient temperature, resulting in complex design and incomparable.

Method used

A driving circuit including the first, second and third switching tube circuits is adopted, and the relay coil is connected through the control signal input terminal and the power terminal. The relay coil voltage is controlled by the delay circuit and the diode, and the PWM duty cycle is adjusted. It meets different environmental and specification requirements, reduces driving voltage and improves efficiency.

Benefits of technology

The adjustable relay coil voltage is realized, the driving voltage is reduced, the efficiency is improved, the adaptability is strong, and the cost is low. The abnormal driving circuit is detected through the self-test circuit to avoid potential hidden dangers and meet the safety requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112992606B_ABST
    Figure CN112992606B_ABST
Patent Text Reader

Abstract

The present invention discloses a relay driving circuit, method and a relay system of a grid-connected inverter. The power terminal of the driving circuit can be connected to the first end of the relay coil; the control end of the first switch tube circuit is connected to the control signal input terminal, one end of the action end can be connected to the second end of the relay coil, and the other end of the action end is grounded; the control end of the second switch tube circuit is connected to the control signal input terminal, one end of the action end is connected to the control end of the third switch tube circuit, and the other end of the action end is grounded; one end of the action end of the third switch tube circuit is connected to the middle point between the power terminal and the first end of the relay coil, and the other end of the action end is connected to the second end of the coil; the driving circuit also includes a delay circuit for turning on the second switch tube circuit after a delay time, and a first diode. The present invention can realize the controllable coil voltage of the relay, reduce the driving holding voltage of the relay, and improve efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a relay driving circuit, method, and relay system for a grid-connected inverter. Background Art

[0002] Relays are a crucial component of inverters such as photovoltaic grid-connected inverters. For a relay to operate, a voltage needs to be applied to its drive coil to close it. Currently, two power sources are typically applied to the relay's drive coil, such as... Figure 1 The relay system of the grid-connected inverter shown. Figure 1 This shows two relays, RY1 and RY2, connected in series on the live or neutral wire of the grid-connected inverter. Figure 1 The +12V power supply serves as the relay's drive power, while the +7V power supply is its operating power. Since the relay's drive voltage is +12V, maintaining the +12V operating voltage would cause significant power loss and a rapid increase in relay temperature. Therefore, an additional +7V winding power supply is required, increasing cost. Furthermore, the parameters of resistor R1 and capacitor C1 change during the switching between the two power supplies. The +12V sustaining time does not meet the relay's 100ms specification requirement because the circuit can only adjust the relay coil voltage transition time from +12V to +7V by adjusting the parameters of R1 and C1, which is insufficient. Moreover, the relay's operating voltage is not adjustable. The sustaining voltage requirements vary between brands, current ratings, and even for the same relay under different ambient temperatures. This necessitates modifying the transformer's power supply design, making it complex and non-universal. Summary of the Invention

[0003] To address at least one of the aforementioned problems, the present invention aims to provide a relay driving circuit that enables controllable relay coil voltage, reduces relay drive and holding voltage, and improves efficiency.

[0004] Another objective of this invention is to provide a driving method that enables controllable coil voltage of a relay, reduces the relay's driving and holding voltage, and improves efficiency.

[0005] Another object of the present invention is to provide a relay system for a grid-connected inverter employing the above-described relay drive circuit.

[0006] According to one aspect of the present invention, a relay driving circuit includes a control signal input terminal, the driving circuit further includes a first switching transistor circuit, a second switching transistor circuit, a third switching transistor circuit, and a power supply terminal for supplying power to the coil of the relay.

[0007] The power terminal can be electrically connected to the first end of the relay coil;

[0008] The control terminal of the first switching transistor circuit is electrically connected to the control signal input terminal, one end of the operating terminal of the first switching transistor circuit can be electrically connected to the second terminal of the relay coil, and the other end of the operating terminal of the first switching transistor circuit is grounded.

[0009] The control terminal of the second switching transistor circuit is electrically connected to the control signal input terminal, one end of the operating terminal of the second switching transistor circuit is electrically connected to the control terminal of the third switching transistor circuit, and the other end of the operating terminal of the second switching transistor circuit is grounded.

[0010] One end of the operating terminal of the third switching transistor circuit is electrically connected to the midpoint between the power supply terminal and the first end of the relay coil, and the other end of the operating terminal of the third switching transistor circuit is electrically connected to the second end of the relay coil.

[0011] The driving circuit further includes a delay circuit for turning on the second switching circuit after a delay time when the first switching circuit is turned on, and a first diode for turning on the second switching circuit when the first switching circuit is turned off.

[0012] Preferably, the first switching transistor circuit includes an NPN transistor, wherein the base of the NPN transistor is electrically connected to the control signal input terminal, the collector is electrically connected to the second terminal of the relay coil, and the emitter is grounded;

[0013] The third switching transistor circuit includes a PNP transistor, the base of which is electrically connected to the control signal input terminal, the collector of which is electrically connected to the midpoint between the power supply terminal and the first end of the relay coil, and the emitter of which is electrically connected to the second end of the relay coil.

[0014] More preferably, a second diode is connected between the emitter of the PNP transistor and the second terminal of the relay coil.

[0015] More preferably, the driving circuit further includes a third diode and a Zener diode, wherein the third diode and the Zener diode are connected in series and then connected in reverse parallel between the collector and base of the PNP transistor.

[0016] Preferably, the second switching transistor circuit includes a field-effect transistor, the gate of which (i.e., the control terminal) is electrically connected to the control signal input terminal, the source (i.e., the other end of the actuation terminal) is grounded, and the drain (i.e., one end of the actuation terminal) is electrically connected to the control terminal of the third switching transistor circuit.

[0017] Preferably, a first resistor is connected between the control terminal of the third switching transistor circuit and one end of the control terminal of the second switching transistor circuit.

[0018] Preferably, a second resistor is connected between the control signal input terminal and the control terminal of the second switching transistor circuit.

[0019] Preferably, the delay circuit includes a first capacitor and a third resistor, the first capacitor and the third resistor are connected in parallel to form a parallel branch, one end of the parallel branch is electrically connected to the midpoint of the control terminal of the first diode and the first switching transistor circuit, and the other end is electrically grounded.

[0020] Preferably, the positive terminal of the first diode is electrically connected to the control signal input terminal, and the negative terminal is electrically connected to the control terminal of the second switching transistor circuit.

[0021] Preferably, the driving circuit further includes a second capacitor, which is electrically connected between the power supply terminal and ground.

[0022] Specifically, the voltage connected to the power supply terminal is 12V.

[0023] Preferably, the control signal input terminal is connected to the PWM control port of the DSP chip of the grid-connected inverter.

[0024] According to a second aspect of the present invention, a method for driving a relay, employing the driving circuit described above, the method comprising the following steps:

[0025] Initially, for a set duration, a control signal with a first duty cycle is input to the control signal output terminal so that the relay can operate normally.

[0026] When the relay is operating normally, it causes the control signal terminal to output a control signal with a second duty cycle, the second duty cycle being less than the first duty cycle; and / or

[0027] When the relay is operating normally and the ambient temperature near the relay is lower than the set temperature, the control signal terminal outputs a control signal with a third duty cycle, which is less than the second duty cycle.

[0028] Preferably, the first duty cycle is 100%, the second duty cycle is 50%, and the third duty cycle is 35%.

[0029] Preferably, the duration is 100ms.

[0030] Specifically, when the relay closes, the duty cycle of the PWM control signal is set to 100% for the first 100ms of the set duration, so that the relay's operating voltage meets the specifications. When the relay is operating normally, the duty cycle of the control signal is set to approximately 50%, and the voltage is maintained at a first voltage lower than the operating voltage. When the ambient temperature of the relay's surroundings is detected to be lower than the set value, the duty cycle of the control signal is set to 35% according to the specifications, and the voltage is maintained at a second voltage lower than the first voltage.

[0031] According to a third aspect of the invention, a relay system for a grid-connected inverter includes a main relay and a secondary relay connected in series between the inverter side and the grid side, wherein the main relay is driven by a drive circuit as described above, and the secondary relay is driven by another drive circuit as described above.

[0032] Preferably, the relay system further includes a self-test circuit for the relay drive circuit, used to detect whether the drive circuit is abnormal. The self-test circuit of the relay drive circuit of the present invention meets safety requirements to the greatest extent possible, and can detect whether the abnormality is in the relay drive circuit or the relay itself. When the self-test detects an abnormality in the relay drive circuit, the inverter will not further test the relay, avoiding potential hazards.

[0033] More preferably, the self-test circuit includes a detection terminal and a comparison circuit. The detection terminal is used to detect the voltage at the second end of the relay coil. The detection terminal is electrically connected to the first input terminal of the comparison circuit. The other input terminal of the comparison circuit is connected to a first power supply voltage. The output terminal of the comparison circuit is electrically connected to a self-test signal output terminal.

[0034] Furthermore, the comparison circuit includes a first comparator and a second comparator connected in series.

[0035] The present invention adopts the above solution, which has the following advantages compared with the prior art:

[0036] This invention discloses a relay driving circuit, method, and relay system for a grid-connected inverter. The relay coil voltage is adjustable between 0 and the operating voltage (e.g., +12V) provided by the power supply terminal. It provides the operating voltage during relay operation and self-test, a second voltage (lower than the operating voltage, e.g., +6V) during relay holding, and even a third voltage (lower than the second voltage, e.g., +4.2V) at low ambient temperatures. It can apply different driving voltages according to the specifications of different relays, minimizing relay coil losses and improving overall efficiency. Furthermore, the relay driving circuit has excellent adaptability; different requirements can be met by adjusting the PWM duty cycle of the control signal for different relays. It is simple to port, low in cost, and requires no additional modifications to the auxiliary power supply design. Attached Figure Description

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

[0038] Figure 1 A circuit diagram of a relay system for a traditional grid-connected inverter;

[0039] Figure 2 A circuit diagram of a relay system for a grid-connected inverter according to an embodiment of the present invention;

[0040] Figure 3 A circuit diagram of a relay driving circuit according to an embodiment of the present invention;

[0041] Figure 4 This is a circuit diagram of the self-test circuit of the relay drive circuit according to an embodiment of the present invention.

[0042] 100. Drive circuit; 101. Control signal input terminal; 102. Power supply terminal; 103. First switching transistor circuit; 104. Second switching transistor circuit; 105. Third switching transistor circuit; 106. Delay circuit;

[0043] 200. Drive circuit;

[0044] 300, coil;

[0045] 400. Self-test circuit; 401. Detection terminal; 402. First power supply; 403. Second power supply; 404. Self-test signal terminal. DETAILED DESCRIPTION

[0046] The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art. It should be noted that the description of these embodiments is for the purpose of aiding understanding the present invention, but does not constitute a limitation thereof. Furthermore, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0047] As indicated in this specification and claims, the terms "comprising" and "including" only indicate the inclusion of expressly identified steps and elements, and these steps and elements do not constitute an exclusive list; the method or apparatus may also include other steps or elements. The term "and / or" as used herein includes any combination of one or more of the associated listed items.

[0048] It is further understood that the terms "first," "second," etc., are used to describe various types of information, but this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another, and do not indicate a specific order or degree of importance. In fact, the expressions "first," "second," etc., are completely interchangeable. For example, without departing from the scope of this disclosure, first information can also be referred to as second information, and similarly, second information can also be referred to as first information.

[0049] According to one embodiment of the present invention, a relay system for a photovoltaic grid-connected inverter is as follows: Figure 2 As shown. (Refer to...) Figure 2 The relay system includes a main relay RY1 and a secondary relay RY2 connected in series between the inverter side and the grid side. Specifically, the main relay RY1 and the secondary relay RY2 are connected in series on the live wire and the neutral wire between the inverter side and the grid side, respectively. The main relay RY1 has a drive circuit 100 that provides voltage to the coil 300 of the main relay RY1, thereby driving it to work (e.g., close). The secondary relay RY2 has a drive circuit 200 that provides voltage to the coil 300 of the secondary relay RY2, thereby driving it to work (e.g., close).

[0050] This embodiment also provides a specific relay drive circuit, which can be applied to the relay system of the aforementioned photovoltaic grid-connected inverter to drive the main relay RY1 and the auxiliary relay RY2. The drive circuit 100 of the main relay RY1 and the drive circuit 200 of the auxiliary relay RY2 are the same. The drive circuit 100 of the main relay RY1 will be described in detail below; the drive circuit 200 of the auxiliary relay RY2 is similar and will not be repeated here. (Refer to...) Figure 3 As shown, the drive circuit 100 of the main relay RY1 includes a control signal input terminal 101, a first switching transistor circuit 103, a second switching transistor circuit 104, a third switching transistor circuit 105, and a power supply terminal 102 for supplying power to the relay coil 300.

[0051] The control signal input terminal 101 can be electrically connected to the control unit to receive the control signal M_RELAY from the control unit. Specifically, the control signal input terminal 101 can be electrically connected to the PWM control port of the DSP chip of the photovoltaic grid-connected inverter. Different duty cycles can be output through this control port; thereby causing the voltage of the coil 300 of the relay RY1 to change according to the duty cycle, thus generating different voltages on the relay coil 300.

[0052] The power terminal 102 is electrically connected to the first end of the relay coil 300. The power terminal 102 is used to input operating power to the coil 300. In this embodiment, there is one power terminal 102 connected to a 12V voltage.

[0053] The control terminal of the first switching transistor circuit 103 is electrically connected to the control signal input terminal 101 and is thus controlled by the control signal M_RELAY. One end of the operating terminal of the first switching transistor circuit 103 can be electrically connected to the second terminal of the relay coil 300, and the other end of the operating terminal of the first switching transistor circuit 103 is grounded. Specifically, in this embodiment, the first switching transistor circuit 103 includes an NPN transistor Q1. The base of the NPN transistor Q1 (i.e., the aforementioned control terminal) is electrically connected to the control signal input terminal 101, the collector (i.e., one end of the aforementioned operating terminal) is electrically connected to the second terminal of the relay coil 300, and the emitter (i.e., the other end of the aforementioned operating terminal) is grounded.

[0054] The control terminal of the second switching transistor circuit 104 is electrically connected to the control signal input terminal 101, one end of the operating terminal of the second switching transistor circuit 104 is electrically connected to the control terminal of the third switching transistor circuit 105, and the other end of the operating terminal of the second switching transistor circuit 104 is grounded. Specifically, in this embodiment, the second switching transistor circuit 104 includes a field-effect transistor Q2. The gate of the field-effect transistor Q2 (i.e., the aforementioned control terminal) is electrically connected to the control signal input terminal 101, the source (i.e., the other end of the aforementioned operating terminal) is grounded, and the drain (i.e., one end of the aforementioned operating terminal) is electrically connected to the control terminal of the third switching transistor circuit 105.

[0055] One end of the operating terminal of the third switching transistor circuit 105 is electrically connected to the midpoint between the power supply terminal 102 and the relay coil 300, and the other end of the operating terminal of the third switching transistor circuit 105 is electrically connected to the second terminal of the relay coil 300. Specifically, in this embodiment, the third switching transistor circuit 105 includes a PNP transistor Q3. The base of the PNP transistor Q3 (i.e., the aforementioned control terminal) is electrically connected to the drain of the field-effect transistor Q2, the collector (i.e., one end of the aforementioned operating terminal) is electrically connected to the midpoint between the power supply terminal 102 and the relay coil 300, and the emitter (i.e., the other end of the aforementioned operating terminal) is electrically connected to the second terminal of the relay coil 300.

[0056] The driving circuit 100 further includes a delay circuit 106 for turning on the second switching circuit 104 after a delay time following the turn-on of the first switching circuit 103, and a first diode D1 for turning on the third switching circuit 105 when the first switching circuit 103 is turned off. The first diode D1 is located between the control signal input terminal 101 and the gate of the field-effect transistor Q2, with its anode electrically connected to the control signal input terminal 101 and its cathode electrically connected to the gate of the field-effect transistor Q2. The first diode D1 can keep the second switching circuit 104 on after the first switching circuit 103 is turned off, forming a relay turn-off circuit. The delay circuit 106 specifically includes a first capacitor C1 and a third resistor R3, which are connected in parallel to form a parallel branch. One end of this parallel branch is electrically connected to the midpoint between the first diode D1 and the control terminal of the first switching circuit 103, and the other end is electrically grounded. A delay is set for driving the second switching transistor circuit 104, so that the second switching transistor circuit 104 is turned on after the first switching transistor circuit 103 is turned on for a period of time (specifically 5μs), thereby providing a turn-off loop for the second switching transistor circuit 104 without affecting the turn-on loop.

[0057] A second diode D2 is connected between the second terminal of the relay coil 300 and the emitter of the PNP transistor Q3. Specifically, the positive terminal of the second diode D2 is electrically connected to the second terminal of the relay coil 300, and the negative terminal is electrically connected to the emitter of the PNP transistor Q3. The second diode D2 provides a freewheeling path for the relay coil voltage in reverse and the coil current, protecting the relay coil voltage from exceeding the specifications.

[0058] The drive circuit 100 also includes a third diode D3 and a Zener diode ZD1. The third diode D3 and the Zener diode ZD1 are connected in series and then in reverse parallel between the collector and base of the PNP transistor Q3. When the relay coil voltage is reversed, a freewheeling circuit is provided through the second diode D2 and the Zener diode ZD1 to clamp the coil voltage to the power supply voltage of +12V, protecting the relay coil voltage from exceeding the specifications; the third diode D3 accelerates the conduction of Q3.

[0059] A first resistor R1 is connected between the control terminal of the third switching transistor circuit 105 and one end of the control terminal of the second switching transistor circuit 104. Specifically, the first resistor R1 is electrically connected in series between the drain of the field-effect transistor Q2 and the base of the PNP transistor Q3. The first resistor R1 is the base resistor of the PNP transistor Q3, providing drive current to the PNP transistor Q3.

[0060] A second resistor R2 is connected between the control signal input terminal 101 and the control terminal of the second switching transistor circuit 104. Specifically, the second resistor R2 is connected in series between the control signal input terminal 101 and the positive terminal of the first diode D1. The second resistor R2 and C1 create a delay, so that after the NPN transistor Q1 turns on, Q2 turns on.

[0061] The drive circuit 100 also includes a fourth resistor R4, a fifth resistor R5, and a fourth diode D4. The fourth resistor R4 is connected in series between the control signal input terminal 101 and the base of the NPN transistor Q1. The fourth diode D4 and the fifth resistor R5 are connected in series and then in reverse parallel between the two ends of the third resistor R3. The fourth resistor R4 is the turn-on drive resistor for the NPN transistor Q1, and the fourth diode D4 and the fifth resistor R5 form the turn-off drive circuit for the NPN transistor Q1, enabling fast turn-off.

[0062] The drive circuit 100 also includes a second capacitor C2, which is electrically connected between the power supply terminal 102 and ground. The second capacitor C2 acts as an energy storage and voltage regulator, providing a stable voltage during relay switching.

[0063] The working principle of the drive circuit 100 is as follows:

[0064] When the control signal M_RELAY is high, NPN transistor Q1 is turned on, and the +12V from power supply terminal 102 forms a circuit through relay coil 300 and NPN transistor Q1, causing the current in relay coil 300 to rise. When the control signal M_RELAY is low, NPN transistor Q1 is turned off, the voltage in relay coil 300 reverses, and a circuit is formed through second diode D2 and PNP transistor Q3, causing the current in relay coil 300 to decrease. The delay circuit 106 sets a delay for the drive of field-effect transistor Q2, ensuring that field-effect transistor Q2 turns on 5µs after NPN transistor Q1 turns on. Field-effect transistor Q2 provides a turn-off circuit without affecting the turn-on circuit. The first diode D1 keeps field-effect transistor Q2 on after NPN transistor Q1 turns off, forming a RELAY turn-off circuit. When the relay closes, the PWM is set to 100% for the first 100ms to ensure the relay's operating voltage meets the +12V specification. During normal operation, the PWM can be set to approximately 50% to maintain a +6V voltage, according to the relay's specifications. When the inverter's NTC sensor detects a very low ambient temperature near the relay, the PWM can be set to 35% to maintain a +4.2V voltage, thus reducing relay drive power consumption and improving overall efficiency. This circuit exhibits excellent consistency; when replacing relays for cost reduction, the PWM duty cycle can be directly modified in software according to the new relay's holding voltage requirements, demonstrating good portability.

[0065] This embodiment also provides a self-test circuit 400 for the relay drive circuit 100; further, the relay system of the grid-connected inverter described above in this embodiment further includes the self-test circuit 400, which detects whether the drive circuit 100 of the main relay RY1 and the drive circuit 200 of the auxiliary relay RY2 are abnormal. (Refer to...) Figure 4 As shown, the self-test circuit 400 includes two detection terminals 401. One detection terminal 401 is used to detect the voltage at the second end of the coil 300 of the main relay RY1, that is, the collector voltage of the NPN transistor Q1 in the main relay RY1 drive circuit 100. The other detection terminal 401 is used to detect the voltage at the second end of the coil 300 of the auxiliary relay RY2, that is, the collector voltage of the NPN transistor Q1 in the auxiliary relay RY2 drive circuit 200. The self-test circuit 400 also includes a comparator circuit. The two detection terminals 401 are electrically connected to the first input terminal of the comparator circuit, the other input terminal of the comparator circuit is connected to the first power supply voltage, and the output terminal of the comparator circuit is electrically connected to a self-test signal output terminal 404. The self-test signal output terminal 404 can be electrically connected to a control module, specifically the DSP chip of the photovoltaic grid-connected inverter, to determine whether the relay drive circuit 100 is abnormal.

[0066] Specifically, the aforementioned comparison circuit includes a first comparator U1 and a second comparator U2. The two detection terminals 401 are connected to the inverting input terminal of the first comparator U1; the non-inverting input terminal of the first comparator U1 is connected to a first power supply 402 to receive voltage, the voltage of which is equal to the relay's operating voltage, i.e., +12V; the output terminal of the first comparator U1 is connected to the non-inverting input terminal of the second comparator U2 through a resistor R21. The inverting input terminal of the second comparator U2 is grounded, and the output terminal of the second comparator U2, connected to the self-test signal output terminal 404 via a resistor R22.

[0067] The negative terminal of the first power supply 402 is grounded, and the positive terminal is connected to two resistors R23 in series and then grounded. The non-inverting input terminal of the first comparator U1 is connected to the midpoint of the two resistors R23. The self-test circuit 400 also includes a resistor R24, one end of which is connected to the positive terminal of the first power supply 402, and the other end is connected to the midpoint between the detection terminal 401 and the inverting input terminal of the first comparator U1.

[0068] The positive terminal of the first power supply 402 is connected in series with two resistors R25 and then grounded. The inverting input terminal of the second comparator U2 is connected to the midpoint of the two resistors R25. The self-test circuit 400 also includes a resistor R26 and a capacitor C21. One end of the resistor R26 is connected to the positive terminal of the first power supply 402, and the other end of the resistor R26 is connected to one end of the capacitor C21. The other end of the capacitor C21 is grounded.

[0069] The self-test circuit 400 also includes a second power supply 403 and a resistor R27. The voltage of the second power supply 403 is less than the voltage of the first power supply 402, specifically 3.3V; the positive terminal of the second power supply 403 is connected to one end of the resistor R27, and the negative terminal is grounded. The other end of the resistor R27 is connected to the midpoint between the output terminal of the second comparator U2 and the resistor R22.

[0070] The self-test circuit 400 also includes a capacitor C22, one end of which is connected to the midpoint between the resistor R22 and the self-test signal output terminal 404, and the other end is grounded.

[0071] A diode D21 is connected between each detection terminal 401 and the inverting input terminal of the first comparator U1. Specifically, the cathode of the diode D21 is connected to the detection terminal 401, and the anode is connected to the inverting input terminal of the first comparator U1.

[0072] Traditional relay self-test schemes do not consider the case of driver failure, which can lead to incorrect relay self-test judgments. This is because the relay itself may not be faulty, but rather the relay driver circuit 100 may be damaged. The self-test circuit 400 of the relay driver circuit 100 in this embodiment can detect whether the relay driver circuit 100 is damaged, thus accurately detecting whether the relay itself is damaged, thereby meeting safety requirements. The principle of this self-test circuit 400 is to detect the voltage at one end of the relay coil 300, that is, the voltage at the collector of the NPN transistor Q1 in the driver circuit 100, and use a comparator to determine whether the signal is normal. Before the inverter is connected to the grid, a self-test of the RELAY driver circuit is performed. The DSP PWM will first output a 100% DUTY signal, detecting a high DSP_RLY signal. Then, the DSP PWM will output a 0% DUTY signal, detecting a low DSP_RLY signal. This indicates that the RELAY driver circuit 100 is normal; otherwise, the driver circuit 100 is considered abnormal.

[0073] The self-test circuit works by using the collector of Q1, the core component of the drive circuit, as the detection point. Both the main and auxiliary RELAY detection signals are connected to the detection circuit, via diode D21 to the inverting input of comparator U1. When the DSP's control PWM signal 101 is 100% DUTY, the main and auxiliary RELAY detection signals 401 are low. Diode D21 pulls the inverting input of comparator U1 low, causing U1 to output a high level, which is then output high by comparator U2. When the DSP's control PWM signal 101 is 0% DUTY, the main and auxiliary RELAY detection signals 401 are high, diode D21 is cut off, comparator U1 outputs a low level, which is then output low by comparator U2. If the output signal of U2, i.e., the DSP sampling signal 404, does not meet the above logic, it indicates a problem with the RELAY drive circuit.

[0074] This embodiment also provides a relay driving method, which uses the above-described driving circuit. The driving method includes the following steps:

[0075] Initially, during the set duration, a control signal with a first duty cycle is input to the control signal output terminal so that the relay can operate normally;

[0076] When the relay is working normally, it causes the control signal terminal to output a control signal with a second duty cycle, which is less than the first duty cycle.

[0077] When the relay is operating normally and the ambient temperature near the relay is lower than the set temperature, the control signal terminal outputs a control signal with a third duty cycle, which is less than the second duty cycle.

[0078] The first duty cycle can be 100%, the second duty cycle can be 50%, and the third duty cycle can be 35%.

[0079] Specifically, when the RELAY is closed, the PWM is set to 100% for the first 100ms (the operating voltage maintenance time required by the relay specification) to ensure that the RELAY's operating voltage meets the specification requirement of +12V; when the RELAY is operating normally, the PWM is set to approximately 50% according to the relay specification to maintain the voltage at +6V; when the inverter's NTC temperature sensor detects that the ambient temperature near the RELAY is very low, the PWM is set to 35% according to the specification to maintain the voltage at +4.2V.

[0080] This embodiment further provides a self-testing method for a relay driving circuit, wherein the relay coil has a first terminal and a second terminal, the first terminal being connected to a working voltage, and the self-testing method includes the following steps:

[0081] The voltage at the second terminal of the relay coil is collected and sent to the comparison circuit, which then outputs a self-test signal.

[0082] The self-test signal is low when the control signal has the first duty cycle and high when the control signal has the second duty cycle, indicating that the relay drive circuit is normal; otherwise, the relay drive circuit is abnormal. The second duty cycle is less than the first duty cycle; the first duty cycle can be selected as 100%, and the second duty cycle can be selected as 0.

[0083] This embodiment uses DSP PWM control technology to achieve controllable RELAY coil voltage. Based on the detected ambient temperature of the RELAY and the working status of the RELAY, the drive holding voltage is reduced to the maximum extent, thereby maximizing efficiency.

[0084] This embodiment utilizes a drive delay to implement a loop for turning off the RELAY coil, providing a path for controllable RELAY coil voltage.

[0085] This embodiment designs a self-test circuit for the RELAY driver based on the RELAY driver circuit. The self-test first determines whether there is any abnormality in the RELAY driver, thereby confirming 100% whether there is a fault in the RELAY body and meeting safety requirements.

[0086] The above embodiments are merely illustrative of the technical concept and features of the present invention, and are preferred embodiments. Their purpose is to enable those skilled in the art to understand the content of the present invention and implement it accordingly, and they should not be construed as limiting the scope of protection of the present invention. All equivalent transformations or modifications made according to the spirit and essence of the present invention should be covered within the scope of protection of the present invention.

Claims

1. A relay driving circuit, comprising a control signal input terminal, characterized in that: The driving circuit also includes a first switch tube circuit, a second switch tube circuit, a third switch tube circuit and a power supply terminal for supplying power to the coil of the relay; The power terminal can be electrically connected to the first end of the relay coil; The control end of the first switch tube circuit is electrically connected to the control signal input terminal, one end of the action end of the first switch tube circuit can be electrically connected to the second end of the relay coil, and the other end of the action end of the first switch tube circuit is grounded; the first switch tube circuit includes an NPN type transistor, the base of the NPN type transistor is electrically connected to the control signal input terminal, the collector is electrically connected to the second end of the relay coil, and the emitter is grounded; The control end of the second switch tube circuit is electrically connected to the control signal input terminal, one end of the action end of the second switch tube circuit is electrically connected to the control end of the third switch tube circuit, and the other end of the action end of the second switch tube circuit is grounded; One end of the action end of the third switch tube circuit is electrically connected to the middle point between the power terminal and the first end of the relay coil, and the other end of the action end of the third switch tube circuit is electrically connected to the second end of the relay coil; the third switch tube circuit includes a PNP type transistor, the base of the PNP type transistor is electrically connected to the control signal input terminal, the collector is electrically connected to the middle point between the power terminal and the first end of the relay coil, and the emitter is electrically connected to the second end of the relay coil; The driving circuit also includes a delay circuit for turning on the second switch tube circuit a delay time after the first switch tube circuit is turned on, and a first diode for turning on the second switch tube circuit when the first switch tube circuit is turned off; the delay circuit includes a first capacitor and a third resistor, the first capacitor and the third resistor are connected in parallel to form a parallel branch, one end of the parallel branch is electrically connected to the midpoint between the first diode and the control end of the first switch tube circuit, and the other end is electrically grounded.

2. The driving circuit according to claim 1, characterized in that: A second diode is connected between the emitter of the PNP transistor and the second end of the relay coil.

3. The driving circuit according to claim 1, characterized in that: The driving circuit also includes a third diode and a voltage regulator diode. The third diode and the voltage regulator diode are connected in series and then connected in reverse parallel between the collector and the base of the PNP transistor.

4. The driving circuit according to claim 1, characterized in that: A first resistor is connected between the control end of the third switch tube circuit and one end of the control end of the second switch tube circuit.

5. The driving circuit according to claim 1, characterized in that: A second resistor is connected between the control signal input terminal and the control end of the second switch tube circuit.

6. The driving circuit according to claim 1, characterized in that: The driving circuit further includes a second capacitor electrically connected between the power terminal and ground.

7. A method for driving a relay, characterized in that: Using the driving circuit according to any one of claims 1 to 6, the driving method comprises the following steps: Initially, within a set maintenance time, the control signal output terminal is input with a control signal having a first duty cycle, so that the relay can work normally; When the relay works normally, the control signal terminal outputs a control signal having a second duty cycle, wherein the second duty cycle is smaller than the first duty cycle; and / or When the relay works normally and the ambient temperature near the relay is lower than the set temperature, the control signal terminal outputs a control signal with a third duty cycle, and the third duty cycle is smaller than the second duty cycle.

8. A relay system for a grid-connected inverter, comprising a main relay and a sub-relay connected in series between an inverter side and a grid side, characterized in that: The main relay is driven by a driving circuit according to any one of claims 1 to 6, and the sub-relay is driven by another driving circuit according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • A relay drive control circuit

    CN109036960A

  • Relay drive control circuit

    CN208460663U

  • Relay drive circuit and relay system of grid-connected inverter

    CN214378231U