A driving circuit for a magnetic latching relay

By integrating a power module and a detection network to generate an enable signal, a reset pulse is produced to force the magnetic latching relay to disconnect, thus solving the problem of current backflow caused by the uncertainty of the incoming material status of the magnetic latching relay and realizing reliable relay control.

CN123120558APending Publication Date: 2026-11-17SHENZHEN LIGOO NEW ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611610712.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-19
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing magnetic latching relay drive circuits cannot accurately control the relay state, especially when the incoming material status is uncertain, there is a risk of current backflow. Furthermore, existing methods suffer from problems such as complex control, high cost, or unreliability.

Method used

The drive circuit adopts an integrated power supply module, detection network, enable switch module and drive output stage. Through the cooperation of dual threshold detection and enable switch, an enable signal is generated to produce a reset pulse, ensuring that the magnetic latching relay is forced back to the open state at the moment of power-on.

Benefits of technology

This technology enables reliable control of magnetic latching relays even when the incoming material status is uncertain, avoiding current backflow, reducing production costs and complexity, and improving hardware reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123120558A_ABST
    Figure CN123120558A_ABST
Patent Text Reader

Abstract

This application discloses a driving circuit for a magnetic latching relay. The circuit includes a power supply module for generating a supply voltage; a detection network for acquiring the supply voltage and generating an enable signal based on the supply voltage and the duration for which the supply voltage exceeds a first threshold; an enable switch module including an enable switch, the control terminal of which is connected to the detection network to receive the enable signal and determine the conduction state based on the enable signal; a drive output stage whose power supply terminal is connected to the enable switch and whose output terminal is connected to the magnetic latching relay, generating a reset pulse after the enable switch is turned on; and a magnetic latching relay driven to the off state according to the reset pulse. According to the embodiments of this application, the technical problem of inaccurate control of the state of the magnetic latching relay can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of magnetic latching relay drive control technology, and particularly relates to a drive circuit for a magnetic latching relay. Background Technology

[0002] Currently, magnetic latching relay drive circuits are mainly divided into two categories. One is H-bridge dual-end drive, which requires two complementary drive signals, making control complex and posing a risk of shoot-through between the upper and lower bridge arms; the other is single-end drive, which uses capacitor charging and discharging to generate unipolar pulses, but lacks power-on initial state management function.

[0003] The methods described above do not consider the uncertainty of the incoming material state of the magnetic latching relay. Since the magnetic latching relay relies on an internal permanent magnet to maintain the contact state, the direction of the magnetic relay's engagement or disengagement is uncertain after being subjected to vibration and impact during transportation and assembly. If the relay is in the wrong orientation during installation, a circuit may be formed once external conditions are met after power-on, leading to current backflow and burning out downstream power devices or loads.

[0004] Furthermore, existing simple resistor-capacitor (RC) delay reset circuits only make judgments in a single time dimension. If an abnormality occurs during the power-on process, the relay may not reliably execute the controller's command after the controller issues a command due to the power problem. The mismatch of the relay state may cause abnormalities in the downstream power circuit. Therefore, how to accurately control the state of the magnetic latching relay is a technical problem that urgently needs to be solved in this field. Summary of the Invention

[0005] This application provides a driving circuit for a magnetic latching relay, which can solve the technical problem of not being able to accurately control the state of the magnetic latching relay.

[0006] On one hand, embodiments of this application provide a driving circuit for a magnetic latching relay, which includes: a power supply module, a detection network, an enable switch module, a drive output stage, and a magnetic latching relay. The power module is used to generate the supply voltage; A detection network is used to acquire the supply voltage and, based on the supply voltage and the duration for which the supply voltage is greater than a first threshold, generate an enable signal. The enable switch module includes an enable switch, the control terminal of which is connected to the detection network to receive an enable signal and determine the conduction state based on the enable signal. The power supply terminal of the drive output stage is connected to the enable switch, and the output terminal is connected to the magnetic latching relay to generate a reset pulse after the enable switch is turned on. A magnetic latching relay is used to be driven to the open state according to a reset pulse.

[0007] In one embodiment, the detection network includes: a Zener diode, a delay capacitor, a first resistor, a second resistor, and a detection transistor; The cathode of the Zener diode is connected to the power supply terminal of the power module through the first resistor; The first terminal of the delay capacitor is connected to the cathode of the Zener diode, and the second terminal of the delay capacitor is grounded. The first end of the second resistor is connected to the anode of the Zener diode, and the second end of the second resistor is grounded. The base of the detection transistor is connected to the connection node between the anode of the Zener diode and the second resistor, and the emitter of the detection transistor is grounded.

[0008] In one embodiment, the detection transistor is turned on when the supply voltage is greater than a first threshold and the duration is greater than a second threshold, so as to reduce the collector voltage of the detection transistor and generate an enable signal; wherein, the enable signal is used to turn on the enable switch, the first threshold is the breakdown voltage of the Zener diode, and the second threshold is the duration for the voltage of the delay capacitor to reach the breakdown voltage of the Zener diode.

[0009] In one embodiment, the breakdown voltage of the Zener diode is within a preset proportional range of the rated value of the supply voltage. The rate of voltage change of the delay capacitor is determined by the resistance of the first resistor and the capacitance of the delay capacitor.

[0010] In one embodiment, the enable switch module further includes: a third resistor and a switching transistor; The base of the switching transistor is connected to the collector of the sensing transistor, and the emitter of the switching transistor is connected to the base of the enable switch through a third resistor. The enable switch is an enable transistor; the emitter of the enable switch is connected to the power supply terminal of the power module, and the collector of the enable switch is connected to the power supply terminal of the drive output stage.

[0011] In one embodiment, the drive output stage includes: an input switch transistor, a first drive transistor, a second drive transistor, a first bias resistor, and a second bias resistor. The control terminal of the input switch is connected to an external drive signal through a first bias resistor, and the output terminal of the input switch is grounded. The base of the second driving transistor is connected to the input terminal of the input switch transistor, and the emitter of the second driving transistor is grounded. The base of the first driving transistor is connected to the collector of the enable switch through the second bias resistor, and the collector of the first driving transistor is connected to the power supply terminal of the power module. The emitter of the first driving transistor and the collector of the second driving transistor are connected together to the first end of the coil of the magnetic latching relay; When the enable switch is turned on, the first driving transistor is biased through the second bias resistor and turns on to generate a reset pulse.

[0012] In one implementation, when the enable switch is on and the external drive signal is not active, the input switch is off, the second drive transistor is off, and the first drive transistor is biased and turned on through the second bias resistor to generate a reset pulse.

[0013] In one embodiment, the first driving transistor is an NPN type and the second driving transistor is a PNP type.

[0014] In one embodiment, the power module includes: an isolation transformer, a rectifier diode, a first energy storage capacitor, and a second energy storage capacitor; The secondary winding of the isolation transformer is connected to the series network of the first and second energy storage capacitors through a rectifier diode. The series connection of the first energy storage capacitor and the second energy storage capacitor is connected to the second end of the coil of the magnetic latching relay.

[0015] In one embodiment, the power module further includes: a power control chip and a first switching transistor; The output terminal of the power control chip is connected to the control terminal of the first switching transistor, and the output terminal of the first switching transistor is connected to the primary winding of the isolation transformer.

[0016] This application discloses a driving circuit for a magnetic latching relay, integrating a power supply module, a detection network, an enable switch module, a drive output stage, and the magnetic latching relay. Utilizing the supply voltage, voltage and duration confirmations are established to enable the detection network to output a corresponding enable signal. When the enable signal is generated, the drive output stage automatically generates a one-time power-on reset pulse upon power-up, forcing the magnetic latching relay back to its default off state. Regardless of the initial orientation caused by vibration or impact on the incoming material, this circuit actively corrects the magnetic latching relay to a safe state upon power-up. Simultaneously, the detection network ensures that the magnetic latching relay drive power is not switched on in case of power abnormalities, fundamentally preventing the relay from unreliably executing controller commands and avoiding state mismatches. This achieves accurate control of the magnetic latching relay's state, solving the technical problem of inaccurate control of the magnetic latching relay's state. Attached Figure Description

[0017] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1A schematic diagram of a drive circuit for a magnetic latching relay according to an embodiment of this application is shown; Figure 2 This is a schematic diagram of the energy flow of a power-on process drive circuit according to an embodiment of this application. Detailed Implementation

[0019] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.

[0020] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.

[0021] It should be noted that the acquisition, storage, use, and processing of data in this application embodiment all comply with the relevant provisions of national laws and regulations.

[0022] It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of this application. However, it does not mean that the applicant has used or necessarily used the solution.

[0023] Magnetic latching relays offer advantages such as pulse drive, zero standby power consumption, and contact state retention even when power is off, making them widely used in smart grids, new energy inverters, and other applications requiring low standby power consumption. Magnetic latching relays typically only require a pulse current during state switching, relying on an internal permanent magnet to maintain the state after engagement or disengagement. However, precisely because of the permanent magnet's holding characteristic, the contact state of a magnetic latching relay may flip during transportation, drops, assembly vibrations, etc., resulting in randomness in the engagement / disengagement direction upon receiving the relay. In power equipment such as inverters and rectifiers, if the relay arrives in an "incorrectly engaged" state, a reverse current path may be created upon power-up, causing current to flow back to power devices or the front-end power supply, resulting in device breakdown, bus short circuits, or even complete unit burnout.

[0024] In related technologies, an H-bridge dual-end drive can be used, employing four switching transistors to form a full bridge. Two complementary drive signals control the direction of the relay coil current, achieving activation and deactivation. However, this method is complex to control, requires a dead zone to prevent shoot-through, and necessitates two independent drive signals, posing a risk of shoot-through between the upper and lower bridge arms. Furthermore, it suffers from high static power consumption; it also fails to address the issue of uncertain incoming material status.

[0025] Another related technology utilizes single-ended capacitor charging and discharging drive, employing two polarized capacitors connected in series. A single-ended drive signal controls a switching transistor, causing the capacitor to discharge to the coil in either the forward or reverse direction, generating pulses. This solution requires only one drive signal and has a simple circuit; however, it lacks initial power-on state management. If the drive signal terminal is in a floating or interfered state at the moment of power-on, the initial engaging / disengaging state of the relay is uncertain. More importantly, this solution completely fails to consider the issue of random orientation of the magnetic latching relay after vibration / impact, posing a risk of current backflow after installation.

[0026] A simple RC delay reset can also be used. This method adds an RC network to the front end of the drive circuit, and automatically sends a reset pulse after a delay following power-on. However, this method only makes a judgment in the single time dimension and does not make a judgment in the voltage dimension. If abnormal jitter or drop occurs during power-on, the relay may not reliably execute the controller's command after the controller issues a command, which may cause abnormal power-on of the downstream load; similarly, it cannot guarantee that it will actively correct to a safe state when the incoming material direction is incorrect.

[0027] Alternatively, a software reset can be performed using a microcontroller unit (MCU). The MCU comparator detects the power supply voltage, and when the voltage reaches a set threshold, the software controls the general-purpose input / output (GPIO) to output a reset pulse. While this method can determine the voltage, it increases MCU cost, software complexity, and the risk of failure. Furthermore, the MCU itself requires power-on settling time, which does not meet the high reliability requirements of a purely hardware-based design. Additionally, the software reset timing is typically later than the power stage power-on time, failing to prevent current backflow during power-on.

[0028] Manual sampling / pre-reset can also be used: some production lines manually check the material direction of the relay or manually reset it with external tooling before power-on. However, this method increases the production line process and cost, and cannot cover the uncertainty of the state after transportation, maintenance, or on-site installation.

[0029] In view of the above, in order to solve the aforementioned technical problems, this application provides a driving circuit for a magnetic latching relay. It should be noted that the application scenarios described in the above embodiments of this application are for the purpose of more clearly illustrating the technical solutions of this application and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those skilled in the art will understand that with the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems. The driving circuit for a magnetic latching relay provided in this application can be applied to various scenarios requiring control of the opening and closing of the magnetic latching relay.

[0030] The following is a detailed description of a driving circuit for a magnetic latching relay provided in an embodiment of this application.

[0031] Figure 1 A schematic diagram of a drive circuit for a magnetic latching relay according to an embodiment of this application is shown. Figure 1 As shown, the driving circuit of the magnetic latching relay may include: a power supply module 101, a detection network 102, an enable switch module 103, a drive output stage 104, and a magnetic latching relay 105.

[0032] Power module 101 is used to generate power supply voltage; The detection network 102 is used to acquire the supply voltage and generate an enable signal based on the supply voltage and the duration for which the supply voltage is greater than a first threshold. The enable switch module 103 includes an enable switch, the control terminal of which is connected to the detection network to receive an enable signal and determine the conduction state based on the enable signal. The power supply terminal of the drive output stage 104 is connected to the enable switch, and the output terminal is connected to the magnetic latching relay to generate a reset pulse after the enable switch is turned on. The magnetic latching relay 105 is used to be driven to the open state according to the reset pulse.

[0033] The aforementioned power supply module, also known as an isolated power supply module, can be used to provide operating power to the entire drive circuit. The aforementioned detection network can be a dual-threshold detection network, used to determine whether to generate an enable signal based on voltage and time. The aforementioned drive output stage can be called a push-pull output stage. The aforementioned enable switch can be a high-side enable switch.

[0034] Optionally, the output of the power module is connected to the input of the detection network, enabling the detection network to acquire the supply voltage. The detection network generates an enable signal when the supply voltage is greater than a first threshold and the duration of this higher voltage exceeds a second threshold. That is, the detection network verifies the supply voltage from two dimensions: "whether the voltage is high enough" and "whether the high voltage lasts long enough." Only when both conditions are met simultaneously does it generate a valid enable signal, thus excluding unstable conditions such as voltage fluctuations, spikes, and contactor bounce at power-on. The first threshold corresponds to the voltage dimension, and the second threshold corresponds to the time dimension.

[0035] Optionally, the above-mentioned enable switch module includes an enable switch, the control terminal of which is connected to the output terminal of the detection network for receiving an enable signal. The enable switch determines its conduction state based on the enable signal: when the enable signal is valid, the enable switch is on; when the enable signal is invalid (not generated), the enable switch is off. The first terminal of the enable switch is connected to the power supply terminal of the power module, and the second terminal is connected to the power supply terminal of the drive output stage, thereby providing the power supply voltage to the drive output stage when it is on, and cutting off the power supply to the drive output stage when it is off.

[0036] Optionally, the power supply terminal of the aforementioned drive output stage is connected to an enable switch, and the output terminal is connected to the coil of a magnetic latching relay, for generating a reset pulse after the enable switch is turned on.

[0037] At the instant the enable switch is turned on and the drive output stage receives power, the drive output stage automatically generates a one-time reset pulse. This reset pulse acts on the coil of the magnetic latching relay, driving the magnetic latching relay to reset to the open state. This ensures that the magnetic latching relay is in a safe position at the moment of power-on. Regardless of whether it is in the engaged or disengaged state when the material arrives, it is forcibly corrected to the default disengaged state, avoiding current backflow at the moment of power-on due to the uncertain direction of the material arrival.

[0038] A magnetic latching relay is used to be driven to the open state according to a reset pulse. After the reset is complete, an external drive signal can normally control the magnetic latching relay to open and close, realizing normal switching of working states.

[0039] As an optional implementation, such as Figure 1 As shown, the power module 101 can be an isolated flyback power supply, and may include a power control chip (IC), a first switching transistor Q1, an isolation transformer T1, a rectifier diode D1, a first energy storage capacitor C1 and a second energy storage capacitor C2.

[0040] Optionally, the output terminal of the power control chip is connected to the control terminal of the first switching transistor Q1, and the output terminal of the first switching transistor Q1 is connected to the primary winding of the isolation transformer T1. The secondary winding of the isolation transformer T1 is connected to the series network of the first energy storage capacitor C1 and the second energy storage capacitor C2 through the rectifier diode D1. The series node of the first energy storage capacitor C1 and the second energy storage capacitor C2 is connected to one end (RELAY-) of the coil of the magnetic latching relay 105. The energy storage network formed by the series connection of the first energy storage capacitor C1 and the second energy storage capacitor C2 serves as both the output filter capacitor of the isolated power supply and the driving energy storage capacitor of the coil of the magnetic latching relay 105, without the need for additional energy storage components.

[0041] In this embodiment, the detection network 102 is connected to the power module 101 to obtain the power supply voltage and generate an enable signal based on the voltage value of the power supply voltage and the duration for which the power supply voltage is greater than a first threshold.

[0042] Optionally, an enable signal is generated when the supply voltage is greater than the first threshold and the duration is greater than the second threshold. That is, an effective enable signal is generated only when the supply voltage reaches the preset voltage threshold (first threshold) and the voltage value continues to stably reach the preset time threshold (second threshold), thereby eliminating unstable situations such as voltage jitter, spike interference and contactor bounce at the moment of power-on.

[0043] Optionally, see Figure 1The detection network 102 includes a Zener diode ZD1, a delay capacitor C3, a first resistor R4, a second resistor R5, and a detection transistor Q7. The cathode of the Zener diode ZD1 is connected to the power supply terminal of the power module 101 via the first resistor R4; the first terminal of the delay capacitor C3 is connected to the cathode of the Zener diode ZD1, and the second terminal is grounded; the first terminal of the second resistor R5 is connected to the anode of the Zener diode ZD1, and the second terminal is grounded; the base of the detection transistor Q7 is connected to the junction of the anode of the Zener diode ZD1 and the second resistor R5, the emitter is grounded, and the collector is connected to the enable switch module. The breakdown voltage of the Zener diode ZD1 constitutes a first threshold, and the charging time constant of the first resistor R4 and the delay capacitor C3 constitutes a second threshold. The duration for the voltage of the delay capacitor C3 to reach the breakdown voltage of the Zener diode ZD1 constitutes the second threshold, and this duration is determined by the charging time constant of the first resistor R4 and the delay capacitor C3.

[0044] Optionally, the enable switch module 103 may include an enable switch Q5. The control terminal of the enable switch Q5 is connected to the detection network 102 to receive an enable signal and determine the conduction state based on the enable signal.

[0045] Optionally, see Figure 1 The enable switch module also includes a third resistor R3 and a switching transistor Q6; the base of the switching transistor Q6 is connected to the collector of the detection transistor Q7, and the emitter of the switching transistor Q6 is connected to the base of the enable switch through the third resistor R3; the enable switch Q5 is an enable transistor, whose emitter is connected to the power supply terminal of the power module 101, and its collector is connected to the power supply terminal of the drive output stage 104.

[0046] The power supply terminal of the drive output stage 104 is connected to the enable switch, and the output terminal is connected to the magnetic latching relay 105 to generate a reset pulse after the enable switch is turned on. Optionally, see [link to relevant documentation]. Figure 1 The drive output stage 104 includes an input switch transistor Q2, a first drive transistor Q3, a second drive transistor Q4, a first bias resistor R2, and a second bias resistor R1. The control terminal of the input switch transistor Q2 is connected to the input terminal of the external drive signal through the first bias resistor R2, and the output terminal is grounded. The base of the second drive transistor Q4 is connected to the input terminal of the input switch transistor Q2, and the emitter is grounded. The base of the first drive transistor Q3 is connected to the collector of the enable switch through the second bias resistor R1, and the collector is connected to the power supply terminal of the power module 101. The emitter and the collector of the second drive transistor Q4 are connected together to the other end (RELAY+) of the coil of the magnetic latching relay 105.

[0047] The magnetic latching relay 105 is used to drive the magnetic latching relay 105 to the open state according to a reset pulse. Specifically, when the enable switch is on and the external drive signal is not active, the input switch Q2 is off, the second drive transistor Q4 is off, and the first drive transistor Q3 is biased through the second bias resistor R1 and automatically turns on, thereby generating a one-time reset pulse to drive the magnetic latching relay 105 to be forcibly reset to the default open state. Thereafter, when the external drive signal is active normally, the input switch Q2 controls the second drive transistor Q4 to turn on, realizing the normal engagement / disengagement control of the magnetic latching relay 105.

[0048] In this embodiment, a magnetic latching relay drive circuit with isolated power supply and dual-threshold power-on self-reset is provided, including an isolated power supply module, a detection network, a high-side enable switch, a push-pull output stage, and a magnetic latching relay. The isolated power supply module generates a supply voltage VCC. The detection network confirms the power quality from two dimensions: "whether the voltage is high enough" and "whether the duration is long enough": the breakdown voltage of the Zener diode ZD1 constitutes the first voltage threshold, ensuring that VCC reaches a reliable level that can drive the coil; the charging time constant of the first resistor R4 and the delay capacitor C3 constitutes the second time threshold, providing a delay confirmation window to eliminate unstable conditions such as power-on jitter and spike interference. Only when both thresholds are simultaneously satisfied will the detection transistor Q7 conduct, thereby controlling the enable switch Q5 to conduct and connecting the power supply to the push-pull output stage. At the moment the enable switch Q5 conducts, before the external drive signal takes effect, the push-pull output stage automatically generates a one-time reset pulse, and the energy storage capacitor discharges through the relay coil, forcing the magnetic latching relay to reset to the default off state. Regardless of whether the relay is in the engaged or disengaged position upon receiving material, it is immediately corrected to a safe position upon power-up, preventing current backflow. After reset, the external single-ended drive signal can normally control the relay's engagement and disengagement, thereby fundamentally avoiding relay unreliability and achieving the technical effect of accurately controlling the state of the magnetically latched relay.

[0049] The driving circuit of the magnetic latching relay described above will be further explained below.

[0050] In one embodiment, the detection network 102 includes: a Zener diode, a delay capacitor, a first resistor, a second resistor, and a detection transistor; The cathode of the Zener diode is connected to the power supply terminal of the power module through the first resistor; The first terminal of the delay capacitor is connected to the cathode of the Zener diode, and the second terminal of the delay capacitor is grounded. The first end of the second resistor is connected to the anode of the Zener diode, and the second end of the second resistor is grounded. The base of the detection transistor is connected to the connection node between the anode of the Zener diode and the second resistor, and the emitter of the detection transistor is grounded.

[0051] In this embodiment, the detection network can be composed of a first resistor R4, a second resistor R5, a Zener diode ZD1, a delay capacitor C3, and a detection transistor Q7. The cathode of the Zener diode ZD1 is connected to the first resistor R4, and the anode is connected to the second resistor R5; the delay capacitor, also known as the third capacitor, is connected to the cathode of the Zener diode ZD1 and ground, respectively; the base of the detection transistor Q7 is connected to the junction of the anode of the Zener diode ZD1 and the second resistor R5.

[0052] In one embodiment, the detection transistor is turned on when the supply voltage is greater than a first threshold and the duration is greater than a second threshold, so as to reduce the collector voltage of the detection transistor and generate an enable signal; wherein, the enable signal is used to turn on the enable switch, the first threshold is the breakdown voltage of the Zener diode, and the second threshold is the duration for the voltage of the delay capacitor to reach the breakdown voltage of the Zener diode.

[0053] In this embodiment, by detecting the coupling between the network and the high-side enable switch, the first threshold and the second threshold are used to confirm that the voltage is "high enough" and "lasts long enough".

[0054] In one embodiment, the breakdown voltage of the Zener diode is within a preset proportional range of the rated value of the supply voltage. The rate of voltage change of the delay capacitor is determined by the resistance of the first resistor and the capacitance of the delay capacitor.

[0055] In this embodiment, the aforementioned preset ratio range can be a pre-defined ratio range, such as 70% to 80%. It should be noted that this is only an example and there is no specific limitation on the size of the preset ratio range.

[0056] Optionally, the rated supply voltage can be the rated voltage of the power supply. The first threshold can be a voltage threshold, which can be set by the Zener diode ZD1. The breakdown voltage of the Zener diode ZD1 can be configured to be 70% to 80% of the rated voltage of the power supply VCC. For example, an 18V Zener diode is selected in a 24V (V) system.

[0057] For example, during the initial power-on phase, the supply voltage VCC starts from 0V and builds up. When VCC falls below the breakdown voltage of Zener diode ZD1, ZD1 is in the off state, and the detection node voltage is pulled down to near 0V by the second resistor R5. At this time, regardless of whether the delay capacitor C3 starts charging, the base voltage of the detection transistor Q7 is below the 0.7V turn-on threshold, and the detection transistor Q7 is absolutely off.

[0058] Optionally, the first threshold is used to ensure that the state is not released before the supply voltage reaches a reliable level that can drive the magnetic latching relay coil.

[0059] Optionally, the second threshold can be a time threshold, which can be set by the first resistor R4 and the delay capacitor C3. When VCC charges the delay capacitor C3 through the first resistor R4, the voltage of the delay capacitor C3 increases exponentially according to the time constant τ = R4 × C3. Only when the voltage of the delay capacitor C3 rises to the point that the detection node reaches the breakdown voltage of the Zener diode ZD1, the Zener diode ZD1 breaks down and conducts. The second resistor R5 receives a voltage divider, and current flows through it. The voltage at the detection node reaches the base conduction threshold of the detection transistor Q7 (approximately 0.7V), and the detection transistor Q7 saturates and conducts. This charging process provides a delay confirmation window of 20 milliseconds (ms) to 100 ms. Here, τ can be a time constant.

[0060] In this embodiment, during the establishment of the power supply voltage, when the voltage of the delay capacitor is zero, the detection transistor remains off; when the power supply voltage is greater than the breakdown voltage of the Zener diode and the voltage of the delay capacitor does not reach the breakdown voltage of the Zener diode, the detection transistor remains off; when the power supply voltage is greater than the breakdown voltage of the Zener diode and the voltage of the delay capacitor reaches the breakdown voltage of the Zener diode, the detection transistor is turned on; when the detection transistor is turned on, the collector voltage of the detection transistor decreases to generate an enable signal, wherein the enable signal is used to turn on the enable switch.

[0061] Optionally, the second threshold is used to ensure that the power supply voltage is not a momentary spike or contactor bounce, but a continuous and stable DC voltage, preventing malfunctions caused by power supply jitter.

[0062] In one embodiment, the enable switch module further includes: a third resistor and a switching transistor; The base of the switching transistor is connected to the collector of the sensing transistor, and the emitter of the switching transistor is connected to the base of the enable switch through a third resistor. The enable switch is an enable transistor; the emitter of the enable switch is connected to the power supply terminal of the power module, and the collector of the enable switch is connected to the power supply terminal of the drive output stage.

[0063] In this embodiment, the enable switch module may include an enable switch, a third resistor, and a switching transistor. The enable switch Q5 may be an enable transistor, and may be a PNP type. The emitter of the enable switch is connected to the power supply VCC, the collector is connected to the high-side power supply node of the push-pull output stage, and the base is connected to the emitter of the switching transistor Q6 via the third resistor R3. The collector of the switching transistor is grounded.

[0064] In one embodiment, the drive output stage includes: an input switch transistor, a first drive transistor, a second drive transistor, a first bias resistor, and a second bias resistor. The control terminal of the input switch is connected to an external drive signal through a first bias resistor, and the output terminal of the input switch is grounded. The base of the second driving transistor is connected to the input terminal of the input switch transistor, and the emitter of the second driving transistor is grounded. The base of the first driving transistor is connected to the collector of the enable switch through the second bias resistor, and the collector of the first driving transistor is connected to the power supply terminal of the power module. The emitter of the first driving transistor and the collector of the second driving transistor are connected together to the first end of the coil of the magnetic latching relay; When the enable switch is turned on, the first driving transistor is biased through the second bias resistor and turns on to generate a reset pulse.

[0065] In one implementation, when the enable switch is on and the external drive signal is not active, the input switch is off, the second drive transistor is off, and the first drive transistor is biased and turned on through the second bias resistor to generate a reset pulse.

[0066] In this embodiment, the drive output stage can be a push-pull output stage, which can be composed of a first drive transistor Q3 (NPN type) and a second drive transistor Q4 (PNP type). The bases of the second drive transistor Q4 and the first drive transistor Q3 are connected to the high-side power supply node through a second bias resistor R1. The emitter of the first drive transistor Q3 and the collector of the second drive transistor Q4 are connected to the other end (RELAY+) of the magnetic latching relay RELAY coil. The base of the first drive transistor Q3 is connected to the collector of the enable switch Q5 through the second bias resistor R1, and the base of the second drive transistor Q4 is connected to the collector of the input switch Q2. The input switch Q2 can be a MOSFET, specifically an N-channel transistor. The base of the input switch Q2 is connected to the external drive signal input terminal RELAY_DR through the first bias resistor R2, and its emitter is grounded.

[0067] Optionally, after the reset is complete, the daily activation / deactivation of the relay needs to be determined by RELAY_DR.

[0068] In one embodiment, the first driving transistor is an NPN type and the second driving transistor is a PNP type.

[0069] In one embodiment, the power module includes: an isolation transformer, a rectifier diode, a first energy storage capacitor, and a second energy storage capacitor; The secondary winding of the isolation transformer is connected to the series network of the first and second energy storage capacitors through a rectifier diode. The series connection of the first energy storage capacitor and the second energy storage capacitor is connected to the second end of the coil of the magnetic latching relay.

[0070] The power module also includes: a power control chip and a first switching transistor; The output terminal of the power control chip is connected to the control terminal of the first switching transistor, and the output terminal of the first switching transistor is connected to the primary winding of the isolation transformer.

[0071] In this embodiment, the isolated power supply module may include a power control chip (IC), a first switching transistor Q1, an isolation transformer T1, a rectifier diode D1, a first energy storage capacitor C1, and a second energy storage capacitor C2.

[0072] Optionally, the output of the power control IC controls the gate of the first switching transistor Q1. The drain of the first switching transistor Q1 is connected to one end of the primary winding of the isolation transformer T1. One end of the secondary winding of the isolation transformer T1 is connected via a rectifier diode D1 to an energy storage network consisting of a first energy storage capacitor C1 and a second energy storage capacitor C2 connected in series. The series connection node of the first energy storage capacitor C1 and the second energy storage capacitor C2 is connected to one end of the coil of the magnetic latching relay RELAY (RELAY-).

[0073] Table 1 is the logic table for the coordination and interlocking of the dual threshold. As shown in Table 1, during the power-on phase, the power is turned on instantaneously, the voltage of the delay capacitor C3 is zero, the detection transistor Q7 is turned off, the switching transistor Q6 is turned off, and the enable switch Q5 is turned off. At this time, the VCC power supply is in the unstable stage of just being established, and the driving power supply for the relay action is cut off by the circuit.

[0074] During the delayed confirmation phase, the first threshold is met, but the second threshold is not. As the isolated power supply is established, VCC reaches the breakdown voltage of Zener diode ZD1 (e.g., 18V), and the delay capacitor C3 begins charging. However, the charging voltage of the delay capacitor C3 has not yet reached the breakdown voltage of Zener diode ZD1. At this time, there is no current in the second resistor R5, and the voltage across the second resistor R5 has not yet reached the conduction threshold of the detection transistor Q7. The detection transistor Q7 remains off, and the enable switch Q5 remains off. The power instability phase is skipped.

[0075] During the power supply confirmation phase, both threshold values ​​are simultaneously met. When VCC remains higher than the breakdown voltage of Zener diode ZD1, and the charging voltage of delay capacitor C3 reaches the breakdown voltage point of Zener diode ZD1, current flows through the second resistor R5, causing the detection node voltage to reach 0.7V, at which point the detection transistor Q7 saturates and conducts. After the detection transistor Q7 conducts, the switching transistor Q6 simultaneously conducts because its base is pulled low. The base of enable switch Q5 is pulled low through the third resistor R3, and enable switch Q5, being a PNP transistor, reliably conducts at this time. The relay drive power supply is then switched on, awaiting the formal control of the external drive signal RELAY_DR.

[0076] Upon power-on, the forced reset enable switch Q5 reliably turns on the PNP transistor. At this time, the relay drive power is switched on. The external drive signal RELAY_DR is not yet valid; input switch Q2 is off, the second drive transistor Q4 is off, and the first drive transistor Q3 is biased through the second bias resistor R1, automatically generating a one-time power-on reset pulse, forcing the magnetically latched relay RELAY back to its default off state. After the reset is complete, it awaits the formal control of the external drive signal RELAY_DR.

[0077] Table 1 is the coordination and interlocking logic table for dual thresholds.

[0078] In this embodiment, regardless of the vibration or impact the magnetic latching relay RELAY experiences during transportation and assembly, it is automatically reset to the default disconnected state via a hardware reset pulse upon power-on, fundamentally eliminating the risk of current backflow and machine damage, and resolving the problem of uncertain incoming material status. Simultaneously, dual-threshold pure hardware verification is implemented. The first voltage threshold is achieved through Zener diode ZD1, and the second time threshold is achieved through first resistor R4 and delay capacitor C3. The power-on reset lock is released only when both thresholds are simultaneously satisfied, resulting in reliability far exceeding that of a single RC delay or single voltage detection.

[0079] During the above process, the relay will not activate during power fluctuations or gradual increases; once the power supply is truly stable, the power-on reset is performed only once, achieving zero false activation. Furthermore, the external single-ended drive signal RELAY_DR is still sufficient for subsequent engagement / disengagement control, eliminating the need to modify it to a complex double-ended signal.

[0080] Optionally, this embodiment integrates isolation and drive, with the isolation flyback power supply and drive circuit sharing VCC. The first energy storage capacitor C1 and the second energy storage capacitor C2 serve as both filter capacitors and drive energy storage capacitors, resulting in a compact circuit. The production line no longer requires manual detection of the relay's incoming material direction or external processing for resetting, reducing production costs and human error.

[0081] Figure 2 This is a schematic diagram of the energy flow of a power-on drive circuit according to an embodiment of this application, as shown below. Figure 2 As shown, in this embodiment, the energy flow during the power-on process of the driving circuit includes two parts: control energy flow (corresponding to the dashed line) and driving energy flow (corresponding to the solid line).

[0082] When powered on, the input DC power supply provides input power to the isolation power module. The power control chip controls the high-frequency switching of the first switching transistor Q1, driving the isolation transformer T1 to couple and transfer the input power to the secondary side. The secondary side power is rectified by the rectifier diode D1, filtered and stored by the first energy storage capacitor C1 and the second energy storage capacitor C2, and then converted into a stable supply voltage VCC to provide working power to each module of the drive circuit.

[0083] During the establishment of the power supply voltage VCC, the detection network acquires the power supply voltage and performs dual threshold judgment on the voltage value and duration of the power supply voltage: when the voltage value of the power supply voltage does not reach the first threshold, or when the duration of the power supply voltage greater than the first threshold does not reach the second threshold, the detection network does not generate an enable signal, the enable switch Q5 remains off, the power supply to the drive output stage is cut off, the drive energy flow cannot be established, and the relay drive power supply is in the off state, thereby avoiding the stage of unstable power supply voltage in the early stage of power-on.

[0084] When the supply voltage is greater than the first threshold and the duration of the voltage being greater than the first threshold reaches the second threshold, the detection network generates an enable signal. After being amplified by the switching transistor Q6, the base of the enable switch Q5 is pulled low, causing the enable switch Q5 to conduct and control the energy flow. The supply voltage VCC is used by Q5 to establish the drive power supply for the drive output stage.

[0085] At the moment Q5 is turned on, the external drive signal has not yet taken effect. The input switch Q2 and the second drive transistor Q4 remain off. The first drive transistor Q3 is biased through the second bias resistor R1 and is automatically turned on. The drive energy flows through the supply voltage VCC, the enable switch Q5, the first drive transistor Q3, the coil of the magnetic latching relay RELAY, and forms a loop at the series node of the first energy storage capacitor C1 and the second energy storage capacitor C2. The energy storage capacitors release the stored energy, and the drive energy flow provides a one-time reset pulse current to the relay coil, forcibly resetting the magnetic latching relay RELAY to the open state.

[0086] After power-on reset, the external drive signal takes effect, and the input switch Q2 is turned on through the first bias resistor R2, which in turn controls the second drive transistor Q4 to turn on, driving the energy flow to flow in reverse through the relay coil, thereby realizing the normal engagement and disengagement control of the magnetic latching relay RELAY.

[0087] In this embodiment, the Zener diode ZD1 can be replaced with a precision adjustable parallel regulator (e.g., TL431) or a reference source with temperature compensation to improve voltage detection accuracy and temperature stability.

[0088] Optionally, the bipolar detection stage topology, which is composed of switching transistor Q6 and detection transistor Q7, can be replaced by a combination of optocoupler + MOSFET, or a comparator (e.g., LM393) plus reference source structure, to achieve higher detection sensitivity and more flexible threshold setting.

[0089] Optionally, the isolated power supply topology can be replaced by a flyback isolated power supply consisting of a power control IC, a first switching transistor Q1, an isolation transformer T1, and a rectifier diode D1. It can be replaced by a forward, flyback, or isolated Buck topology to accommodate different input voltage ranges and power levels.

[0090] Alternatively, the energy storage network structure can replace the series structure of the first energy storage capacitor C1 and the second energy storage capacitor C2 with a single non-polar film capacitor or a single electrolytic capacitor in conjunction with a polarity switching circuit, but this will sacrifice some energy storage efficiency.

[0091] Optionally, the push-pull output stage device can replace the bipolar push-pull stage composed of the first driver transistor Q3 (NPN) and the second driver transistor Q4 (PNP) with an N-channel + P-channel MOSFET pair to reduce the on-state voltage drop and switching losses, making it suitable for driving magnetic latching relays with larger currents.

[0092] Optionally, the default reset direction is "disconnected". The polarity of the push-pull output stage can be reversed according to application requirements, so that the default reset direction is "engaged" to adapt to systems with different safety policies.

[0093] In this embodiment, the enable switch Q5 conducts after power-on and the dual threshold conditions are met, automatically generating a one-time reset pulse in conjunction with the push-pull output stage. This allows the magnetic latching relay to be forcibly reset to the default safe state without any external control signal. This mechanism ensures from the circuit structure that the magnetic latching relay is corrected to a safe position instantly upon power-on, regardless of the engagement / disengagement direction when the material arrives, fundamentally solving the problem of uncertain relay state caused by incoming material vibration / impact.

[0094] The detection network consists of a Zener diode ZD1, a first resistor R4, a second resistor R5, a delay capacitor C3, and a detection transistor Q7. It achieves pure hardware verification of power quality through interlocking of two independent thresholds: the first threshold is a voltage threshold, set by the breakdown voltage of the Zener diode ZD1, ensuring the supply voltage reaches a level that reliably drives the relay coil; the second threshold is a time threshold, set by the charging time constant of the first resistor R4 and the delay capacitor C3, ensuring the supply voltage remains stable rather than experiencing momentary spikes or jitters. The two thresholds are interlocked through a circuit coupling between the Zener diode ZD1, the first resistor R4, and the delay capacitor C3, forming an interlock window. If either threshold is not met, no enable signal is generated; both are indispensable, thus ensuring the reliability of the drive voltage while preventing malfunctions caused by power supply jitter.

[0095] The enable switch Q5 not only serves as the power switch for the push-pull output stage, but its on / off state itself participates in the formation of the power-on reset pulse. The switching transistor Q6 and the sensing transistor Q7 form a complementary and interlocked amplification stage (Sziklai pair), ensuring that Q5 remains on after the power supply is normal, and remains stable after the initial power-on reset action is completed, in order to wait for the normal control command of the external drive signal.

[0096] In the isolated power supply module, the first energy storage capacitor C1 and the second energy storage capacitor C2 are connected in series. The series network serves as both the output filter capacitor of the isolated power supply and the driving energy pool for the magnetic latching relay coil. When the reset pulse is generated, the electrical energy stored in the energy storage capacitors is released through the relay coil to form the driving current. Therefore, no additional energy storage components are needed, resulting in a compact circuit structure and low cost.

[0097] It should also be noted that the exemplary embodiments mentioned in this application describe the driving circuit of this application based on a series of device structures. However, this application is not limited to the specific structure of the above embodiments. Those skilled in the art can adjust the connection relationship and parameters of each module according to actual needs, and can also combine the features of each embodiment.

[0098] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.

[0099] The above are merely specific embodiments of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the modules and units described above have been described in detail in the foregoing embodiments, and will not be repeated here. It should be understood that the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the scope of the technology disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application.

Claims

1. A driving circuit for a magnetic latching relay, characterized in that, The driving circuit of the magnetic latching relay includes: a power supply module, a detection network, an enable switch module, a drive output stage, and the magnetic latching relay. The power module is used to generate the power supply voltage; The detection network is used to acquire the power supply voltage and generate an enable signal based on the power supply voltage and the duration during which the power supply voltage is greater than a first threshold. The enable switch module includes an enable switch, the control terminal of which is connected to the detection network to receive the enable signal and determine the conduction state based on the enable signal. The power supply terminal of the drive output stage is connected to the enable switch, and the output terminal is connected to the magnetic latching relay, which is used to generate a reset pulse after the enable switch is turned on; The magnetic latching relay is used to be driven to the open state according to the reset pulse; The detection network includes: a Zener diode, a delay capacitor, and a detection transistor; The detection transistor is turned on when the supply voltage is greater than a first threshold and the duration is greater than a second threshold, so as to reduce the collector voltage of the detection transistor and generate the enable signal.

2. The driving circuit of the magnetic latching relay according to claim 1, characterized in that, The detection network further includes: a first resistor and a second resistor; The cathode of the Zener diode is connected to the power supply terminal of the power module through the first resistor; The first terminal of the delay capacitor is connected to the cathode of the Zener diode, and the second terminal of the delay capacitor is grounded. The first end of the second resistor is connected to the anode of the Zener diode, and the second end of the second resistor is grounded; The base of the detection transistor is connected to the connection node between the anode of the Zener diode and the second resistor, and the emitter of the detection transistor is grounded.

3. The driving circuit of the magnetic latching relay according to claim 2, characterized in that, The enable signal is used to turn on the enable switch, the first threshold is the breakdown voltage of the Zener diode, and the second threshold is the duration for which the voltage of the delay capacitor reaches the breakdown voltage of the Zener diode.

4. The driving circuit of the magnetic latching relay according to claim 3, characterized in that, The breakdown voltage of the Zener diode is within a preset ratio range of the rated value of the supply voltage; The rate of voltage change of the delay capacitor is determined by the resistance value of the first resistor and the capacitance value of the delay capacitor.

5. The driving circuit of the magnetic latching relay according to claim 2, characterized in that, The enable switch module also includes: a third resistor and a switching transistor; The base of the switching transistor is connected to the collector of the detection transistor, and the emitter of the switching transistor is connected to the base of the enable switch through the third resistor. The enable switch is an enable transistor; the emitter of the enable switch is connected to the power supply terminal of the power module, and the collector of the enable switch is connected to the power supply terminal of the drive output stage.

6. The driving circuit of the magnetic latching relay according to claim 1, characterized in that, The drive output stage includes: an input switch transistor, a first drive transistor, a second drive transistor, a first bias resistor, and a second bias resistor; The control terminal of the input switch is connected to an external drive signal through the first bias resistor, and the output terminal of the input switch is grounded. The base of the second driving transistor is connected to the input terminal of the input switch transistor, and the emitter of the second driving transistor is grounded; The base of the first driving transistor is connected to the collector of the enable switch through the second bias resistor, and the collector of the first driving transistor is connected to the power supply terminal of the power module. The emitter of the first driving transistor and the collector of the second driving transistor are both connected to the first end of the coil of the magnetic latching relay; When the enable switch is turned on, the first driving transistor is biased through the second bias resistor and turns on to generate the reset pulse.

7. The driving circuit of the magnetic latching relay according to claim 6, characterized in that, When the enable switch is on and the external drive signal is not active, the input switch is off, the second drive transistor is off, and the first drive transistor is biased and turned on through the second bias resistor to generate the reset pulse.

8. The driving circuit for the magnetic latching relay according to claim 6, characterized in that, The first driving transistor is NPN type, and the second driving transistor is PNP type.

9. The driving circuit of the magnetic latching relay according to claim 1, characterized in that, The power module includes: an isolation transformer, a rectifier diode, a first energy storage capacitor, and a second energy storage capacitor; The secondary winding of the isolation transformer is connected to the series network of the first energy storage capacitor and the second energy storage capacitor through the rectifier diode; The series connection node of the first energy storage capacitor and the second energy storage capacitor is connected to the second end of the coil of the magnetic latching relay.

10. The driving circuit of the magnetic latching relay according to claim 9, characterized in that, The power module further includes: a power control chip and a first switching transistor; The output terminal of the power control chip is connected to the control terminal of the first switching transistor, and the output terminal of the first switching transistor is connected to the primary winding of the isolation transformer.