A bidirectional transmission switch circuit with automatic on-off control
By combining comparators and XOR logic circuits, the automatic control management of the switching circuit is realized, which solves the problem of the difficulty in determining the turn-on and turn-off times of the switching circuit and achieves a balance between power consumption and the timeliness of signal transmission.
Patent Information
- Application Number
- CN202522803965.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-30
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2035-12-30
AI Technical Summary
Conventional switching circuits have difficulty determining the precise timing of turning on and off, resulting in high power consumption or signal transmission delays, making it difficult to achieve a balance between power consumption and timeliness.
A comparator is used to detect the voltage signal across the switching circuit in real time. The switching circuit is automatically turned on and off by an XOR logic circuit and a gate voltage drive circuit. The combination of COMP1 and COMP2 comparators and XOR logic circuit enables the automatic control and management of the switching circuit.
It effectively reduces the power consumption of the switching circuit, ensures the timely opening of the switching circuit and the accuracy of signal transmission, and avoids unnecessary switching actions caused by false detection.
Smart Images

Figure CN225020475U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of switching circuit technology, and in particular to a bidirectional transmission switch circuit with automatic on / off control. Background Technology
[0002] Conventional switching circuits remain on after startup and off after shutdown. Maintaining the switching circuit on for an extended period results in significant power consumption. If the switching circuit is shut off to reduce power consumption, it needs to be restarted when transmitting a positive voltage signal. However, it is difficult to determine the exact startup time of the switching circuit. Starting too early will result in power consumption, while starting too late will reduce the timeliness of transmitting the positive voltage signal. Therefore, it is challenging to determine the precise startup time of the switching circuit. Summary of the Invention
[0003] Purpose of the invention: In order to overcome the shortcomings of the existing technology, this utility model provides a bidirectional transmission switch circuit with automatic on / off control. The voltage signal across the switch circuit is detected in real time by a comparator, and the gate voltage drive circuit controls the on / off of the switch circuit according to the output result of the comparator, thereby realizing automatic control of the on / off of the switch circuit.
[0004] Technical Solution: To achieve the above objectives, this utility model provides a bidirectional transmission switch circuit with automatic on / off control, comprising a switch circuit, a COMP1 comparator, a COMP2 comparator, an XOR logic circuit, and a gate voltage drive circuit. One end of the switch circuit is electrically connected to the negative input terminal of the COMP1 comparator via an MP1 transistor, and the other end of the switch circuit is electrically connected to the negative input terminal of the COMP2 comparator via an MP2 transistor. The output terminals of the COMP1 and COMP2 comparators are respectively input to the two input terminals of the XOR logic circuit. The output terminal of the XOR logic circuit is electrically connected to the input terminal of the gate voltage drive circuit, and the output terminal of the gate voltage drive circuit controls the control terminal of the switch circuit. When the output terminal of the XOR logic circuit outputs a high level, the output terminal of the gate voltage drive circuit outputs a driving gate voltage.
[0005] Furthermore, one end of the switching circuit is electrically connected to the source of the MP1 transistor, the drain of the MP1 transistor is electrically connected to the negative input terminal of the COMP1 comparator, and the positive input terminal of the COMP1 comparator receives the reference voltage Vref1; the other end of the switching circuit is electrically connected to the source of the MP2 transistor, the drain of the MP2 transistor is electrically connected to the negative input terminal of the COMP2 comparator, and the positive input terminal of the COMP2 comparator receives the reference voltage Vref2.
[0006] Furthermore, when both inputs of the XOR logic circuit are at a high level or a low level, the XOR logic circuit outputs a low level; when the two inputs of the XOR logic circuit are at a high level and a low level respectively, the XOR logic circuit outputs a high level.
[0007] Furthermore, the switching circuit includes a switching transistor M1 and a switching transistor M2; the drain of the switching transistor M1 serves as one end of the switching circuit, the source of the switching transistor M1 is electrically connected to the source of the switching transistor M2, and the drain of the switching transistor M2 serves as the other end of the switching circuit; the gates of the switching transistor M1 and the gates of the switching transistor M2 serve as the control terminals of the switching circuit.
[0008] Furthermore, it also includes a control circuit; the first input terminal of the control circuit is electrically connected to the output terminal of the COMP1 comparator, and the second input terminal of the control circuit is electrically connected to the output terminal of the COMP2 comparator; the first output terminal of the control circuit is electrically connected to the gate of the MP2 transistor, and the second output terminal of the control circuit is electrically connected to the gate of the MP1 transistor.
[0009] Furthermore, when the first input terminal of the control circuit is at a high level and the second input terminal is at a low level, the first output terminal of the control circuit outputs a high level; when the first input terminal of the control circuit is at a low level and the second input terminal is at a high level, the second output terminal of the control circuit outputs a high level.
[0010] Beneficial effects: This utility model discloses a bidirectional transmission switch circuit with automatic on / off control. It uses a comparator to detect the voltage signal across the switch circuit in real time. When a positive voltage signal is present at either end of the switch circuit, the comparator corresponding to that end outputs a high level. The result of the comparator is then input to the gate voltage drive circuit via an XOR logic circuit. The gate voltage drive circuit selects whether to output a driving gate voltage or not based on the comparator's output, controlling the on / off state of the switch circuit. This achieves automatic control of the switch circuit's on / off state, effectively reducing power consumption and ensuring timely on / off operation, thus guaranteeing the transmission of positive voltage signals. Attached Figure Description
[0011] Figure 1 Circuit diagram of a bidirectional transmission switch circuit for automatic start-up and shutdown control. Detailed Implementation
[0012] The present invention will be further described below with reference to the accompanying drawings.
[0013] like Figure 1As shown, a bidirectional transmission switch circuit with automatic on / off control includes a switch circuit 1, a COMP1 comparator 2, a COMP2 comparator 3, an XOR logic circuit 4, and a gate voltage drive circuit 5. One end of the switch circuit 1 is electrically connected to the negative input terminal of the COMP1 comparator 2 via an MP1 transistor, and the other end of the switch circuit 1 is electrically connected to the negative input terminal of the COMP2 comparator 3 via an MP2 transistor. The output terminals of the COMP1 comparator 2 and the COMP2 comparator 3 are respectively input to the two input terminals of the XOR logic circuit 4. The output terminal of the XOR logic circuit 4 is electrically connected to the input terminal of the gate voltage drive circuit 5, and the output terminal of the gate voltage drive circuit 5 controls the control terminal of the switch circuit 1. When the output terminal of the XOR logic circuit 4 outputs a high level, the output terminal of the gate voltage drive circuit 5 outputs a driving gate voltage.
[0014] One end of the switching circuit 1 is electrically connected to the source of the MP1 transistor, and the drain of the MP1 transistor is electrically connected to the negative input of the COMP1 comparator 2. The positive input of the COMP1 comparator 2 receives the reference voltage Vref1. The other end of the switching circuit 1 is electrically connected to the source of the MP2 transistor, and the drain of the MP2 transistor is electrically connected to the negative input of the COMP2 comparator 3. The positive input of the COMP2 comparator 3 receives the reference voltage Vref2. The output of the COMP1 comparator 2 is electrically connected to one end of the logic circuit 4, and the output of the COMP2 comparator 3 is electrically connected to the other end of the logic circuit 4. Both the MP1 and MP2 transistors are PMOS transistors. One end of the switching circuit 1 is terminal A, and the other end is terminal B.
[0015] When both inputs of the XOR logic circuit 4 are at a high or low level, the XOR logic circuit 4 outputs a low level; when both inputs are at a high and low level respectively, the XOR logic circuit 4 outputs a high level. When the output of the XOR logic circuit 4 is high, the output of the gate voltage driving circuit 5 outputs a driving gate voltage to the control terminal of the switching circuit 1; when the output of the XOR logic circuit 4 is low, the output of the gate voltage driving circuit 5 does not output a driving gate voltage to the control terminal of the switching circuit 1. The gate voltage driving circuit 5 adopts a conventional gate voltage driving circuit, which outputs a driving gate voltage when the input is high and does not output a driving voltage when the input is low.
[0016] The switching circuit 1 includes a switching transistor M1 and a switching transistor M2; the drain of the switching transistor M1 serves as one end of the switching circuit 1, the source of the switching transistor M1 is electrically connected to the source of the switching transistor M2, and the drain of the switching transistor M2 serves as the other end of the switching circuit 1; the gates of the switching transistors M1 and M2 serve as the control terminals of the switching circuit 1. Both the switching transistors M1 and M2 are NMOS transistors.
[0017] It also includes a control circuit 6; the first input terminal of the control circuit 6 is electrically connected to the output terminal of COMP1 comparator 2, and the second input terminal of the control circuit 6 is electrically connected to the output terminal of COMP2 comparator 3; the first output terminal of the control circuit 6 is electrically connected to the gate of MP2 transistor, and the second output terminal of the control circuit 6 is electrically connected to the gate of MP1 transistor. The control circuit 6 is a general control circuit that outputs low and high levels to control the conduction and cutoff of MP1 transistor and MP2 transistor, respectively.
[0018] When the first input terminal of the control circuit 6 is at a high level and the second input terminal is at a low level, the first output terminal of the control circuit 6 outputs a high level; when the first input terminal of the control circuit 6 is at a low level and the second input terminal is at a high level, the second output terminal of the control circuit 6 outputs a high level.
[0019] Under normal conditions, both switch transistors M1 and M2 in the switching circuit are turned off, keeping the switching circuit in the off state. The outputs of comparators COMP1 and COMP2 both output a low level, the XOR logic circuit 4 outputs a low level, and the output of the gate voltage drive circuit 5 does not output a driving gate voltage. The first and second outputs of the control circuit 6 both output a low level, keeping transistors MP1 and MP2 in the on state.
[0020] When a positive voltage signal is input to one end of switching circuit 1 (i.e., at terminal A), transistor MP1 is turned on, and the positive voltage signal is input to the negative input terminal of comparator COMP1 2 through transistor MP1. Since the positive voltage signal is greater than the reference voltage Vref1, comparator COMP1 2 outputs a high level. When no positive voltage signal is input to the other end of switching circuit 1 (i.e., at terminal B), comparator COMP2 3 outputs a low level. Because comparator COMP1 2 outputs a high level and comparator COMP2 3 outputs a low level, the output terminal of XOR logic circuit 4 outputs a high level to the input terminal of gate voltage drive circuit 5. The output terminal of gate voltage drive circuit 5 drives the gate voltage to the gates of switching transistors M1 and M2 in switching circuit 1, causing both switching transistors M1 and M2 to conduct, thereby enabling switching circuit 1 to transmit the positive voltage signal.
[0021] When control circuit 6 detects that comparator 2 of COMP1 outputs a high level and comparator 3 of COMP2 outputs a low level, its first output terminal outputs a high level to the gate of transistor MP2, turning off transistor MP2. Its second output terminal continues to output a low level to the gate of transistor MP1, turning on transistor MP1. The reason for turning off transistor MP2 is that when switch circuit 1 is on, a positive voltage signal is also transmitted at the other end. If comparator 3 of COMP2 detects a positive voltage signal, it will output a high level. At this time, the output terminals of both comparator 2 of COMP1 and comparator 3 of COMP2 output a high level. Consequently, the output terminal of XOR logic circuit 4 outputs a low level to the input terminal of gate voltage drive circuit 5, causing the output terminal of gate voltage drive circuit 5 to stop outputting the gate voltage, thus turning off switch circuit 1. Therefore, turning off transistor MP2 is to prevent switch circuit 1 from being turned off due to false detection.
[0022] When a positive voltage signal is input to the other end of switching circuit 1, i.e., a positive voltage signal is input to terminal B, the MP2 transistor is turned on. The positive voltage signal is input to the negative input terminal of comparator 3 through the MP2 transistor. Since the positive voltage signal is greater than the Vref2 reference voltage, comparator 3 outputs a high level. When no positive voltage signal is input to one end of switching circuit 1, i.e., no positive voltage signal is input to terminal A, comparator 2 outputs a low level. Since comparator 2 outputs a low level and comparator 3 outputs a high level, the output terminal of XOR logic circuit 4 outputs a high level to the input terminal of gate voltage drive circuit 5. The output terminal of gate voltage drive circuit 5 outputs a driving gate voltage to the gates of switches M1 and M2 in switching circuit 1, causing both switches M1 and M2 to conduct, thereby enabling switching circuit 1 to transmit the positive voltage signal.
[0023] When the control circuit 6 detects that the COMP1 comparator 2 outputs a low level and the COMP2 comparator 3 outputs a high level, the second output terminal of the control circuit 6 outputs a high level to the gate of the MP1 transistor, causing the MP1 transistor to turn off.
[0024] The first output of control circuit 6 still outputs a low level to the gate of MP2 transistor, causing MP2 transistor to conduct. The reason for turning off MP1 transistor is that when switch circuit 1 is on, one end of switch circuit 1 will also transmit a positive voltage signal. If COMP1 comparator 2 detects the positive voltage signal, it will output a high level. At this time, the outputs of COMP1 comparator 2 and COMP2 comparator 3 both output a high level. At this time, the output of XOR logic circuit 4 outputs a low level to the input of gate voltage drive circuit 5. The output of gate voltage drive circuit 5 will then not output the driving gate voltage, causing switch circuit 1 to turn off. Therefore, turning off MP1 transistor is to prevent switch circuit 1 from turning off due to false detection.
[0025] When both ends of the switching circuit 1 transmit positive voltage signals, the COMP1 comparator 2 outputs a high level and the COMP2 comparator 3 outputs a high level. At this time, the output of the XOR logic circuit 4 outputs a low level to the input of the gate voltage drive circuit 5. The output of the gate voltage drive circuit 5 will then stop outputting the driving gate voltage, thus turning off the switching circuit 1. This avoids conflicts and interference between the positive voltage signals at both ends, which could damage the transmitted positive voltage signals.
[0026] The above description is merely a preferred embodiment of the present utility model. Those skilled in the art can make several modifications and optimizations based on the above disclosure without departing from the basic principles described above. These modifications and optimizations should be considered as the scope of protection of the present utility model as understood.
Claims
1. A bidirectional transmission switch circuit with automatic on / off control, characterized in that: The application relates to a gate voltage driving circuit, which comprises a switch circuit (1), a COMP1 comparator (2), a COMP2 comparator (3), an XOR logic circuit (4) and a gate voltage driving circuit (5); one end of the switch circuit (1) is electrically connected with the negative input end of the COMP1 comparator (2) through an MP1 transistor, and the other end of the switch circuit (1) is electrically connected with the negative input end of the COMP2 comparator (3) through an MP2 transistor; the output ends of the COMP1 comparator (2) and the COMP2 comparator (3) are respectively input into two input ends of the XOR logic circuit (4), the output end of the XOR logic circuit (4) is electrically connected with the input end of the gate voltage driving circuit (5), and the output end of the gate voltage driving circuit (5) is connected with the control end of the switch circuit (1); when the output end of the XOR logic circuit (4) outputs a high level, the output end of the gate voltage driving circuit (5) outputs a driving gate voltage.
2. The bidirectional transmission switch circuit of claim 1, wherein: One end of the switch circuit (1) is electrically connected with the source of the MP1 transistor, the drain of the MP1 transistor is electrically connected with the negative input end of the COMP1 comparator (2), and the positive input end of the COMP1 comparator (2) inputs a Vref1 reference voltage; the other end of the switch circuit (1) is electrically connected with the source of the MP2 transistor, the drain of the MP2 transistor is electrically connected with the negative input end of the COMP2 comparator (3), and the positive input end of the COMP2 comparator (3) inputs a Vref2 reference voltage.
3. The bidirectional transmission switch circuit of claim 1, wherein: When the two input ends of the XOR logic circuit (4) are both high or low, the XOR logic circuit (4) outputs a low level; when the two input ends of the XOR logic circuit (4) are respectively high and low, the XOR logic circuit (4) outputs a high level.
4. The bidirectional transmission switch circuit of claim 1, wherein: The switch circuit (1) comprises an M1 switch tube and an M2 switch tube; the drain of the M1 switch tube serves as one end of the switch circuit (1), the source of the M1 switch tube is electrically connected with the source of the M2 switch tube, the drain of the M2 switch tube serves as the other end of the switch circuit (1); the gate of the M1 switch tube and the gate of the M2 switch tube serve as the control end of the switch circuit (1).
5. The bidirectional transmission switch circuit of claim 1, wherein: The application further comprises a control circuit (6); the first input end of the control circuit (6) is electrically connected with the output end of the COMP1 comparator (2), the second input end of the control circuit (6) is electrically connected with the output end of the COMP2 comparator (3); the first output end of the control circuit (6) is electrically connected with the gate of the MP2 transistor, and the second output end of the control circuit (6) is electrically connected with the gate of the MP1 transistor.
6. The bidirectional transmission switch circuit of claim 5, wherein: When the first input end of the control circuit (6) is high and the second input end is low, the first output end of the control circuit (6) outputs a high level; when the first input end of the control circuit (6) is low and the second input end is high, the second output end of the control circuit (6) outputs a high level.
