Wide-voltage-range IO interface circuit based on low-voltage device and chip
By adopting a wide voltage range IO interface circuit based on low voltage devices in chip design, and using voltage adjustment modules and data communication modules to adjust voltage, the problem of overvoltage in chip devices is solved, and safe work under different power supply conditions is achieved. High applicability.
Patent Information
- Application Number
- CN202411056230.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-11-08
AI Technical Summary
In chip design, how to design an IO interface circuit that can withstand voltage and has a wide voltage range to solve the problem that the chip demands may be higher than the upper limit of the operating voltage of the internal device.
Using a wide voltage range IO interface circuit based on low voltage devices, voltage bias is provided through the first voltage adjustment module and the second voltage adjustment module, and the data communication module is used to adjust these voltages according to the data transmission direction to ensure that in the data input mode, the The logic level matched by the internal device, transmits the logic level of the internal device to the IO port in data output mode.
It effectively avoids overvoltage damage to the chip internal devices, improves the flexibility and applicability of the chip, and enables the chip internal devices to work safely under different power supply voltages without process switching.
Smart Images

Figure CN118921055A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of integrated circuit design and application technology, and in particular to a wide voltage range IO interface circuit and chip based on low voltage devices. Background Art
[0002] The IO interface circuit (IO interface is the input / output interface, located between the bus and the peripheral device) is used as the communication interface inside the chip to set the data storage and buffering logic, convert serial and parallel information formats, coordinate the differences in information type and level between the central processor and external devices, adjust timing differences, and perform operations such as address compilation and device selection. In some application scenarios, the operating voltage required by the chip may be higher than the upper limit of the internal device operating voltage. Therefore, how to use low-voltage devices to design an IO interface circuit that can withstand voltage and has a wide voltage range is a technical problem that needs to be solved in chip design.
[0003] It should be noted that the above introduction to the technical background is only for the convenience of providing a clear and complete description of the technical solutions of the present application and for the convenience of understanding by those skilled in the art. It cannot be considered that the above technical solutions are well known to those skilled in the art simply because they are described in the background technology section of the present application. Summary of the invention
[0004] The embodiments of the present application provide a wide voltage range IO interface circuit and chip based on low voltage devices.
[0005] The first embodiment of the present application proposes a wide voltage range IO interface circuit based on low voltage devices, including:
[0006] A first voltage adjustment module and a second voltage adjustment module, wherein the first voltage adjustment module generates a first voltage for providing a voltage bias, and the second voltage adjustment module generates a second voltage for providing a voltage bias;
[0007] A data communication module, wherein the data communication module is connected to the first voltage adjustment module, the second voltage adjustment module, multiple IO ports and internal devices of the chip, and adjusts the first voltage and the second voltage based on the data transmission direction, and generates a logic level matching the internal devices in the data input mode.
[0008] The second embodiment of the present application proposes a chip, including the wide voltage range IO interface circuit based on low voltage devices proposed in the first embodiment of the present application.
[0009] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:
[0010] By adopting a data communication module, based on the data transmission direction, the first voltage for providing voltage bias and the second voltage setting method for providing voltage bias are adjusted. In the data input mode, a logic level matching the internal device is generated. In the data output mode, the logic level of the internal device is transmitted to the IO port. Therefore, there is no need to switch the process during chip design, which can effectively avoid overvoltage damage to the internal devices of the chip and has wide applicability.
[0011] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0013] Figure 1 A schematic diagram of a wide voltage range IO interface circuit based on low voltage devices provided in an embodiment of the present application;
[0014] Figure 2 A schematic diagram of the structure of the input and output unit provided in an embodiment of the present application. DETAILED DESCRIPTION
[0015] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the appended claims.
[0016] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the embodiments of the present application. The singular forms of "a" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0017] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present application, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the embodiments of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein may be interpreted as "at..." or "when..." or "in response to determination".
[0018] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0019] It should be noted that the wide voltage range IO interface circuit based on low voltage devices provided in any embodiment of the present application can be executed alone, or in combination with possible implementation methods in other embodiments, or in combination with any technical solution in the related technology.
[0020] The following describes a wide voltage range IO interface circuit based on low voltage devices and a chip thereof according to an embodiment of the present application with reference to the accompanying drawings.
[0021] Figure 1 The schematic diagram of the structure of a wide voltage range IO interface circuit based on low voltage devices provided in the embodiment of the present application is shown in FIG. Figure 1 As shown, the wide voltage range IO interface circuit based on low voltage devices includes a first voltage adjustment module, a second voltage adjustment module and a data communication module. The first voltage adjustment module and the second voltage adjustment module are both connected to the data communication module to generate a first voltage VRH and a second voltage VRL respectively, and the first voltage VRH and the second voltage VRL provide voltage bias for the data communication module to stabilize the working state of the data communication module; the data communication module is connected to the first voltage adjustment module, the second voltage adjustment module, a plurality of IO ports and internal components of the chip, and serves as a data communication medium between the IO ports and the internal components of the chip. According to the data transmission direction and the external power supply voltage range, the first voltage VRH and the second voltage VRL are adjusted to avoid the external power supply voltage VDD exceeding the safety threshold of the internal components (the safety threshold is the maximum safe working voltage of the internal components), thereby causing the working voltage of the internal components of the chip to exceed its safety threshold, thereby affecting the normal operation of the chip.
[0022] It should be noted that, as an example, the first voltage VRH and the second voltage VRL can determine that the data communication module is in an appropriate working condition, so that it can normally amplify or process the input signal, and operate the internal devices of the data communication module in a linear region, avoiding problems such as nonlinear distortion and output offset; the first voltage VRH and the second voltage VRL can also offset the DC offset of the output signal of the data communication module, reduce the impact of nonlinear distortion, and improve the accuracy and reliability of the output signal; it can also offset the impact caused by temperature changes, power supply fluctuations and component parameter changes of devices in the data communication module and internal devices of the chip connected to the data communication module, thereby ensuring the stability and reliability of the entire circuit system.
[0023] Furthermore, the specific configuration of the first voltage adjustment module and the second voltage adjustment module will not be described in detail here.
[0024] On the other hand, it should be noted that the communication operation between chips in the circuit system is directly related to the voltage carrying capacity of the IO interface circuit. If the IO interface circuit has a richer carrying level, the chip is more versatile. If the IO interface circuit has a wide range of withstand voltage characteristics, it means that the IO interface circuit can adapt to a wider voltage input range without immediate damage or failure. The IO interface circuit with a wide range of withstand voltage can improve the flexibility and applicability of the chip, allowing the internal devices of the chip to work safely under different power supply voltages.
[0025] Alternatively, as an example, Figure 2 A schematic diagram of the structure of the input and output unit provided in the embodiment of the present application, such as Figure 2 As shown, the data communication module can be configured as N input and output units, each of which corresponds to an IO port, and the input and output unit and the IO port constitute a group of IO interfaces for data communication, wherein N is a positive integer ≥ 1. The first voltage VRH and the second voltage VRL provide voltage bias for the N input and output units, so that the data communication module realizes synchronous transmission of N digital signals.
[0026] Furthermore, if Figure 2As shown, the input-output unit includes a data input branch and a data output branch, both of which are connected to the IO port. The data input branch is responsible for transmitting the digital signal of the IO port into the chip, and the data output branch is responsible for transmitting the digital signal inside the chip to the IO port. Furthermore, if the IO port is in data input mode, the data input branch is effective, and the data output branch is ineffective, the data input branch adjusts the first voltage VRH and the second voltage VRL connected to generate a logic level that matches the internal device (wherein the logic level includes TTL, LVDS, RS422, etc., and should be set according to the specific usage scenario). If the IO port is in data output mode, the data input branch is ineffective, and the data output branch is ineffective, the data output branch adjusts the first voltage VRH and the second voltage VRL connected to transmit the logic level of the internal device to the IO port.
[0027] Further, the data input branch includes a first PMOS tube MP1, a second PMOS tube MP2, a third PMOS tube MP3, a first NMOS tube MN1, a second NMOS tube MN2, a third NMOS tube MN3 and a first level shift subunit, wherein the source of the first PMOS tube MP1 is connected to the first voltage VRH; the source of the second PMOS tube MP2 is connected to the first voltage VRH, the gate of the second PMOS tube MP2 is connected to the drain of the first PMOS tube MP1, and the drain of the second PMOS tube MP2 is connected to the gate of the first PMOS tube MP1; the gate of the third PMOS tube MP3 is connected to the IO port, the source of the third PMOS tube MP3 is connected to the gate of the second PMOS tube MP2, and the drain of the third PMOS tube MP3 is connected to the gate of the first PMOS tube MP1. The second voltage VRL is connected; the gate of the third NMOS tube MN3 is connected to the IO port, and the drain of the third NMOS tube MN3 is connected to the first voltage VRH; the gate of the second NMOS tube MN2 is connected to the source of the third NMOS tube MN3, the drain of the second NMOS tube MN2 is connected to the drain of the second PMOS tube MP2, and the source of the second NMOS tube MN2 is connected to the reference ground; the gate of the first NMOS tube MN1 is connected to the drain of the second NMOS tube MN2, the drain of the first NMOS tube MN1 is connected to the gate of the second NMOS tube MN2, and the source of the first NMOS tube MN1 is connected to the reference ground; the first level shift subunit is connected to the gate of the first NMOS tube, wherein a logic level matching the internal device is generated by the first level shift subunit.
[0028] It should be noted that if the IO port is in data input mode and the input voltage is equal to the IO port input high level, wherein the high level can be the external power supply voltage VDD. Based on adjusting the first voltage VRH and the second voltage VRL, the third NMOS tube MN3 is turned on, and then the second NMOS tube MN2 is turned on. Since the gate of the third NMOS tube MN3 is connected to the gate of the third PMOS tube MP3, the third PMOS tube MP3 is turned on, and the source of the third PMOS tube MP3 is approximately equal to the external power supply voltage VDD, that is, the source of the third PMOS tube MP3 is at a high level. Since the third NMOS tube MN3 is turned on, the source of the third NMOS tube MN3 is approximately equal to the first voltage VRH. Since the second NMOS tube MN2 is turned on, the drain of the second NMOS tube MN2 and the drain of the second PMOS tube MP2 are reduced to a low level, and a logic level matching the internal device is generated through the first level shift subunit.
[0029] In summary, when the IO port is in data input mode and connected to the external power supply voltage VDD, the source of the third PMOS tube MP3 is approximately equal to the external power supply voltage VDD, and the source of the third NMOS tube MN3 is approximately equal to the first voltage VRH through the adjustment operation of the first voltage VRH and the second voltage VRL, and then the logic level matching the internal device is generated through the level shifting operation of the first level shifting sub-unit.
[0030] It should be noted that the MOS devices (including NMOS and PMOS) in the data input branch are all low-voltage devices. As an example, the MOS devices can be 1.8V withstand voltage MOS devices. This type of MOS device has a relatively low threshold and can operate under lower voltage conditions. Since the channel length of the 1.8V withstand voltage MOS device is relatively small, the static power consumption can be effectively reduced during operation. If the external power supply voltage VDD is 5V, since the first PMOS tube MP1 can prevent the third PMOS tube MP3 from voltage overload, the first NMOS tube MN1 can prevent the third NMOS tube MN3 from voltage overload, and the second PMOS tube MP2 can prevent the second NMOS tube MN2 from voltage overload, by adjusting the connected first voltage VRH and the second voltage VRL, the source of the third PMOS tube MP3 is approximately equal to the external power supply voltage VDD, and the source of the third NMOS tube MN3 is approximately equal to the first voltage VRH, so that the voltage difference between the gate and source of the first PMOS tube MP1, the voltage difference between the gate and drain of the first PMOS tube MP1, and the voltage difference between the drain and source of the first PMOS tube MP1 can all be less than the safety threshold of the internal device; the voltage difference between the gate and source of the second PMOS tube MP2, the voltage difference between the gate and drain of the second PMOS tube MP2, and the voltage difference between the drain and source of the second PMOS tube MP2 can all be less than the safety threshold of the internal device. The invention can make the voltage difference between the gate and source of the third PMOS tube MP3, the voltage difference between the gate and drain of the third PMOS tube MP3, and the voltage difference between the drain and source of the third PMOS tube MP3 all smaller than the safety threshold of the internal device; the voltage difference between the gate and source of the first NMOS tube MN1, the voltage difference between the gate and drain of the first NMOS tube MN1, and the voltage difference between the drain and source of the first NMOS tube MN1 all smaller than the safety threshold of the internal device; the voltage difference between the gate and source of the second NMOS tube MN2, the voltage difference between the gate and drain of the second NMOS tube MN2, and the voltage difference between the drain and source of the second NMOS tube MN2 all smaller than the safety threshold of the internal device; the voltage difference between the gate and source of the third NMOS tube MN3, the voltage difference between the gate and drain of the third NMOS tube MN3, and the voltage difference between the drain and source of the third NMOS tube MN3 all smaller than the safety threshold of the internal device.
[0031] It should be further explained that the first voltage VRH>the second voltage VRL, and both the first voltage VRH and the second voltage VRL are less than the safety threshold. On the other hand, when the external power supply voltage exceeds the safety threshold, the first voltage VRH and the second voltage VRL are adjusted so that the difference between the external power supply voltage VDD and the first voltage VRH is less than the safety threshold, and the difference between the external power supply voltage VDD and the second voltage VRL is less than the safety threshold.
[0032] Therefore, by reasonably setting the first voltage VRH and the second voltage VRL, even when the external power supply voltage VDD is higher than the safety threshold of the internal devices of the chip, the source of the third PMOS tube MP3 is approximately equal to the external power supply voltage VDD, and the source of the third NMOS tube MN3 is approximately equal to the first voltage VRH through the adjustment operation of the first voltage VRH and the second voltage VRL, and based on the MOS devices of the data input branch and the first level shift sub-unit, the transmitted logic level is matched with the internal devices, thereby ensuring the safe operation of the internal devices of the chip.
[0033] It should be noted that, if the IO port is in data input mode and the input is low level, based on adjusting the first voltage VRH and the second voltage VRL, the source of the third PMOS tube MP3 is equal to the second voltage VRL, the second PMOS tube MP2 is turned on, and the second NMOS tube MN2 is turned on, then the source of the third NMOS tube MN3 is approximately equal to the low level, the drain of the second PMOS tube MP2 and the drain of the second NMOS tube MN2 are approximately equal to the first level VRH, that is, the drain level of the second PMOS tube MP2 and the drain level of the second NMOS tube MN2 can be equivalent to a high level, and then data input is performed through the level shifting operation of the first level shifting subunit, at this time, the voltage difference between the gate and the source of the first PMOS tube MP1, the voltage difference between the gate and the drain of the first PMOS tube MP1, and the voltage difference between the drain and the source of the first PMOS tube MP1 are all less than the safety threshold of the internal device; the voltage difference between the gate and the source of the second PMOS tube MP2, the voltage difference between the gate and the drain of the second PMOS tube MP2, and the voltage difference between the gate and the drain of the second PMOS tube MP2 are all less than the safety threshold of the internal device; the voltage difference between the gate and the source of the second PMOS tube MP2, the voltage difference between the gate and the drain of the second PMOS tube MP2, and the voltage difference between the gate and the source of the second PMOS tube MP2 are all less than the safety threshold of the internal device; the voltage difference between the gate and the source of the second PMOS tube MP2, the voltage difference between the gate and the drain of the second PMOS tube MP2, and the voltage difference between the gate and the drain of the second NMOS tube MN2 are all less than the safety threshold of the internal device; the voltage difference between the gate and the source of the second PMOS tube MP2, the voltage difference between the gate and the drain of the second PMOS tube MP2, and the voltage difference between the gate and the drain of the second NMOS tube The voltage difference between the drain and source of the second PMOS tube MP2 is less than the safety threshold of the internal device; the voltage difference between the gate and source of the third PMOS tube MP3, the voltage difference between the gate and drain of the third PMOS tube MP3, and the voltage difference between the drain and source of the third PMOS tube MP3 are all less than the safety threshold of the internal device; the voltage difference between the gate and source of the first NMOS tube MN1, the voltage difference between the gate and drain of the first NMOS tube MN1, and the voltage difference between the drain and source of the first NMOS tube MN1 are all less than the safety threshold of the internal device; the voltage difference between the gate and source of the second NMOS tube MN2, the voltage difference between the gate and drain of the second NMOS tube MN2, and the voltage difference between the drain and source of the second NMOS tube MN2 are all less than the safety threshold of the internal device; the voltage difference between the gate and source of the third NMOS tube MN3, the voltage difference between the gate and drain of the third NMOS tube MN3, and the voltage difference between the drain and source of the third NMOS tube MN3 are all less than the safety threshold of the internal device.
[0034] It should be further explained that the first level shift subunit is used to convert the voltage level of its input signal into the signal voltage level required by the internal chip devices to meet the voltage requirements of the internal chip devices. The specific setting form of the first level shift subunit will not be repeated here.
[0035] Further, as an example, Figure 2 As shown, the data output branch of the input-output unit includes a second level shift subunit, an output control subunit, a fourth PMOS tube MP4, a fifth PMOS tube MP5, a fourth NMOS tube MN4 and a fifth NMOS tube MN5, wherein the source of the fifth NMOS tube MN5 is connected to the external power supply voltage VDD; the gate of the fourth PMOS tube MP4 is connected to the second voltage VRL, the source of the fourth PMOS tube MP4 is connected to the drain of the fifth PMOS tube MP5, and the drain of the fourth PMOS tube MP4 is connected to the IO port; the gate of the fourth NMOS tube MN4 is connected to the first voltage VRH, and the drain of the fourth NMOS tube MN4 is connected to the IO port. The gate of the fifth NMOS tube MN5 is connected to the IO port; the drain of the fifth NMOS tube MN5 is connected to the source of the fourth NMOS tube MN4, and the source of the fifth NMOS tube MN5 is connected to the reference ground; the second level shift subunit is connected to the gate of the fifth PMOS tube MP5; the output control subunit is connected to the second level shift subunit and the gate of the fifth NMOS tube MN5, wherein, if the IO port is in data input mode, the data output branch is closed through the output control subunit; if the IO port is in data output mode, the data output branch is opened through the output control subunit, and the logic level of the internal device is transmitted to the IO port.
[0036] It should be noted that if the IO port is in data output mode and outputs a high level, based on the adjustment of the second level shift sub-unit and the output control sub-unit, the gate of the fifth NMOS tube MN5 is equal to a low level (the fifth NMOS tube MN5 is turned off at this time), the gate of the fifth PMOS tube MP5 is equal to the second voltage VRL, the fifth PMOS tube MP5 is turned on, and the IO port is pulled up to a high level. At this time, the source voltage of the fourth NMOS tube MN4 is close to the first voltage VRH. Further, by adjusting the first voltage VRH and the second voltage VRL, the voltage difference between the gate and the source of the fourth PMOS tube MP4, the voltage difference between the gate and the drain of the fourth PMOS tube MP4, and the voltage difference between the drain and the source of the fourth PMOS tube MP4 are all smaller than the safety threshold of the internal device; the voltage difference between the gate and the source of the fifth PMOS tube MP5, the voltage difference between the gate and the drain of the fifth PMOS tube MP5, and the voltage difference between the drain and the source of the fifth PMOS tube MP5 are all smaller than the safety threshold of the internal device; the voltage difference between the gate and the source of the fourth NMOS tube MN4, the voltage difference between the gate and the drain of the fourth NMOS tube MN4, and the voltage difference between the drain and the source of the fourth NMOS tube MN4 are all smaller than the safety threshold of the internal device; the voltage difference between the gate and the source of the fifth NMOS tube MN5, the voltage difference between the gate and the drain of the fifth NMOS tube MN5, and the voltage difference between the drain and the source of the fifth NMOS tube MN5 are all smaller than the safety threshold of the internal device.
[0037] If the IO port is in data output mode and needs to output a low level, based on the adjustment of the second level shift subunit and the output control subunit, the gate of the fifth NMOS tube MN5 is equal to a high level (as an example, the voltage corresponding to the high level is less than the safety threshold), and the fifth NMOS tube MN5 is turned on; the gate of the fifth PMOS tube MP5 is equal to the external power supply voltage VDD, and the fifth PMOS tube MP5 is turned off, and the IO port is pulled down to a low level. At this time, the source of the fourth PMOS tube MP4 is close to the second voltage VRL. Further, by adjusting the first voltage VRH and the second voltage VRL, the voltage difference between the gate and the source of the fourth PMOS tube MP4, the voltage difference between the gate and the drain of the fourth PMOS tube MP4, and the voltage difference between the drain and the source of the fourth PMOS tube MP4 are all smaller than the safety threshold of the internal device; the voltage difference between the gate and the source of the fifth PMOS tube MP5, the voltage difference between the gate and the drain of the fifth PMOS tube MP5, and the voltage difference between the drain and the source of the fifth PMOS tube MP5 are all smaller than the safety threshold of the internal device; the voltage difference between the gate and the source of the fourth NMOS tube MN4, the voltage difference between the gate and the drain of the fourth NMOS tube MN4, and the voltage difference between the drain and the source of the fourth NMOS tube MN4 are all smaller than the safety threshold of the internal device; the voltage difference between the gate and the source of the fifth NMOS tube MN5, the voltage difference between the gate and the drain of the fifth NMOS tube MN5, and the voltage difference between the drain and the source of the fifth NMOS tube MN5 are all smaller than the safety threshold of the internal device.
[0038] If the IO port is in data input mode and needs to input a high level, based on the adjustment of the second level shift subunit and the output control subunit, the gate of the fifth NMOS tube MN5 is equal to a low level, and the gate of the fifth PMOS tube MP5 is close to the external power supply voltage VDD. Further, by adjusting the first voltage VRH and the second voltage VRL, the source voltage of the fourth NMOS tube MN4 is not lower than the first voltage VRH, and the source voltage of the fourth PMOS tube MP4 is not lower than the first voltage VRH, so that the voltage difference between the gate and the source of the fourth PMOS tube MP4, the voltage difference between the gate and the drain of the fourth PMOS tube MP4, and the voltage difference between the drain and the source of the fourth PMOS tube MP4 are all less than the safety threshold of the internal device; the voltage difference between the gate and the source of the fifth PMOS tube MP5, and the voltage difference between the gate and the drain of the fifth PMOS tube MP5 ... The voltage difference between the gate and source of the fourth NMOS tube MN4, the voltage difference between the gate and drain of the fourth NMOS tube MN4, and the voltage difference between the drain and source of the fourth NMOS tube MN4 are all smaller than the safety threshold of the internal device; the voltage difference between the gate and source of the fifth NMOS tube MN5, the voltage difference between the gate and drain of the fifth NMOS tube MN5, and the voltage difference between the drain and source of the fifth NMOS tube MN5 are all smaller than the safety threshold of the internal device.
[0039] If the IO port is in data input mode and needs to input a low level, based on the adjustment of the second level shift subunit and the output control subunit, the gate of the fifth NMOS tube MN5 is equal to the low level, and the gate of the fifth PMOS tube MP5 is close to the external power supply voltage VDD. Further, by adjusting the first voltage VRH and the second voltage VRL, the source voltage of the fourth NMOS tube MN4 tends to a low level, and the source voltage of the fourth PMOS tube MP4 is not lower than the second voltage VRL, so that the voltage difference between the gate and the source of the fourth PMOS tube MP4, the voltage difference between the gate and the drain of the fourth PMOS tube MP4, and the voltage difference between the drain and the source of the fourth PMOS tube MP4 are all less than the safety threshold of the internal device; the voltage difference between the gate and the source of the fifth PMOS tube MP5, and the voltage difference between the gate and the drain of the fifth PMOS tube MP5 are equal to the safety threshold of the internal device; The voltage difference between the gate and source of the fourth NMOS tube MN4, the voltage difference between the gate and drain of the fourth NMOS tube MN4, and the voltage difference between the drain and source of the fourth NMOS tube MN4 are all smaller than the safety threshold of the internal device; the voltage difference between the gate and source of the fifth NMOS tube MN5, the voltage difference between the gate and drain of the fifth NMOS tube MN5, and the voltage difference between the drain and source of the fifth NMOS tube MN5 are all smaller than the safety threshold of the internal device.
[0040] Among them, the second level shift subunit is used to convert the voltage level of its input signal into the signal voltage level required for the IO port output; the output control subunit is used to convert the signal of the internal device of the chip into a control signal suitable for driving an external device. The specific setting form of the second level shift subunit and the output control subunit will not be repeated here.
[0041] As an example, the first voltage adjustment module, the second voltage adjustment module and the data communication module can also adopt application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short, ASIC is a proprietary application chip designed and manufactured for specific user requirements and specific systems), IP cores (Intelligent Property IP core is a mature design of a circuit module with independent functions in chip design. The circuit design can be applied to other chip design projects containing the circuit module, thereby reducing the workload of design, shortening the design cycle, and improving the success rate of chip design. IP cores are classified into three levels: behavioral level, structural level, and physical level, and thus correspond to three types of IP cores. They are set in a soft core designed with hardware description language, a solid core with completed structural description, and a hard core based on physical description and process verification. The specific setting forms are not described here one by one. As long as the first voltage adjustment module can generate a first voltage VRH for providing a voltage bias, the second voltage adjustment module can generate a second voltage VRL for providing a voltage bias, and the data communication module can adjust the first voltage VRH and the second voltage VRL based on the data transmission direction, in the data input mode, a logic level matching the internal device is generated, and in the data output mode, the logic level of the internal device is transmitted to the IO port, any setting form of the first voltage adjustment module, the second voltage adjustment module, and the data communication module is applicable, and is not limited to this embodiment.
[0042] In particular, according to an embodiment of the present application, the wide voltage range IO interface circuit based on low voltage devices described above can be implemented as a chip. Specifically, the wide voltage range IO interface circuit based on low voltage devices is arranged between the IO port and the internal device of the chip. When the external power supply voltage exceeds the safety threshold, the first voltage VRH and the second voltage VRL connected are adjusted based on the data transmission direction. In the data input mode, a logic level matching the internal device is generated, and in the data output mode, the logic level of the internal device is transmitted to the IO port.
[0043] To summarize, by adopting a data communication module, based on the data transmission direction, the first voltage for providing voltage bias and the second voltage setting method for providing voltage bias are adjusted, and in the data input mode, a logic level matching the internal device is generated, and in the data output mode, the logic level of the internal device is transmitted to the IO port. There is no need to switch the process during chip design, which can effectively avoid overvoltage damage to the internal devices of the chip and has wide applicability.
[0044] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0045] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A wide voltage range IO interface circuit based on low voltage devices, It is characterized in that include: A first voltage adjustment module and a second voltage adjustment module, wherein the first voltage adjustment module generates a first voltage for providing a voltage bias, and the second voltage adjustment module generates a second voltage for providing a voltage bias; A data communication module, wherein the data communication module is connected to the first voltage adjustment module, the second voltage adjustment module, multiple IO ports and internal devices of the chip, and adjusts the first voltage and the second voltage based on the data transmission direction, and generates a logic level matching the internal devices in the data input mode.
2. The circuit according to claim 1, It is characterized in that The first voltage is greater than the second voltage, and both the first voltage and the second voltage are less than the safety threshold.
3. The circuit according to claim 1 or 2, It is characterized in that When the external power supply voltage exceeds the safety threshold, the first voltage and the second voltage are adjusted so that the difference between the external power supply voltage and the first voltage is smaller than the safety threshold, and the difference between the external power supply voltage and the second voltage is smaller than the safety threshold.
4. The circuit according to claim 1, It is characterized in that The data communication module includes N input-output units, wherein N is a positive integer greater than or equal to 1, and the input-output units correspond to IO ports one by one.
5. The circuit according to claim 4, It is characterized in that The input-output unit includes a data input branch and a data output branch, wherein the data input branch and the data output branch are both connected to the IO port, and if the IO port is in data input mode, the data input branch is effective, and the data output branch is ineffective, and the data input branch adjusts the first voltage and the second voltage to control the operating voltage of the internal device not to exceed the safety threshold; If the IO port is in data output mode, the data input branch is invalid, and the data output branch is invalid, and the data output branch adjusts the first voltage and the second voltage to control the operating voltage of the internal device not to exceed the safety threshold.
6. The circuit according to claim 5, It is characterized in that The data input branch includes a first PMOS tube, a second PMOS tube, a third PMOS tube, a first NMOS tube, a second NMOS tube, a third NMOS tube and a first level shift subunit, wherein the source of the first PMOS tube is connected to the first voltage; the source of the second PMOS tube is connected to the first voltage, the gate of the second PMOS tube is connected to the drain of the first PMOS tube, and the drain of the second PMOS tube is connected to the gate of the first PMOS tube; the gate of the third PMOS tube is connected to the IO port, the source of the third PMOS tube is connected to the gate of the second PMOS tube, and the drain of the third PMOS tube is connected to the second voltage; the third NMOS tube The gate of the MOS tube is connected to the IO port, and the drain of the third NMOS tube is connected to the first voltage; the gate of the second NMOS tube is connected to the source of the third NMOS tube, the drain of the second NMOS tube is connected to the drain of the second PMOS tube, and the source of the second NMOS tube is connected to the reference ground; the gate of the first NMOS tube is connected to the drain of the second NMOS tube, the drain of the first NMOS tube is connected to the gate of the second NMOS tube, and the source of the first NMOS tube is connected to the reference ground; the first level shift subunit is connected to the gate of the first NMOS tube, wherein a logic level matching the internal device is generated by the first level shift subunit.
7. The circuit according to claim 6, It is characterized in that If the IO port is in data input mode and the IO port inputs a high level, based on adjusting the first voltage and the second voltage, the source of the third PMOS tube is equal to the external power supply voltage, the source of the third NMOS tube is equal to the first voltage, the drain of the second PMOS tube and the drain of the second NMOS tube are both equal to a low level, and a logic level matching the internal device is generated through the first level shift subunit; If the IO port is in data input mode and the IO port inputs a low level, based on adjusting the first voltage and the second voltage, the source of the third PMOS tube is equal to the second voltage, the source of the third NMOS tube is equal to the low level, the drain of the second PMOS tube and the drain of the second NMOS tube are both equal to the first voltage, and a logic level matching the internal device is generated through the first level shift subunit.
8. The circuit according to claim 5, It is characterized in that The data output branch includes a second level shift subunit, an output control subunit, a fourth PMOS tube, a fifth PMOS tube, a fourth NMOS tube and a fifth NMOS tube, wherein the source of the fifth PMOS tube is connected to an external power supply voltage; the gate of the fourth PMOS tube is connected to the second voltage, the source of the fourth PMOS tube is connected to the drain of the fifth PMOS tube, and the drain of the fourth PMOS tube is connected to an IO port; the gate of the fourth NMOS tube is connected to the first voltage, the drain of the fourth NMOS tube is connected to the IO port; the drain of the fifth NMOS tube is connected to the source of the fourth NMOS tube, and the source of the fifth NMOS tube is connected to a reference ground; the second level shift subunit is connected to the gate of the fifth PMOS tube; the output control subunit is connected to the second level shift subunit and the gate of the fifth NMOS tube, wherein if the IO port is in a data input mode, the data output branch is closed by the output control subunit; if the IO port is in a data output mode, the data output branch is opened by the output control subunit to transmit the logic level of the internal device to the IO port.
9. The circuit according to claim 8, It is characterized in that If the IO port is in data output mode and outputs a high level, based on the adjustment of the second level shift subunit and the output control subunit, the gate of the fifth NMOS tube is equal to a low level, and the gate of the fifth PMOS tube is equal to the second voltage; If the IO port is in data output mode and needs to output a low level, based on the adjustment of the second level shift subunit and the output control subunit, the gate of the fifth NMOS tube is equal to a high level, and the gate of the fifth PMOS tube is equal to an external power supply voltage; If the IO port is in data input mode and inputs a high level, based on the adjustment of the second level shift subunit and the output control subunit, the gate of the fifth NMOS tube is equal to a low level, and the gate of the fifth PMOS tube is equal to an external power supply voltage; based on the adjustment of the first voltage and the second voltage, the source voltage of the fourth NMOS tube is not lower than the first voltage, and the source voltage of the fourth PMOS tube is not lower than the first voltage; If the IO port is in data input mode and the input is low level, based on the adjustment of the second level shift subunit and the output control subunit, the gate of the fifth NMOS tube is equal to the low level, and the gate of the fifth PMOS tube is equal to the external power supply voltage; based on the adjustment of the first voltage and the second voltage, the source voltage of the fourth NMOS tube tends to a low level, and the source voltage of the fourth PMOS tube is not lower than the second voltage.
10. A chip, It is characterized in that The invention comprises a wide voltage range IO interface circuit based on a low voltage device as described in any one of claims 1 to 9.
Citation Information
Cited By
IP-level power control circuit of AI chip and AI chip
CN122471967A
AI chip ip level power management circuit and ai chip
CN122471967B
