Two-path self-adaptive anti-overvoltage multi-voltage-domain input and output buffer

Through the design of two adaptive overvoltage-proof multi-voltage domain input and output buffers, using a combination of low-voltage and high-voltage output stages and an adaptive bias circuit, the problem of overvoltage breakdown of low-voltage MOS under high power supply voltage is solved. , achieving support for a wider voltage range and reducing design complexity.

CN118740143APending Publication Date: 2024-10-01HANGZHOU VANGO TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410806164.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

When existing technology supports multiple voltage domains, low-voltage MOS transistors are prone to overvoltage breakdown due to high power supply voltages, resulting in increased design complexity and reduced reliability.

Method used

Design a two-channel adaptive overvoltage-proof multi-voltage domain input and output buffer. Through the combination of low-voltage output stage and high-voltage output stage, the overvoltage-proof adaptive bias circuit is used to detect changes in the power supply voltage and automatically select the appropriate output stage. To avoid MOS overvoltage, the low-voltage output stage is composed of low-voltage MOS, and the high-voltage output stage is composed of high-voltage MOS, without the need for a dynamic bias circuit.

Benefits of technology

Effectively prevent MOS overvoltage breakdown, reduce design complexity, improve reliability, and support a wider voltage output range.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740143A_ABST
    Figure CN118740143A_ABST
Patent Text Reader

Abstract

The invention discloses a two-path self-adaptive anti-overvoltage multi-voltage domain input and output buffer which comprises a low-voltage output stage, a high-voltage output stage and an anti-overvoltage self-adaptive biasing circuit, and the low-voltage output stage is used for outputting signals when the buffer works in a low voltage domain; the high-voltage output stage is used for outputting a signal when the buffer works in a high-voltage domain; the low-voltage output stage comprises a first MOS transistor, a second MOS transistor, a third MOS transistor and a fourth MOS transistor which are sequentially cascaded between the VDDIO and the ground; a grid electrode of the second MOS transistor and a grid electrode of the third MOS transistor are respectively driven by a first self-adaptive bias signal and a second self-adaptive bias signal; the anti-overvoltage adaptive bias circuit is used for generating a first adaptive bias signal and a second adaptive bias signal by detecting the change of VDDIO. The input and output buffer can prevent overvoltage of the low-voltage-withstanding MOS at high power supply voltage, supports a wider voltage output range, does not need a dynamic bias circuit to provide grid voltage of the low-voltage-withstanding MOS, reduces design complexity and improves reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of input-output buffers, and in particular relates to a two-way adaptive overvoltage protection multi-voltage domain input-output buffer. Background Art

[0002] With the development of CMOS (Complementary Metal Oxide Semiconductor) technology, the power supply voltage of integrated circuits has become smaller and smaller to reduce power consumption. However, many systems are still equipped with chips manufactured by CMOS process with different digital voltage levels (e.g., 0.9, 1.8, 3.3 or even 5.0V), and data exchange between chips of different levels becomes very difficult. In order to realize data exchange between chips of different levels, it is necessary to adopt an input / output buffer supporting multiple voltage domains. In order to support a wider power supply voltage, a superimposed low withstand voltage MOS (Metal Oxide Semiconductor FET) is often used as an output stage. The output stage composed of low withstand voltage MOS has the advantages of small area and large driving ability. However, if the power supply voltage is greater than the withstand voltage of the low withstand voltage MOS, it will cause MOS overvoltage breakdown. Therefore, it is necessary to change the bias voltage of MOS according to different power supply voltages. Therefore, supporting multiple voltage domains and ensuring that MOS is not over-voltage is the problem to be solved by the present invention. Summary of the invention

[0003] Purpose of the invention: The technical problem to be solved by the present invention is to provide a two-way adaptive overvoltage protection multi-voltage domain input and output buffer in view of the shortcomings of the prior art.

[0004] In order to solve the above technical problems, the present invention discloses a two-way adaptive overvoltage protection multi-voltage domain input and output buffer, including a low voltage output stage, a high voltage output stage and an overvoltage protection adaptive bias circuit.

[0005] The low voltage output stage is used to convert the input signal into the output signal when the buffer operates in the low voltage domain; the high voltage output stage is used to convert the input signal into the output signal when the buffer operates in the high voltage domain;

[0006] The low-voltage output stage includes a first MOS transistor, a second MOS transistor, a third MOS transistor and a fourth MOS transistor which are sequentially cascaded between the buffer power supply voltage VDDIO and the ground, and the high-voltage output stage includes a fifth MOS transistor and a sixth MOS transistor which are cascaded between the buffer power supply voltage VDDIO and the ground; the gate of the first MOS transistor, the gate of the fourth MOS transistor, the gate of the fifth MOS transistor and the gate of the sixth MOS transistor are driven by the first to fourth data conversion signals respectively; the gate of the second MOS transistor and the gate of the third MOS transistor are driven by the first adaptive bias signal and the second adaptive bias signal respectively; the drain of the second MOS transistor and the drain of the third MOS transistor are connected to the output end at a connection point; the drain of the fifth MOS transistor and the drain of the sixth MOS transistor are connected to the output end at a connection point;

[0007] The overvoltage protection adaptive bias circuit is used to generate a first adaptive bias signal and a second adaptive bias signal by detecting a change in a buffer power supply voltage VDDIO.

[0008] Furthermore, the overvoltage protection adaptive bias circuit includes a first switch, a second switch, a third switch and a fourth switch. The overvoltage protection adaptive bias circuit takes an output stage selection signal, a buffer power supply voltage VDDIO and a half buffer power supply voltage VDDIO / 2 as inputs, uses the output stage selection signal to control the on and off of the first switch, the second switch, the third switch and the fourth switch, and outputs a first adaptive bias signal and a second adaptive bias signal to control the gate of the second MOS transistor and the gate of the third MOS transistor respectively; the output stage selection signal is used to select a low-voltage output stage or a high-voltage output stage output signal.

[0009] Further, when the output stage selection signal is a high-level logic 1, the second switch is turned on, the first switch is turned off, and the first adaptive bias signal outputs a low-level logic 0, thereby turning on the second MOS transistor; the third switch is turned on, the fourth switch is turned off, and the second adaptive bias signal outputs VDDIO, thereby turning off the third MOS transistor;

[0010] When the output stage selection signal is a low-level logic 0, the first switch is turned on, the second switch is turned off, and the first adaptive bias signal is switched from 0 to VDDIO / 2 to prevent the output terminal from outputting a high level when the power supply voltage is high, causing the second MOS transistor to be over-voltage; the fourth switch is turned on, the third switch is turned off, and the second adaptive bias signal is switched from VDDIO to VDDIO / 2 to prevent the output terminal from outputting a low level when the power supply voltage is high, causing the third MOS transistor to be over-voltage.

[0011] Furthermore, it also includes a power supply voltage detection circuit, which takes the buffer power supply voltage VDDIO as input, and controls the output stage selection signal to output a low-level logic 0 when the buffer power supply voltage VDDIO is detected to be a high voltage, and controls the output stage selection signal to output a low-voltage high-level 1 when the buffer power supply voltage VDDIO is detected to be a low voltage. There are two output stages, the low-voltage output stage is composed of MOS transistors with low withstand voltage values, and the high-voltage output stage is composed of MOS transistors with high withstand voltage values. The power supply voltage detection circuit can automatically identify the buffer power supply voltage to select the appropriate output stage.

[0012] Furthermore, it also includes a pre-driving stage and a level conversion circuit, wherein the pre-driving stage is used to receive input data and generate first to fourth data signals according to an enable signal, an output stage selection signal and a chip power supply voltage VDD;

[0013] The level conversion circuit is used for converting the first to fourth data signals into first to fourth data conversion signals according to the chip power supply voltage VDD and the buffer power supply voltage VDDIO.

[0014] Furthermore, it also includes a half power supply voltage generating circuit, and the half power supply voltage generating circuit is used to obtain a half buffer power supply voltage VDDIO / 2 according to the buffer power supply voltage VDDIO.

[0015] Further, the power supply voltage detection circuit includes a first cascade circuit, a second cascade circuit, a second low withstand voltage NMOS transistor and an inverter circuit, the first cascade circuit includes a third low withstand voltage PMOS transistor, a fourth low withstand voltage PMOS transistor connected in diode connection, a fifth low withstand voltage PMOS transistor connected in diode connection, a third low withstand voltage NMOS transistor, a sixth low withstand voltage PMOS transistor connected in diode connection, a seventh low withstand voltage PMOS transistor connected in diode connection and an eighth low withstand voltage PMOS transistor connected in diode connection, and the second cascade circuit includes a first low withstand voltage PMOS transistor, a second low withstand voltage PMOS transistor and a first low withstand voltage NMOS transistor connected in diode connection in sequence between the chip power supply voltage VDD and the ground;

[0016] The gate of the third low-voltage-withstand PMOS transistor and the gate of the third low-voltage-withstand NMOS transistor are both connected to the chip power supply voltage VDD, the gate and drain short-circuit of the fourth low-voltage-withstand PMOS transistor is connected to the gate of the first low-voltage-withstand PMOS transistor, the gate and drain short-circuit of the sixth low-voltage-withstand PMOS transistor are respectively connected to the gate of the second low-voltage-withstand PMOS transistor, the gate of the first low-voltage-withstand NMOS transistor and the drain of the second low-voltage-withstand NMOS transistor; the source of the second low-voltage-withstand NMOS transistor is grounded, and the gate is connected to the input of the inverter circuit, and the output of the inverter circuit obtains the output stage selection signal.

[0017] The stacked diodes can generate different bias voltages according to different power supply voltages, so by identifying the gate voltage of each diode, the power supply voltage value can be identified.

[0018] Further, the pre-driver stage receives input data using the data input port DI, receives an enable signal using the enable port OE, and uses the output stage selection signal SELLV as an input control to select a low-voltage or high-voltage output stage. OE is a high-level logic 1 indicating that the output buffer is working, and a low-level logic 0 indicating that the output buffer is closed; DI is a high-level logic 1 indicating a high-level input, and a low-level logic 0 indicating a low-level input; SELLV is a high-level logic 1 indicating that a low-voltage output stage is selected, and a low-level logic 0 indicating that a high-voltage output stage is selected; the pre-driver stage outputs a first data signal, a second data signal, a third data signal, and a fourth data signal;

[0019] When the low power supply voltage transmits a high level, that is, OE, DI and SELLV are all high levels at the same time, the first data signal outputs a low level logic 0, the second data signal outputs a low level logic 0, the third data signal outputs a high level logic 1, and the fourth data signal outputs a low level logic 0;

[0020] When the low power supply voltage transmits a low level, that is, OE and SELLV are high-level logic 1, DI is low-level logic 0, the first data signal outputs high-level logic 1, the second data signal outputs high-level logic 1, the third data signal outputs high-level logic 1, and the fourth data signal outputs low-level logic 0;

[0021] The high power supply voltage transmits a high level, that is, OE and DI are high-level logic 1, SELLV is low-level logic 0, the first data signal outputs high-level logic 1, the second data signal outputs low-level logic 0, the third data signal outputs low-level logic 0, and the fourth data signal outputs low-level logic 0;

[0022] The high power supply voltage transmits a low level, that is, OE is a high-level logic 1, DI and SELLV are low-level logic 0, the first data signal outputs a high-level logic 1, the second data signal outputs a low-level logic 0, the third data signal outputs a high-level logic 1, and the fourth data signal outputs a high-level logic 1;

[0023] When the buffer is turned off, that is, OE is a low-level logic 0, the first data signal outputs a high-level logic 1, the second data signal outputs a low-level logic 0, the third data signal outputs a high-level logic 1, and the fourth data signal outputs a low-level logic 0.

[0024] Further, the level conversion circuit includes four identical single-ended input single-ended output level converters, the four identical single-ended input single-ended output level converters input the first to fourth data signals respectively, and output the first to fourth data conversion signals respectively, the input of the level converter is denoted as IN, and the output is denoted as OUT, the level converter includes a first inverter, a second inverter, a third cascade circuit and a fourth cascade circuit, the third cascade circuit includes a first high withstand voltage value PMOS transistor, a second high withstand voltage value PMOS transistor and a first high withstand voltage value NMOS transistor cascaded between the buffer power supply voltage VDDIO and the ground, and the fourth cascade circuit includes a third high withstand voltage value PMOS transistor, a fourth high withstand voltage value PMOS transistor and a second high withstand voltage value NMOS transistor cascaded between the buffer power supply voltage VDDIO and the ground;

[0025] The first inverter takes the input IN and the chip power supply voltage VDD as input, and outputs a first inverted signal; the second inverter takes the first inverted signal and the chip power supply voltage VDD as input, and outputs a second inverted signal;

[0026] The gate of the first high withstand voltage value PMOS transistor is connected to the drain of the fourth high withstand voltage value PMOS transistor and the drain connection of the second high withstand voltage value NMOS transistor, and the connection is also connected to the output OUT; the gate of the second high withstand voltage value PMOS transistor is connected to the gate of the first high withstand voltage value NMOS transistor, and the connection is connected to the second inverting signal; the gate of the third high withstand voltage value PMOS transistor is connected to the drain of the second high withstand voltage value PMOS transistor and the drain connection of the first high withstand voltage value NMOS transistor; the gate of the fourth high withstand voltage value PMOS transistor is connected to the gate of the second high withstand voltage value NMOS transistor, and the connection is connected to the first inverting signal.

[0027] Further, the half power supply voltage generating circuit includes a fifth high withstand voltage value PMOS transistor, a third high withstand voltage value NMOS transistor, a sixth high withstand voltage value PMOS transistor, a fourth high withstand voltage value NMOS transistor, a seventh high withstand voltage value PMOS transistor and an eighth high withstand voltage value PMOS transistor, the source of the fifth high withstand voltage value PMOS transistor and the source of the seventh high withstand voltage value PMOS transistor are both connected to the buffer power supply voltage VDDIO, the drain of the fifth high withstand voltage value PMOS transistor is connected to the short-circuit between the drain and the gate of the third high withstand voltage value NMOS transistor, and the connection is connected to the gate of the seventh high withstand voltage value PMOS transistor; the gate of the fifth high withstand voltage value PMOS transistor is connected to the connection between the source of the third high withstand voltage value NMOS transistor and the source of the sixth PMOS transistor, the drain of the sixth PMOS transistor is connected to the short-circuit between the drain and the gate of the fourth high withstand voltage value NMOS transistor, and the gate of the sixth PMOS transistor and the source of the fourth high withstand voltage value NMOS transistor are both grounded;

[0028] The drain of the seventh high withstand voltage PMOS transistor is connected to the source of the eighth high withstand voltage PMOS transistor, and the connection point is connected to the output half buffer power supply voltage VDDIO / 2; the gate and drain of the eighth high withstand voltage PMOS transistor are short-circuited, and the short-circuited point is grounded.

[0029] Beneficial effects: The present invention proposes an input-output buffer that supports multiple voltage domains and can prevent MOS from overvoltage. The buffer includes two output stages. When a high power supply voltage is detected, the low-voltage output stage is turned off and the high-voltage output stage is turned on. When a low power supply voltage is detected, the low-voltage output stage is turned on and the high-voltage output stage is turned off, thereby preventing the low-voltage MOS from overvoltage breakdown at a high power supply voltage. The low-voltage output stage uses two low-voltage MOS to superimpose the pressure resistance to prevent the low-voltage MOS from overvoltage at a high power supply voltage, and supports a wider voltage output range. When a high power supply voltage is detected, that is, the low-voltage output stage is not working, the gate voltage of the low-voltage MOS connected to the output port is automatically switched to prevent the low-voltage MOS at the output stage from overvoltage. There is no need for a dynamic bias circuit to provide the gate voltage of the low-voltage MOS, which reduces the design complexity and improves reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments, and the above and / or other advantages of the present invention will become more clear.

[0031] Figure 1 FIG. 4 is a schematic diagram of an existing output buffer circuit.

[0032] Figure 2 A schematic diagram of a two-way adaptive overvoltage protection multi-voltage domain input and output buffer circuit provided in an embodiment of the present application.

[0033] Figure 3 A schematic diagram of a pre-driver stage circuit of a two-way adaptive overvoltage protection multi-voltage domain input and output buffer circuit provided in an embodiment of the present application.

[0034] Figure 4 A schematic diagram of a level converter of a two-way adaptive overvoltage protection multi-voltage domain input and output buffer circuit provided in an embodiment of the present application.

[0035] Figure 5 A schematic diagram of a power supply voltage detection circuit of a two-way adaptive overvoltage protection multi-voltage domain input and output buffer circuit provided in an embodiment of the present application.

[0036] Figure 6 A schematic diagram of a circuit for generating a half power supply voltage of a two-way adaptive overvoltage protection multi-voltage domain input and output buffer circuit provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] The embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0038] With the development of CMOS technology, the power supply voltage of integrated circuits has become smaller and smaller to reduce power consumption. However, many systems are still equipped with chips manufactured using CMOS processes with different digital voltage levels (such as 0.9, 1.8, 3.3 or even 5.0V), and data exchange between chips with different levels becomes very difficult. Therefore, I / O buffers with mixed voltage tolerance are considered as a solution for exchanging signals with different logic voltage levels.

[0039] See also Figure 1 , which is an existing output buffer circuit. The gate voltages VP1 and VP2 of MP1 and MP2 are dynamically biased to prevent MP2 and MP1 from overvoltage when the buffer power supply voltage VDDIO is a high voltage, so that the gate-source voltage and gate-drain voltage of MP2 and MP1 are always within a safe range.

[0040] In order to support a wide power supply voltage, the prior art needs to dynamically bias the gate voltage of the MOS to ensure that the MOS is not over-stressed when the power supply voltage is high. The dynamic bias circuit greatly increases the design complexity, and the bias voltage is easily affected by PVT (Process, Voltage, Temperature) changes, thereby reducing reliability.

[0041] The present invention proposes a two-way adaptive overvoltage protection multi-voltage domain input and output buffer, wherein one way is composed of a low-voltage MOS and the other way is composed of a high-voltage MOS. The corresponding output level is selected by detecting the power supply voltage, and no dynamic bias circuit is required. The MOS can be guaranteed not to be overvoltage, thereby reducing the design complexity and improving the reliability.

[0042] like Figure 2 As shown, a two-way adaptive overvoltage protection multi-voltage domain input and output buffer includes a low voltage output stage 30, a high voltage output stage 40 and an overvoltage protection adaptive bias circuit 70.

[0043] The low voltage output stage 30 is used to convert the input signal into the output signal when the buffer operates in the low voltage domain; the high voltage output stage 40 is used to convert the input signal into the output signal when the buffer operates in the high voltage domain;

[0044] The low voltage output stage 30 includes a first MOS transistor MP1, a second MOS transistor MP2, a third MOS transistor MN1 and a fourth MOS transistor MN2 which are sequentially cascaded between the buffer power supply voltage VDDIO and the ground, and are all low withstand voltage MOS transistors; in a specific implementation process, the first MOS transistor MP1 and the second MOS transistor MP2 are PMOS transistors, the third MOS transistor MN1 and the fourth MOS transistor MN2 are NMOS transistors, the source of the first MOS transistor MP1 is connected to the buffer power supply voltage VDDIO, the drain of the first MOS transistor MP1 is connected to the source of the second MOS transistor MP2, the drain of the second MOS transistor MP2 is connected to the drain of the third MOS transistor MN1, the source of the third MOS transistor MN1 is connected to the drain of the fourth MOS transistor MN2, and the source of the fourth MOS transistor MN2 is grounded.

[0045] The high-voltage output stage 40 includes a fifth MOS transistor MP3 and a sixth MOS transistor MN3 cascaded between the buffer power supply voltage VDDIO and the ground, both of which are high-voltage MOS transistors; in the specific implementation process, the fifth MOS transistor MP3 is a PMOS transistor, the sixth MOS transistor MN3 is an NMOS transistor, the source of the fifth MOS transistor MP3 is connected to the buffer power supply voltage VDDIO, the drain of the fifth MOS transistor MP3 is connected to the drain of the sixth MOS transistor MN3, and the source of the sixth MOS transistor MN3 is grounded;

[0046] The gate of the first MOS transistor MP1, the gate of the fourth MOS transistor MN2, the gate of the fifth MOS transistor MP3 and the gate of the sixth MOS transistor MN3 are driven by the first data conversion signal VP1_LS, the second data conversion signal VN2_LS, the third data conversion signal VP3_LS and the fourth data conversion signal VN3_LS respectively; the gate of the second MOS transistor MP2 and the gate of the third MOS transistor MN1 are driven by the first adaptive bias signal VP2 and the second adaptive bias signal VN1 respectively; the drain of the second MOS transistor MP2 and the drain of the third MOS transistor MN1 are connected to the output terminal PAD; the drain of the fifth MOS transistor MP3 and the drain of the sixth MOS transistor MN3 are connected to the output terminal PAD;

[0047] The overvoltage protection adaptive bias circuit 70 is used to generate a first adaptive bias signal VP2 and a second adaptive bias signal VN1 by detecting a change in the buffer power supply voltage VDDIO.

[0048] The low voltage output stage 30 is composed of cascaded MOS and can support a wider range of voltages. When the buffer operates in the high voltage domain, that is, when the low voltage output stage 30 is not operating, the gate voltage of the low withstand voltage MOS is automatically switched by the adaptive bias circuit 70 to ensure that the low withstand voltage MOS will not be over-voltaged.

[0049] like Figure 2 As shown, the overvoltage protection adaptive bias circuit 70 includes a first switch SW1A, a second switch SW1B, a third switch SW2A and a fourth switch SW2B. The overvoltage protection adaptive bias circuit 70 receives an output stage selection signal SELLV, a buffer power supply voltage VDDIO and a half buffer power supply voltage VDDIO / 2 as inputs, and uses the output stage selection signal SELLV to control the on and off of the first switch SW1A, the second switch SW1B, the third switch SW2A and the fourth switch SW2B, and outputs a first adaptive bias signal VP2 and a second adaptive bias signal VN1 to control the gate voltage of the second MOS transistor MP2 and the gate voltage of the third MOS transistor MN1 respectively; the output stage selection signal is used to select the output signal of the low voltage output stage 30 or the high voltage output stage 40.

[0050] When the output stage selection signal SELLV is a high level logic 1, the second switch SW1B is turned on, the first switch SW1A is turned off, the VP2 pin is controlled to output a low level logic 0, thereby turning on the second MOS transistor MP2, the third switch SW2A is turned on, the fourth switch SW2B is turned off, the VN1 pin is controlled to output VDDIO, thereby turning off the third MOS transistor MN1.

[0051] When the output stage selection signal SELLV is a low level logic 0, the first switch SW1A is turned on and the second switch SW1B is turned off, thereby switching the gate voltage VP2 of the second MOS transistor MP2 from 0 to VDDIO / 2 to prevent the second MOS transistor MP2 from being over-voltage due to the high power supply voltage PAD outputting a high level, the fourth switch SW2B is turned on and the third switch SW2A is turned off, switching the gate VN1 pin of the third MOS transistor MN1 from VDDIO to VDDIO / 2 to prevent the third MOS transistor MN1 from being over-voltage due to the high power supply voltage PAD outputting a low level. The overvoltage protection adaptive bias circuit 70 switches the gate voltages of the second MOS transistor MP2 and the third MOS transistor MN1 by detecting the change of the output stage selection signal SELLV to avoid the second MOS transistor MP2 and the third MOS transistor MN1 from being over-voltage when the high power supply voltage, i.e., the low voltage output stage, is turned off.

[0052] In the specific implementation process, the overvoltage protection adaptive bias circuit 70 also includes a third inverter U3, the output stage selection signal SELLV is input to the third inverter U3, the signal outputted from the output end of the third inverter U3 controls the on and off of the first switch SW1A and the fourth switch SW2B, and the output stage selection signal SELLV controls the on and off of the second switch SW1B and the third switch SW2A; one end of the first switch SW1A is connected to half of the buffer power supply voltage VDDIO / 2, and the other end is connected to one end of the second switch SW1B, and the first adaptive bias signal VP2 is output at the connection; the other end of the second switch SW1B is grounded; one end of the third switch SW2A is connected to the buffer power supply voltage VDDIO, and the other end is connected to one end of the fourth switch SW2B, and the second adaptive bias signal VN1 is output at the connection; the other end of the fourth switch SW2B is connected to half of the buffer power supply voltage VDDIO / 2.

[0053] The two-way adaptive overvoltage protection multi-voltage domain input and output buffer proposed in this embodiment also includes a power supply voltage detection circuit 50, which is composed of a low-voltage MOS transistor. The power supply voltage detection circuit 50 uses the power supply voltage VDDIO of the I / O buffer as an input. When the power supply voltage is detected to be a high voltage, the SELLV pin is controlled to output a low-level logic 0, and the SELLVN pin is controlled to output a low-voltage high-level logic 1, and the low-voltage output stage 30 is turned off and the high-voltage output stage 40 is turned on. When the power supply voltage is detected to be a low voltage, the SELLV pin is controlled to output a low-voltage high-level logic 1, and the SELLVN pin is controlled to output a low-level logic 0, and the low-voltage output stage 30 is turned on and the high-voltage output stage 40 is turned off. The superimposed diode can generate different bias voltages according to different power supply voltages, so the power supply voltage value can be identified by identifying the gate voltage of each diode.

[0054] In the specific implementation process, Figure 5As shown, the power supply voltage detection circuit 50 includes a first cascade circuit, a second cascade circuit, a second low withstand voltage NMOS transistor MN502 and an inverter circuit, the first cascade circuit includes a third low withstand voltage PMOS transistor MP503, a fourth low withstand voltage PMOS transistor MP504, a fifth low withstand voltage PMOS transistor MP505, a third low withstand voltage NMOS transistor MN503, a sixth low withstand voltage PMOS transistor MP506, a seventh low withstand voltage PMOS transistor MP507 and an eighth low withstand voltage PMOS transistor MP508, which are sequentially cascaded between the buffer power supply voltage VDDIO and the ground, the second cascade circuit includes a first low withstand voltage PMOS transistor MP501, a second low withstand voltage PMOS transistor MP502 and a first low withstand voltage NMOS transistor MN501, which are sequentially cascaded between the chip power supply voltage VDD and the ground;

[0055] The gate of the third low withstand voltage PMOS transistor MP503 and the gate of the third low withstand voltage NMOS transistor MN503 are both connected to the chip power supply voltage VDD, the gate and drain short-circuited point of the fourth low withstand voltage PMOS transistor MP504 are connected to the gate of the first low withstand voltage PMOS transistor MP501, the gate and drain short-circuited point of the sixth low withstand voltage PMOS transistor MP506 are respectively connected to the gate of the second low withstand voltage PMOS transistor MP502, the gate of the first low withstand voltage NMOS transistor MN501 and the drain of the second low withstand voltage NMOS transistor MN502; the source of the second low withstand voltage NMOS transistor MN502 is grounded, and the gate is connected to the input end of the inverter circuit; the connection point between the drain of the second low withstand voltage PMOS transistor MP502 and the drain of the first low withstand voltage NMOS transistor MN501 is connected to the input end of the inverter circuit, and the output end of the inverter circuit obtains the output stage selection signal SELLV. The inverter circuit includes a fourth inverter U4 and a fifth inverter U5 connected in series. The output end of the fifth inverter U5 can be connected to a sixth inverter U6 to obtain an inverted signal SELLVN of the output stage selection signal SELLV.

[0056] like Figure 2 As shown, the two-way adaptive overvoltage protection multi-voltage domain input and output buffer proposed in this embodiment also includes a pre-driver stage 10 and a level conversion circuit 20, wherein the pre-driver stage 10 is used to receive input data DI, and generate a first data signal VP1, a second data signal VN2, a third data signal VP3 and a fourth data signal VN3 according to an enable signal OE, an output stage selection signal SELLV and a chip power supply voltage VDD;

[0057] The level conversion circuit 20 is used to convert the first data signal VP1, the second data signal VN2, the third data signal VP3 and the fourth data signal VN3 into a first data conversion signal VP1_LS, a second data conversion signal VN2_LS, a third data conversion signal VP3_LS and a fourth data conversion signal VN3_LS respectively according to the chip power supply voltage VDD and the buffer power supply voltage VDDIO.

[0058] The pre-driver stage 10 receives input data using the data input port DI, receives an enable signal using the enable port OE, and uses the output stage selection signal SELLV as an input control to select a low-voltage or high-voltage output stage. OE is a high-level logic 1 to indicate that the output buffer is working, and a low-level logic 0 to indicate that the output buffer is off. DI is a high-level logic 1 to indicate a high-level input, and a low-level logic 0 to indicate a low-level input. SELLV is a high-level logic 1 to indicate that a low-voltage output stage is selected, and a low-level logic 0 to indicate that a high-voltage output stage is selected. The pre-driver stage 10 outputs a first data signal VP1, a second data signal VN2, a third data signal VP3, and a fourth data signal VN3.

[0059] When the low power supply voltage transmits a high level, that is, OE, DI and SELLV are both high levels, the first data signal VP1 outputs a low-level logic 0, the second data signal VN2 outputs a low-level logic 0, the third data signal VP3 outputs a high-level logic 1, and the fourth data signal VN3 outputs a low-level logic 0. When the low power supply voltage transmits a low level, that is, OE and SELLV are high-level logic 1, DI is low-level logic 0, the first data signal VP1 outputs a high-level logic 1, the second data signal VN2 outputs a high-level logic 1, the third data signal VP3 outputs a high-level logic 1, and the fourth data signal VN3 outputs a low-level logic 0. When the high power supply voltage transmits a high level, that is, OE and DI are high-level logic 1, SELLV is low-level logic 0, the first data signal VP1 outputs a high-level logic 1, the second data signal VN2 outputs a low-level logic 0, the third data signal VP3 outputs a low-level logic 0, and the fourth data signal VN3 outputs a low-level logic 0. The high power supply voltage transmits a low level, that is, OE is a high-level logic 1, DI and SELLV are low-level logic 0, the first data signal VP1 outputs a high-level logic 1, the second data signal VN2 outputs a low-level logic 0, the third data signal VP3 outputs a high-level logic 1, and the fourth data signal VN3 outputs a high-level logic 1. When the buffer is turned off, that is, OE is a low-level logic 0, the first data signal VP1 outputs a high-level logic 1, the second data signal VN2 outputs a low-level logic 0, the third data signal VP3 outputs a high-level logic 1, and the fourth data signal VN3 outputs a low-level logic 0.

[0060] The circuit structure of the pre-driver stage 10 includes various types, including but not limited to: Figure 3As shown in the circuit structure. Figure 3 The pre-driver stage 10 shown includes a seventh inverter U7 to a thirteenth inverter U13, a first OR gate G1, a second OR gate G2, a first AND gate G3 and a second AND gate G4. The input terminal of the seventh inverter U7 is connected to the enable signal OE, and the output terminal is respectively connected to the input terminal of the first OR gate G1 and the input terminal of the second OR gate G2, and the enable signal is also respectively connected to the input terminal of the first AND gate G3 and the input terminal of the second AND gate G4; the input terminal of the eighth inverter U8 is connected to the input signal DI, and the output terminal is respectively connected to the input terminal of the first OR gate G1, the input terminal of the second OR gate G2, the input terminal of the first AND gate G3 and the input terminal of the second AND gate G4; the input terminal of the ninth inverter U9 is connected to the output stage selection signal SELLV, and the output terminal is respectively connected to the input terminal of the first OR gate G1 and the input terminal of the second AND gate G4, and the output stage selection signal SELLV is also respectively connected to the input terminal of the first AND gate G3 and the input terminal of the second OR gate G2. The output end of the first OR gate G1 is connected to the input end of the tenth inverter U10, and the tenth inverter U10 outputs the first data signal VP1; the output end of the first AND gate G3 is connected to the input end of the eleventh inverter U11, and the eleventh inverter U11 outputs the second data signal VN2; the output end of the second OR gate G2 is connected to the twelfth inverter U12, and the twelfth inverter U12 outputs the third data signal VP3; the output end of the second AND gate G4 is connected to the thirteenth inverted signal U13, and the thirteenth inverted signal U13 outputs the fourth data signal VN3.

[0061] The level conversion circuit 20 is composed of four identical single-ended input and single-ended output level converters, and the level converter includes a first inverter U1, a second inverter U2, a third cascade circuit and a fourth cascade circuit, wherein the third cascade circuit includes a first high withstand voltage PMOS transistor MP201, a second high withstand voltage PMOS transistor MP202 and a first high withstand voltage NMOS transistor MN201 cascaded between the buffer power supply voltage VDDIO and the ground, and the fourth cascade circuit includes a third high withstand voltage PMOS transistor MP203, a fourth high withstand voltage PMOS transistor MP204 and a second high withstand voltage NMOS transistor MN202 cascaded between the buffer power supply voltage VDDIO and the ground. The MOS transistors in the level converter circuit are all composed of high withstand voltage MOS transistors, and the buffer power supply voltage VDDIO is used as the power supply. The first inverter U1 and the second inverter U2 both include a plurality of MOS transistors, and the MOS transistors in the first inverter U1 and the second inverter U2 are composed of low withstand voltage MOS transistors, and VDD is used as the power supply. Each level converter takes the first data signal VP1, the second data signal VN2, the third data signal VP3, and the fourth data signal VN3 as input, converts the high level VDD into VDDIO, and sequentially outputs the first data conversion signal VP1_LS, the second data conversion signal VN2_LS, the third data conversion signal VP3_LS, and the fourth data conversion signal VN3_LS, respectively controlling the gate of the first MOS transistor MP1, the gate of the fourth MOS transistor MN2, the gate of the fifth MOS transistor MP3, and the gate of the sixth MOS transistor MN3, thereby ensuring the normal turning off and on of the first MOS transistor MP1, the fourth MOS transistor MN2, the fifth MOS transistor MP3, and the sixth MOS transistor MN3.

[0062] In the specific implementation process, Figure 4 As shown, the input of the level converter is IN, and the output is OUT. The first inverter U1 takes the input IN and the chip power supply voltage VDD as input, and outputs a first inverted signal; the second inverter U2 takes the first inverted signal and the chip power supply voltage VDD as input, and outputs a second inverted signal;

[0063] The gate of the first high withstand voltage PMOS transistor MP201 is connected to the drain of the fourth high withstand voltage PMOS transistor MP204 and the drain of the second high withstand voltage NMOS transistor MP202, and the connection is also connected to the output OUT; the gate of the second high withstand voltage PMOS transistor MP202 is connected to the gate of the first high withstand voltage NMOS transistor MN201, and the connection is connected to the second inverted signal; the gate of the third high withstand voltage PMOS transistor MP203 is connected to the drain of the second high withstand voltage PMOS transistor MP202 and the drain of the first high withstand voltage NMOS transistor MN201; the gate of the fourth high withstand voltage PMOS transistor MP204 is connected to the gate of the second high withstand voltage NMOS transistor MN202, and the connection is connected to the first inverted signal.

[0064] like Figure 2 As shown, the two-way adaptive overvoltage protection multi-voltage domain input and output buffer proposed in this embodiment also includes a half power supply voltage generation circuit 60, and the half power supply voltage generation circuit 60 is used to obtain a half buffer power supply voltage VDDIO / 2 according to the buffer power supply voltage VDDIO. The high-voltage MOS transistor is used instead of the resistor voltage divider to save area and reduce power consumption.

[0065] In the specific implementation process, Figure 6 As shown, the half power supply voltage generating circuit 60 includes a fifth high withstand voltage PMOS transistor MP601, a third high withstand voltage NMOS transistor MN601, a sixth high withstand voltage PMOS transistor MP602, a fourth high withstand voltage NMOS transistor MN602, a seventh high withstand voltage PMOS transistor MP603 and an eighth high withstand voltage PMOS transistor MP604, the source of the fifth high withstand voltage PMOS transistor MP601 and the source of the seventh high withstand voltage PMOS transistor MP603 are both connected to the buffer power supply voltage VDDIO, the drain of the fifth high withstand voltage PMOS transistor MP601 is connected to the drain of the seventh high withstand voltage PMOS transistor MP604. The drain and gate of the third high withstand voltage NMOS transistor MN601 are connected at a short connection, and the connection is connected to the gate of the seventh high withstand voltage PMOS transistor MP603; the gate of the fifth high withstand voltage PMOS transistor MP601 is connected to the source of the third high withstand voltage NMOS transistor MN601 and the source of the sixth high withstand voltage PMOS transistor MP602, the drain of the sixth high withstand voltage PMOS transistor MP602 is connected to the short connection of the drain and gate of the fourth high withstand voltage NMOS transistor MN602, and the gate of the sixth PMOS transistor and the source of the fourth high withstand voltage NMOS transistor MN602 are both grounded;

[0066] The drain of the seventh high withstand voltage PMOS transistor MP603 is connected to the source of the eighth high withstand voltage PMOS transistor MP604, and the connection point is connected to the output half buffer power supply voltage VDDIO / 2; the gate and drain of the eighth high withstand voltage PMOS transistor MP604 are short-circuited, and the short-circuited point is grounded.

[0067] Example 1 Low power supply voltage outputs high level:

[0068] OE is high level logic 1, DI is high level logic 1, and SELLV is high level logic 1. The low voltage output stage 30 is turned on, and the high voltage output stage 40 is turned off. The first data signal VP1 of the pre-driver stage 10 outputs low level logic 0, the second data signal VN2 outputs low level logic 0, the third data signal VP3 outputs high level logic 1, and the fourth data signal VN3 outputs low level logic 0. After conversion by the level conversion circuit 20, the gate voltage of the first MOS transistor MP1 is VDDIO V, the gate voltage of the fourth MOS transistor MN2 is 0V, the gate voltage of the fifth MOS transistor MP3 is VDDIO V, and the gate voltage of the sixth MOS transistor MN3 is 0V. The first MOS transistor MP1 is turned on, the fourth MOS transistor MN2 is turned off, and the fifth MOS transistor MP3 and the sixth MOS transistor MN3 are turned off. The VN1 pin of the overvoltage protection adaptive bias circuit 70 outputs VDDIO V, the VP2 pin outputs low level logic 0, the second MOS transistor MP2 is turned on, the third MOS transistor MN1 is turned off, and the PAD port outputs a low voltage high level VDDIO.

[0069] Example 2 Low power supply voltage outputs low level:

[0070] OE is a high-level logic 1, DI is a low-level logic 0, and SELLV is a high-level logic 1. The low-voltage output stage 30 is turned on, and the high-voltage output stage 40 is turned off. The first data signal VP1 of the pre-driver stage 10 outputs a high-level logic 1, the second data signal VN2 outputs a high-level logic 1, the third data signal VP3 outputs a high-level logic 1, and the fourth data signal VN3 outputs a low-level logic 0. After conversion by the level conversion circuit 20, the gate voltage of the first MOS transistor MP1 is VDDIOV, the gate voltage of the fourth MOS transistor MN2 is VDDIOV, the gate voltage of the fifth MOS transistor MP3 is VDDIOV, and the gate voltage of the sixth MOS transistor MN3 is 0V. The first MOS transistor MP1 is turned off, the fourth MOS transistor MN2 is turned on, and the fifth MOS transistor MP3 and the sixth MOS transistor MN3 are turned off. The PAD port outputs a low-level logic 0. The VN1 pin of the overvoltage protection adaptive bias circuit 70 outputs VDDIOV, the VP2 pin outputs a low-level logic 0, the second MOS transistor MP2 is turned on, and the third MOS transistor MN1 is turned off.

[0071] Embodiment 3 High power supply voltage outputs high level:

[0072] OE is a high-level logic 1, DI is a high-level logic 1, SELLV is a low-level logic 0, the first data signal VP1 of the pre-driver stage 10 outputs a high-level logic 1, the second data signal VN2 outputs a low-level logic 0, the third data signal VP3 outputs a low-level logic 0, and the fourth data signal VN3 outputs a low-level logic 0. After conversion by the level conversion circuit 20, the gate voltage of the first MOS transistor MP1 is VDDIOV, the gate voltage of the fourth MOS transistor MN2 is 0V, the gate voltage of the fifth MOS transistor MP3 is 0V, and the gate voltage of the sixth MOS transistor MN3 is 0V. The first MOS transistor MP1 and the fourth MOS transistor MN2 are turned off, the fifth MOS transistor MP3 is turned on, and the sixth MOS transistor MN3 is turned off, and the PAD port outputs a high voltage high level. The overvoltage protection adaptive bias circuit 70 receives the low level SELLV, the first switch SW1A is turned on, and the voltage of the VP2 pin is controlled to switch from 0 to VDDIO / 2V to prevent the second MOS transistor MP2 from overvoltage, and the fourth switch SW2B is turned on, and the voltage of VN1 is controlled to switch from VDDIOV to VDDIO / 2V to prevent the third MOS transistor MN1 from overvoltage.

[0073] Example 4 High power supply voltage outputs low level:

[0074] OE is a high-level logic 1, DI is a low-level logic 0, SELLV is a low-level logic 0, the first data signal VP1 of the pre-driver stage 10 outputs a high-level logic 1, the second data signal VN2 outputs a low-level logic 0, the third data signal VP3 outputs a high-level logic 1, and the fourth data signal VN3 outputs a high-level logic 1. After conversion by the level conversion circuit 20, the gate voltage of the first MOS transistor MP1 is VDDIOV, the gate voltage of the fourth MOS transistor MN2 is 0V, the gate voltage of the fifth MOS transistor MP3 is VDDIOV, and the gate voltage of the sixth MOS transistor MN3 is VDDIOV. The first MOS transistor MP1 and the fourth MOS transistor MN2 are turned off, the fifth MOS transistor MP3 is turned off, the sixth MOS transistor MN3 is turned on, and the PAD port outputs a low-level logic 0. The overvoltage protection adaptive bias circuit 70 receives the low level SELLV, the first switch SW1A is turned on, and the voltage of the VP2 pin is controlled to switch from 0 to VDDIO / 2V to prevent the second MOS transistor MP2 from overvoltage, and the fourth switch SW2B is turned on, and the voltage of VN1 is controlled to switch from VDDIOV to VDDIO / 2V to prevent the third MOS transistor MN1 from overvoltage.

[0075] The embodiment of the present invention can support input and output buffer operating voltages of 0.9V, 1.2V, 1.8V and 3.3V. The application of the embodiment of the present invention includes:

[0076] The low voltage output stage 30 is composed of a MOS transistor with a withstand voltage of 1.8V, and the high voltage output stage 40 is composed of a MOS transistor with a withstand voltage of 3.3V.

[0077] The low voltage output stage 30 is composed of a MOS transistor with a withstand voltage of 1.2V, and the high voltage output stage 40 is composed of a MOS transistor with a withstand voltage of 1.8V.

[0078] The low voltage output stage 30 is composed of a MOS transistor with a withstand voltage of 0.9V, and the high voltage output stage 40 is composed of a MOS transistor with a withstand voltage of 1.8V.

[0079] To ensure that the low-voltage MOS transistor is not over-voltaged, the maximum supported operating voltage (buffer power supply voltage VDDIO) is equal to twice the voltage of the low-voltage MOS transistor, that is, VDDIO is less than or equal to twice VDD.

[0080] The present invention provides a two-way adaptive overvoltage protection multi-voltage domain input and output buffer idea and method. There are many methods and ways to implement the technical solution. The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made, and these improvements and modifications should also be regarded as the protection scope of the present invention. All components not specified in this embodiment can be implemented by existing technologies.

Claims

1. A two-way adaptive overvoltage protection multi-voltage domain input and output buffer, characterized in that: The invention comprises a low voltage output stage (30), a high voltage output stage (40) and an overvoltage protection adaptive bias circuit (70). The low voltage output stage (30) is used to convert the input signal into the output signal when the buffer operates in the low voltage domain; the high voltage output stage (40) is used to convert the input signal into the output signal when the buffer operates in the high voltage domain; The low voltage output stage (30) comprises a first MOS transistor, a second MOS transistor, a third MOS transistor and a fourth MOS transistor which are sequentially cascaded between the buffer power supply voltage VDDIO and the ground, and the high voltage output stage (40) comprises a fifth MOS transistor and a sixth MOS transistor which are cascaded between the buffer power supply voltage VDDIO and the ground; The gate of the first MOS transistor, the gate of the fourth MOS transistor, the gate of the fifth MOS transistor and the gate of the sixth MOS transistor are driven by the first to fourth data conversion signals respectively; the gate of the second MOS transistor and the gate of the third MOS transistor are driven by the first adaptive bias signal and the second adaptive bias signal respectively; the drain of the second MOS transistor and the drain of the third MOS transistor are connected to the output terminal; A drain connection point of the fifth MOS transistor and a drain connection point of the sixth MOS transistor is connected to the output terminal; The overvoltage protection adaptive bias circuit (70) is used to generate a first adaptive bias signal and a second adaptive bias signal by detecting changes in the buffer power supply voltage VDDIO.

2. The two-way adaptive overvoltage protection multi-voltage domain input and output buffer according to claim 1, characterized in that: The overvoltage protection adaptive bias circuit (70) comprises a first switch, a second switch, a third switch and a fourth switch. The overvoltage protection adaptive bias circuit (70) takes an output stage selection signal, a buffer power supply voltage VDDIO and a half buffer power supply voltage VDDIO / 2 as inputs, uses the output stage selection signal to control the on and off of the first switch, the second switch, the third switch and the fourth switch, and outputs a first adaptive bias signal and a second adaptive bias signal to respectively control the gate of the second MOS transistor and the gate of the third MOS transistor; the output stage selection signal is used to select a low voltage output stage (30) or a high voltage output stage (40) output signal.

3. The two-way adaptive overvoltage protection multi-voltage domain input and output buffer according to claim 2, characterized in that: When the output stage selection signal is a high-level logic 1, the second switch is turned on, the first switch is turned off, and the first adaptive bias signal outputs a low-level logic 0, thereby turning on the second MOS transistor; The third switch is turned on, the fourth switch is turned off, and the second adaptive bias signal outputs VDDIO, thereby turning off the third MOS transistor; When the output stage selection signal is a low level logic 0, the first switch is turned on, the second switch is turned off, and the first adaptive bias signal is switched from a low level logic 0 to VDDIO / 2 to prevent the output terminal from outputting a high level when the power supply voltage is high, causing an overvoltage of the second MOS transistor; The fourth switch is turned on, the third switch is turned off, and the second adaptive bias signal is switched from VDDIO to VDDIO / 2 to prevent the third MOS transistor from being over-voltaged when the output terminal outputs a low level when the power supply voltage is high.

4. The two-way adaptive overvoltage protection multi-voltage domain input and output buffer according to claim 3, characterized in that: The power supply voltage detection circuit (50) is also included. The power supply voltage detection circuit (50) takes the buffer power supply voltage VDDIO as input. When the buffer power supply voltage VDDIO is detected to be a high voltage, the output stage selection signal is controlled to output a low-level logic 0. When the buffer power supply voltage VDDIO is detected to be a low voltage, the output stage selection signal is controlled to output a low-voltage high-level logic 1.

5. The two-way adaptive overvoltage protection multi-voltage domain input and output buffer according to claim 4, characterized in that: It also includes a pre-driving stage (10) and a level conversion circuit (20), wherein the pre-driving stage (10) is used to receive input data and generate first to fourth data signals according to an enable signal, an output stage selection signal and a chip power supply voltage VDD; The level conversion circuit (20) is used for converting the first to fourth data signals into first to fourth data conversion signals according to the chip power supply voltage VDD and the buffer power supply voltage VDDIO.

6. The two-way adaptive overvoltage protection multi-voltage domain input and output buffer according to claim 5, characterized in that: The device also includes a half power supply voltage generating circuit (60), wherein the half power supply voltage generating circuit (60) is used to obtain a half buffer power supply voltage VDDIO / 2 according to the buffer power supply voltage VDDIO.

7. The two-way adaptive overvoltage protection multi-voltage domain input and output buffer according to claim 6, characterized in that: The power supply voltage detection circuit (50) comprises a first cascade circuit, a second cascade circuit, a second low withstand voltage NMOS transistor and an inverter circuit, wherein the first cascade circuit comprises a third low withstand voltage PMOS transistor, a fourth low withstand voltage PMOS transistor connected in diode connection, a fifth low withstand voltage PMOS transistor connected in diode connection, a third low withstand voltage NMOS transistor, a sixth low withstand voltage PMOS transistor connected in diode connection, a seventh low withstand voltage PMOS transistor connected in diode connection and an eighth low withstand voltage PMOS transistor connected in diode connection, and the second cascade circuit comprises a first low withstand voltage PMOS transistor, a second low withstand voltage PMOS transistor and a first low withstand voltage NMOS transistor connected in diode connection in sequence between the chip power supply voltage VDD and the ground; The gate of the third low-voltage-withstand PMOS transistor and the gate of the third low-voltage-withstand NMOS transistor are both connected to the chip power supply voltage VDD, the gate and drain short-circuit of the fourth low-voltage-withstand PMOS transistor is connected to the gate of the first low-voltage-withstand PMOS transistor, the gate and drain short-circuit of the sixth low-voltage-withstand PMOS transistor are respectively connected to the gate of the second low-voltage-withstand PMOS transistor, the gate of the first low-voltage-withstand NMOS transistor and the drain of the second low-voltage-withstand NMOS transistor; the source of the second low-voltage-withstand NMOS transistor is grounded, and the gate is connected to the input of the inverter circuit, and the output of the inverter circuit obtains the output stage selection signal.

8. The two-way adaptive overvoltage protection multi-voltage domain input and output buffer according to claim 7, characterized in that: The pre-driver stage (10) receives input data via a data input port DI, receives an enable signal via an enable port OE, and uses an output stage selection signal SELLV as an input control to select a low-voltage or high-voltage output stage. OE is a high-level logic 1 indicating that the output buffer is working, and a low-level logic 0 indicating that the output buffer is closed; DI is a high-level logic 1 indicating that a high-level input is input, and a low-level logic 0 indicating that an input is low-level; SELLV is a high-level logic 1 indicating that a low-voltage output stage is selected, and a low-level logic 0 indicating that a high-voltage output stage is selected; the pre-driver stage (10) outputs a first data signal, a second data signal, a third data signal, and a fourth data signal; When the low power supply voltage transmits a high level, that is, OE, DI and SELLV are all high levels at the same time, the first data signal outputs a low level logic 0, the second data signal outputs a low level logic 0, the third data signal outputs a high level logic 1, and the fourth data signal outputs a low level logic 0; When the low power supply voltage transmits a low level, that is, OE and SELLV are high-level logic 1, DI is low-level logic 0, the first data signal outputs high-level logic 1, the second data signal outputs high-level logic 1, the third data signal outputs high-level logic 1, and the fourth data signal outputs low-level logic 0; The high power supply voltage transmits a high level, that is, OE and DI are high-level logic 1, SELLV is low-level logic 0, the first data signal outputs high-level logic 1, the second data signal outputs low-level logic 0, the third data signal outputs low-level logic 0, and the fourth data signal outputs low-level logic 0; The high power supply voltage transmits a low level, that is, OE is a high-level logic 1, DI and SELLV are low-level logic 0, the first data signal outputs a high-level logic 1, the second data signal outputs a low-level logic 0, the third data signal outputs a high-level logic 1, and the fourth data signal outputs a high-level logic 1; When the buffer is turned off, that is, OE is a low-level logic 0, the first data signal outputs a high-level logic 1, the second data signal outputs a low-level logic 0, the third data signal outputs a high-level logic 1, and the fourth data signal outputs a low-level logic 0.

9. The two-way adaptive overvoltage protection multi-voltage domain input and output buffer according to claim 8, characterized in that: The level conversion circuit (20) comprises four identical single-ended input and single-ended output level converters, the input of the level converter is denoted as IN, and the output is denoted as OUT, the level converter comprises a first inverter, a second inverter, a third cascade circuit and a fourth cascade circuit, the third cascade circuit comprises a first high withstand voltage PMOS transistor, a second high withstand voltage PMOS transistor and a first high withstand voltage NMOS transistor cascaded between the buffer power supply voltage VDDIO and the ground, the fourth cascade circuit comprises a third high withstand voltage PMOS transistor, a fourth high withstand voltage PMOS transistor and a second high withstand voltage NMOS transistor cascaded between the buffer power supply voltage VDDIO and the ground; The first inverter takes the input IN and the chip power supply voltage VDD as input, and outputs a first inverted signal; the second inverter takes the first inverted signal and the chip power supply voltage VDD as input, and outputs a second inverted signal; The gate of the first high withstand voltage value PMOS transistor is connected to the drain of the fourth high withstand voltage value PMOS transistor and the drain connection of the second high withstand voltage value NMOS transistor, and the connection is also connected to the output OUT; the gate of the second high withstand voltage value PMOS transistor is connected to the gate of the first high withstand voltage value NMOS transistor, and the connection is connected to the second inverting signal; the gate of the third high withstand voltage value PMOS transistor is connected to the drain of the second high withstand voltage value PMOS transistor and the drain connection of the first high withstand voltage value NMOS transistor; the gate of the fourth high withstand voltage value PMOS transistor is connected to the gate of the second high withstand voltage value NMOS transistor, and the connection is connected to the first inverting signal.

10. The two-way adaptive overvoltage protection multi-voltage domain input and output buffer according to claim 9, characterized in that: The half power supply voltage generating circuit (60) comprises a fifth high withstand voltage value PMOS transistor, a third high withstand voltage value NMOS transistor, a sixth high withstand voltage value PMOS transistor, a fourth high withstand voltage value NMOS transistor, a seventh high withstand voltage value PMOS transistor and an eighth high withstand voltage value PMOS transistor, the source of the fifth high withstand voltage value PMOS transistor and the source of the seventh high withstand voltage value PMOS transistor are both connected to the buffer power supply voltage VDDIO, the drain of the fifth high withstand voltage value PMOS transistor is connected to the short-circuit of the drain and gate of the third high withstand voltage value NMOS transistor, and the connection is connected to the gate of the seventh high withstand voltage value PMOS transistor; the gate of the fifth high withstand voltage value PMOS transistor is connected to the connection of the source of the third high withstand voltage value NMOS transistor and the source of the sixth PMOS transistor, the drain of the sixth PMOS transistor is connected to the short-circuit of the drain and gate of the fourth high withstand voltage value NMOS transistor, and the gate of the sixth PMOS transistor and the source of the fourth high withstand voltage value NMOS transistor are both grounded; The drain of the seventh high withstand voltage PMOS transistor is connected to the source of the eighth high withstand voltage PMOS transistor, and the connection point is connected to the output half buffer power supply voltage VDDIO / 2; the gate and drain of the eighth high withstand voltage PMOS transistor are short-circuited, and the short-circuited point is grounded.