A drive circuit for a relay and a power converter

By using a combined power supply scheme of capacitors and power supply in the relay drive circuit, the problems of hardware complexity and high cost in the prior art are solved, and the effect of simplifying the structure and reducing costs is achieved.

CN123183259APending Publication Date: 2026-11-27SUNGROW POWER SUPPLY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611508522.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-23
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing drive circuits require two power supplies with different voltage levels to provide the relay's pull-in current and holding current, resulting in complex hardware structure and high cost.

Method used

The drive circuit employs two switches, two diodes, and a capacitor. By pre-charging the capacitor, the capacitor and the power supply jointly provide the pull-in current when the relay is energized, and the power supply alone provides the sustaining current after energization, thus reducing the need for an independent power supply.

Benefits of technology

It simplifies the hardware circuit structure, reduces hardware costs, meets the current requirements of the relay at different stages, improves the relay's pull-in speed and reliability, and reduces energy consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123183259A_ABST
    Figure CN123183259A_ABST
Patent Text Reader

Abstract

The application discloses a driving circuit of a relay and a power converter, comprising a first switch, a second switch, a capacitor, a first diode, a second diode and a power supply; a first end of the capacitor is connected with a positive pole of the power supply, a second end of the capacitor is connected with a first end of the first switch, a second end of the first switch is connected with a first connecting point of the driving circuit, a negative pole of the power supply is connected with a second connecting point of the driving circuit through the second switch, and the first connecting point and the second connecting point are used for connecting two ends of a first coil of a relay to be driven; an anode of the first diode is connected with the positive pole of the power supply, a cathode of the first diode is connected with the first connecting point, an anode of the second diode is used for being connected with the second connecting point, and a cathode of the second diode is connected with the second end of the capacitor, so that the complexity of a hardware circuit can be reduced, and the hardware cost can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power electronics technology, specifically to a relay drive circuit and a power converter. Background Technology

[0002] Power converters typically include multiple relays, such as grid-connected relays. Relay operation requires a drive circuit. The relay's transition from open to closed requires overcoming the spring's reaction force, the inertia of mechanical components, and the high magnetic reluctance of the magnetic circuit. Therefore, during startup, the drive circuit needs to provide a sufficiently large current to generate enough pulling force to ensure reliable relay operation. After the relay is closed, the air gap decreases significantly, and the magnetic reluctance of the magnetic circuit drops considerably. The magnetic force required to maintain the connection is much smaller than during startup; typically, the holding current provided by the drive circuit only needs to be 30% to 50% of the pulling current. The drive current provided by the drive circuit is positively correlated with the drive voltage.

[0003] In order to provide two different currents, namely pull-in current and holding current, the drive circuit in the related technology needs to set up two power supplies with different high and low voltages to provide pull-in current and holding current respectively. The hardware structure is complex and the cost is high. Summary of the Invention

[0004] In view of this, this application provides a relay drive circuit and a power converter, which can reduce the complexity of the hardware circuit and reduce the hardware cost.

[0005] This application provides a relay driving circuit, including: a first switch, a second switch, a capacitor, a first diode, a second diode, and a power supply; The first end of the capacitor is connected to the positive terminal of the power supply, the second end of the capacitor is connected to the first end of the first switch, the second end of the first switch is connected to the first connection point of the drive circuit, the negative terminal of the power supply is connected to the second connection point of the drive circuit through the second switch, and the first connection point and the second connection point are used to connect the two ends of the first coil of the first relay. The anode of the first diode is connected to the positive terminal of the power supply, and the cathode of the first diode is connected to the first connection point. The anode of the second diode is used to connect to the second connection point, and the cathode of the second diode is connected to the second terminal of the capacitor.

[0006] One possible implementation also includes: a controller; The controller is configured to respond to a first closing command by controlling the first switch to open and controlling the second switch to operate according to a preset duty cycle to charge the capacitor.

[0007] In one possible implementation, the controller is also configured to close the first and second switches in response to the voltage of the capacitor being greater than a preset voltage, thereby providing excitation current to the first coil through the power supply and the capacitor, and energizing the first relay.

[0008] In one possible implementation, the controller is also configured to, in response to the first switch and the second switch being closed for a first preset time, control the first switch to open and the second switch to remain closed, thereby powering the first coil and keeping the first relay energized.

[0009] In one possible implementation, the controller is also configured to control the first switch to close and the second switch to open in response to a first disconnect command, thereby causing the first coil to release energy through the second diode and the first switch.

[0010] In one possible implementation, the controller is also configured to control the first and second switches to open in response to a first disconnect command, thereby causing the first coil to release energy through the second diode, the capacitor, and the first diode.

[0011] One possible implementation also includes: a third switch, a fourth switch, a third diode, and a fourth diode; The anode of the third diode is connected to the positive terminal of the power supply, and the cathode of the third diode is connected to the third connection point of the drive circuit. The first terminal of the third switch is connected to the second terminal of the capacitor, and the second terminal of the third switch is connected to the third connection point. The second terminal of the fourth switch is connected to the negative terminal of the power supply, and the first terminal of the fourth switch is connected to the fourth connection point of the drive circuit. The anode of the fourth diode is connected to the fourth connection point, and the cathode of the fourth diode is connected to the second terminal of the capacitor. The first and second terminals of the second coil of the second relay are connected to the third connection point and the fourth connection point, respectively.

[0012] One possible implementation also includes a controller; the controller is further configured to, in response to a second disconnect command, control both the third and fourth switches to disconnect, thereby charging the capacitor.

[0013] One possible implementation also includes: a fifth switch and a fifth diode; The second terminal of the first switch and the cathode of the first diode are connected to the first connection point through the fifth switch. The anode of the fifth diode is connected to the negative terminal of the power supply, and the cathode of the fifth diode is connected to the first connection point.

[0014] One possible implementation also includes: a controller; The controller is configured to, in response to a first closing command, control the fifth switch to close and the first switch to open, and control the second switch to operate according to a preset duty cycle to charge the capacitor.

[0015] In one possible implementation, the controller is also configured to close the first, second, and fifth switches in response to the voltage of the capacitor being greater than a preset voltage, thereby providing excitation current to the first coil through the power supply and the capacitor, causing the first relay to engage.

[0016] In one possible implementation, the controller is also configured to, in response to the closing of the first switch, the second switch, and the fifth switch for a second preset time, control the first switch to open, while the second and fifth switches remain closed, thereby powering the first coil and keeping the first relay energized.

[0017] In one possible implementation, the controller is also configured to, in response to a first disconnect command, control the second switch to close and the first and fifth switches to open, thereby allowing the first coil to release energy through the second switch and the fifth diode.

[0018] In one possible implementation, the controller is also configured to, in response to a first disconnect command, control the first and second switches to open and control the fifth switch to close, thereby causing the first coil to release energy through the second diode, capacitor, and fifth switch.

[0019] In one possible implementation, the controller is also configured to control the first switch, the second switch, and the fifth switch to open in response to a first disconnect command, thereby causing the first coil to release energy through the second diode, the capacitor, the power supply, and the fifth diode.

[0020] One possible implementation also includes: a current sampling circuit; A current sampling circuit is used to collect the current flowing through the first relay; The controller is also configured to close the second switch when the current is less than or equal to a first current threshold, and to open the second switch when the current is greater than or equal to a second current threshold, wherein the first current threshold is less than the second current threshold.

[0021] In one possible implementation, the controller is also configured to stop applying a drive signal to the second switch when the voltage between the second terminal of the capacitor and the negative terminal of the power supply reaches a voltage threshold.

[0022] This application also provides a power converter, including the relay drive circuit described above, and further including: a relay corresponding to the drive circuit.

[0023] Therefore, the relay driving circuit provided in this application includes two switches, two diodes, a capacitor, and a power supply. The capacitor can be pre-charged before the relay is energized. When the relay is energized, the capacitor and the power supply together provide a larger energizing current to the relay coil, thereby achieving a greater energizing drive capability. After the relay is energized, the power supply alone can provide the smaller current required to maintain energization. This solution eliminates the need for two independent power supplies, and it reduces the complexity and cost of the hardware circuit while meeting the relay's energizing and maintenance requirements. Attached Figure Description

[0024] Figure 1 A schematic diagram of a relay driving circuit provided in an embodiment of this application; Figure 2 for Figure 1 The path diagram of the power supply charging the first coil when the second switch is closed; Figure 3 for Figure 1 The path diagram of the first coil charging the capacitor when the second switch is closed; Figure 4 for Figure 1 The power supply path diagram for the corresponding first relay activation; Figure 5 for Figure 1 The power supply path diagram for the maintenance phase after the first relay is engaged; Figure 6 for Figure 1 The corresponding path diagram for the slow turn-off of the first relay; Figure 7 for Figure 1 The corresponding path diagram for the rapid turn-off of the first relay; Figure 8 A schematic diagram of a driving circuit for a second type of relay provided in an embodiment of this application; Figure 9 for Figure 8 A schematic diagram of the corresponding drive circuit driving the two relays; Figure 10 A schematic diagram of the driving circuit for a third type of relay provided in an embodiment of this application; Figure 11 for Figure 10 The path diagram of the power supply charging the first coil when the second switch is closed; Figure 12 for Figure 10 The path diagram of the first coil charging the capacitor when the second switch is closed; Figure 13 for Figure 10 The power supply path diagram for the corresponding first relay activation; Figure 14 for Figure 10 The power supply path diagram for the maintenance phase after the first relay is engaged; Figure 15 for Figure 10 The corresponding path diagram for the slow turn-off of the first relay; Figure 16 for Figure 10 The corresponding path diagram for the rapid turn-off of the first relay; Figure 17 for Figure 10 The corresponding path diagram for the ultra-fast turn-off of the first relay; Figure 18 This application provides a schematic diagram of the control of a drive circuit according to an embodiment of the present application. Figure 19 A schematic diagram illustrating the control of a second switch based on the current of a first coil, provided as an embodiment of this application; Figure 20 An equivalent circuit diagram for capacitor charging is provided in an embodiment of this application; Figure 21 This is a schematic diagram of a power converter provided in an embodiment of this application. Detailed Implementation

[0025] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the embodiments of this application will be further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0026] The terms "first," "second," etc., used in the following description are for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature specified with "first," "second," etc., may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "multiple" means two or more.

[0027] In this application, unless otherwise expressly specified and limited, the term "connection" should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, or an integral part; it can be a direct connection or an indirect connection through an intermediate medium. Furthermore, the term "coupled" can refer to a method of electrical connection for signal transmission. "Coupled" can be a direct electrical connection or an indirect electrical connection through an intermediate medium.

[0028] The relay driving circuit provided in this application embodiment can be applied to power converters, for example, to drive grid-connected relays in power converters. It is understood that this driving circuit can also be used to drive other relays in power converters, and this application does not specifically limit its application to this. When the relay switches from the open state to the closed state, the coil needs to generate a large electromagnetic attraction force to overcome the spring's reaction force and the inertia of the mechanical components. After the relay completes its closing, due to the reduction in the air gap in the magnetic circuit, the coil current required to maintain the closing is significantly less than the coil current required during the closing phase. To save hardware costs, this application embodiment utilizes a capacitor for pre-storage energy, and the capacitor and power supply jointly power the coil during the relay closing phase, while during the maintenance phase after the relay is closed, only the power supply provides power. Thus, with a single power supply, the different current requirements of the relay's closing and maintenance phases can be met.

[0029] See Figure 1The figure is a schematic diagram of a relay driving circuit provided in an embodiment of this application.

[0030] The driving circuit provided in this application embodiment includes: a first switch Q1_1, a second switch Q1_2, a capacitor C, a first diode D1_1, a second diode D1_2, and a power supply DC.

[0031] The drive circuit drives the first relay, which includes contacts and a first coil KM1_L. This drive circuit can be mounted on the control board or drive board of the power converter, and the controller controls the on / off states of the first switch Q1_1 and the second switch Q1_2 according to different operating stages of the first relay.

[0032] The first terminal of capacitor C is connected to the positive terminal of power supply DC, and the second terminal of capacitor C is connected to the first terminal of the first switch Q1_1. The second terminal of the first switch Q1_1 is connected to the first connection point A of the drive circuit. The negative terminal of power supply DC is connected to the second connection point B of the drive circuit through the second switch. The first connection point A and the second connection point B are used to connect the two ends of the first coil KM1_L of the first relay.

[0033] The anode of the first diode D1_1 is connected to the positive terminal of the power supply DC, and the cathode of the first diode D1_1 is connected to the first connection point A. The anode of the second diode D1_2 is used to connect to the second connection point B, and the cathode of the second diode D1_2 is connected to the second terminal of the capacitor C.

[0034] The drive circuit can operate in four phases: capacitor pre-charging, relay activation, relay holding, and relay deactivation. During the capacitor pre-charging phase, the alternating closing and opening of the second switch Q1_2 causes the first coil KM1_L to first store magnetic field energy, and then transfer at least a portion of this energy to the capacitor C. During the activation phase, the capacitor C and the DC power supply jointly provide excitation energy to the first coil KM1_L. During the holding phase, the DC power supply supplies power to the first coil KM1_L, either alone or primarily.

[0035] The first switch Q1_1 and the second switch Q1_2 can be controllable switching devices, such as semiconductor switching devices. The specific device type can be selected according to the voltage level of the power supply DC, the rated current of the first coil KM1_L, and the switching frequency. This application embodiment does not limit this. The capacitance C can also be set according to the excitation energy required when the first relay is activated.

[0036] The relay driving circuit provided in this application includes two switches, two diodes, a capacitor, and a power supply. The capacitor can be pre-charged before the relay is energized. When the relay is energized, the capacitor and the power supply together provide a larger energizing current to the relay coil, thereby achieving a greater energizing drive capability. After the relay is energized, the power supply alone can provide the smaller current required to maintain energization. This solution eliminates the need for two independent power supplies, and it reduces the complexity and cost of the hardware circuit while meeting the relay's energizing and maintaining requirements.

[0037] See Figure 2 The image is Figure 1 The corresponding path diagram for the power supply to charge the first coil when the second switch is closed.

[0038] The relay driving circuit provided in this application also includes a controller (not shown in the figure).

[0039] The controller is configured to, in response to a first closing command, open the first switch Q1_1 and operate the second switch according to a preset duty cycle to charge the capacitor C; specifically, a drive signal is applied to the second switch Q1_2. When the drive signal closes the second switch Q1_2, the DC power supply charges the first coil KM1_L; when the drive signal opens the second switch Q1_2, the first coil KM1_L charges the capacitor. The controller can apply a drive signal with a preset duty cycle to the second switch Q1_2, without specifically limiting the magnitude of the duty cycle.

[0040] In the embodiment of this application, the first working state of the pre-charging process of capacitor C is to first use the power supply DC to input energy to the first coil KM1_L, so that the first coil KM1_L establishes current and stores magnetic field energy. That is, the first coil KM1_L is used as an inductor to store energy.

[0041] The controller keeps the first switch Q1_1 open and applies a drive signal to the second switch Q1_2. When the drive signal closes the second switch Q1_2, current flows from the positive terminal of the DC power supply, through the first diode D1_1 into the first coil KM1_L, and then through the second switch Q1_2 to the negative terminal of the DC power supply, forming... Figure 2 The coil charging circuit shown is such that, since the first switch Q1_1 is in the open state, the direct power supply path between capacitor C and the first coil KM1_L is isolated, so during this stage, energy is mainly supplied to the first coil KM1_L by the power supply DC.

[0042] As the second switch Q1_2 closes, the current in the first coil KM1_L gradually increases, and the magnetic field energy stored in the first coil KM1_L increases accordingly. The single closing time, switching frequency, or duty cycle of the drive signal of the second switch Q1_2 can be set as needed to establish an appropriate current in the coil during each closing phase, avoiding excessive coil current, and providing sufficient energy storage for energy transfer to capacitor C during the subsequent turn-off phase.

[0043] In one alternative implementation, the second switch Q1_2 can be controlled according to a preset closing time.

[0044] By using the first coil KM1_L as an energy storage element, the energy of the DC power supply is first converted into the magnetic field energy of the first coil KM1_L without adding an independent boost circuit, thus creating conditions for charging the capacitor C. By periodically controlling the second switch Q1_2, the energy transferred in each charging cycle can be flexibly adjusted, which is beneficial for controlling the pre-charging process of the capacitor C.

[0045] This application does not specifically limit the voltage of the power supply. For example, to reduce power consumption, a lower voltage can be used. Specifically, the power supply voltage can be lower than the relay's activation voltage, but greater than or equal to the relay's holding voltage, as long as the sum of the power supply voltage and the capacitor voltage is greater than the relay's activation voltage. Using a lower voltage power supply can reduce power supply cost and energy consumption. Alternatively, the power supply voltage can also be higher than the relay's activation voltage.

[0046] See Figure 3 The image is Figure 1 The corresponding path diagram for the first coil charging the capacitor when the second switch is turned off.

[0047] In the embodiment of this application, the second working state corresponds to the pre-charging process of capacitor C. That is, after the first coil KM1_L has stored magnetic field energy, when the drive signal controls the second switch Q1_2 to open, the first coil KM1_L charges capacitor C, so that the first coil KM1_L transfers energy to capacitor C.

[0048] Specifically, when the second switch Q1_2 switches from the closed state to the open state, since the inductor current cannot change abruptly, the current in the first coil KM1_L will continue to flow in its original direction. At this time, the energy released by the first coil KM1_L flows through the second diode D1_2 to the second terminal of the capacitor C, and then returns to the first coil KM1_L through the capacitor C and the first diode D1_1, thus forming... Figure 3 The energy transfer circuit is shown. In this circuit, capacitor C absorbs at least part of the energy released by the first coil KM1_L, and its terminal voltage gradually builds up over multiple charging cycles.

[0049] After completing one Figure 3 After the energy transfer shown, the second switch Q1_2 can be closed again to allow the drive circuit to re-enter the operating state. Figure 2 The state shown is as described. This process of coil energy storage, coil energy release, and capacitor charging is repeated until the energy stored in capacitor C reaches the level required for the relay to engage. The controller can determine the end time of the pre-charge by using a fixed number of cycles, a fixed pre-charge time, or by detecting the capacitor voltage.

[0050] For example, when the voltage between the second terminal of capacitor C and the negative terminal of the power supply DC is detected to reach a voltage threshold, the drive signal applied to the second switch Q1_2 is stopped. This control method can both limit the maximum energy storage level of capacitor C and keep the pre-charge results under different input voltages or different coil parameters within the desired range.

[0051] The embodiments of this application can transfer the magnetic field energy of the first coil to the capacitor C when the second switch is turned off, thereby pre-charging the capacitor. By repeatedly performing the above process, it is possible to achieve, with a relatively simple hardware topology, that the capacitor and power supply jointly power the coil of the relay when the relay is energized, thereby reducing the number of components and cost caused by the additional boost circuit.

[0052] See Figure 4 The image is Figure 1 The power supply path diagram for the corresponding first relay to engage.

[0053] In this embodiment, the controller is further configured to control the first switch Q1_1 and the second switch Q1_2 to close in response to the voltage of capacitor C being greater than a preset voltage, thereby providing excitation current to the first coil KM1_L through the power supply DC and capacitor C, and causing the first relay to be energized.

[0054] Because relays need to overcome spring reaction force, mechanical inertia, and large magnetic circuit reluctance when they start to engage, the engagement phase usually requires a larger excitation current than the holding phase.

[0055] With capacitor C already pre-charged, the energy pre-stored in capacitor C can be applied to the first coil KM1_L via the first switch Q1_1. Power supply DC can form a power supply path via the first diode D1_1, the first coil KM1_L, and the second switch Q1_2. Therefore, power supply DC and capacitor C can jointly provide excitation energy to the first coil KM1_L during the relay's activation phase. At this time, the supply voltage is higher than the voltage of power supply DC, forming a boosted combined power supply.

[0056] When powered by both DC power and capacitor C, the first coil KM1_L can achieve stronger transient driving capability, enabling the current in the first coil KM1_L to be established rapidly, thereby quickly forming an electromagnetic attraction force sufficient to drive the armature. After the first switch Q1_1 and the second switch Q1_2 are closed simultaneously for a first preset time, the magnetic energy of the winding reaches a preset value, causing the relay to complete the activation.

[0057] In one implementation, the controller can complete the engagement phase according to a preset time; in another implementation, the end time of the engagement phase can be determined by combining coil current, relay auxiliary contact status, or other signals that reflect that the relay has completed engagement. Regardless of the determination method used, after confirming that the relay has reliably engaged, the system can switch to... Figure 5 The power supply status is shown.

[0058] The energy stored in capacitor C is used at the moment of reciprocation when the relay requires a large excitation capacity, without the need for the entire drive circuit to operate at a high voltage or high power for a long time. This can improve the reciprocation speed and reliability of the relay, and reduce the power supply capacity and continuous power consumption, which is beneficial to reducing the size and cost of the drive circuit.

[0059] See Figure 5 The image is Figure 1 The power supply path diagram for the maintenance phase after the first relay is engaged.

[0060] This application embodiment illustrates that after the first relay has completed its activation, it switches from a larger drive current to a lower sustaining current to reduce power consumption.

[0061] The controller is also configured to, in response to a first preset time after the first switch Q1_1 and the second switch Q1_2 are closed, control the first switch Q1_1 to open and the second switch Q1_2 to remain closed, thereby enabling the power supply DC to power the first coil KM1_L and keeping the first relay energized.

[0062] At this time, the power supply path between capacitor C and the first coil KM1_L is cut off by the first switch Q1_1, and the power supply DC forms a maintenance power supply circuit through the first diode D1_1, the first coil KM1_L and the second switch Q1_2.

[0063] Since the armature is already in contact after the first relay is energized, the air gap in the magnetic circuit is significantly reduced. The magnetic force required to maintain the relay in the energized state is significantly lower than in the initial energizing stage. Therefore, a small sustaining current provided by the DC power supply is sufficient to keep the first relay stably energized. During this stage, capacitor C does not need to continuously output energy; its stored energy can be retained or replenished during subsequent coil energy release.

[0064] Furthermore, during the maintenance phase, the second switch Q1_2 can be kept continuously closed, or the on / off state of the second switch Q1_2 can be appropriately controlled by combining current sampling to maintain the average current in the first coil KM1_L within a range that can reliably maintain the coil's engagement. The specific maintenance method can be selected based on the rated parameters of the relay coil and the system power consumption requirements.

[0065] After the first relay completes its engagement, promptly disengaging from the capacitor-enhanced power supply state can significantly reduce coil and drive losses during prolonged relay operation; simultaneously, it avoids unnecessary continuous discharge of capacitor C, allowing it to reserve energy storage capacity for the next engagement process.

[0066] See Figure 6 The image is Figure 1 The corresponding path diagram for the slow shutdown of the first relay.

[0067] This application describes a method for releasing energy from a coil when the speed at which the relay releases energy is not critical and it is desirable to reduce the overvoltage during turn-off.

[0068] The controller is also configured to, in response to a first disconnect command, control the first switch Q1_1 to close, the second switch Q1_2 to open, and the first coil KM1_L to release energy through the second diode D1_2 and the first switch Q1_1. The first disconnect command is a command that controls the first relay to disconnect.

[0069] After the second switch Q1_2 is opened, the continuous power supply of DC to the first coil KM1_L is cut off. Since the current in the first coil KM1_L cannot change abruptly, the coil current forms a local freewheeling circuit through the second diode D1_2 and the first switch Q1_1, so that the magnetic field energy stored in the first coil KM1_L is gradually released in this circuit.

[0070] Because the voltage drop across the switch and diode in the local freewheeling circuit mainly forms a reverse or decaying voltage on the first coil KM1_L, the release voltage across the first coil KM1_L is relatively low, and the slope of the coil current decrease is small. As the coil current gradually decreases, the electromagnetic attraction force generated by the relay gradually decreases until the spring restoring force releases the relay.

[0071] The voltage spike generated when the first relay is turned off slowly is relatively low, which helps to reduce the voltage stress on the first switch Q1_1, the second switch Q1_2 and related devices, and can reduce electromagnetic interference caused by rapid current changes. For operating conditions where rapid release of the relay is not required, this method can achieve reliable turn-off with lower device stress.

[0072] See Figure 7 The image is Figure 1 The corresponding path diagram for the rapid shutdown of the first relay.

[0073] This application describes a method to accelerate the decay of the current in the first coil KM1_L by having capacitor C participate in coil energy release when it is necessary to shorten the relay release time.

[0074] When the first relay needs to be turned off quickly, the controller is also configured to, in response to the first disconnect command, control the first switch Q1_1 to open and the second switch Q1_2 to open, thereby causing the first coil KM1_L to release energy through the second diode D1_2, capacitor C and the first diode D1_1.

[0075] The second switch Q1_2 is open, stopping the DC power supply from supplying power to the first coil KM1_L. The first switch Q1_1 is open, preventing the first coil KM1_L from being powered by the DC power supply. Figure 6 The low-voltage freewheeling path shown releases energy. At this time, the current in the first coil KM1_L flows through the second diode D1_2 to the capacitor C, and then returns to the first coil KM1_L through the capacitor C and the first diode D1_1, thus forming... Figure 7 The energy recovery circuit shown.

[0076] Since capacitor C participates in this energy release circuit, a voltage equal to the voltage across the first coil KM1_L can be generated. Figure 6 The slower freewheeling mode has a higher reverse discharge voltage, resulting in a greater drop slope for the coil current. Simultaneously, at least a portion of the magnetic field energy released by the first coil KM1_L is transferred and stored in capacitor C, rather than being entirely consumed by the clamping device or resistor.

[0077] The energy recovered by capacitor C can be reused to enhance the excitation capability of the first coil KM1_L during the next activation of the first relay, or it can be used for the activation process of other relay branches. Therefore, the rapid turn-off process and subsequent activation process of the relay can form a certain energy recycling relationship.

[0078] Without adding an independent active reverse drive circuit, a larger coil release voltage than slow turn-off can be obtained by changing the switching state, thereby improving the energy discharge speed of the relay; at the same time, the coil energy is recovered to the capacitor C, taking into account both fast turn-off and energy reuse, which can reduce the overall energy loss of the system.

[0079] See Figure 8 The figure is a schematic diagram of the driving circuit of the second type of relay provided in the embodiment of this application.

[0080] The relay driving circuit provided in this application embodiment can drive multiple relays, enabling them to share the power supply DC and capacitor C. For ease of understanding, the following description uses the driving circuit driving two relays as an example.

[0081] The relay driving circuit provided in this application embodiment further includes: a third switch Q2_1, a fourth switch Q2_2, a third diode D2_1, and a fourth diode D2_2; The anode of the third diode D2_1 is connected to the positive terminal of the power supply DC, and the cathode of the third diode D2_1 is connected to the third connection point C of the drive circuit. The first terminal of the third switch Q2_1 is connected to the second terminal of the capacitor C, and the second terminal of the third switch Q2_1 is connected to the third connection point C. The second terminal of the fourth switch Q2_2 is connected to the negative terminal of the power supply DC, and the first terminal of the fourth switch Q2_2 is connected to the fourth connection point D of the drive circuit. The third connection point C and the fourth connection point D are respectively used to connect the two ends of the second coil KM2_L of the second relay. The anode of the fourth diode D2_2 is connected to the fourth connection point D, and the cathode of the fourth diode D2_2 is connected to the second terminal of the capacitor C.

[0082] The driving principle of the second relay can be similar to that of the first relay. For example, before the second relay is energized, the second coil KM2_L can be energized and charged by controlling the opening and closing of the fourth switch Q2_2; when the second relay is energized, the capacitor C and the power supply DC can jointly provide excitation energy to the second coil KM2_L; after the second relay is energized, the energization can be maintained by the power supply DC; when it is necessary to release the second relay, an energy release circuit can also be formed through the corresponding diode and capacitor C.

[0083] When setting up two or more relay branches, the coils, switches, and diodes of each branch can adopt the same modular structure, while capacitor C can serve as a shared energy storage element for multiple branches. The controller can control the corresponding branches according to the operating sequence of each relay, avoiding the need to repeatedly configure independent pull-in energy storage capacitors for multiple branches when they do not need to operate simultaneously.

[0084] Multiple relays sharing the DC power supply and capacitor C can reduce the number of energy storage capacitors and related peripheral components, thereby reducing component costs and PCB footprint. At the same time, each branch can still be controlled independently, making it easy to expand to power converters with multiple grid-connected relays, switching relays, or other electromagnetic actuators, thus improving the modularity and expandability of the drive circuit.

[0085] See Figure 9 The image is Figure 8 A schematic diagram of the corresponding drive circuit driving the two relays.

[0086] The embodiments of this application further illustrate that when two relays operate in different sequences, the energy released by one relay is stored in capacitor C, which facilitates the recovery and utilization of the energy in capacitor C during the closing process of the other relay.

[0087] The controller is also configured to, in response to a second disconnect command, control both the third switch Q2_1 and the fourth switch Q2_2 to disconnect, and control both the first switch Q1_1 and the second switch Q1_2 to close, causing the second coil KM2_L to release energy to charge the capacitor C, so that the capacitor C and the power supply DC provide excitation current to the first coil KM1_L. The second disconnect command is a command to control the second relay to disconnect.

[0088] For example, when the second relay switches from the engaged state to the released state, both the third switch Q2_1 and the fourth switch Q2_2 can be turned off. Since the current in the second coil KM2_L cannot change abruptly, the magnetic field energy stored in the second coil KM2_L is transferred to the capacitor C through the circuit corresponding to the fourth diode D2_2, capacitor C, and the third diode D2_1, thus charging the capacitor C. This process is the same as the principle by which the first coil KM1_L recovers energy from the capacitor C.

[0089] Therefore, the energy recovered to capacitor C when the second relay is released can be used at least partially for the first relay to engage, rather than being entirely supplied by the DC power supply.

[0090] For example, after energy recovery, when the first coil KM1_L needs to be supplied with excitation current, the first switch Q1_1 and the second switch Q1_2 can be closed, so that the capacitor C and the power supply DC can jointly supply excitation current to the first coil KM1_L to drive the first relay to engage.

[0091] The energy release and energy absorption of multiple relays are linked through a shared capacitor C, realizing energy reuse between drive branches. This helps to reduce the transient power demand of the DC power supply when multiple relays operate continuously and reduces energy waste caused by coil energy release. It is especially suitable for scenarios where multiple relays have sequential switching operations.

[0092] See Figure 10 The figure is a schematic diagram of the driving circuit of the third type of relay provided in the embodiment of this application.

[0093] The driving circuit provided in this application embodiment further includes: a fifth switch Q3_1 and a fifth diode D1_3; the second terminal of the first switch Q1_1 and the cathode of the first diode D1_1 are connected to the first connection point A through the fifth switch Q3_1, the anode of the fifth diode D1_3 is connected to the negative terminal of the power supply DC, and the cathode of the fifth diode D1_3 is connected to the first connection point A.

[0094] The connections of the first switch Q1_1, the second switch Q1_2, capacitor C, the first diode D1_1, the second diode D1_2, and the DC power supply can be related to... Figure 1 The embodiments shown are the same.

[0095] The controller controls the state of the fifth switch Q3_1, which can change the current path at the first terminal of the first coil KM1_L, thus forming multiple different energy release loops in the same hardware circuit. In conjunction with the fifth diode D1_3, it can respectively achieve slow energy release with low reverse voltage, fast energy release involving capacitor C, and ultra-fast energy release with a higher reverse voltage formed by capacitor C and the DC power supply.

[0096] When selecting the fifth switch Q3_1, the forward controlled closing capability of the switch itself can be utilized, and combined with its allowed reverse closing channel, current commutation in different operating stages can be completed.

[0097] The embodiments of this application significantly expand the degree of freedom of relay turn-off control with fewer additional components, enabling the same drive circuit to select different coil current decay rates according to requirements; thus, more flexible trade-offs can be made between release speed, switch voltage stress, energy recovery efficiency, and electromagnetic interference, enhancing the adaptability of the drive circuit to different relays and different application scenarios.

[0098] See Figure 11 The image is Figure 10 The corresponding path diagram for the power supply to charge the first coil when the second switch is closed.

[0099] This application embodiment is used to illustrate the coil energy storage process of the third type of driving circuit when the second switch Q1_2 is in the closed state during the pre-charging process of capacitor C.

[0100] In this embodiment, the controller is configured to, in response to a first closing command, control the fifth switch Q3_1 to close and the first switch Q1_1 to close, and control the second switch Q1_2 to operate according to a preset duty cycle to charge the capacitor C; that is, to apply a drive signal to the second switch Q1_2, when the drive signal controls the second switch Q1_2 to close, thereby causing the power supply to charge the first coil KM1_L, and when the drive signal controls the second switch Q1_2 to open, the first coil KM1_L charges the capacitor.

[0101] When the second switch Q1_2 is closed, the current in the first coil KM1_L increases and stores magnetic field energy.

[0102] The controller can send a drive signal to the second switch Q1_2, causing the current in the first coil KM1_L to increase within a predetermined range. When a set closing time or current condition is reached, the second switch Q1_2 is opened, entering... Figure 12 The stage shown is the energy transfer to capacitor C.

[0103] While retaining the fifth switch Q3_1 to achieve multiple turn-off paths, the first coil KM1_L can still be reused to complete the pre-charging of capacitor C, without needing to add an independent capacitor charging branch for the third driving topology; therefore, while expanding the turn-off function, a high degree of hardware reuse is maintained.

[0104] See Figure 12 The image is Figure 10 The corresponding path diagram for the first coil charging the capacitor when the second switch is turned off.

[0105] The embodiments of this application are used to illustrate the coil energy release and capacitor charging process of the third type of driving circuit during the pre-charging process.

[0106] When the second switch Q1_2 switches from closed to open, the first coil KM1_L continues to maintain the current in its original direction. This current flows from the second terminal of the first coil KM1_L through the second diode D1_2 to the second terminal of the capacitor C, and then returns to the first terminal of the first coil KM1_L through the corresponding closed channels of the branch containing the capacitor C, the first diode D1_1, and the fifth switch Q3_1, thus forming... Figure 12 The circuit shown. At least part of the magnetic field energy stored in the first coil KM1_L in the previous stage is transferred to the capacitor C.

[0107] Figure 11 and Figure 12 The two operating states shown can be alternated. Each time the second switch Q1_2 is closed, the first coil KM1_L draws energy from the DC power supply; each time the second switch Q1_2 is opened, the first coil KM1_L transfers energy to the capacitor C. Through multiple switching cycles, the energy stored in the capacitor C can be gradually increased until it reaches the energy storage level required for the relay to engage.

[0108] To improve the consistency of pre-charging, the controller can further detect the voltage of capacitor C. When the voltage between the second terminal of capacitor C and the negative terminal of the DC power supply is detected to reach a voltage threshold, the pre-charging drive signal applied to the second switch Q1_2 is stopped; alternatively, the peak current within a single cycle can be limited by combining the current threshold of the first coil KM1_L.

[0109] The energy storage characteristics of the first coil KM1_L and the switching commutation process are used to complete the charging of capacitor C, so that the third type of drive circuit can form the energy storage required for pull-in without the need for an additional boost module; at the same time, the charging process can be constrained by voltage threshold and current threshold, which improves the controllability of pre-charging and the safety margin of device operation.

[0110] See Figure 13 The image is Figure 10 The power supply path diagram for the corresponding first relay to engage.

[0111] The embodiments of this application are used to illustrate an enhanced power supply method for the third drive circuit when the first relay switches from the released state to the engaged state.

[0112] The controller is also configured to close Q1_1, the second switch Q1_2 and the fifth switch Q3_1 in response to the voltage of capacitor C being greater than a preset voltage, thereby providing excitation current to the first coil KM1_L through the power supply DC and capacitor C, causing the first relay to engage.

[0113] After capacitor C completes its pre-charge, the fifth switch Q3_1 closes, forming a controlled low-resistance path between the first terminal of the first coil KM1_L and the upstream power supply node. The second switch Q1_2 closes, connecting the second terminal of the first coil KM1_L to the negative terminal of the DC power supply. At this point, capacitor C can release its pre-stored energy to the first coil KM1_L through the first switch Q1_1 and the fifth switch Q3_1, and the DC power supply also participates in the excitation of the first coil KM1_L through the first diode D1_1 and the corresponding path.

[0114] Due to the combined effect of the DC power supply and capacitor C, the first coil KM1_L can quickly establish a large excitation current during the pull-in phase. The controller can keep the first switch Q1_1, the second switch Q1_2, and the fifth switch Q3_1 in this state for a second preset time, so that the first relay can obtain sufficient electromagnetic attraction to complete the armature action.

[0115] The second preset time can be set according to the relay model and the actual pull-in time, or it can be shortened as much as possible while ensuring reliable pull-in, in order to reduce coil heat loss during the pull-in phase. After pull-in is complete, the controller switches to... Figure 14 The power supply status is shown.

[0116] After adding a fifth switch in this embodiment, the fifth switch forms a clear and controllable enhanced power supply path, so that the energy stored in the capacitor can be quickly applied to the first coil when needed; thus, it can ensure that the relay still has a good pull-in margin when the temperature is low, the input voltage fluctuates, or the coil parameters are deviated, and it does not need to maintain a high power supply for a long time.

[0117] See Figure 14 The image is Figure 10 The power supply path diagram for the maintenance phase after the first relay is engaged.

[0118] This application describes a third type of low-power maintenance method for the drive circuit after the first relay has completed its activation.

[0119] The controller is also configured to, in response to a second preset time after the first switch Q1_1, the second switch Q1_2, and the fifth switch Q3_1 are closed, control the first switch Q1_1 to open, and the second switch Q1_2 and the fifth switch Q3_1 to remain closed, thereby supplying power to the first coil KM1_L and keeping the first relay energized.

[0120] At this time, the enhanced power supply path of capacitor C is cut off by the first switch Q1_1, and the power supply DC forms a maintenance power supply circuit through the first diode D1_1, the fifth switch Q3_1, the first coil KM1_L and the second switch Q1_2.

[0121] Once the first relay has engaged, due to the small air gap in the magnetic circuit, only a low coil current is needed to maintain engagement. Therefore, during the maintenance phase, removing capacitor C from the power supply and having the DC power supply provide a maintenance current to the first coil KM1_L can prevent capacitor C from continuously discharging and the coil from remaining in a high-excitation state.

[0122] When it is necessary to further reduce the power consumption, the second switch Q1_2 can be controlled by current closed loop or pulse mode while ensuring that the fifth switch Q3_1 can form a power supply path, so that the average current of the first coil KM1_L is kept within the range required to reliably maintain the engagement.

[0123] In this embodiment, without changing the hardware connection, a smooth switch from high drive engagement to low power consumption maintenance can be achieved, which can reduce coil temperature rise and long-term power consumption, and allow the capacitor to retain its energy storage capacity; at the same time, the fifth switch remains in a controllable state, providing conditions for selecting different turn-off methods in the future.

[0124] See Figure 15 The image is Figure 10 The corresponding path diagram for the slow shutdown of the first relay.

[0125] In this embodiment, the fifth diode D1_3 and the second switch Q1_2 are used to form a local freewheeling path with low reverse voltage to achieve slow release of the first relay.

[0126] When the first relay needs to be slowly turned off, the controller is also configured to, in response to the first disconnect command, control the second switch Q1_2 to close, the first switch Q1_1 and the fifth switch Q3_1 to open, and the first coil KM1_L to release energy through the second switch Q1_2 and the fifth diode D1_3.

[0127] After the fifth switch Q3_1 is opened, the first coil KM1_L is disconnected from the upstream power supply node; the original current in the first coil KM1_L flows to the negative side of the power supply DC through the second switch Q1_2, and returns to the first end of the first coil KM1_L through the fifth diode D1_3, thus forming a local freewheeling circuit.

[0128] Since no capacitor C is connected in series in this circuit to form a high reverse voltage, the current in the first coil KM1_L gradually decreases mainly due to the coil resistance, the voltage drop when the switch is closed, and the forward voltage drop of the fifth diode D1_3. Therefore, the current decreases relatively slowly, and the relay release process is relatively smooth.

[0129] Slow turn-off can be used in operating conditions where release time is not sensitive but it is desirable to reduce coil terminal voltage and switching device voltage stress. The controller can select this turn-off path based on the current operating mode of the power converter, and switch to slow turn-off when a rapid disconnection of the main circuit is required. Figure 16 or Figure 17 The path shown.

[0130] In this embodiment, a low-voltage freewheeling current can be formed using the second switch Q1_2 and the fifth diode D1_3 without the need for an additional absorption resistor or active clamping circuit. This method can reduce voltage spikes and electromagnetic interference during relay turn-off and provide a low-device stress release mode for the same hardware platform.

[0131] See Figure 16 The image is Figure 10 The corresponding path diagram for the rapid shutdown of the first relay.

[0132] In this embodiment of the application, the controller is further configured to, in response to a first disconnect command, control the first switch Q1_1 and the second switch Q1_2 to disconnect, control the fifth switch Q3_1 to close, and the first coil KM1_L to release energy through the second diode D1_2, the capacitor C, and the fifth switch Q3_1.

[0133] In this embodiment, by controlling the first switch Q1_1 and the second switch Q1_2 to be open and the fifth switch to be closed, the magnetic field energy of the first coil KM1_L is transferred to the capacitor C, thereby increasing the current decay rate of the first coil KM1_L.

[0134] Specifically, when a rapid shutdown of the first relay is required, the second switch Q1_2 opens to cut off the continuous power supply DC to the first coil KM1_L, the first switch Q1_1 opens to avoid forming a slow local freewheeling path, and the fifth switch Q3_1 remains closed to establish a corresponding return path. The current in the first coil KM1_L flows through the second diode D1_2 to the second terminal of capacitor C, and then returns to the first terminal of the first coil KM1_L through capacitor C, the first diode D1_1, and the fifth switch Q3_1, forming... Figure 16 The energy recovery circuit shown.

[0135] During this energy release process, capacitor C absorbs the magnetic field energy of the first coil KM1_L, and simultaneously, its terminal voltage forms a higher reverse voltage across the first coil KM1_L, causing the current in the first coil KM1_L to be higher than that in the reverse coil. Figure 15 The slow freewheeling mode shown decreases more rapidly. Once the coil current drops below a level insufficient to maintain relay engagement, the relay releases under mechanical restoring force.

[0136] The energy recovered into capacitor C can be retained for the subsequent re-engagement of the first relay, or it can be used by other relay branches in a multi-relay topology. Therefore, the fast turn-off process itself can also serve as a supplementary charging process for capacitor C.

[0137] Capacitor C can absorb the energy released by the coil, significantly shortening the relay's release time. By using energy recovery rather than pure dissipation to process the coil's magnetic field energy, heat loss is reduced, and the subsequent usable energy storage of capacitor C is increased, achieving a balance between rapid action and efficient energy utilization.

[0138] See Figure 17 The image is Figure 10 The corresponding path diagram for the ultra-fast turn-off of the first relay.

[0139] The controller is also configured to, in response to a first disconnect command, control the first switch Q1_1, the second switch Q1_2 and the fifth switch Q3_1 to disconnect, and the first coil KM1_L releases energy through the second diode D1_2, the capacitor C, the power supply DC and the fifth diode D1_3.

[0140] In embodiments of this application, where the relay disconnection time requirement is higher, the capacitor C and the power supply DC jointly participate in the reverse energy release of the coil, so as to further increase the current drop slope of the first coil KM1_L.

[0141] When the first relay needs to be turned off very quickly, the original current in the first coil KM1_L flows through the second diode D1_2 to the capacitor C, and then further returns to the first coil KM1_L through the capacitor C, the power supply DC, and the fifth diode D1_3, forming... Figure 17 The energy release circuit shown.

[0142] and Figure 16 Compared to the method of establishing a reverse energy release voltage using capacitor C, Figure 17 In the circuit shown, capacitor C and power supply DC together exert a stronger reverse effect on the first coil KM1_L, allowing the coil current to decay at a greater slope. Therefore, the electromagnetic attraction generated by the first relay decreases more quickly, enabling it to enter the release state more rapidly.

[0143] The controller can select the discharge path based on fault protection, rapid circuit breaking, or other operating conditions with strict requirements on relay release time, while selecting the appropriate path for normal shutdown or operating conditions where rapid release is not required. Figure 15 or Figure 16 The pattern shown is designed to balance device stress and operating speed.

[0144] Based on the power supply DC, capacitor C and fifth diode D1_3, higher discharge capability can be obtained by changing the switching state without the need for a separate power supply; thus, the same relay drive circuit can simultaneously have three types of turn-off modes: slow turn-off, fast turn-off and ultra-fast turn-off, improving the response flexibility of the power converter in normal control and abnormal protection scenarios.

[0145] See Figure 18 The figure is a control schematic diagram of a drive circuit provided in an embodiment of this application.

[0146] In addition to the controller 100, this embodiment of the application also includes a current sampling circuit 300, which is used to collect the current flowing through the first relay; The controller 100 is also configured to close the second switch Q1_2 when the current is less than or equal to a first current threshold, and to open the second switch Q1_2 when the current is greater than or equal to a second current threshold. The first current threshold is less than the second current threshold.

[0147] The controller 100 can perform closed-loop control of the second switch Q1_2 based on the actual current of the first coil KM1_L, and can end the pre-charging process based on the voltage state of the capacitor C.

[0148] A sampling resistor Rs is set in the current path of the first coil KM1_L. The current sampling circuit 300 collects the voltage signal across the sampling resistor Rs and calculates the current flowing through the first coil KM1_L. The current sampling circuit 300 sends a signal reflecting the magnitude of the coil current to the controller 100. The controller 100 outputs a drive control signal for the second switch Q1_2 based on this signal, and can also output a control signal for the first switch Q1_1 to coordinate the capacitor pre-charging, relay activation, maintenance, and deactivation processes.

[0149] The controller 100 is also configured to stop applying a drive signal to the second switch Q1_2 when the voltage between the second terminal of capacitor C and the negative terminal of the power supply reaches a voltage threshold.

[0150] The controller 100 can be implemented by a microcontroller, digital signal processor, programmable logic device or other circuits capable of executing corresponding control logic, or it can be implemented by combining hardware comparison circuits with digital control.

[0151] By using feedback information from the current and capacitor voltage of the first relay, the controller can upgrade the drive circuit from a simple open-loop timing control to a closed-loop control with state awareness, which can adapt to the effects of power supply voltage changes, coil resistance temperature drift and device parameter dispersion; at the same time, it can limit peak current and capacitor overcharging, improve pre-charge consistency, device reliability and relay operation stability.

[0152] See Figure 19 The figure is a schematic diagram of controlling a second switch based on the current of a first coil, according to an embodiment of this application.

[0153] This application describes the specific method of current feedback control of the second switch Q1_2 in conjunction with waveform diagrams.

[0154] The horizontal axis represents the time axis T, and t0, t1, t2, and t3 represent different moments in one turn-on and turn-off cycle of the second switch Q1_2. The vertical axis represents the inductor current.

[0155] I_Lmax can represent the second current threshold, which is the upper limit of the current of the first coil KM1_L during the control process. I_Lmin can represent the first current threshold, which is the lower limit of the current. I_Lave represents the average coil current over multiple switching cycles. I_Lq can represent the reference current level related to the target operating state of the relay.

[0156] To avoid frequent jittering of the second switch Q1_2 caused by the coil current near a single threshold, a threshold range with a certain interval is set using the first current threshold and the second current threshold, thereby forming current hysteresis control.

[0157] I_Lave=0.5 (I_Lmax+I_L_min). When I_L is less than I_Lmin, the second switch Q1_2 is closed, and the winding current increases. When I_L is greater than I_Lmax, the second switch Q1_2 is open, and the winding current decreases. The chopper current limiting control can control the average current of the relay winding below the starting current, preventing the relay from bouncing during the boost phase.

[0158] For example, when the current of the first coil KM1_L drops to I_Lmin or below the corresponding turn-on threshold, the controller controls the second switch Q1_2 to close, and the first coil KM1_L enters the energizing stages such as Ton1, Ton2, and Ton3, and the coil current rises accordingly; when the current of the first coil KM1_L rises to I_Lmax or reaches the corresponding turn-off threshold, the controller controls the second switch Q1_2 to open, and the first coil KM1_L enters the energy release stages such as Toff1, Toff2, and Toff3, and the coil current drops accordingly.

[0159] In practical applications, I_Lmax and I_Lmin can be determined based on the maximum allowable current of the first coil KM1_L, the charging power required by the capacitor C, and the current capability of the switching devices; the hysteresis width can be set to take into account the switching frequency, coil current ripple, and control stability.

[0160] Current hysteresis control can directly constrain the peak current and current fluctuation range of the first coil, making the energy transfer in each switching cycle more controllable. Compared with fixed duty cycle control, it has a stronger adaptive capability to input voltage changes and coil parameter changes, which can reduce overcurrent risk and improve the consistency of capacitor precharging and relay drive.

[0161] To save on voltage sampling circuitry, the voltage across the capacitor can be calculated directly using a formula, since the voltage of the power supply is known. This allows us to obtain the superimposed voltage of the power supply and the capacitor.

[0162] Monitoring the capacitor voltage during the boost phase is to prevent over- or under-voltage. The equivalent circuit diagram for capacitor charging is shown below. Figure 20 As shown.

[0163] right Figure 20 The following analysis is performed on the inductor freewheeling circuit shown, and the circuit voltage equations are written as follows: ; ; ; The formula for obtaining the voltage Uc of the capacitor is as follows:

[0164] In the formula, L represents the relay coil, and R represents the relay's internal resistance. L The voltage drop U of the diode d All of these can be obtained by consulting the manual or by measurement. T off This can be obtained through the controller's timer. In summary, during the boost phase, the software calculates the capacitor voltage every cycle to control the first switch Q1_1 and the second switch Q1_2.

[0165] The embodiments of this application do not specifically limit the types of the above switches. For example, one possible implementation is a semiconductor switch.

[0166] Based on the relay driving circuit provided in the above embodiments, this application also provides a power converter, which will be described in detail below with reference to the accompanying drawings.

[0167] See Figure 21 This figure is a schematic diagram of a power converter provided in an embodiment of this application.

[0168] The power converter provided in this application embodiment may include the relay drive circuit 1000 described in the above embodiment, and also includes the relay 2000 corresponding to the drive circuit 1000.

[0169] The relay drive circuit 200 is used to drive the coil of the relay 2000. The relay can be installed in the corresponding circuit of the power converter where electrical connection or disconnection is required. For example, the relay can be a grid-connected relay.

[0170] The power converter of this application embodiment can realize different currents when the relay is engaged and maintained using fewer hardware components, thereby reducing the complexity and cost of the drive circuit. In addition, it can recover energy through capacitors and realize energy reuse among multiple relays, thereby improving the reliability of relay control in the power converter.

[0171] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0172] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A relay driving circuit, characterized in that, include: First switch, second switch, capacitor, first diode, second diode, and power supply; The first end of the capacitor is connected to the positive terminal of the power supply, the second end of the capacitor is connected to the first end of the first switch, the second end of the first switch is connected to the first connection point of the drive circuit, the negative terminal of the power supply is connected to the second connection point of the drive circuit through the second switch, and the first connection point and the second connection point are used to connect the two ends of the first coil of the first relay. The anode of the first diode is connected to the positive terminal of the power supply, the cathode of the first diode is connected to the first connection point, the anode of the second diode is used to connect to the second connection point, and the cathode of the second diode is connected to the second terminal of the capacitor.

2. The driving circuit according to claim 1, characterized in that, Also includes: Controller; The controller is configured to, in response to a first closing command, control the first switch to open and control the second switch to operate according to a preset duty cycle to charge the capacitor.

3. The driving circuit according to claim 2, characterized in that, The controller is also configured to close the first switch and the second switch in response to the voltage of the capacitor being greater than a preset voltage, thereby providing excitation current to the first coil by the power supply and the capacitor, and energizing the first relay.

4. The driving circuit according to claim 3, characterized in that, The controller is also configured to, in response to the first switch and the second switch being closed for a first preset time, control the first switch to open and the second switch to remain closed, thereby enabling the power supply to power the first coil and keeping the first relay energized.

5. The driving circuit according to claim 4, characterized in that, The controller is also configured to, in response to a first disconnect command, control the first switch to close and the second switch to open, thereby causing the first coil to release energy through the second diode and the first switch.

6. The driving circuit according to claim 4, characterized in that, The controller is also configured to, in response to a first disconnect command, control the first switch and the second switch to disconnect, thereby causing the first coil to release energy through the second diode, the capacitor, and the first diode.

7. The driving circuit according to any one of claims 1 to 6, characterized in that, Also includes: Third switch, fourth switch, third diode, and fourth diode; The anode of the third diode is connected to the positive terminal of the power supply, and the cathode of the third diode is connected to the third connection point of the drive circuit. The first terminal of the third switch is connected to the second terminal of the capacitor, and the second terminal of the third switch is connected to the third connection point. The second terminal of the fourth switch is connected to the negative terminal of the power supply, and the first terminal of the fourth switch is connected to the fourth connection point of the drive circuit. The anode of the fourth diode is connected to the fourth connection point, and the cathode of the fourth diode is connected to the second terminal of the capacitor. The third connection point and the fourth connection point are used to connect the two ends of the second coil of the second relay.

8. The driving circuit according to claim 7, characterized in that, It also includes the controller; The controller is also configured to, in response to a second disconnect command, control both the third and fourth switches to disconnect from charging the capacitor.

9. The driving circuit according to claim 1, characterized in that, Also includes: The fifth switch and the fifth diode; The second terminal of the first switch and the cathode of the first diode are connected to the first connection point through the fifth switch. The anode of the fifth diode is connected to the negative terminal of the power supply, and the cathode of the fifth diode is connected to the first connection point.

10. The driving circuit according to claim 9, characterized in that, Also includes: Controller; The controller is configured to, in response to a first closing command, control the fifth switch to close and the first switch to open, and control the second switch to operate according to a preset duty cycle to charge the capacitor.

11. The driving circuit according to claim 10, characterized in that, The controller is also configured to close the first switch, the second switch, and the fifth switch in response to the voltage of the capacitor being greater than the preset voltage, thereby providing excitation current to the first coil through the power supply and the capacitor, causing the first relay to engage.

12. The driving circuit according to claim 11, characterized in that, The controller is further configured to, in response to the first switch, the second switch, and the fifth switch being closed for a second preset time, control the first switch to open, while the second switch and the fifth switch remain closed, thereby enabling the power supply to power the first coil and keeping the first relay energized.

13. The driving circuit according to claim 12, characterized in that, The controller is also configured to, in response to a first disconnect command, control the second switch to close, and the first switch and the fifth switch to open, thereby allowing the first coil to release energy through the second switch and the fifth diode.

14. The driving circuit according to claim 12, characterized in that, The controller is also configured to, in response to a first disconnect command, control the first switch and the second switch to disconnect and control the fifth switch to close, thereby causing the first coil to release energy through the second diode, the capacitor, and the fifth switch.

15. The driving circuit according to claim 12, characterized in that, The controller is also configured to, in response to a first disconnect command, control the first switch, the second switch, and the fifth switch to disconnect, thereby causing the first coil to release energy through the second diode, the capacitor, the power supply, and the fifth diode.

16. The driving circuit according to claim 2 or 10, characterized in that, Also includes: Current sampling circuit; The current sampling circuit is used to collect the current flowing through the first relay; The controller is further configured to control the second switch to close when the current is less than or equal to a first current threshold, and to control the second switch to open when the current is greater than or equal to a second current threshold, wherein the first current threshold is less than the second current threshold.

17. The driving circuit according to claim 2 or 10, characterized in that, The controller is also configured to stop applying the drive signal to the second switch when the voltage between the second terminal of the capacitor and the negative terminal of the power supply reaches a voltage threshold.

18. A power converter, characterized in that, The drive circuit for the relay according to any one of claims 1 to 17 further includes: the relay corresponding to the drive circuit.