Driving circuit and electronic device

CN122951625APending Publication Date: 2026-10-20SHENZHEN CHANGTIAN INTELLIGENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611182116.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-05
Publication Date
2026-10-20

AI Technical Summary

Technical Problem

单线圈控制的方案响应时间较长,通常为十几毫秒甚至更长,在短路或过流时容易导致安全问题,使电路和器件损坏

Benefits of technology

[0014]本申请实施例提供的一种驱动电路和电子设备,可以利用逻辑控制单元控制两个线圈,并通过设置两个线圈实现对继电器的通断,缩短继电器的响应时间,有效保护后端电路和设备安全。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

This invention discloses a driving circuit and an electronic device. The driving circuit includes a first driving unit, a second driving unit, a logic control unit, and a boost unit. One end of the first driving unit is connected to a power supply, and the other end is connected to a first coil. One end of the second driving unit is connected to a power supply via the boost unit, and the other end is connected to a second coil. The logic control unit is connected to the first coil via the first driving unit and to the second coil via the second driving unit. The logic control unit controls the operation of the first and second driving units based on received first and second input signals. The first input signal controls the operation of the first driving unit, and the second input signal controls the operation of the second driving unit. Devices using this driving circuit can effectively shorten the response time of relays and protect the safety of downstream circuits and equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of relay circuit technology, and in particular to a drive circuit and electronic device. Background Technology

[0002] Existing relays are generally single-coil designs, with a single coil controlling the relay's on / off state. Single-coil control schemes have long response times, typically tens of milliseconds or even longer, which can easily lead to safety issues and damage to circuits and components during short circuits or overcurrents. Summary of the Invention

[0003] This invention provides a driving circuit and electronic device that can control two coils using a logic control unit, and achieve the switching on and off of a relay by setting the two coils, thereby shortening the relay response time and effectively protecting the safety of the back-end circuits and equipment.

[0004] This invention provides a driving circuit for driving a relay to operate. The relay includes a first coil and a second coil. The driving circuit includes a first driving unit, a second driving unit, a logic control unit, and a boost unit. One end of the first driving unit is connected to a power source, and the other end of the first driving unit is connected to the first coil; One end of the second drive unit is connected to the power supply through the boost unit, and the other end of the second drive unit is connected to the second coil; The logic control unit is connected to the first coil via the first drive unit; The logic control unit is used to control the first drive unit to work according to the received first input signal and second input signal, wherein the first input signal is used to control the first drive unit to work. The second input signal is divided into a first branch signal and a second branch signal. The first branch signal is used to control the operation of the second drive unit, and the second branch signal is used to assist the first input signal in controlling the operation of the first drive unit.

[0005] In some embodiments, the logic control unit includes AND gates and NOT gates; The input terminal of the NOT gate is connected to the input terminal of the second input signal and the second driving unit to obtain the second control signal, and outputs the second control signal to the second driving unit to control the second coil to work; the output terminal of the NOT gate is connected to the input terminal of the AND gate to perform an inversion operation on the second branch signal. The two input terminals of the AND gate are respectively connected to the input terminal of the first input signal and the NOT gate. The output terminal of the AND gate is connected to the first driving unit. It is used to perform an AND operation on the first input signal and the inverted second branch signal to obtain a first control signal, and output the first control signal to the first driving unit to control the first coil to work.

[0006] In some embodiments, either the first control signal or the second control signal is a high-level signal, and the other is a low-level signal. The high-level signal is used to control the operation of the corresponding coil.

[0007] In some embodiments, the first driving unit includes a first driving branch and a first switching transistor. A first end of the first switching transistor is connected to the power supply, a second end of the first switching transistor is connected to the first coil, and a control end of the first switching transistor is connected to the logic control unit through the first driving branch. The second drive unit includes a second drive branch and a second switch. The first end of the second switch is connected to the power supply, the second end of the second switch is connected to the second coil, and the control end of the second switch is connected to the logic control unit through the second drive branch.

[0008] In some embodiments, the first switch and the second switch are field-effect transistors; The first driving branch and the second driving branch are gate driving circuits.

[0009] In some embodiments, the boost unit includes a DC-DC converter, a diode, and a current-limiting resistor arranged in series. One end of the DC-DC converter is also connected to the power supply, and the other end of the current-limiting resistor is also connected to the second driving unit.

[0010] In some embodiments, the drive circuit further includes an energy storage unit, one end of which is connected to the boost unit and the other end of which is connected to the second drive unit.

[0011] In some embodiments, the drive circuit further includes a sampling resistor connected in series in the grounding circuit of the first coil of the relay.

[0012] In some embodiments, the logic control unit, the first driving unit, the second driving unit, and the sampling resistor can be integrated into the same chip for control.

[0013] This application also provides an electronic device, including the drive circuit and relay described in any of the above embodiments.

[0014] The present application provides a driving circuit and electronic device that can control two coils using a logic control unit, and achieve the switching on and off of a relay by setting the two coils, thereby shortening the relay response time and effectively protecting the safety of the back-end circuits and equipment. Attached Figure Description

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

[0016] Figure 1 This is a block diagram of a driving circuit system according to an embodiment of the present invention.

[0017] Figure 2 This is a schematic diagram of a first driving circuit according to an embodiment of the present invention.

[0018] Figure 3 This is a truth table diagram of a logic control unit according to an embodiment of the present invention.

[0019] Figure 4 This is a schematic diagram of a second driving circuit according to an embodiment of the present invention.

[0020] In the diagram: 1. Drive circuit; 11. First drive unit; 111. First drive branch; Q1. First switch; 12. Second drive unit; 121. Second drive branch; Q2. Second switch; 13. Logic control unit; 131. AND gate; 132. NOT gate; 14. Boost unit; 141. DC-DC converter; D1. Diode; R1. Current limiting resistor; 15. Energy storage unit; C1. Energy storage capacitor; 2. Relay; 21. First coil; 22. Second coil; R2. Sampling resistor. Detailed Implementation

[0021] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0022] This invention provides a driving circuit 1 for driving a relay 2 to operate. The relay 2 includes a first coil 21 and a second coil 22, as shown below. Figure 1 and Figure 2 As shown, the driving circuit 1 includes a first driving unit 11, a second driving unit 12, a logic control unit 13, and a boost unit 14; One end of the first driving unit 11 is connected to a power source, and the other end of the first driving unit 11 is connected to the first coil 21; One end of the second drive unit 12 is connected to the power supply through the boost unit 14, and the other end of the second drive unit 12 is connected to the second coil 22; The logic control unit 13 is connected to the first coil 21 through the first drive unit 11; The logic control unit 13 is used to control the first drive unit 11 to work according to the received first input signal Signal_A and second input signal Signal_B. The first input signal Signal_A is used to control the first drive unit 11 to work. The second input signal Signal_B is divided into a first branch signal Signal_B1 and a second branch signal Signal_B2. The first branch signal Signal_B1 is used to control the operation of the second drive unit 12, and the second branch signal Signal_B2 is used to assist the first input signal Signal_A in controlling the operation of the first drive unit 11.

[0023] In one example, the drive circuit 1 includes a logic control unit 13, a first drive unit 11, a second drive unit 12, and a boost unit 14. The drive circuit 1 is used to drive a dual-coil relay 2, which includes a first coil 21 and a second coil 22. The first coil 21 serves as a closing holding coil, controlling the relay 2 to close and maintain it in the closed state; the second coil 22 serves as a disconnecting coil, controlling the relay 2 to open.

[0024] In the drive circuit 1, one output terminal of the power supply Vdd is connected to the input terminal of the first drive unit 11, and the output terminal of the first drive unit 11 is connected to the first coil 21. The other output terminal of the power supply Vdd is connected to the input terminal of the boost unit 14, the output terminal of the boost unit 14 is connected to the input terminal of the second drive unit 12, and the output terminal of the second drive unit 12 is connected to the second coil 22.

[0025] The logic control unit 13 has a first signal input terminal and a second signal input terminal. The first signal input terminal receives a first input signal Signal_A, and the second signal input terminal receives a second input signal Signal_B. Before entering the logic control unit 13, the second input signal Signal_B is divided into a first branch signal Signal_B1 and a second branch signal Signal_B2. These two branch signals are the same signal, meaning they can both be logically understood as the second input signal Signal_B, but they have different flows and functions. The first branch signal Signal_B1 is directly transmitted to the control terminal of the second drive unit 12 as the second control signal Out_B, used to independently control the operation of the second drive unit 12, thereby controlling the power-on and power-off of the second coil 22. The second branch signal Signal_B2 enters the logic processing section inside the logic control unit 13, participating in logical operations together with the first input signal Signal_A. The logic control unit 13 determines the level of the first control signal Out_A based on the logical relationship between the first input signal Signal_A and the second branch signal Signal_B2, thereby controlling whether the two drive units and their corresponding coils are energized, and realizing the closing and opening of the relay 2.

[0026] After power is supplied by the power supply Vdd, the voltage is transmitted to relay 2 in two paths. One path directly supplies the first drive unit 11 to drive the first coil 21, which serves as the closing and holding coil. Since the closing and holding of relay 2 only requires providing the electromagnetic force to overcome the contact spring pressure and maintain contact, the response speed requirement is relatively low. However, the core task of the disconnecting coil is to separate the relay 2 contacts in the shortest possible time under abnormal conditions such as short circuits or overcurrents, achieving rapid protection. Therefore, the voltage required for the relay 2 coil to disconnect is higher than the voltage required for the relay 2 coil to close. Therefore, the other path supplies the voltage to the second drive unit 12 through the boost unit 14 to drive the second coil 22, which serves as the disconnecting coil.

[0027] Meanwhile, the logic control unit 13 receives the external first input signal Signal_A and the second input signal Signal_B, and generates control signals internally through logic control. It adjusts the first coil 21 and the second coil 22 of the relay 2 to close or open according to different situations, thereby ensuring the safety of the circuit and the downstream load.

[0028] The drive circuit 1 uses two independent coils to handle the closing and holding operations respectively. When a rapid disconnection is required, the dedicated disconnecting coil can be energized to provide additional reverse electromagnetic force, accelerating contact separation and shortening the disconnection time of the relay 2. In the normal closed state, only the closing holding coil works, which facilitates subsequent low-power current control.

[0029] In some embodiments, the logic control unit 13 includes an AND gate 131 and a NOT gate 132; The input terminal of the NOT gate 132 is connected to the input terminal of the second input signal Signal_B and the second driving unit 12 to obtain the second control signal Out_B, which is used to control the second coil 22 to work; the output terminal of the NOT gate 132 is connected to the input terminal of the AND gate 131, which is used to invert the second branch signal Signal_B2. The two input terminals of the AND gate 131 are respectively connected to the input terminal of the first input signal Signal_A and the NOT gate 132. The output terminal of the AND gate 131 is connected to the first driving unit 11 and is used to perform an AND operation on the first input signal Signal_A and the inverted second branch signal Signal_B2 to obtain the first control signal Out_A. The first control signal Out_A is then output to the first driving unit 11 to control the first coil 21 to work.

[0030] In one example, the logic control unit 13 includes an AND gate 131 and a NOT gate 132. The logic control unit 13 acquires a first input signal Signal_A and a second input signal Signal_B through two signal input terminals. The first input signal Signal_A is used to close relay 2, and the second input signal Signal_B is used to open relay 2. The input terminal of the NOT gate 132 is connected to the second input signal Signal_B and is used to invert the second branch signal Signal_B2 in the second input signal Signal_B to generate an inverted signal Signal_B'. The input terminal of the AND gate 131 is connected to the first input signal Signal_A and is used to perform an AND operation between the first input signal Signal_A and the resulting inverted signal Signal_B'.

[0031] The two input signals are processed by the NOT gate 132 circuit inside the logic control unit 13. In practical applications, the input node of the second input signal Signal_B simultaneously leads out two paths, forming the first branch signal Signal_B1 and the second branch signal Signal_B2. The first branch signal Signal_B1 is directly led out from this node and connected to the control terminal of the second drive unit 12, serving as the second control signal Out_B to directly control the operation of the second coil 22. Subsequently, an inversion logic operation is performed on the second branch signal Signal_B2 input to the logic control unit 13. The AND gate 131 circuit inside the logic control unit 13 inputs the first input signal Signal_A and the inverted signal Signal_B' together into the AND gate 131, performs an AND logic operation, and outputs the result as the first control signal Out_A to control the operating state of the first drive unit 11 and the first coil 21.

[0032] The logic control unit 13 achieves logical interlocking of the two coil control signals by using a simple combination of AND gate 131 and NOT gate 132, effectively avoiding the inability to disconnect due to signal conflicts or logical errors. The driving method is entirely based on hardware logic AND gate 131 and NOT gate 132, requiring no complex software calculations and offering extremely fast response speed. Furthermore, the use of logic circuits results in clear and concise logic, facilitating integration within the chip or circuit construction, making implementation and verification easy, and ensuring the safety of relay 2 and its downstream circuitry.

[0033] In some embodiments, either the first control signal Out_A or the second control signal Out_B is a high-level signal and the other is a low-level signal, wherein the high-level signal is used to control the operation of the corresponding coil.

[0034] In one example, the operation logic of the logic control unit 13 is: Out_A = Signal_A AND (NOTSignal_B), Out_B = Signal_B. Figure 3 As shown, the outputs and coil operating states corresponding to all input combinations are as follows: When the first input signal Signal_A is low and the second input signal Signal_B is low, the first control signal Out_A is low and the second input signal Signal_B is low. Neither the first coil 21 nor the second coil 22 is energized, and the relay 2 maintains its current state.

[0035] When the first input signal Signal_A is low and the second input signal Signal_B is high, the first control signal Out_A is low and the second input signal Signal_B is high. Only the second coil 22 is powered on and the relay 2 performs the disconnection action.

[0036] When the first input signal Signal_A is high and the second input signal Signal_B is low, the first control signal Out_A is high and the second input signal Signal_B is low. Only the first coil 21 is energized and the relay 2 performs the closing and holding action.

[0037] When the first input signal Signal_A is high and the second input signal Signal_B is high, the first control signal Out_A is low and the second input signal Signal_B is high. Only the second coil 22 is powered on and the relay 2 performs the disconnection action.

[0038] That is, when the second input signal Signal_B is high, regardless of whether the first input signal Signal_A is high or low, the first control signal Out_A is low, while the second control signal Out_B is high, thus ensuring that the second coil 22 has the highest power-on priority. When the first input signal Signal_A is high and the second input signal Signal_B is low, the first control signal Out_A is output to the first drive unit 11, controlling the internal switch of the first drive unit 11 to turn on, the first coil 21 is powered on, and the relay 2 performs a closing action and maintains the closed state.

[0039] When the second input signal Signal_B is high, the second input signal Signal_B is output to the second drive unit 12, controlling the internal switch of the second drive unit 12 to be turned on, the second coil 22 is powered on, and the relay 2 performs the disconnection action; at the same time, after the inversion operation and AND operation, the first control signal Out_A is forced to low level, the first coil 21 is in the de-energized state and does not participate in the operation.

[0040] The purpose of the above logic design is to give the disconnection action corresponding to the second coil 22 a higher priority. Even if both input signals are valid at the same time, only the relay 2 disconnection operation will be performed, ensuring that in fault scenarios such as short circuits and overcurrents, relay 2 can prioritize disconnection protection.

[0041] In some embodiments, the first drive unit 11 includes a first drive branch 111 and a first switch Q1. The first end of the first switch Q1 is connected to the power supply, the second end of the first switch Q1 is connected to the first coil 21, and the control end of the first switch Q1 is connected to the logic control unit 13 through the first drive branch 111. The second drive unit 12 includes a second drive branch 121 and a second switch Q2. The first end of the second switch Q2 is connected to the power supply, and the second end of the second switch Q2 is connected to the second coil 22. The control end of the second switch Q2 is connected to the logic control unit 13 through the second drive branch 121.

[0042] In one example, the first drive unit 11 includes a first drive branch 111 and a first switch Q1. The first terminal of the first switch Q1 is connected to the output of the power supply Vdd, the second terminal is connected to one end of the first coil 21, and the control terminal is connected to the output of the first drive branch 111. The input of the first drive branch 111 receives a first control signal Out_A generated by the logic control unit 13. When the first control signal Out_A is high, the first drive branch 111 converts the high level into a voltage suitable for turning on the first switch Q1, thus turning on the first switch Q1 and energizing the first coil 21. When the first control signal Out_A is low, the first switch Q1 is turned off.

[0043] The second drive unit 12 includes a second drive branch circuit 121 and a second switch Q2. The first terminal of the second switch Q2 is connected to the power supply Vdd via the boost unit 14 and the energy storage unit 15, and the second terminal is connected to one end of the second coil 22, with the other end of the second coil 22 grounded. The control terminal of the second switch Q2 is connected to the output of the second drive branch 121, and the input terminal of the second drive branch 121 receives the second control signal Out_B. When the second control signal Out_B is high, the second drive branch 121 drives the second switch Q2 to conduct. At this time, the pre-stored electrical energy in the energy storage unit 15 is rapidly released to the second coil 22 through the second switch Q2, generating a strong electromagnetic field that drives the relay 2 to quickly disconnect.

[0044] The drive unit uses switching transistors in conjunction with the drive branch for control, making operation simpler. At the same time, the two drive units are independent of each other and do not interfere with each other, ensuring the reliability of closing and opening operations.

[0045] In some embodiments, the first switch and the second switch are field-effect transistors; The first driving branch 111 and the second driving branch 121 are gate driving circuits.

[0046] In one example, the first and second switching transistors are preferably field-effect transistors (FETs). FETs are voltage-controlled devices with extremely high input impedance, virtually no static gate current, low drive power, and can be directly interfaced with logic circuits, simplifying drive design. Furthermore, compared to other switching transistors, FETs have faster switching speeds and lower on-resistance, enabling rapid response to control signals and reducing conduction losses. This facilitates high-current instantaneous conduction and low-power maintenance of the coil, making them easy to integrate into a single chip.

[0047] The first drive branch 111 and the second drive branch 121 are preferably gate drive circuits. The gate drive circuit can quickly realize level conversion and matching, and provide sufficient instantaneous charging and discharging current for the low-voltage control signal output by the logic control unit 13, thereby accelerating the turn-on and turn-off speed of the switching transistor, thus shortening the coil current establishment and cut-off time, and meeting the opening and closing requirements of the relay 2.

[0048] The drive unit uses field-effect transistors and a dedicated gate drive circuit for control, which has the advantages of fast switching speed, low drive power and easy logic circuit interface.

[0049] In some embodiments, the boost unit 14 includes a DC-DC converter 141, a diode D1, and a current-limiting resistor R1 arranged in series. One end of the DC-DC converter 141 is also connected to the power supply, and the other end of the current-limiting resistor is also connected to the second driving unit 12.

[0050] In one example, the boost unit 14 includes a DC-DC converter 141, a diode D1, and a current-limiting resistor R1 connected in series.

[0051] The input terminal of the DC-DC converter 141 is connected to the power supply Vdd, which boosts the lower input voltage to a higher output voltage. The output terminal of the DC-DC converter 141 is connected to the anode of the diode D1, and the cathode of the diode D1 is connected to one end of the current limiting resistor R1. The other end of the current limiting resistor R1 serves as the output terminal of the boost unit 14, which is connected to the energy storage unit 15 and the second drive unit 12 in the subsequent stage.

[0052] When the boost unit 14 is working, the DC-DC converter 141 charges the subsequent circuit with the high voltage output through diode D1 and current limiting resistor R1; the unidirectional conductivity of diode D1 can prevent the charge in the subsequent energy storage unit 15 from flowing back into the DC-DC converter 141 and causing damage to the device.

[0053] The DC-DC converter 141 boosts the lower power supply voltage Vdd to a high voltage that meets the driving requirements of the second coil 22, allowing the energy storage unit 15 to store more energy. Simultaneously, the diode D1 in the boost unit 14 provides unidirectional isolation, and the current-limiting resistor R1 limits the surge of charging current, jointly protecting the boost unit 14 and circuit components, thus improving the safety and reliability of the circuit.

[0054] In some embodiments, the drive circuit 1 further includes an energy storage unit 15, one end of which is connected to the boost unit 14 and the other end is connected to the second drive unit 12.

[0055] In one example, the drive circuit 1 also includes an energy storage unit 15. In practical applications, the energy storage unit 15 can be a large-capacity energy storage capacitor C1. The positive terminal of the energy storage capacitor C1 is connected between the current-limiting resistor R1 and the second switching transistor Q2, and the negative terminal is directly grounded.

[0056] When the drive circuit 1 is working normally, the boost unit 14 continuously charges the energy storage capacitor C1 through the current-limiting resistor R1, pre-storing electrical energy in the energy storage capacitor C1. When the relay 2 needs to be disconnected, the logic control unit 13 sends a second control signal Out_B at a high level to turn on the second switch Q2. The positive terminal of the energy storage capacitor C1 is connected to the second coil 22 through the second switch Q2. The large amount of electrical energy stored in the energy storage capacitor C1 is released instantaneously, flowing through the second coil 22 to generate a strong electromagnetic force, driving the relay 2 to disconnect quickly.

[0057] The energy storage unit 15 utilizes the energy storage characteristics of the energy storage capacitor C1 to precharge before disconnection. At the moment of disconnection, it provides an instantaneous current several times that of the power supply Vdd, enabling the second coil 22 to generate a sufficiently strong electromagnetic force. This greatly shortens the separation time of the relay 2 contacts. Furthermore, the charging and discharging process of the energy storage capacitor C1 is smooth, resulting in a small transient impact on the power supply Vdd, which is beneficial to the stable operation of other circuits.

[0058] In some embodiments, the drive circuit 1 further includes a sampling resistor connected in series in the grounding circuit of the first coil 21 of the relay 2.

[0059] In order to reduce coil power consumption and prevent abnormal disconnection after relay 2 is closed, in one example, a sampling resistor R2 can be connected in series in the grounding loop of the first coil 21.

[0060] In this circuit, one end of the first coil 21 is connected to the second terminal of the first switching transistor Q1, and the other end is connected to one end of the sampling resistor R2, with the other end of the sampling resistor R2 grounded. In practical applications, the current flowing through the first coil 21 generates a voltage across the sampling resistor R2. After the relay 2 completes its closing action, the current required to maintain the relay 2's closure can be reduced. At this time, the duty cycle of the first input signal Signal_A can be adjusted to save energy (e.g., by reducing the duty cycle). When the current is insufficient, the duty cycle can be appropriately increased, thereby achieving closed-loop dynamic adjustment of the holding current.

[0061] By monitoring the holding current in real time through sampling resistor R2 and adaptively adjusting the duty cycle of the drive signal, the coil closure and holding operation are performed with the minimum necessary current. While ensuring reliable closure of relay 2, the average power consumption and heat generation of the coil are significantly reduced, and abnormal disconnection caused by insufficient holding current due to unexpected disturbances is avoided, thus improving the long-term operational reliability of the entire drive circuit 1.

[0062] In some embodiments, the logic control unit 13, the first driving unit 11, the second driving unit 12, and the sampling resistor can be integrated into the same chip for control.

[0063] In one example, such as Figure 4 As shown, the logic control unit 13, the first drive unit 11, the second drive unit 12, and the sampling resistor R2 can be integrated on the same chip through semiconductor integration technology for control, forming a single-chip controlled dual-coil relay 2 drive device.

[0064] Integrated design significantly reduces the number of peripheral components, saving circuit board space and lowering material and assembly costs. Simultaneously, the chip exhibits superior compatibility and consistency with its internal functional modules. Direct chip control of these modules enhances the anti-interference capability and overall reliability of the drive circuit.

[0065] This application also provides an electronic device, including the driving circuit 1 and relay 2 described in any of the above embodiments. To avoid repetition, further details are omitted here.

[0066] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0067] It should be noted that in the embodiments of this application, "connection" can be understood as electrical connection. The connection between two electrical components can be a direct or indirect connection between the two electrical components. For example, the connection between A and B can be a direct connection between A and B, or an indirect connection between A and B through one or more other electrical components.

[0068] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. A driving circuit for driving a relay to operate, the relay comprising a first coil and a second coil, characterized in that, The driving circuit includes a first driving unit, a second driving unit, a logic control unit, and a boost unit; One end of the first driving unit is connected to a power source, and the other end of the first driving unit is connected to the first coil; One end of the second drive unit is connected to the power supply through the boost unit, and the other end of the second drive unit is connected to the second coil; The logic control unit is connected to the first coil via the first drive unit; The logic control unit is used to control the first drive unit to work according to the received first input signal and second input signal, wherein the first input signal is used to control the first drive unit to work. The second input signal is divided into a first branch signal and a second branch signal. The first branch signal is used to control the operation of the second drive unit, and the second branch signal is used to assist the first input signal in controlling the operation of the first drive unit.

2. The driving circuit according to claim 1, characterized in that, The logic control unit includes AND gates and NOT gates; The input terminal of the NOT gate is connected to the input terminal of the second input signal and the second driving unit to obtain the second control signal, which is used to control the operation of the second coil; the output terminal of the NOT gate is connected to the input terminal of the AND gate, which is used to invert the second branch signal. The two input terminals of the AND gate are respectively connected to the input terminal of the first input signal and the NOT gate. The output terminal of the AND gate is connected to the first driving unit. It is used to perform an AND operation on the first input signal and the inverted second branch signal to obtain a first control signal, and output the first control signal to the first driving unit to control the first coil to work.

3. The driving circuit according to claim 1, characterized in that, Either the first control signal or the second control signal is a high-level signal, and the other is a low-level signal. The high-level signal is used to control the operation of the corresponding coil.

4. The driving circuit according to claim 1, characterized in that, The first driving unit includes a first driving branch and a first switching transistor. The first end of the first switching transistor is connected to the power supply, the second end of the first switching transistor is connected to the first coil, and the control end of the first switching transistor is connected to the logic control unit through the first driving branch. The second drive unit includes a second drive branch and a second switch. The first end of the second switch is connected to the power supply, the second end of the second switch is connected to the second coil, and the control end of the second switch is connected to the logic control unit through the second drive branch.

5. The driving circuit according to claim 4, characterized in that, The first and second switching transistors are field-effect transistors; The first driving branch and the second driving branch are gate driving circuits.

6. The driving circuit according to claim 1, characterized in that, The boost unit includes a DC-DC converter, a diode, and a current-limiting resistor arranged in series. One end of the DC-DC converter is also connected to the power supply, and the other end of the current-limiting resistor is also connected to the second driving unit.

7. The driving circuit according to claim 1, characterized in that, The driving circuit also includes an energy storage unit, one end of which is connected to the boost unit and the other end of which is connected to the second driving unit.

8. The driving circuit according to claim 1, characterized in that, The driving circuit also includes a sampling resistor, which is connected in series in the grounding circuit of the first coil of the relay.

9. The driving circuit according to claim 1, characterized in that, The logic control unit, the first driving unit, the second driving unit, and the sampling resistor can be integrated into the same chip for control.

10. An electronic device, characterized in that, Includes the drive circuit and relay described in any one of claims 1-9.