An input port structure compatible with a wide range of input voltages
Patent Information
- Application Number
- CN202411126934.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-08-16
AI Technical Summary
[0008]2、由于稳压二极管的存在,输入端口对于GND或电源将不可设计多余的ESD结构,ESD能力则由该稳压二级管承担,而事实上这种稳压二极管的ESD能力很低;
[0028] 1. The present invention is designed with an input switch gate control circuit, which is powered by a bias circuit and power supply VDD. It controls the gate voltage of the input switch NM1 according to whether the high-voltage power supply VCC is powered off or not. V G Flexible control is performed to ensure that the input switch NM1 can be turned on normally when the overall circuit is in a low power consumption state, thereby realizing that the input port structure has a certain input signal regardless of whether the overall circuit is in a low power consumption or high power consumption state. .
Smart Images

Figure CN118659774B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of integrated circuits, and in particular to an input port structure compatible with a wide range of input voltages. Background Art
[0002] Most integrated circuit systems rely on 3.3V or 5V TTL levels, so input modules are often necessary in integrated circuit design. Common input modules are usually composed of input resistors, pull-up / pull-down structures, ESD structures, and Schmitt circuits. While such circuits are simple and universal, their input voltage range is firmly limited by their power supply voltage and transistor withstand voltage, so they are not competent when processing electrical signals with a wide range of variations.
[0003] Almost all input ports in current analog circuits are based on the Schmitt structure, and the pull-up and pull-down resistors, input resistance, etc. are designed according to specific needs. When the input voltage range is wide and the front stage of the Schmitt structure needs to be clamped, a common design solution is to use a Zener diode for clamping.
[0004] like Figure 1 As shown in the figure, there are two typical input ports that use Zener diodes for voltage clamping. R in Its input resistance is D 1. D 2 are all voltage stabilizing diodes; Figure 1 As shown in (a), when the input voltage is too high, D 1 is reversely broken down, V in 'Then D 1 clamped at its regulated value V 11 (usually slightly higher than 5V), which is the high-level input of the Smitt structure; when the input voltage is lower than 0V, D 1When forward conduction occurs, V in 'Will be D 1 forward conduction voltage drop V 12 clamped, which is the low level input of Smitt; however, since the internal resistance of the Zener diode is very small when it is forward-conducting, V in It is easy to burn when negative pressure is input, so Figure 1 The low-pressure range compatible with the structure in (a) is extremely small.
[0005] In order to be compatible with lower input voltage, a common design solution is to D Add another Zener diode from 1 to GND D2. For example Figure 1 As shown in (b), when the input voltage is too high, D 1 is reversely broken down, V in ' is clamped at D 1 plus the voltage regulation value D 2 forward conduction voltage drop; for low voltage, GND and V in The pressure difference between D 2 will enter the low-voltage clamping state only when it is reversely broken down, so the structure is compatible with lower input voltages.
[0006] The common input port clamped by Zener diode has the following disadvantages:
[0007] 1. By Figure 2 It can be seen that the voltage regulator diode has strict requirements on the current when it works normally, and it is easy to burn out when it is forward-conducted. The input voltage range that this structure can be compatible with is relatively small. Figure 1 The structure shown in (b) will not be very low in its compatible low-pressure limit.
[0008] 2. Due to the existence of the voltage-stabilizing diode, the input port cannot design redundant ESD structures for GND or power supply, and the ESD capability is borne by the voltage-stabilizing diode. In fact, the ESD capability of this voltage-stabilizing diode is very low.
[0009] 3. According to Figure 2 It can be seen that the performance parameters of the Zener diode have poor stability to PVT, so the clamping value of this clamping structure is highly sensitive to process and temperature;
[0010] 4. Since the reverse breakdown voltage drop and forward conduction voltage of the Zener diode are poorly controllable, the voltage clamping value and clamping trigger point of this structure are almost fixed and cannot adapt to a wide range of application scenarios. Summary of the invention
[0011] The purpose of the present invention is to provide an input port structure compatible with a wide range of input voltages. By combining normal voltage (5V) and high voltage (optional) MOS tubes, a control branch with multiple functions is integrated on the input path to achieve the four main functions of the invention: input switch tube gate control function, low voltage clamping function, high voltage clamping function and normal voltage following function, thereby realizing the conversion of a wide range of input voltages into 0V~3.3V / 5V TTL level output.
[0012] In order to solve the above technical problems, the present invention provides an input port structure compatible with a wide range of input voltages, comprising:
[0013] The voltage follower circuit includes a resistor R1, a switch tube NM1 and a Smitt structure; wherein the input terminal V in After being connected in series with the resistor R1, it is connected to the drain of the switch tube NM1, and the source of the switch tube NM1 is connected to the input end of the Smitt structure. V in ', the output of the Smitt structure V out is the overall output of the input port structure;
[0014] A bias circuit provides bias current I1 and bias current I2 for the input switch tube gate control circuit and the low voltage clamp circuit;
[0015] The input switch gate control circuit has its output connected to the gate of switch tube NM1, so that the gate voltage of switch tube NM1 V G It can switch automatically when the power supply VCC is powered off or on;
[0016] The output of the low voltage clamp circuit is connected to the input of the Smitt structure. V in ', when the input level is in a lower range, the low voltage clamp circuit can V in 'The input level is clamped at a lower level, making the output of the Smitt structure V out The output is 0;
[0017] High voltage clamp circuit, whose output is connected to the input of Smitt structure V in ', when the input level is in a higher range, the high voltage clamp circuit can V in 'The input level is clamped at a higher level, making the output V out The output is the power supply VDD.
[0018] Preferably, the bias circuit includes: a power supply VCC, a reference current source Iref, MOS transistors PM5-PM8, MOS transistors PM11-PM12 and bias currents I1-I2; wherein the sources of MOS transistors PM6, MOS transistors PM7 and MOS transistor PM11 are all connected to the power supply VCC, the gate of MOS transistor PM6 is commonly connected to the gate of MOS transistor PM7, the drain of MOS transistor PM6, the source of MOS transistor PM5 and the gate of MOS transistor PM11; the gate of MOS transistor PM5 is commonly connected to the gate of MOS transistor PM8, the drain of MOS transistor PM5, the gate of MOS transistor PM12 and the grounded reference current source Iref; the drain of MOS transistor PM7 is connected to the source of MOS transistor PM8, and the drain of MOS transistor PM8 outputs the bias current I1; the drain of MOS transistor PM11 is connected to the source of MOS transistor PM12, and the drain of MOS transistor PM12 outputs the bias current I2.
[0019] Preferably, the input switch tube gate control circuit includes: resistors R2~R3, MOS tube NM2 and MOS tubes PM9~PM10; wherein one end of the resistor R2 is connected to the power supply VDD, the other end of the resistor R2 is connected to the gate and source of the MOS tube NM2, the drain of the MOS tube NM2 is connected to the gate of the switch tube NM1, one end of the resistor R3 and the source of the MOS tube PM9, the other end of the resistor R3 is connected to the injection point of the bias current I1, the gate of the MOS tube PM9 is connected to the power supply VDD, the drain of the MOS tube PM9 is connected to the source of the MOS tube PM10, and the gate and drain of the MOS tube PM10 are connected and grounded.
[0020] Preferably, two branches are formed in the input switch gate control circuit, wherein the first branch is composed of a resistor R2 and a MOS tube NM2, and the second branch is a source follower composed of a resistor R3, a MOS tube PM9 and a MOS tube PM10; when the source follower is turned on, the diode-connected MOS tube NM2 is reverse biased, the first branch is turned off, and the gate voltage of the switch tube NM1 is V G Determined by the source follower; when the source follower is turned off, the MOS tube NM2 is forward biased, and the gate voltage of the switch tube NM1 V G Determined by the conduction of resistor R2 and MOS tube NM2.
[0021] Preferably, the low-voltage clamping circuit includes: a resistor R4 and NMOS tubes NM3~NM5; wherein the source of the MOS tube NM3 is grounded, the drain of the MOS tube NM3 is connected to the injection point of the bias current I2 through the resistor R4, the gate of the MOS tube NM3 is connected to the gate of the MOS tube NM4, the gate of the MOS tube NM5 is connected to the power supply VDD, the drain of the MOS tube NM5 is connected to the power supply VCC, the drain of the MOS tube NM4 is connected to the source of the MOS tube NM5, and the source of the MOS tube NM4 is the output end of the low-voltage clamping circuit.
[0022] Preferably, the resistor R4 and the MOS transistor NM3 form a bias circuit powered by the bias current I2. The determined bias current I2 enables the MOS transistors NM3-NM4 to have a determined gate voltage, so that the branch where the MOS transistors NM4-NM5 are located is turned on, and the MOS transistor NM4 acts as a source follower to clamp the source voltage at V G,NM3 - V GS,NM4 ;in V G,NM3 is the gate voltage of MOS tube NM3, where V GS,NM4 is the gate-source voltage difference of the MOS tube NM5; the MOS tube NM5 also acts as a source follower to clamp the source voltage below the power supply VDD to protect the MOS tube NM4 from working normally.
[0023] Preferably, the high-voltage clamping circuit includes: a resistor R5, NMOS tubes NM6~NM7 and PMOS tubes PM13~PM14; wherein the source of the PMOS tube PM14 is the output end of the high-voltage clamping circuit, the gate of the PMOS tube PM14 is connected to the gate and drain of the PMOS tube PM13 and one end of the resistor R5, the drain of the PMOS tube PM14 is connected to the drain and gate of the NMOS tube NM7, the source of the PMOS tube PM13 is connected to the power supply VDD, the other end of the resistor R5 is connected to the drain and gate of the NMOS tube NM6, and the source of the NMOS tube NM6 is connected to the source of the NMOS tube NM7 and is grounded.
[0024] Preferably, the PMOS transistor PM13, the resistor R5 and the NMOS transistor NM6 form a self-bias circuit, so that the PMOS transistor PM13 and the PMOS transistor PM14 have a certain gate voltage, and when the input voltage meets the requirements, the switch transistor NM1 and the PMOS transistor PM14 will jointly bias the input terminal of the Smitt structure. V in ' voltage value to clamp.
[0025] Preferably, when the circuit of the input port structure works normally, the low-voltage clamping circuit and the high-voltage clamping circuit do not work at the same time.
[0026] Preferably, an ESD device is also included, which is composed of an NMOS tube and a resistor; the drain of the NMOS tube is connected to the source of the switch tube NM1, and the resistor is connected in series between the gate and source of the NMOS tube and then grounded.
[0027] Compared with the prior art, the present invention has the following beneficial effects:
[0028] 1. The present invention is designed with an input switch tube gate control circuit, which is powered by a bias circuit and a power supply VDD, and controls the gate voltage of the input switch tube NM1 according to whether the high-voltage power supply VCC is powered off. V G Flexible control is performed to ensure that the input switch tube NM1 can be turned on normally when the overall circuit is in a low power consumption state, so that the input port structure has a certain input signal regardless of whether the overall circuit is in a low power consumption state or a high power consumption state.
[0029] 2. The present invention is designed with a low voltage clamping circuit, the output end of which is connected to the input end of the Smitt structure. V in ', when the input level V in When the voltage is in the lower range, the input end of the Smitt structure is connected to the low voltage clamping function tube NM4. V in 'The input level is clamped at a lower level, making the output of the Smitt structure V out The output is 0, and the present invention designs the width-to-length ratio of the low-voltage clamping function tube NM4 to be as large as possible to minimize V GS,NM4 Sensitivity to changes in current flowing through NM4, thus achieving input voltage V in The lower limit of compatibility is as low as possible.
[0030] 3. The present invention is designed with a high voltage clamping circuit, the output end of which is also connected to the input end of the Smitt structure. V in ', when the input level is in a higher range, the input terminal is switched to the high voltage clamp function tube PM14 by using the specific working state of the input switch tube NM1. V in 'The input level is clamped at a higher level, making the output V out The output is the power supply VDD, and because the high-voltage clamping value needs to satisfy the working states of the input switch tube NM1 and the high-voltage clamping function tube PM14 at the same time, the clamping value is a fixed voltage value.
[0031] 4. The present invention is designed with a voltage follower circuit. When the input voltage V in When the input voltage is between the low voltage clamp circuit working threshold and the high voltage clamp circuit working threshold, that is, when both the low voltage clamp circuit and the high voltage clamp circuit are not working, V in Directly transferred to the input of the Smitt structure V in ',accomplish V in 'The level completely follows V in change.
[0032] 5. The input port structure of the present invention integrates the above-mentioned input switch tube gate control, high-voltage clamping, voltage following and low-voltage clamping circuits. Each functional circuit performs division of labor according to the specific size of the input voltage, thereby achieving compatibility with a wide range of low-voltage inputs as well as a wide range of high-voltage inputs. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 The circuit diagrams of two typical input ports using voltage-clamping diodes in the prior art are shown in FIG. 1 ; (a) using voltage-clamping diodes D 1; (b) is a schematic diagram of a voltage-stabilizing diode D Add another Zener diode from 1 to GND D 2.
[0034] Figure 2 The figure is a voltage-current characteristic curve diagram of a Zener diode in the prior art.
[0035] Figure 3 The present invention is a circuit diagram of an input port structure compatible with a wide range of input voltages.
[0036] Figure 4 FIG. 4 is a bias circuit diagram in an embodiment of the present invention.
[0037] Figure 5 This is a circuit diagram of the gate control of the input switch tube in an embodiment of the present invention.
[0038] Figure 6 4 is a logic diagram of a low voltage clamping circuit in an embodiment of the present invention.
[0039] Figure 7 It is a logic diagram of a high voltage clamping circuit in an embodiment of the present invention.
[0040] Figure 8 4 is a logic diagram of a voltage follower circuit in an embodiment of the present invention.
[0041] Fig. 9is a voltage-current characteristic curve diagram of the MOS tube in an embodiment of the present invention. DETAILED DESCRIPTION
[0042] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The advantages and features of the present invention will become more apparent from the following description. It should be noted that the accompanying drawings are in very simplified form and in non-precise proportions, and are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention.
[0043] like Figure 3 As shown, an input port structure compatible with a wide range of input voltages proposed in an embodiment of the present invention includes:
[0044] Voltage follower circuit;
[0045] A bias circuit, which provides a bias current I1 and a bias current I2 for an input switch gate control circuit and a low-voltage clamp circuit when powered by a reference current Iref and a power supply VCC;
[0046] The input switch gate control circuit is powered by the bias circuit and the power supply VDD. Its output end is connected to the gate of the switch tube NM1, so that the gate voltage of the switch tube NM1 V G It can switch automatically when the power supply VCC is powered off or on;
[0047] The low voltage clamp circuit is powered by the bias circuit and the power supply VCC, and its output end is connected to the input end of the Smitt structure. V in ', when the input level is in a lower range, the low voltage clamp circuit can V in 'The input level is clamped at a lower level, making the output of the Smitt structure V out The output is 0;
[0048] High voltage clamp circuit, the high voltage clamp circuit is powered by power supply VDD, and its output end is connected to the input end of the Smitt structure V in ', when the input level is in a higher range, the high voltage clamp circuit can V in 'The input level is clamped at a higher level, making the output V out The output is the power supply VDD.
[0049] like Figure 4As shown, the bias circuit includes: a power supply VCC, a reference current source Iref, MOS transistors PM5-PM8, MOS transistors PM11-PM12 and bias currents I1-I2; wherein the sources of MOS transistors PM6, MOS transistors PM7 and MOS transistor PM11 are all connected to the power supply VCC, the gate of MOS transistor PM6 is commonly connected to the gate of MOS transistor PM7, the drain of MOS transistor PM6, the source of MOS transistor PM5 and the gate of MOS transistor PM11; the gate of MOS transistor PM5 is commonly connected to the gate of MOS transistor PM8, the drain of MOS transistor PM5, the gate of MOS transistor PM12 and the grounded reference current source Iref; the drain of MOS transistor PM7 is connected to the source of MOS transistor PM8, and the drain of MOS transistor PM8 outputs the bias current I1; the drain of MOS transistor PM11 is connected to the source of MOS transistor PM12, and the drain of MOS transistor PM12 outputs the bias current I2.
[0050] Furthermore, the bias circuit is a current mirror structure, powered by a high-voltage power supply VCC (compatible with 10V~80V), and Iref is a reference current source. Since the VCC voltage is relatively high, considering the voltage resistance of the device, high-voltage devices need to be used appropriately. For example, the red MOS tubes (PM5, PM8, PM12) in the figure are high-voltage tubes, and the black MOS tubes (PM6, PM7, PM11) are 5V MOS tubes; the currents I1 and I2 output by the bias circuit respectively power the input switch tube gate control circuit and the low-voltage clamping circuit.
[0051] like Figure 5 As shown, the input switch tube gate control circuit includes: resistors R2~R3, MOS tube NM2 and MOS tubes PM9~PM10; wherein one end of the resistor R2 is connected to the power supply VDD, the other end of the resistor R2 is connected to the gate and source of the MOS tube NM2, the drain of the MOS tube NM2 is connected to the gate of the switch tube NM1, one end of the resistor R3 and the source of the MOS tube PM9, the other end of the resistor R3 is connected to the injection point of the bias current I1, the gate of the MOS tube PM9 is connected to the power supply VDD, the drain of the MOS tube PM9 is connected to the source of the MOS tube PM10, and the gate and drain of the MOS tube PM10 are connected and grounded.
[0052] Furthermore, two branches are formed in the input switch gate control circuit, wherein the first branch is composed of resistor R2 and MOS tube NM2, and the second branch is a source follower composed of resistor R3, MOS tube PM9 and MOS tube PM10; when the source follower is turned on, the diode-connected MOS tube NM2 is reverse biased, the first branch is turned off, and the gate voltage of the switch tube NM1 is V G Determined by the source follower; when the source follower is turned off, the MOS tube NM2 is forward biased, and the gate voltage of the switch tube NM1 VG Determined by the conduction of resistor R2 and MOS tube NM2.
[0053] Input switch gate control circuit Input switch gate voltage of NM1 in different working conditions V G Can switch by yourself.
[0054] When the high voltage power supply VCC is powered off and the low voltage power supply VDD is powered normally, the system is in a low power consumption state, the front bias circuit stops working, the right branch is turned off, and the MOS tube NM2 of the left branch is connected in diode mode. Its forward conduction voltage drop is recorded as V DS,NM2 , so at this time the gate voltage of the input switch tube NM1 is V G =VDD- V DS,NM2 , denoted as V G1 .
[0055] When the system is in a high power consumption state, that is, the high voltage power supply VCC is normally powered, the bias circuit is working normally, the right branch is turned on, and the MOS tube PM9 plays the function of a source follower. At this time, the MOS tube NM2 on the left is connected as an anti-reverse diode and plays an isolation role. Therefore, in this case V G =VDD+ V GS,PM9 , denoted as V G2 ,in V GS,PM9 is the gate-source voltage difference of MOS tube PM9, which satisfies the following formula:
[0056]
[0057] That is:
[0058]
[0059] Therefore, there are:
[0060]
[0061] in, μ p is the carrier mobility of P-type semiconductor, C ox is the gate oxide capacitance per unit area, is the aspect ratio of PM9, V GS,PM9 is the gate-source voltage difference of PM9, V TH,PM9 is the threshold voltage of PM9; VG2 The specific value can be controlled by adjusting the bias current I1 and the size of PM9. The above design scheme can realize that the input module still has a certain working state when the overall circuit is in low power consumption, and the functions of the invention analyzed later will be based on the high power consumption state.
[0062] like Figure 6 As shown, the low-voltage clamping circuit includes: a resistor R4 and NMOS tubes NM3~NM5; wherein the source of the MOS tube NM3 is grounded, the drain of the MOS tube NM3 is connected to the injection point of the bias current I2 through the resistor R4, the gate of the MOS tube NM3 is connected to the gate of the MOS tube NM4, the gate of the MOS tube NM5 is connected to the power supply VDD, the drain of the MOS tube NM5 is connected to the power supply VCC, the drain of the MOS tube NM4 is connected to the source of the MOS tube NM5, and the source of the MOS tube NM4 is the output end of the low-voltage clamping circuit.
[0063] Resistor R4 and MOS tube NM3 form a bias circuit powered by bias current I2. The determined bias current I2 makes MOS tubes NM3~NM4 have a certain gate voltage, making the branch where MOS tubes NM4~NM5 are located conductive. MOS tube NM4 acts as a source follower to clamp the source voltage at V G,NM3 - V GS,NM4 ;in V G,NM3 is the gate voltage of MOS tube NM3, where V GS,NM4 is the gate-source voltage difference of the MOS tube NM5; the MOS tube NM5 also acts as a source follower to clamp the source voltage below the power supply VDD to protect the MOS tube NM4 from working normally.
[0064] In the low-voltage clamp circuit, the high-voltage power supply VCC and the bias current I2 are powered normally. Due to the high-voltage characteristics of VCC, in order to avoid device burnout, the circuit is designed with a high-voltage MOS tube NM5. When the right branch is turned on, it acts as a source follower to increase the drain voltage of the MOS tube NM4. V D,NM4 Controlled to VDD- V GS,NM5 ,in V GS,NM5 is the gate-source voltage difference of MOS tube NM5.
[0065] The conduction condition of the right branch is V in = V in '≤ V G,NM3 - V TH,NM4 ,inV TH,NM4 is the threshold voltage of MOS tube NM4, V G,NM3 is the gate voltage of MOS tube NM3;
[0066] Because the bias current I2 satisfies:
[0067]
[0068] Then the gate voltage of MOS tube NM3 V G,NM3 satisfy:
[0069]
[0070] That is, the conduction condition of the right branch is:
[0071]
[0072] In the above formula, μ n is the carrier mobility of N-type semiconductor, C ox is the gate oxide capacitance per unit area, is the width-to-length ratio of NM3, V TH,NM3 is the threshold voltage of NM3; formula (3) shows that the working threshold of the low-voltage clamping circuit can be specifically designed by adjusting the bias current I2 and the size of MOS tubes NM3 and NM4.
[0073] when V in When formula (6) is satisfied, the right branch of the low-voltage clamp circuit is turned on; when the MOS tube NM4 enters the saturation region, it acts as a source follower structure. V in 'Clamp to V G,NM3 - V GS,NM4 , after the subsequent Schmitt structure, the output can be a low level.
[0074] because V in The decrease of will cause the working current on the right branch to increase. V GS,NM4 will increase accordingly; to avoid V in Reduce the V GS,NM4 Increase too much, making the clamp value V in '= V G,NM3 - VGS,NM4 If the width-to-length ratio of NM4 is too small, it will affect the normal operation of the subsequent Schmitt structure device (mainly considering the device withstand voltage). In this invention, the width-to-length ratio of NM4 is designed to be as large as possible to minimize V GS,NM4 The sensitivity to current changes makes the input voltage V in The lower limit of compatibility is as low as possible.
[0075] like Figure 7 As shown, the high-voltage clamping circuit includes: a resistor R5, NMOS tubes NM6~NM7 and PMOS tubes PM13~PM14; wherein the source of the PMOS tube PM14 is the output end of the high-voltage clamping circuit, the gate of the PMOS tube PM14 is connected to the gate and drain of the PMOS tube PM13 and one end of the resistor R5, the drain of the PMOS tube PM14 is connected to the drain and gate of the NMOS tube NM7, the source of the PMOS tube PM13 is connected to the power supply VDD, the other end of the resistor R5 is connected to the drain and gate of the NMOS tube NM6, the source of the NMOS tube NM6 is connected to the source of the NMOS tube NM7 and is grounded.
[0076] The PMOS tube PM13, the resistor R5 and the NMOS tube NM6 form a self-bias circuit, so that the PMOS tube PM13 and the PMOS tube PM14 have a certain gate voltage, and when the input voltage meets the requirements, the switch tube NM1 and the PMOS tube PM14 will jointly bias the input end of the Smitt structure. V in ' voltage value to clamp.
[0077] The working condition of the high-voltage clamp circuit, i.e. the conduction condition of branch B, is: V in = V in '≥ V G,PM13 + V TH,PM14 , V G,PM13 It can be determined based on the state of branch A, because the current I3 on branch A satisfies the following three equations:
[0078]
[0079] in, is the aspect ratio of PM3, is the width-to-length ratio of NM6, V G,PM13 is the gate voltage of PM13, V GS,PM13 is the gate-source voltage difference of PM13, V TH,PM13is the threshold voltage of PM13, V G,NM6 is the gate voltage of NM6, V GS,NM6 is the gate-source voltage difference of NM6, V TH,NM6 is the threshold voltage of NM6. According to the above three equations (7), (8) and (9), it can be determined V G,PM13 ,and V G,PM13 It is only related to the characteristic parameters of NM6 and PM13, so the working threshold of the high-voltage clamping circuit can be specifically designed by adjusting the sizes of MOS tubes NM6, PM13 and PM14.
[0080] After branch B is turned on, when both MOS tubes NM1 and PM14 enter the saturation region, the current I4 satisfies the following equation:
[0081]
[0082] in, is the width-to-length ratio of NM1, is the width-to-length ratio of PM14, V GS,NM1 is the gate-source voltage difference of NM1, V TH,NM1 is the threshold voltage of NM1, V GS,PM14 is the gate-source voltage difference of PM14, V TH,PM14 is the threshold voltage of PM14; V GS,PM14 = V G,PM14 - V in ', V GS,NM1 = V G2 - V in ',in V G,PM14 is the gate voltage of PM14, and substituting it into the above formula, we can get:
[0083]
[0084] in Based on the above, we can know that: V G2 Determined by the bias current I1 and the size of PM9, V G,PM14Determined by the sizes of NM6, PM13 and PM14, the clamping value of the high-voltage clamping circuit can be specifically designed by adjusting the bias current I1 and the sizes of the MOS tubes NM1, NM6, PM13 and PM14. The clamping value will be output as a high level after the subsequent Schmitt structure.
[0085] like Figure 8 As shown, the voltage follower circuit includes a resistor R1, an input switch tube NM1 and a Smitt structure; wherein the input terminal V in After being connected in series with the resistor R1, it is connected to the drain of the switch tube NM1, and the source of the switch tube NM1 is connected to the input end of the Smitt structure. V in ', the Smitt structure is powered by the power supply VDD, the output end of the Smitt structure V out is the overall output of the input port structure;
[0086] when V in It is between the operating threshold of the low-voltage clamp circuit and the operating threshold of the high-voltage clamp circuit, that is, V G,NM3 - V TH,NM4 < V in < V G,PM13 + V TH,PM14 When the low-voltage clamp circuit and the high-voltage clamp circuit are not turned on, the circuit shown in the figure above is in a closed state with no current, so the MOS tube NM1 is used as a switch tube. V in 'follow V in change.
[0087] Furthermore, when the circuit of the input port structure works normally, the low voltage clamping circuit and the high voltage clamping circuit do not work at the same time.
[0088] like Figure 3 As shown, an ESD device is also included, which is composed of an NMOS tube and a resistor; and the drain of the NMOS tube is connected to the source of the switch tube NM1, and the resistor is connected in series between the gate and source of the NMOS tube and then grounded.
[0089] The high voltage clamping value and the low voltage clamping value of the present invention are determined based on the state of the MOS tube, and the voltage-current characteristic curve of the MOS tube is as follows: Fig. 9 As shown, after the MOS tube enters the saturation region, as the voltage difference between the two ends of the MOS V DS The increase in current through the MOS tubeI DS Relatively stable, no Figure 2 The sudden change of the Zener diode shown in the figure; and Figure 2 Compared with the characteristic curve of the voltage stabilizing diode used in the example, the MOS tube of the present invention has significantly better stability to PVT, so the voltage clamping value of the present invention is less sensitive to process and temperature.
[0090] In summary, the input port structure of the present invention has a certain input signal regardless of whether the overall circuit is in a low power consumption state or a high power consumption state, and can realize the function of being compatible with a wide range of input voltages. While realizing multi-functions, it does not affect the ESD capability of the circuit, realizes high stability of circuit performance with respect to PVT, and realizes flexible regulation of the voltage clamping value and the clamping trigger point.
[0091] The above description is only a description of the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention. Any changes or modifications made by a person skilled in the art in the field of the present invention based on the above disclosure shall fall within the scope of protection of the claims.
Claims
1. An input port structure compatible with a wide range of input voltages, characterized in that: include: A voltage follower circuit includes a resistor R1, a switch tube NM1 and a Smitt structure; The input V in After being connected in series with the resistor R1, it is connected to the drain of the switch tube NM1, and the source of the switch tube NM1 is connected to the input end of the Smitt structure. V in ', the output of the Smitt structure V out is the overall output of the input port structure; A bias circuit provides bias current I1 and bias current I2 for the input switch tube gate control circuit and the low voltage clamp circuit; The input switch gate control circuit has its output connected to the gate of switch tube NM1, so that the gate voltage of switch tube NM1 V G Automatically switch when the power supply VCC is powered off or on; The output of the low voltage clamp circuit is connected to the input of the Smitt structure. V in ', when the input level is in the low range, the low voltage clamp circuit will Smitt structure input end V in 'The input level is clamped at a low level, making the output of the Smitt structure V out The output is 0; High voltage clamp circuit, whose output is connected to the input of Smitt structure V in ', when the input level is in the high range, the high voltage clamp circuit will V in 'The input level is clamped at a high level, making the output V out The output is the power supply VDD; The input switch tube gate control circuit includes: resistors R2-R3, MOS tube NM2 and MOS tubes PM9-PM10; wherein one end of the resistor R2 is connected to the power supply VDD, the other end of the resistor R2 is connected to the gate and source of the MOS tube NM2, the drain of the MOS tube NM2 is connected to the gate of the switch tube NM1, one end of the resistor R3 and the source of the MOS tube PM9, the other end of the resistor R3 is connected to the injection point of the bias current I1, the gate of the MOS tube PM9 is connected to the power supply VDD, the drain of the MOS tube PM9 is connected to the source of the MOS tube PM10, and the gate and drain of the MOS tube PM10 are connected and grounded; The bias circuit comprises: a power supply VCC, a reference current source Iref, MOS transistors PM5-PM8, MOS transistors PM11-PM12 and bias currents I1-I2; wherein the sources of MOS transistors PM6, MOS transistors PM7 and MOS transistor PM11 are all connected to the power supply VCC, the gate of MOS transistor PM6 is commonly connected to the gate of MOS transistor PM7, the drain of MOS transistor PM6, the source of MOS transistor PM5 and the gate of MOS transistor PM11; the gate of MOS transistor PM5 is commonly connected to the gate of MOS transistor PM8, the drain of MOS transistor PM5, the gate of MOS transistor PM12 and the grounded reference current source Iref; the drain of MOS transistor PM7 is connected to the source of MOS transistor PM8, and the drain of MOS transistor PM8 outputs the bias current I1; the drain of MOS transistor PM11 is connected to the source of MOS transistor PM12, and the drain of MOS transistor PM12 outputs the bias current I2.
2. The input port structure compatible with a wide range of input voltages as claimed in claim 1, characterized in that: Two branches are formed in the input switch gate control circuit, wherein the first branch is composed of a resistor R2 and a MOS tube NM2, and the second branch is a source follower composed of a resistor R3, a MOS tube PM9 and a MOS tube PM10; when the source follower is turned on, the diode-connected MOS tube NM2 is reverse biased, the first branch is turned off, and the gate voltage of the switch tube NM1 is V G Determined by the source follower; when the source follower is turned off, the MOS tube NM2 is forward biased, and the gate voltage of the switch tube NM1 V G Determined by the conduction of resistor R2 and MOS tube NM2.
3. The input port structure compatible with a wide range of input voltages as claimed in claim 1, characterized in that: The low-voltage clamping circuit comprises: a resistor R4 and NMOS tubes NM3-NM5; wherein the source of the MOS tube NM3 is grounded, the drain of the MOS tube NM3 is connected to the injection point of the bias current I2 through the resistor R4, the gate of the MOS tube NM3 is connected to the gate of the MOS tube NM4, the gate of the MOS tube NM5 is connected to the power supply VDD, the drain of the MOS tube NM5 is connected to the power supply VCC, the drain of the MOS tube NM4 is connected to the source of the MOS tube NM5, and the source of the MOS tube NM4 is the output end of the low-voltage clamping circuit.
4. The input port structure compatible with a wide range of input voltages as claimed in claim 3, characterized in that: The resistor R4 and the MOS transistor NM3 form a bias circuit powered by the bias current I2. The bias current I2 determines the gate voltage of the MOS transistors NM3 and NM4, and the branch where the MOS transistors NM4 and NM5 are located is turned on. The MOS transistor NM4 acts as a source follower to clamp the source voltage at V G,NM3 - V GS,NM4 ;in V G,NM3 is the gate voltage of MOS tube NM3, where V GS,NM4 is the gate-source voltage difference of the MOS tube NM5; the MOS tube NM5 also acts as a source follower to clamp the source voltage below the power supply VDD to protect the MOS tube NM4 from working normally.
5. The input port structure compatible with a wide range of input voltages as claimed in claim 1, characterized in that: The high-voltage clamping circuit comprises: a resistor R5, NMOS tubes NM6~NM7 and PMOS tubes PM13~PM14; wherein the source of the PMOS tube PM14 is the output end of the high-voltage clamping circuit, the gate of the PMOS tube PM14 is connected to the gate and drain of the PMOS tube PM13 and one end of the resistor R5, the drain of the PMOS tube PM14 is connected to the drain and gate of the NMOS tube NM7, the source of the PMOS tube PM13 is connected to the power supply VDD, the other end of the resistor R5 is connected to the drain and gate of the NMOS tube NM6, the source of the NMOS tube NM6 is connected to the source of the NMOS tube NM7 and is grounded.
6. The input port structure compatible with a wide range of input voltages as claimed in claim 5, characterized in that: The PMOS transistor PM13, the resistor R5 and the NMOS transistor NM6 form a self-bias circuit, so that the PMOS transistor PM13 and the PMOS transistor PM14 have a certain gate voltage, and when the input voltage meets the requirements, the switch transistor NM1 and the PMOS transistor PM14 will jointly bias the input terminal of the Smitt structure. V in ' voltage value to clamp.
7. The input port structure compatible with a wide range of input voltages as claimed in claim 1, characterized in that: When the circuit of the input port structure works normally, the low voltage clamping circuit and the high voltage clamping circuit do not work at the same time.
8. An input port structure compatible with a wide range of input voltages as claimed in any one of claims 1 to 7, characterized in that: It also includes an ESD device, which is composed of an NMOS tube and a resistor; the drain of the NMOS tube is connected to the source of the switch tube NM1, and the resistor is connected in series between the gate and the source of the NMOS tube and then grounded.
