A protection circuit and method for an interface drive circuit with hysteresis
By designing an interface driver circuit with hysteresis, and using a comparator and logic control unit to monitor and reduce short-circuit current, the problem of circuit damage to the RS485 driver under abnormally low voltage was solved, achieving circuit protection and noise suppression.
Patent Information
- Application Number
- CN202311207312.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-19
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-09-19
AI Technical Summary
RS485 drivers experience excessively high short-circuit current under abnormally low voltage conditions, leading to severe circuit damage. Existing technologies cannot effectively reduce short-circuit current to protect the driver.
Design an interface driver circuit with hysteresis, including a main circuit unit, a comparator unit, and a logic control unit. The output driver voltage is monitored by comparing the threshold voltage, some NMOS driver transistors are turned off to reduce short-circuit current, and the hysteresis voltage is used to reduce the impact of noise.
It effectively monitors and reduces short-circuit current under abnormally low voltage conditions, protects driver circuits, reduces noise impact, and improves circuit stability.
Smart Images

Figure CN117294289B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of integrated circuit design, and specifically relates to a protection circuit and method for an interface driver circuit with hysteresis. Background Technology
[0002] The RS485 protocol is a serial physical interface standard developed by the Electronic Industries Association (EIA) of the United States. It is a standard based on RS-422. The RS-485 interface standard uses balanced transmit and differential receive transceivers to drive the bus, and it features long-distance transmission, multiple nodes (32 nodes), and low transmission line cost.
[0003] The RS485 interface outputs a wide common-mode voltage range of -7V to +12V. This wide common-mode voltage range is due to the common-mode deviation caused by the driver and receiver not sharing a common ground during long-distance transmission. Within the normal operating range, to improve circuit speed, the instantaneous drive current needs to be increased. However, when the RS485 driver output is short-circuited to -7 to 12V, the short-circuit current should be less than 250mA. Therefore, the RS485 driver cannot achieve this instantaneous drive current increase within the normal operating range. This means that when abnormally low voltage occurs, the short-circuit current will be very high, which is extremely harmful to the driver circuitry. Summary of the Invention
[0004] To address the aforementioned technical problems, this invention proposes a protection circuit and method for an interface driver circuit with hysteresis.
[0005] On one hand, the present invention provides a protection circuit for an interface driver circuit with hysteresis, comprising: a main circuit unit, a comparator unit, and a logic control unit;
[0006] The main circuit unit includes NMOS transistors N1, N2, N3, N4, N5, N6, N7, N8, N9, N10, N11, N12, and N13, and PMOS transistors P1, P2, P3, P4, P5, and P6.
[0007] The drain of N1 is connected to the source current I and its own gate. The gate of N1 is also connected to the gates of N2, N3, and N4. The source of N2 is grounded, and the drain of N2 is connected to the source of N1. The source of N3 is connected to the drain of N4, and the drain of N3 is connected to the drain of P2. The source of N4 is grounded. The drain of P2 is connected to its own gate, and the gate of P2 is also connected to the gates of P1, P3, P4, P5, and P6. The source of P2 is connected to the drain of P1. The source of P1 is connected to the source voltage Vcc and the sources of P3 and P5. The drain of P3 is connected to the source of P4. The drain of P4 is connected to the drain of N5. The drain of P5 is connected to P... The source of P6 is connected to the drain of N8; the drain of P6 is connected to the drain of N8; the gate of N5 is connected to the gates of N6 and N7 and outputs the level signal N7_G; the source of N5 is connected to the drain of N6; the source of N6 is connected to the drain of N7; the source of N7 is connected to the source of N10 and the drain of N11; the gate of N8 is connected to the gates of N9 and N10 and connected to the enable signal EN; the source of N8 is connected to the drain of N9; the source of N9 is connected to the drain of N10; the gate of N11 is connected to the gates of N12 and N13 and connected to the source voltage Vcc; the source of N11 is connected to the drain of N12; the source of N12 is connected to the drain of N13; the source of N13 is grounded.
[0008] The comparator unit includes: a comparator, the non-inverting terminal of which is connected to voltage VL, and the inverting terminal of which is connected to the source of N10 and the drain of N11 in the main circuit unit;
[0009] The logic control unit includes: a NOT gate and a NOR gate. The input terminal of the NOT gate is connected to one input terminal of the NOR gate and is connected to the output terminal of the comparator in the comparator unit. The output terminal of the NOT gate is connected to the level signal N7_G output by the main circuit unit. The other input terminal of the NOR gate is connected to the input signal ~DI. The output terminal of the NOR gate outputs the voltage DI_N.
[0010] On the other hand, the present invention provides a protection method for an interface driver circuit with hysteresis. This method uses a protection circuit for an interface driver circuit with hysteresis as described in claim 1 to achieve protection of the interface driver circuit with hysteresis, comprising:
[0011] After power-on, the enable signal EN output by the main circuit unit is high. Since the gate voltages of N11 / N12 / N13 are high, the paths of P5 / P6 / N8 / N9 / N10 / N11 / N12 / N13 are turned on. The VL voltage is at its minimum, so the comparator output is low. Therefore, the output level of the NOT gate N7_G is high, turning on the branches of P3 / P4 / N5 / N6 / N7. At this time, the source of NMOS transistor N10 in the main circuit unit generates a comparison threshold voltage Vth at the inverting input of the comparator. When VL is too high and exceeds the threshold Vth, the comparator outputs a high level, causing the NOR gate to output a low level, which protects the subsequent circuits.
[0012] The beneficial effects of this invention are:
[0013] 1. The circuit of this invention can monitor the low voltage of the output driver section. When an abnormally low voltage occurs, that is, when it exceeds the comparison threshold voltage Vth output by the main circuit unit, some NMOS driving transistors of the driver can be turned off to reduce the short-circuit current and thus reduce the damage to the driver circuit.
[0014] 2. When an abnormally low voltage occurs, i.e., when it exceeds the comparison threshold voltage Vth output by the main circuit unit, the logic control output of the present invention outputs a control signal to shut down part of the current source of the main circuit, reducing the threshold voltage Vth to Vth'. The difference ΔVth between Vth and Vth' is the hysteresis voltage, thereby reducing the noise impact caused by low potential VL fluctuations. Attached Figure Description
[0015] Figure 1 This is a schematic diagram of the protection circuit structure of an interface driving circuit with hysteresis according to the present invention.
[0016] Figure 2 A schematic diagram of an interface driver circuit with hysteresis provided in an embodiment of the present invention;
[0017] Figure 3 This is a schematic diagram illustrating the change in the comparison threshold voltage Vth according to the present invention. Detailed Implementation
[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0019] A protection circuit for an interface driver circuit with hysteresis, such as Figure 1 As shown, it includes: a main circuit 10 for circuit protection; the main circuit 10 includes a main circuit unit 101, a comparator unit 102, and a logic control unit 103;
[0020] The main circuit unit 101 includes NMOS transistors N1, N2, N3, N4, N5, N6, N7, N8, N9, N10, N11, N12, and N13, and PMOS transistors P1, P2, P3, P4, P5, and P6;
[0021] The drain of N1 is connected to the source current I and its own gate. The gate of N1 is also connected to the gates of N2, N3, and N4. The source of N2 is grounded, and the drain of N2 is connected to the source of N1. The source of N3 is connected to the drain of N4, and the drain of N3 is connected to the drain of P2. The source of N4 is grounded. The drain of P2 is connected to its own gate, and the gate of P2 is also connected to the gates of P1, P3, P4, P5, and P6. The source of P2 is connected to the drain of P1. The source of P1 is connected to the source voltage Vcc and the sources of P3 and P5; the drain of P3 is connected to the source of P4; the drain of P4 is connected to the drain of N5; the drain of P5 is connected to the source of P6; the drain of P6 is connected to the drain of N8; the gate of N5 is connected to the gates of N6 and N7 and outputs the level signal N7_G; the source of N5 is connected to the drain of N6; the source of N6 is connected to the drain of N7; the source of N7 is connected to the source of N10 and the drain of N11. The gate of N8 is connected to the gates of N9 and N10 and connected to the enable signal EN. The source of N8 is connected to the drain of N9. The source of N9 is connected to the drain of N10. The gate of N11 is connected to the gates of N12 and N13 and connected to the source voltage Vcc. The source of N11 is connected to the drain of N12. The source of N12 is connected to the drain of N13. The source of N13 is grounded. The comparator unit 102 includes a comparator. The non-inverting terminal of the comparator is connected to the voltage VL, and the inverting terminal is connected to the source of N10 and the drain of N11 in the main circuit unit 101. The logic control unit 103 includes a NOT gate and a NOR gate. The input terminal of the NOT gate is connected to one input terminal of the NOR gate and connected to the output terminal of the comparator in the comparator unit. The output terminal of the NOT gate is connected to the level signal N7_G output by the main circuit unit. The other input terminal of the NOR gate is connected to the input signal ~DI, and the output terminal of the NOR gate outputs the voltage DI_N.
[0022] This embodiment provides an interface driver circuit with hysteresis, such as Figure 2 As shown, in the interface driver circuit 104 with hysteresis, the source of D_P is connected to VH, the gate is connected to DI, and the drain is connected to the drain of D_N2; the gate of NMOS transistor D_N1 is connected to DI_N, the source of NMOS transistor D_N1 is connected to the source of NMOS transistor D_N2 via VL; the gate of NMOS transistor D_N2 is connected to DI.
[0023] After power-on, the enable signal EN is high. Since the gate voltages of N11 / N12 / N13 are high, the paths of P5 / P6 / N8 / N9 / N10 / N11 / N12 / N13 are turned on. The VL voltage at the non-inverting input of the comparator in comparator unit 102 is connected to the source of the NMOS transistors D_N1 and D_N2 in the interface drive circuit 104 with hysteresis, and is at a low voltage (e.g., GND). Therefore, the comparator output in comparator unit 102 is low, so the output level of the NOT gate N7_G in logic control unit 103 is high, turning on the P3 / P4 / N5 / N6 / N7 branches of the main circuit unit 101. At this time, the source of the device N10 in the main circuit unit 101 generates a comparison threshold voltage Vth at the negative input of the comparator.
[0024] During normal operation, the source voltage VL of NMOS transistors D_N1 and D_N2 in the interface driver circuit 104 with hysteresis is low, so the comparator output is low and the N7_G voltage is high.
[0025] like Figure 3 As shown, when the source low potential of NMOS driving transistors D_N1 and D_N2 in the interface driving circuit 104 with hysteresis rises abnormally and exceeds the comparison threshold voltage Vth, the comparator in the comparator unit 102 outputs a high level, and N7_G becomes L, shutting down the P3 / P4 / N5 / N6 / N7 branches in the main circuit unit 101, further reducing the comparison threshold voltage Vth to Vth'. The difference ΔVth between Vth and Vth' is the hysteresis voltage. Only when the VL voltage drops below Vth' can the output level N7_G of the NOT gate be made high, thereby causing the main circuit unit 101 to output the original comparison threshold voltage Vth value, which plays a role in suppressing noise.
[0026] The output driver section of the interface driver circuit 104 with hysteresis operates with VL low during normal operation. A data signal DI_N, in phase with DI, is output from the NOR gate in the logic control unit 103 to the NMOS driver D_N1. D_N2 is another NMOS driver; the ratio between the two is determined according to design requirements. When the voltage VL exceeds the comparison threshold voltage Vth, the comparator outputs a high level, causing the NOR gate to output a low level, turning off the NMOS driver D_N1. This effectively monitors low-voltage anomalies and shuts down some NMOS driver transistors, thereby reducing short-circuit current and protecting subsequent circuits.
[0027] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A protection circuit for an interface driver circuit with hysteresis, characterized in that, include: Main circuit unit, comparator unit, logic control unit; The main circuit unit includes NMOS transistors N1, N2, N3, N4, N5, N6, N7, N8, N9, N10, N11, N12, and N13, and PMOS transistors P1, P2, P3, P4, P5, and P6. The drain of N1 is connected to the source current I and its own gate. The gate of N1 is also connected to the gates of N2, N3, and N4. The source of N2 is grounded, and the drain of N2 is connected to the source of N1. The source of N3 is connected to the drain of N4, and the drain of N3 is connected to the drain of P2. The source of N4 is grounded. The drain of P2 is connected to its own gate, and the gate of P2 is also connected to the gates of P1, P3, P4, P5, and P6. The source of P2 is connected to the drain of P1. The source of P1 is connected to the source voltage Vcc and the sources of P3 and P5. The drain of P3 is connected to the source of P4. The drain of P4 is connected to the drain of N5. The drain of P5 is connected to... The source of P6 is connected to the drain of N8; the drain of P6 is connected to the drain of N8; the gate of N5 is connected to the gates of N6 and N7 and inputs the level signal N7_G; the source of N5 is connected to the drain of N6; the source of N6 is connected to the drain of N7; the source of N7 is connected to the source of N10 and the drain of N11; the gate of N8 is connected to the gates of N9 and N10 and connected to the enable signal EN; the source of N8 is connected to the drain of N9; the source of N9 is connected to the drain of N10; the gate of N11 is connected to the gates of N12 and N13 and connected to the source voltage Vcc; the source of N11 is connected to the drain of N12; the source of N12 is connected to the drain of N13; the source of N13 is grounded. The comparator unit includes: a comparator, the non-inverting terminal of which is connected to the voltage VL of the protected circuit, and the inverting terminal of which is connected to the source of N10 and the drain of N11 in the main circuit unit; The logic control unit includes: a NOT gate and a NOR gate, wherein the input terminal of the NOT gate is connected to one input terminal of the NOR gate and is connected to the output terminal of the comparator in the comparator unit, and the output terminal of the NOT gate is connected to the level signal N7_G input to the main circuit unit; the other input terminal of the NOR gate is connected to the signal ~DI of the protection circuit, and the output terminal of the NOR gate outputs the voltage DI_N; In the interface driver circuit 104 with hysteresis, the source of D_P is connected to VH, the gate is connected to DI, and the drain is connected to the drain of D_N2; the gate of NMOS transistor D_N1 is connected to DI_N, and the source of NMOS transistor D_N1 is connected to the source of NMOS transistor D_N2 via VL; the gate of NMOS transistor D_N2 is connected to DI, and the drain of NMOS transistor D_N1 is connected to the drain of NMOS transistor D_N2 and serves as the output.
2. A method for protecting an interface driver circuit with hysteresis, characterized in that, This method uses a protection circuit for a hysteretic interface driver circuit as described in claim 1 to protect the hysteretic interface driver circuit, comprising: After power-on, the enable signal EN input to the main circuit unit is high. Since the gate voltages of N11 / N12 / N13 are high, the paths of P5 / P6 / N8 / N9 / N10 / N11 / N12 / N13 are turned on. The VL voltage is at its minimum, so the comparator output is low. Therefore, the output level of the NOT gate N7_G is high, turning on the branches of P3 / P4 / N5 / N6 / N7. At this time, the source of NMOS transistor N10 in the main circuit unit generates a comparison threshold voltage Vth at the inverting input of the comparator. When VL is too high and exceeds the threshold Vth, the comparator outputs a high level, causing the NOR gate to output a low level, which protects the subsequent circuits.
Citation Information
Patent Citations
Output short-circuit protection method and circuit
CN105634260A
High-speed driving circuit with cold backup and short-circuit protection functions based on BICMOS process
CN113922811A
