Serial port driving circuit with output high impedance state control

By designing a serial port driver circuit with built-in high-impedance output control, and using PMOS and NMOS transistors and capacitors to control the signal slew rate, the voltage withstand problem of domestic serial interface chips when the output enable is turned off was solved, ensuring the normal communication function of the serial interface and reducing costs.

CN119025461APending Publication Date: 2024-11-26SUZHOU LINGTIAN MICRO SEMICON TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410969565.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

Domestically produced serial interface chips cannot guarantee normal communication functions of the serial interface, especially the voltage withstand problem when the output enable is turned off has not been effectively solved.

Method used

Design a serial port driver circuit with built-in high-impedance output control, including first and second driver circuits. By using PMOS and NMOS transistors, resistors and Miller capacitors, and controlling the signal slew rate and current sensing, a high-impedance state is ensured when the output enable is off, thus avoiding leakage.

Benefits of technology

It solves the voltage withstand problem when the output enable is off, ensuring the normal communication function of the serial interface, reducing chip cost, and is suitable for long-distance communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119025461A_ABST
    Figure CN119025461A_ABST
Patent Text Reader

Abstract

The invention relates to a serial port drive circuit with output high impedance state control, which comprises a first drive circuit and a second drive circuit, the first drive circuit and the second drive circuit are both electrically connected with a control circuit, the control circuit comprises an R4 resistor, an R6 resistor, a first PMOS tube, a second PMOS tube, a first NMOS tube, a second NMOS tube, a third NMOS tube and a fourth NMOS tube, and the R4 resistor, the R6 resistor, the first PMOS tube, the second PMOS tube, the third NMOS tube and the fourth NMOS tube are electrically connected with the first drive circuit. The D pole of the fourth NMOS tube is connected with the D pole of the second PMOS tube, the S pole of the fourth NMOS tube is grounded, the S pole of the second PMOS tube is connected with the G pole and the D pole of the first NMOS tube, the D pole of the first NMOS tube is connected to a VPLUS end, an R3 resistor is electrically connected between the D pole of the first NMOS tube and the VPLUS end, the S pole of the second PMOS tube and the D pole of the first NOMS tube are connected to a TOUT end and a first driving circuit, and the S pole of the second NMOS tube is electrically connected with a second driving circuit. The method has the advantages that the normal communication function of the serial interface is guaranteed, and meanwhile the voltage withstanding problem during output enabling closing of the serial interface is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of integrated circuits, and in particular to a serial port driving circuit with output high-impedance state control. Background Art

[0002] A serial interface refers to the sequential transmission of data one bit at a time. Its characteristics are simple communication lines. Only a pair of transmission lines are needed to achieve two-way communication, and telephone lines can be used, which greatly reduces costs. It is particularly suitable for long-distance communication.

[0003] Currently, most of the chips used in serial interfaces are foreign chips, which are relatively expensive. Due to the limitations of domestic process technology, the development of domestic serial interface chips is slow, or the developed chip circuits cannot guarantee the normal communication function of the serial interface, and cannot solve the voltage resistance problem when the output enable is turned off. Summary of the invention

[0004] The purpose of the present invention is to provide a serial port driving circuit with self-contained output high-impedance control, which ensures the normal communication function of the serial interface and solves the voltage resistance problem when the output enable is turned off.

[0005] In order to achieve the above-mentioned object, the present invention provides the following technical solutions: a serial port driving circuit with self-contained output high-impedance control, comprising a first driving circuit and a second driving circuit, wherein the first driving circuit and the second driving circuit are both electrically connected to a control circuit, wherein the control circuit comprises an R4 resistor, an R6 resistor, a first PMOS tube, a second PMOS tube, a first NMOS tube, a second NMOS tube, a third NMOS tube and a fourth NMOS tube, wherein the D pole of the fourth NMOS tube is connected to the D pole of the second PMOS tube, the S pole of the fourth NMOS tube is grounded, the S pole of the second PMOS tube is connected to the G pole and the D pole of the first NMOS tube, the D pole of the first NMOS tube is connected to the VPLUS terminal, an R3 resistor is electrically connected between the D pole of the first NMOS tube and the VPLUS terminal, the S pole of the second PMOS tube and the D pole of the first NMOS tube are both connected to the TOUT terminal and the first driving circuit, the S pole of the second PMOS tube and the D pole of the first NMOS tube are connected to the TOUT terminal. An R1 resistor is electrically connected between the first and second ends of the transistor, an R2 resistor is electrically connected between the S pole of the second PMOS tube and the R1 resistor, the R4 resistor is connected to the S pole and the D pole of the first NMOS tube, the S pole of the third NMOS tube is grounded, the D pole of the third NMOS tube is connected to the D pole of the first PMOS tube, the S pole of the first PMOS tube is connected to the G pole and the D pole of the second NMOS tube, the S pole of the first PMOS tube and the D pole of the second NMOS tube are both connected to the S pole of the first NMOS tube, an R5 resistor is electrically connected between the S pole of the first PMOS tube and the S pole of the first NMOS tube, the S pole of the second NMOS tube is electrically connected to the second driving circuit, the R6 resistor is electrically connected to the S pole and the D pole of the second NMOS tube respectively, the first driving circuit and the second driving circuit are both built-in with Miller capacitors, the Miller capacitors are used to control the output signal slew rate, and the first driving circuit and the second driving circuit are respectively built-in with direct output PMOS tubes and direct output NMOS tubes.

[0006] Furthermore, the first driving circuit is connected to the VPLUS terminal, and a resistor R7 is electrically connected between the first driving circuit and the VPLUS terminal, and the resistor R7 is used to sense the current of the VPLUS terminal.

[0007] Furthermore, the second driving circuit is connected to the VMINUS terminal, and a resistor R8 is electrically connected between the second driving circuit and the VMINUS terminal, and the resistor R8 is used to sense the current of the VMINUS terminal.

[0008] The beneficial effects of the present invention are: ensuring the normal communication function of the serial interface while solving the voltage resistance problem when the output enable is turned off. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1The present invention is a schematic diagram of a serial port driving circuit with output high-impedance control.

[0010] Figure 2 The present invention is a schematic diagram of a control circuit of a serial port driving circuit with output high-impedance control.

[0011] In the figure: 1. first drive circuit; 2. second drive circuit; 3. R1 resistor; 4. R2 resistor; 5. R3 resistor; 6. R4 resistor; 7. R5 resistor; 8. R6 resistor; 9. first PMOS tube; 10. second PMOS tube; 11. direct output PMOS tube; 12. direct output NMOS tube; 13. first NMOS tube; 14. second NMOS tube; 15. third NMOS tube; 16. fourth NMOS tube; 17. Miller capacitor; 18. R7 resistor; 19. R8 resistor. DETAILED DESCRIPTION

[0012] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0013] refer to Figure 1-Figure 2A serial port driving circuit with self-contained output high-impedance control shown in the figure includes a first driving circuit 1 and a second driving circuit 2, wherein the first driving circuit 1 and the second driving circuit 2 are both electrically connected to a control circuit, wherein the control circuit includes an R4 resistor 6, an R6 resistor 8, a first PMOS transistor 9, a second PMOS transistor 10, a first NMOS transistor 13, a second NMOS transistor 14, a third NMOS transistor 15 and a fourth NMOS transistor 16, wherein a D pole of the fourth NMOS transistor 16 is connected to a D pole of the second PMOS transistor 10, and the fourth NMOS The S pole of the S tube 16 is grounded, the S pole of the second PMOS tube 10 is connected to the G pole and the D pole of the first NMOS tube, the D pole of the first NMOS tube 13 is connected to the VPLUS terminal, and the R3 resistor 5 is electrically connected between the D pole of the first NMOS tube 13 and the VPLUS terminal, the S pole of the second PMOS tube 10 and the D pole of the first NMOS tube 13 are both connected to the TOUT terminal and the first driving circuit 1, and the R1 resistor is electrically connected between the S pole of the second PMOS tube 10 and the D pole of the first NMOS tube and the TOUT terminal. 3, an R2 resistor 4 is electrically connected between the S pole of the second PMOS tube 10 and the R1 resistor 3, the R4 resistor 6 is connected to the S pole and the D pole of the first NMOS tube 13, the S pole of the third NMOS tube 15 is grounded, the D pole of the third NMOS tube 15 is connected to the D pole of the first PMOS tube 9, the S pole of the first PMOS tube 9 is connected to the G pole and the D pole of the second NMOS tube 14, the S pole of the first PMOS tube 9 and the D pole of the second NMOS tube 14 are both connected to the S pole of the first NMOS tube 13, the An R5 resistor 7 is electrically connected between the S pole of the first PMOS tube 9 and the S pole of the first NMOS tube 13, the S pole of the second NMOS tube 14 is electrically connected to the second drive circuit 2, and the R6 resistor 8 is electrically connected to the S pole and the D pole of the second NMOS tube 14 respectively. The first drive circuit 1 and the second drive circuit 2 both have built-in Miller capacitors 17, and the Miller capacitors 17 are used to control the output signal slew rate. The first drive circuit 1 and the second drive circuit 2 are respectively built-in with direct output PMOS tubes 11 and direct output NMOS tubes 12.

[0014] The first driving circuit 1 is connected to the VPLUS terminal, and a resistor R7 18 is electrically connected between the first driving circuit 1 and the VPLUS terminal. The resistor R7 18 is used to sense the current of the VPLUS terminal.

[0015] The second driving circuit 2 is connected to the VMINUS terminal, and a resistor R8 19 is electrically connected between the second driving circuit 2 and the VMINUS terminal. The resistor R8 19 is used to sense the current of the VMINUS terminal.

[0016] The working principle of the present invention is: mn10 and mn11 in the first driving circuit connect the gate terminal of mp1 to the VMINUS terminal when the output terminal is enabled, and mp10 connects mp1 in a diode form when the output enable terminal is turned off to avoid leakage from here when TOUT is a positive high voltage.

[0017] The resistor R3 5 is used to solve the leakage current generated by the first NMOS tube 13 .

[0018] During normal output, the G pole of mp1 in the first driving circuit 1 is connected to VMINUS and is turned on, and the G poles of the first NMOS tube 13 and the second NMOS tube 14 are grounded and are also turned on. When the input of the direct output PMOS tube 11 and the direct output NMOS tube 12 is VMINUS, the direct output PMOS tube 11 is turned on and the output is VPLUS. At this time, the direct output NMOS tube 12 is turned off, and no current passes through the first NMOS tube 13 and the second NMOS tube 14, and their Vds will not exceed VPLUS+Vth and will not be damaged; when the input of the direct output PMOS tube 11 and the direct output NMOS tube 12 is VPLUS, the direct output NMOS tube 12 is turned on, and the second NMOS tube 14 and the first NMOS tube 13 are also turned on and output VMINUS. At this time, the direct output PMOS tube 11 is turned off, and the first NMOS tube 13 and the second NMOS tube 14 are not damaged.

[0019] In the shutdown mode, when TOUT=+12v, looking at the VPLUS end, the direct output PMOS tube 11 is turned on, and mp1 in the first drive circuit 1 is turned off. Since the wells of the direct output PMOS tubes 11, mp1 and mp10 in the first drive circuit 1 are all floating, there is no parasitic diode leakage, so at this time, the VPLUS end is in a high-impedance state; looking at the VMINUS end, the direct output NMOS tube 12 is turned off, and the parasitic diode is also reverse biased, and there is no current, so at this time, the VMINUS end is also in a high-impedance state. At this time, the G, S, and D poles of the second NMOS tube 14 and the first NMOS tube 13 are all 12v, and the devices will not be damaged. When TOUT=-12v, looking at the VPLUS end, the direct output PMOS tube 11 is cut off, so at this time, the VPLUS end is in a high-impedance state; looking at the VMINUS end, there is a current path from the VMINUS end through the parasitic diode of the direct output NMOS tube 12, R4 resistor 6, R6 resistor 8 to the TOUT end, R4+R6=4Mohm, which is also in a high-impedance state.

[0020] In the present invention, unless otherwise clearly specified and limited, the terms "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0021] The above embodiments are used to further illustrate the present invention, but the present invention is not limited to these specific embodiments. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be understood to be within the protection scope of the present invention.

Claims

1. A serial port driving circuit with built-in output high-impedance control, comprising a first driving circuit (1) and a second driving circuit (2), Features: The first drive circuit (1) and the second drive circuit (2) are both electrically connected to a control circuit, wherein the control circuit comprises an R4 resistor (6), an R6 resistor (8), a first PMOS transistor (9), a second PMOS transistor (10), a first NMOS transistor (13), a second NMOS transistor (14), a third NMOS transistor (15) and a fourth NMOS transistor (16), wherein a D pole of the fourth NMOS transistor (16) is connected to a D pole of the second PMOS transistor (10), an S pole of the fourth NMOS transistor (16) is grounded, and an S pole of the second PMOS transistor (10) is connected to a The G pole and D pole of an NMOS tube are connected, the D pole of the first NMOS tube (13) is connected to the VPLUS terminal, an R3 resistor (5) is electrically connected between the D pole of the first NMOS tube (13) and the VPLUS terminal, the S pole of the second PMOS tube (10) and the D pole of the first NMOS tube 13 are both connected to the TOUT terminal and the first drive circuit (1), an R1 resistor (3) is electrically connected between the S pole of the second PMOS tube (10) and the D pole of the first NMOS tube and the TOUT terminal, and the S pole of the second PMOS tube (10) and the R1 resistor (3) are electrically connected between the R1 resistor (3). The R2 resistor (4) is electrically connected to the first NMOS tube (13); the R4 resistor (6) is connected to the S pole and the D pole of the first NMOS tube (13); the S pole of the third NMOS tube (15) is grounded; the D pole of the third NMOS tube (15) is connected to the D pole of the first PMOS tube (9); the S pole of the first PMOS tube (9) is connected to the G pole and the D pole of the second NMOS tube (14); the S pole of the first PMOS tube (9) and the D pole of the second NMOS tube (14) are both connected to the S pole of the first NMOS tube (13); the S pole of the first PMOS tube (9) is connected to the G pole and the D pole of the first NMOS tube (14); An R5 resistor (7) is electrically connected between the S poles of the NMOS tube (13); the S pole of the second NMOS tube (14) is electrically connected to the second drive circuit (2); the R6 resistor (8) is electrically connected to the S pole and the D pole of the second NMOS tube (14), respectively; the first drive circuit (1) and the second drive circuit (2) are both built with a Miller capacitor (17), and the Miller capacitor (17) is used to control the output signal slew rate; the first drive circuit (1) and the second drive circuit (2) are respectively built with a direct output PMOS tube (11) and a direct output NMOS tube (12).

2. A serial port driving circuit with output high impedance control according to claim 1, Features: The first driving circuit (1) is connected to the VPLUS terminal, and a resistor R7 (18) is electrically connected between the first driving circuit (1) and the VPLUS terminal, and the resistor R7 (18) is used to sense the current of the VPLUS terminal.

3. A serial port driving circuit with output high impedance control according to claim 1, Features: The second driving circuit (2) is connected to the VMINUS terminal, and a resistor R8 (19) is electrically connected between the second driving circuit (2) and the VMINUS terminal. The resistor R8 (19) is used to sense the current of the VMINUS terminal.