WO2020164434A1 - Bidirectional level conversion circuit and bidirectional level conversion chip - Google Patents

Bidirectional level conversion circuit and bidirectional level conversion chip Download PDF

Info

Publication number
WO2020164434A1
WO2020164434A1 PCT/CN2020/074417 CN2020074417W WO2020164434A1 WO 2020164434 A1 WO2020164434 A1 WO 2020164434A1 CN 2020074417 W CN2020074417 W CN 2020074417W WO 2020164434 A1 WO2020164434 A1 WO 2020164434A1
Authority
WO
WIPO (PCT)
Prior art keywords
electrically connected
transistor
terminal
level
pull
Prior art date
Application number
PCT/CN2020/074417
Other languages
French (fr)
Chinese (zh)
Inventor
董渊
王云松
黄建刚
程剑涛
孙洪军
Original Assignee
上海艾为电子技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海艾为电子技术股份有限公司 filed Critical 上海艾为电子技术股份有限公司
Publication of WO2020164434A1 publication Critical patent/WO2020164434A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/0175Coupling arrangements; Interface arrangements
    • H03K19/017509Interface arrangements
    • H03K19/017518Interface arrangements using a combination of bipolar and field effect transistors [BIFET]
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/0175Coupling arrangements; Interface arrangements
    • H03K19/01759Coupling arrangements; Interface arrangements with a bidirectional operation

Definitions

  • the invention relates to the technical field of semiconductor integrated circuits, and more specifically to a bidirectional level conversion circuit and a bidirectional level conversion chip.
  • Level conversion chips are one of the common chip types in integrated circuits, which are widely used in systems such as data transmission, logic control, and digital-to-analog conversion.
  • the function of the level conversion chip is to transfer the logic level signal under the lower voltage domain at one end to the higher voltage domain at the other end, or to transfer the logic level signal under the higher voltage domain at one end to the higher voltage domain at the other end. In the low-voltage domain, and minimize the transmission delay during the transmission process, while maintaining the integrity of the signal.
  • the present invention provides a bidirectional detection control circuit and a bidirectional level conversion chip to reduce the number of modules and design complexity, and reduce chip area and cost.
  • a bidirectional level conversion circuit includes a signal transmission tube, a first pull-up tube, a second pull-up tube, and a pull-up control module;
  • the first end of the first pull-up tube is electrically connected with a first voltage terminal
  • the second end of the first pull-up tube is electrically connected with the first end of the signal transmission tube
  • the second pull-up tube The first end of the second end is electrically connected to the second voltage end
  • the second end of the second pull-up tube is electrically connected to the second end of the signal transmission tube;
  • the first signal input end of the pull-up control module is electrically connected to the first end of the signal transmission tube, and the second signal input end of the pull-up control module is electrically connected to the second end of the signal transmission tube,
  • the output end of the pull-up control module is electrically connected to the grids of the first pull-up tube and the second pull-up tube;
  • the pull-up control module is used for outputting a first level pulse when any one of the first end and the second end of the signal transmission tube is inverted from the first level to the second level to control the first upper end
  • the pull tube and the second upper pull tube are connected to pull the other end of the first end and the second end from the first level to the second level.
  • the pull-up control module includes a first signal input terminal, a second signal input terminal, a port detection module, a bidirectional detection trigger module, and a single pulse generation module;
  • the port detection module is electrically connected to the first signal input terminal and the second signal input terminal, and is configured to output when the first signal input terminal and the second signal input terminal are both at the second level A first level, output a second level when at least one of the first signal input terminal and the second signal input terminal is at the first level;
  • the two-way detection trigger module is electrically connected to the first signal input terminal and the second signal input terminal, and is used for when both the first signal input terminal and the second signal input terminal are at the first level, Output a second level, and output the first level when at least one of the first signal input terminal and the second signal input terminal is at the second level;
  • the single pulse generation module is electrically connected to the port detection module and the bidirectional detection trigger module, and is configured to output a second level at the port detection module, and the output of the bidirectional detection trigger module is converted from the second level When it is the first level, the first level pulse is output, and the second level is output in other periods.
  • the port detection module includes a NAND gate and a first inverter to a fourth inverter;
  • the input terminal of the first inverter is electrically connected to the first signal input terminal
  • the input terminal of the second inverter is electrically connected to the output terminal of the first inverter
  • the second inverter is electrically connected to the output terminal of the first inverter.
  • the output terminal of the phase converter is electrically connected with an input terminal of the NAND gate;
  • the input terminal of the third inverter is electrically connected to the second signal input terminal
  • the input terminal of the fourth inverter is electrically connected to the output terminal of the third inverter
  • the fourth inverter is electrically connected to the output terminal of the third inverter.
  • the output terminal of the phase converter is electrically connected to the other input terminal of the NAND gate;
  • the output terminal of the NAND gate is electrically connected with the output terminal of the port detection module.
  • the bidirectional detection trigger module includes an OR gate, a first transistor to a fifth transistor, a fifth inverter, and a sixth inverter;
  • One input terminal of the OR gate is electrically connected to the first signal input terminal, the other input terminal of the OR gate is electrically connected to the second signal input terminal, and the output terminal of the OR gate is electrically connected to the first signal input terminal.
  • the gate of a transistor is electrically connected;
  • the first terminal of the first transistor is electrically connected to the second terminal of the second transistor, the first terminal of the second transistor is electrically connected to the power terminal, and the second terminal of the first transistor is electrically connected to the third transistor.
  • the second terminal of the third transistor is electrically connected to the first signal input terminal, and the first terminal of the third transistor is electrically connected to the ground terminal;
  • the second end of the first transistor is electrically connected to the second end of the fourth transistor, and the second end of the fourth transistor is electrically connected to the gate of the fourth transistor through a fifth inverter.
  • the gate of the four transistors is electrically connected to the gate of the second transistor through a sixth inverter;
  • the gate of the fifth transistor is electrically connected to the second signal input terminal, the first terminal of the fifth transistor is electrically connected to the ground terminal, and the second terminal of the fifth transistor is electrically connected to the fourth transistor.
  • the second end is electrically connected;
  • the second terminal of the fourth transistor is electrically connected to the output terminal of the bidirectional detection trigger module.
  • the first transistor, the second transistor, and the fourth transistor are PMOS transistors
  • the third transistor and the fifth transistor are NMOS transistors.
  • the single pulse generating module includes a sixth transistor to an eighth transistor, a first resistor, a second resistor, a seventh inverter, an eighth inverter, a ninth inverter, and a NOR gate;
  • the first terminal of the sixth transistor is electrically connected to the power terminal, the gate of the sixth transistor is electrically connected to the output terminal of the bidirectional detection trigger module, and the second terminal of the sixth transistor is electrically connected to the first terminal.
  • One end of the resistor is electrically connected, the other end of the first resistor is electrically connected to one end of the second resistor, the other end of the second resistor is electrically connected to the first end of the seventh transistor, and the seventh
  • the second terminal of the transistor is electrically connected to the ground terminal, and the gate of the seventh transistor is electrically connected to the output terminal of the bidirectional detection trigger module;
  • the gate of the eighth transistor is electrically connected to the output end of the port detection module, the first end of the eighth transistor is electrically connected to one end of the first resistor, and the second end of the eighth transistor is electrically connected to The other end of the first resistor is electrically connected;
  • the input end of the seventh inverter is electrically connected to the other end of the second resistor, the output end of the seventh inverter is electrically connected to the input end of the eighth inverter, and the eighth The output terminal of the inverter is electrically connected with one input terminal of the NOR gate, the output terminal of the bidirectional detection trigger module is electrically connected with the other input terminal of the NOR gate, and the output terminal of the NOR gate It is electrically connected to the input terminal of the ninth inverter, and the output terminal of the ninth inverter is electrically connected to the output terminal of the single pulse generation module.
  • the sixth transistor and the eighth transistor are PMOS transistors, and the seventh transistor is an NMOS transistor.
  • the first pull-up tube and the second pull-up tube are PMOS transistors; the first level is a low level, and the second level is a high level.
  • it further includes a driving circuit
  • the driving circuit is used for controlling the signal transmission tube to be turned on when both ends of the signal transmission tube are at the first level.
  • a bidirectional level conversion chip includes the bidirectional level conversion circuit as described above.
  • the pull-up control module outputs the first level when any one of the first end and the second end of the signal transmission tube is turned from the first level to the second level
  • a level pulse controls the conduction of the first pull-up tube and the second pull-up tube, and pulls the other end of the first end and the second end from the first level to the second level, that is, in the present invention
  • the first pull-up tube and the second pull-up tube are controlled by a pull-up control module, thereby not only reducing the number of modules and design complexity, but also reducing chip area and cost.
  • Fig. 1 is a schematic structural diagram of an existing bidirectional level conversion circuit
  • FIG. 2 is a schematic structural diagram of a bidirectional level conversion circuit provided by an embodiment of the present invention.
  • Figure 3 is a schematic structural diagram of a pull-up control module provided by an embodiment of the present invention.
  • Fig. 4 is a signal timing diagram of a pull-up control module provided by an embodiment of the present invention.
  • Figure 1 is a schematic structural diagram of an existing bidirectional level conversion chip.
  • the second control module controls The second pull-up tube MP2 is turned on to pull the second terminal B of the signal transmission terminal MN from the first level to the second level; when the second terminal B of the signal transmission tube MN is switched from the first level to the second level
  • the first control module controls the first pull-up tube MP1 to be turned on, and pulls the first end A of the signal transmission terminal MN from the first level to the second level. Since the two pull-up tubes in Fig. 1 are respectively controlled by the control module, this not only increases the number of modules and design complexity, but also increases the chip area and cost.
  • the present invention provides a bidirectional level conversion circuit to overcome the above-mentioned problems in the prior art, including a signal transmission tube, a first pull-up tube, a second pull-up tube and a pull-up control module;
  • the first end of the first pull-up tube is electrically connected with a first voltage terminal
  • the second end of the first pull-up tube is electrically connected with the first end of the signal transmission tube
  • the second pull-up tube The first end of the second end is electrically connected to the second voltage end
  • the second end of the second pull-up tube is electrically connected to the second end of the signal transmission tube;
  • the first signal input terminal of the pull-up control module is electrically connected with the first end of the signal transmission tube, and the second signal input terminal of the pull-up control module is electrically connected with the second end of the signal transmission tube;
  • the output terminal of the bidirectional detection control circuit is electrically connected to the grids of the first pull-up tube and the second pull-up tube;
  • the pull-up control module is used for outputting a first level pulse when any one of the first end and the second end of the signal transmission tube is inverted from the first level to the second level to control the first upper end
  • the pull tube and the second upper pull tube are connected to pull the other end of the first end and the second end from the first level to the second level.
  • the pull-up control module outputs a first level pulse to control the first level when either end of the first end and the second end of the signal transmission tube is switched from the first level to the second level.
  • a pull-up tube and a second pull-up tube are turned on, and the other end of the first end and the second end is pulled from the first level to the second level. That is to say, the first pull-up tube and the second pull-up tube in the present invention
  • the pull-up tube is controlled by a pull-up control module, which not only reduces the number of modules and design complexity, but also reduces chip area and cost.
  • the embodiment of the present invention provides a bidirectional level conversion circuit, which can be applied to a level conversion chip, a logic control chip, a data transmission chip, etc., as shown in FIG. 2, the bidirectional level conversion circuit includes The signal transmission tube MN, the first pull-up tube MP1, the second pull-up tube MP2 and the pull-up control module.
  • the first end of the first pull-up tube MP1 is electrically connected to the first voltage terminal VA
  • the second end of the first pull-up tube MP1 is electrically connected to the first end A of the signal transmission tube MN
  • the second pull-up tube MP2 The first end of is electrically connected to the second voltage terminal VB
  • the second end of the second pull-up tube MP2 is electrically connected to the second end B of the signal transmission tube MN;
  • the first signal input end LA of the pull-up control module is electrically connected to the first end A of the signal transmission tube MN, and the second signal input end LB of the pull-up control module is electrically connected to the second end B of the signal transmission tube MN, and the pull-up The output terminal LOUT of the control module is electrically connected to the grids of the first pull-up tube MP1 and the second pull-up tube MP2;
  • the pull-up control module is used to output the first level pulse when either end of the first end A and the second end B of the signal transmission tube MN is switched from the first level to the second level, that is, the output duration is t
  • the first level controls the conduction of the first pull-up tube MP1 and the second pull-up tube MP2, and pulls the other end of the first end A and the second end B from the first level to the second level.
  • the pull-up control module when the first terminal A changes from the first level to the second level, the pull-up control module outputs the first level of the first time period, and controls the first pull-up tube MP1 and the second pull-up tube MP2 Conduction. Since the second pull-up tube MP2 is turned on, the second terminal B can be pulled from the first level to the second level, which is equivalent to transmitting the second level signal of the first terminal A to the second terminal B.
  • the pull-up control module When the second terminal B is switched from the first level to the second level, the pull-up control module outputs the first level of the first time period, and controls the first pull-up tube MP1 and the second pull-up tube MP2 to conduct. Since the first pull-up tube MP1 is turned on, the first terminal A can be pulled from the first level to the second level, which is equivalent to transmitting the second level signal of the second terminal B to the first terminal A.
  • the bidirectional second-level transmission of the level conversion circuit can be realized through one pull-up control module, so that two pull-up control modules are not needed, and the number of modules and design complexity can be reduced. Small chip area and cost.
  • the first pull-up tube MP1 and the second pull-up tube MP2 are PMOS transistors
  • the first level is low and the second level is high
  • the pull-up tube MP2 is an NMOS transistor
  • the first level is a high level and the second level is a low level.
  • the signal transmission tube MN is an NMOS transistor as an example for description.
  • the bidirectional level conversion circuit in the embodiment of the present invention further includes a driving circuit; the driving circuit is used to control the signal transmission tube when both ends of the signal transmission tube MN are at the first level MN is turned on. Specifically, when the signal transmission tube MN is an NMOS transistor, the driving circuit is used to control the signal transmission tube MN to be turned on when both ends of the signal transmission tube MN are low, and both ends of the signal transmission tube MN are high. At the level, the control signal transmission tube MN is disconnected.
  • the control signal transmission tube MN when the first end A and the second end B are both low, the control signal transmission tube MN is turned on to realize the transmission of two voltage domain signals.
  • the first pull-up tube MP1 or the second pull-up tube MP2 is controlled to be turned on, and the other end is pulled up to a high level, which is equivalent to achieving two voltages Domain signal transmission.
  • the pull-up control module in the embodiment of the present invention includes a first signal input terminal LA, a second signal input terminal LB, a port detection module, a bidirectional detection trigger module, and a single pulse generation module.
  • the port detection module is electrically connected to the first signal input terminal LA and the second signal input terminal LB, and is used to output the first level when the first signal input terminal LA and the second signal input terminal LB are both at the second level , When at least one of the first signal input terminal LA and the second signal input terminal LB is at the first level, the second level is output; optionally, the first level is low and the second level is high Level.
  • the bidirectional detection trigger module is electrically connected to the first signal input terminal LA and the second signal input terminal LB, and is used to output the second level when the first signal input terminal LA and the second signal input terminal LB are both at the first level, When at least one of the first signal input terminal LA and the second signal input terminal LB is at the second level, the first level is output.
  • the single pulse generation module is electrically connected to the port detection module and the bidirectional detection trigger module, and is used to output the first voltage when the port detection module outputs the second level and the output of the bidirectional detection trigger module is converted from the second level to the first level. Ping pulse, output the second level in other periods.
  • the port detection module includes a NAND gate NA and a first inverter NV1 to a fourth inverter NV4; the input terminal of the first inverter NV1 is electrically connected to the first signal input terminal LA.
  • the input terminal of the second inverter NV2 is electrically connected with the output terminal of the first inverter NV1, and the output terminal of the second inverter NV2 is electrically connected with an input terminal of the NAND gate NA;
  • the third inverter The input terminal of NV3 is electrically connected to the second signal input terminal LB, the input terminal of the fourth inverter NV4 is electrically connected to the output terminal of the third inverter NV3, and the output terminal of the fourth inverter NV4 is NAND gate NA
  • the other input terminal is electrically connected; the output terminal of the NAND gate NA is electrically connected to the output terminal A1 of the port detection module.
  • the bidirectional detection trigger module includes an OR gate, first transistor M1 to fifth transistor M5, a fifth inverter NV5, and a sixth inverter NV6; an input terminal of the OR gate and the first signal
  • the input terminal LA is electrically connected, the other input terminal of the OR gate OR is electrically connected with the second signal input terminal LB, and the output terminal of the OR gate OR is electrically connected with the gate of the first transistor M1; the first terminal of the first transistor M1 is electrically connected with The second end of the second transistor M2 is electrically connected, the first end of the second transistor M2 is electrically connected to the power supply terminal VDD, the second end of the first transistor M1 is electrically connected to the second end of the third transistor M3, and the third transistor M3
  • the gate of the first transistor M3 is electrically connected to the first signal input terminal LA, the first terminal of the third transistor M3 is electrically connected to the ground terminal GND; the second terminal of the first transistor M1 is electrically connected to the second terminal of the fourth transistor M4, and the fourth
  • the single pulse generation module includes a sixth transistor M6 to an eighth transistor M8, a first resistor R1, a second resistor R2, a seventh inverter NV7, an eighth inverter NV8, and a ninth inverter.
  • NV9 and NOR gate the first terminal of the sixth transistor M6 is electrically connected to the power supply terminal VDD, the gate of the sixth transistor M6 is electrically connected to the output terminal A2 of the bidirectional detection trigger module, and the second terminal of the sixth transistor M6 is electrically connected to One end of the first resistor R1 is electrically connected, the other end of the first resistor R1 is electrically connected to one end of the second resistor R2, and the other end of the second resistor R2 is electrically connected to the first end of the seventh transistor M7.
  • the second terminal is electrically connected to the ground terminal GND, the gate of the seventh transistor M7 is electrically connected to the output terminal A2 of the bidirectional detection trigger module; the gate of the eighth transistor M8 is electrically connected to the output terminal A1 of the port detection module, and the eighth transistor
  • the first end of M8 is electrically connected to one end of the first resistor R1, the second end of the eighth transistor M8 is electrically connected to the other end of the first resistor R1;
  • the input end of the seventh inverter NV7 is electrically connected to the other end of the second resistor R2
  • One end is electrically connected, the output end of the seventh inverter NV7 is electrically connected to the input end of the eighth inverter NV8, the output end of the eighth inverter NV8 is electrically connected to an input end of the NOR gate, and the bidirectional detection trigger
  • the output terminal A2 of the module is electrically connected with the other input terminal of the NOR gate, the output terminal of the NOR gate NOR is electrically connected with
  • the first transistor M1, the second transistor M2, and the fourth transistor M4 are PMOS transistors
  • the third transistor M3 and the fifth transistor M5 are NMOS transistors
  • the sixth transistor M6 and the eighth transistor M8 are PMOS transistors
  • the seventh transistor M7 It is an NMOS transistor.
  • the present invention is not limited to this.
  • the first transistor M1, the second transistor M2, and the fourth transistor M4 may also be NMOS transistors
  • the third transistor M3 and the fifth transistor M5 may also be PMOS transistors
  • the sixth transistor M6 and the eighth transistor M8 may also be NMOS transistors
  • the seventh transistor M7 may also be PMOS transistors.
  • the first level is low level
  • the second level is high level.
  • the output terminal A1 outputs high level.
  • the OR gate OR outputs a low level, and the first transistor M1 is turned on. Since the first signal input terminal LA and the second signal input terminal LB are low level, the third transistor M3 and the fifth transistor M5 are disconnected, and the output terminal A2 outputs a high level, so that the fourth transistor M4 is turned on, and the output terminal A2 is weakly pulled up and locked. Since the output terminal A1 outputs a high level, the eighth transistor M8 is turned off.
  • the sixth transistor M6 Since the output terminal A2 outputs a high level, the sixth transistor M6 is turned off and the seventh transistor M7 is turned on, pulling down one input terminal A3 of the NOR gate NOR to a low level. Since the NOR gate NOR has another input terminal connected to the output terminal A2, the NOR gate NOR outputs a low level, and the output terminal LOUT outputs a high level, which controls the first pull-up tube MP1 and the second pull-up tube MP2 to turn off open.
  • the first terminal A and the second terminal B When either of the first terminal A and the second terminal B is turned from low to high, for example, when the first terminal A is turned from low to high, the first signal input terminal LA is turned from low to high At high level, the third transistor M3 is turned on and pulls down the output terminal A2 to low level. At this time, the node A4 will turn from low level to high level. However, at this time, the current will be caused by the first resistor R1 and The second resistor R2 is limited, causing the node A4 to have a delay, causing the node A3 to switch from low level to high level, and also causing delay.
  • the output terminal LOUT will output a low level for a certain period of time t, and control the first An upper pull tube MP1 and a second upper pull tube MP2 are turned on, and the second end B is pulled up from low level to high level.
  • t (R1+R2)*C
  • C is the parasitic capacitance of node A4.
  • the node A3 flips to a high level, the output terminal LOUT outputs a high level, and the first pull-up tube MP1 and the second pull-up tube MP2 are controlled to be disconnected.
  • the output terminal A1 is inverted to a low level
  • the eighth transistor M8 is turned on, so that the current flowing through the sixth transistor M6 increases, Therefore, the output terminal LOUT can be flipped to a high level in advance, and the first pull-up tube MP1 and the second pull-up tube MP2 can be quickly disconnected after the second terminal B is pulled to a high level, thereby reducing the first The power consumption of the pull-up tube MP1 and the second pull-up tube MP2.
  • both the first terminal A and the second terminal B are at high level, that is, when the first signal input terminal LA and the second signal input terminal LB are both at high level, the output terminal A1 is at high level and the output terminal A2 is at low level.
  • the second transistor M2 is turned on, the first transistor M1 is turned off, the eighth transistor M8 is turned on, the output terminal LOUT outputs a high level, and the first pull-up tube MP1 and the second pull-up tube MP2 are controlled to be turned off.
  • the pull-up control module When both the first terminal A and the second terminal B are at low level, that is, when the first signal input terminal LA and the second signal input terminal LB are both at low level, the third transistor M3 and the fifth transistor M5 are disconnected, and the first Transistor M1 is turned on, the second transistor M2 is turned off after the output terminal A2 is pulled to high level, the nodes A3 and A4 are turned to low level, and the output terminal LOUT outputs high level.
  • the pull-up control module is in the waiting state When any one of the first terminal A and the second terminal B turns from low level to high level, the pull-up control module outputs a low-level pulse to control the conduction of the first pull-up tube MP1 and the second pull-up tube MP2 .
  • the embodiment of the present invention also provides a bidirectional level conversion chip, which includes the bidirectional level conversion circuit provided in any of the foregoing embodiments.
  • the pull-up control module outputs the first level when either end of the first end and the second end of the signal transmission tube is converted from the first level to the second level.
  • the level pulse controls the conduction of the first pull-up tube and the second pull-up tube, and pulls the other end of the first end and the second end from the first level to the second level, that is, the first end of the present invention
  • the first pull-up tube and the second pull-up tube are controlled by a pull-up control module, thereby not only reducing the number of modules and design complexity, but also reducing chip area and cost.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Logic Circuits (AREA)

Abstract

A bidirectional level conversion circuit and a bidirectional level conversion chip, the circuit comprising a signal transmission tube (MN), a first pull-up tube (MP1), a second pull-up tube (MP2), and a pull-up control module. The first end of the first pull-up tube (MP1) is electrically connected to a first voltage terminal (VA), and the second end is electrically connected to the first end of the signal transmission tube (MN); the first end of the second pull-up tube (MP2) is electrically connected to a second voltage terminal (VB), and the second end is electrically connected to the second end of the signal transmission tube (MN); and a first signal input end of the pull-up control module is electrically connected to the first end of the signal transmission tube (MN), a second signal input end is electrically connected to the second end of the signal transmission tube (MN), and the output end is electrically connected to the gates of the first pull-up tube (MP1) and the second pull-up tube (MP2) to output a first level pulse when any one of the first and second ends of the signal transmission tube (MN) is converted from the first level to the second level. The two pull-up tubes are controlled by one single pull-up control module, so that not only can the number of modules be decreased and the design complexity be lowered, the chip area and the cost can also be reduced.

Description

一种双向电平转换电路和双向电平转换芯片Bidirectional level conversion circuit and bidirectional level conversion chip
本申请要求于2019年02月14日提交中国专利局、申请号为CN201910115541.1、发明名称为“一种双向电平转换电路和双向电平转换芯片”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on February 14, 2019, the application number is CN201910115541.1, and the invention title is "a two-way level conversion circuit and a two-way level conversion chip", all of which The content is incorporated in this application by reference.
技术领域Technical field
本发明涉及半导体集成电路技术领域,更具体地说,涉及一种双向电平转换电路和双向电平转换芯片。The invention relates to the technical field of semiconductor integrated circuits, and more specifically to a bidirectional level conversion circuit and a bidirectional level conversion chip.
背景技术Background technique
电平转换芯片是集成电路中常见的芯片类型之一,其广泛应用于数据传输、逻辑控制和数模转换等系统中。电平转换芯片的作用是将一端较低电压域下的逻辑电平信号传输至另一端的较高电压域下,或者,将一端较高电压域下的逻辑电平信号传输至另一端的较低电压域下,并在传输过程中尽可能减小传输延时,同时保持信号的完整性。Level conversion chips are one of the common chip types in integrated circuits, which are widely used in systems such as data transmission, logic control, and digital-to-analog conversion. The function of the level conversion chip is to transfer the logic level signal under the lower voltage domain at one end to the higher voltage domain at the other end, or to transfer the logic level signal under the higher voltage domain at one end to the higher voltage domain at the other end. In the low-voltage domain, and minimize the transmission delay during the transmission process, while maintaining the integrity of the signal.
为了减小电平转换的延时,通常需要在输出端加入快速上拉管。而为了减小上拉管持续导通造成的功耗,通常会采用控制模块控制该上拉管的导通和关断。但是,在双向电平转换芯片中,需要加入两个上拉管和两个控制模块,这样不但增加了模块数量和设计复杂度,而且增大了芯片面积和成本。In order to reduce the delay of level conversion, it is usually necessary to add a fast pull-up tube at the output end. In order to reduce the power consumption caused by the continuous conduction of the pull-up tube, a control module is usually used to control the conduction and shutdown of the pull-up tube. However, in the bidirectional level conversion chip, two pull-up tubes and two control modules need to be added, which not only increases the number of modules and design complexity, but also increases the chip area and cost.
发明内容Summary of the invention
有鉴于此,本发明提供了一种双向检测控制电路和双向电平转换芯片,以减少模块数量和设计复杂度,减小芯片面积和成本。In view of this, the present invention provides a bidirectional detection control circuit and a bidirectional level conversion chip to reduce the number of modules and design complexity, and reduce chip area and cost.
为实现上述目的,本发明提供如下技术方案:In order to achieve the above objectives, the present invention provides the following technical solutions:
一种双向电平转换电路,包括信号传输管、第一上拉管、第二上拉管和上拉控制模块;A bidirectional level conversion circuit includes a signal transmission tube, a first pull-up tube, a second pull-up tube, and a pull-up control module;
所述第一上拉管的第一端与第一电压端电连接,所述第一上拉管的第二端与所述信号传输管的第一端电连接,所述第二上拉管的第一端与第二电压端电连接,所述第二上拉管的第二端与所述信号传输管的第二端电连接;The first end of the first pull-up tube is electrically connected with a first voltage terminal, the second end of the first pull-up tube is electrically connected with the first end of the signal transmission tube, and the second pull-up tube The first end of the second end is electrically connected to the second voltage end, and the second end of the second pull-up tube is electrically connected to the second end of the signal transmission tube;
所述上拉控制模块的第一信号输入端与所述信号传输管的第一端电连接,所述上拉控制模块的第二信号输入端与所述信号传输管的第二端电连接,所述上拉控制模块的输出端与所述第一上拉管和所述第二上拉管的栅极电连接;The first signal input end of the pull-up control module is electrically connected to the first end of the signal transmission tube, and the second signal input end of the pull-up control module is electrically connected to the second end of the signal transmission tube, The output end of the pull-up control module is electrically connected to the grids of the first pull-up tube and the second pull-up tube;
所述上拉控制模块用于在所述信号传输管的第一端和第二端中任一端由第一电平翻转为第二电平时,输出第一电平脉冲,控制所述第一上拉管和所述第二上拉管导通,将所述第一端和第二端中另一端由第一电平拉为第二电平。The pull-up control module is used for outputting a first level pulse when any one of the first end and the second end of the signal transmission tube is inverted from the first level to the second level to control the first upper end The pull tube and the second upper pull tube are connected to pull the other end of the first end and the second end from the first level to the second level.
可选地,所述上拉控制模块包括第一信号输入端、第二信号输入端、端口检测模块、双向检测触发模块和单脉冲产生模块;Optionally, the pull-up control module includes a first signal input terminal, a second signal input terminal, a port detection module, a bidirectional detection trigger module, and a single pulse generation module;
所述端口检测模块与所述第一信号输入端和所述第二信号输入端电连接,用于在所述第一信号输入端和所述第二信号输入端都为第二电平时,输出第一电平,在所述第一信号输入端和所述第二信号输入端中至少一端为第一电平时,输出第二电平;The port detection module is electrically connected to the first signal input terminal and the second signal input terminal, and is configured to output when the first signal input terminal and the second signal input terminal are both at the second level A first level, output a second level when at least one of the first signal input terminal and the second signal input terminal is at the first level;
所述双向检测触发模块与所述第一信号输入端和所述第二信号输入端电连接,用于在所述第一信号输入端和所述第二信号输入端都为第一电平时,输出第二电平,在所述第一信号输入端和所述第二信号输入端中至少一端为第二电平时,输出第一电平;The two-way detection trigger module is electrically connected to the first signal input terminal and the second signal input terminal, and is used for when both the first signal input terminal and the second signal input terminal are at the first level, Output a second level, and output the first level when at least one of the first signal input terminal and the second signal input terminal is at the second level;
所述单脉冲产生模块与所述端口检测模块和所述双向检测触发模块电连接,用于在所述端口检测模块输出第二电平、所述双向检测触发模块的输出由第二电平转换为第一电平时,输出第一电平脉冲,在其他时段输出第二电平。The single pulse generation module is electrically connected to the port detection module and the bidirectional detection trigger module, and is configured to output a second level at the port detection module, and the output of the bidirectional detection trigger module is converted from the second level When it is the first level, the first level pulse is output, and the second level is output in other periods.
可选地,所述端口检测模块包括与非门和第一反相器至第四反相器;Optionally, the port detection module includes a NAND gate and a first inverter to a fourth inverter;
所述第一反相器的输入端与所述第一信号输入端电连接,所述第二反相器的输入端与所述第一反相器的输出端电连接,所述第二反相器的输出端与所述与非门的一个输入端电连接;The input terminal of the first inverter is electrically connected to the first signal input terminal, the input terminal of the second inverter is electrically connected to the output terminal of the first inverter, and the second inverter is electrically connected to the output terminal of the first inverter. The output terminal of the phase converter is electrically connected with an input terminal of the NAND gate;
所述第三反相器的输入端与所述第二信号输入端电连接,所述第四反相器 的输入端与所述第三反相器的输出端电连接,所述第四反相器的输出端与所述与非门的另一个输入端电连接;The input terminal of the third inverter is electrically connected to the second signal input terminal, the input terminal of the fourth inverter is electrically connected to the output terminal of the third inverter, and the fourth inverter is electrically connected to the output terminal of the third inverter. The output terminal of the phase converter is electrically connected to the other input terminal of the NAND gate;
所述与非门的输出端与所述端口检测模块的输出端电连接。The output terminal of the NAND gate is electrically connected with the output terminal of the port detection module.
可选地,所述双向检测触发模块包括或门、第一晶体管至第五晶体管、第五反相器和第六反相器;Optionally, the bidirectional detection trigger module includes an OR gate, a first transistor to a fifth transistor, a fifth inverter, and a sixth inverter;
所述或门的一个输入端与所述第一信号输入端电连接,所述或门的另一个输入端与所述第二信号输入端电连接,所述或门的输出端与所述第一晶体管的栅极电连接;One input terminal of the OR gate is electrically connected to the first signal input terminal, the other input terminal of the OR gate is electrically connected to the second signal input terminal, and the output terminal of the OR gate is electrically connected to the first signal input terminal. The gate of a transistor is electrically connected;
所述第一晶体管的第一端与所述第二晶体管的第二端电连接,所述第二晶体管的第一端与电源端电连接,所述第一晶体管的第二端与第三晶体管的第二端电连接,所述第三晶体管的栅极与所述第一信号输入端电连接,所述第三晶体管的第一端与接地端电连接;The first terminal of the first transistor is electrically connected to the second terminal of the second transistor, the first terminal of the second transistor is electrically connected to the power terminal, and the second terminal of the first transistor is electrically connected to the third transistor. The second terminal of the third transistor is electrically connected to the first signal input terminal, and the first terminal of the third transistor is electrically connected to the ground terminal;
所述第一晶体管的第二端与第四晶体管的第二端电连接,所述第四晶体管的第二端通过第五反相器与所述第四晶体管的栅极电连接,所述第四晶体管的栅极通过第六反相器与所述第二晶体管的栅极电连接;The second end of the first transistor is electrically connected to the second end of the fourth transistor, and the second end of the fourth transistor is electrically connected to the gate of the fourth transistor through a fifth inverter. The gate of the four transistors is electrically connected to the gate of the second transistor through a sixth inverter;
所述第五晶体管的栅极与所述第二信号输入端电连接,所述第五晶体管的第一端与接地端电连接,所述第五晶体管的第二端与所述第四晶体管的第二端电连接;The gate of the fifth transistor is electrically connected to the second signal input terminal, the first terminal of the fifth transistor is electrically connected to the ground terminal, and the second terminal of the fifth transistor is electrically connected to the fourth transistor. The second end is electrically connected;
所述第四晶体管的第二端与所述双向检测触发模块的输出端电连接。The second terminal of the fourth transistor is electrically connected to the output terminal of the bidirectional detection trigger module.
可选地,所述第一晶体管、第二晶体管和第四晶体管为PMOS晶体管,所述第三晶体管和第五晶体管为NMOS晶体管。Optionally, the first transistor, the second transistor, and the fourth transistor are PMOS transistors, and the third transistor and the fifth transistor are NMOS transistors.
可选地,所述单脉冲产生模块包括第六晶体管至第八晶体管、第一电阻、第二电阻、第七反相器、第八反相器、第九反相器和或非门;Optionally, the single pulse generating module includes a sixth transistor to an eighth transistor, a first resistor, a second resistor, a seventh inverter, an eighth inverter, a ninth inverter, and a NOR gate;
所述第六晶体管的第一端与电源端电连接,所述第六晶体管的栅极与所述双向检测触发模块的输出端电连接,所述第六晶体管的第二端与所述第一电阻的一端电连接,所述第一电阻的另一端与所述第二电阻的一端电连接,所述第二电阻的另一端与所述第七晶体管的第一端电连接,所述第七晶体管的第二端 与接地端电连接,所述第七晶体管的栅极与所述双向检测触发模块的输出端电连接;The first terminal of the sixth transistor is electrically connected to the power terminal, the gate of the sixth transistor is electrically connected to the output terminal of the bidirectional detection trigger module, and the second terminal of the sixth transistor is electrically connected to the first terminal. One end of the resistor is electrically connected, the other end of the first resistor is electrically connected to one end of the second resistor, the other end of the second resistor is electrically connected to the first end of the seventh transistor, and the seventh The second terminal of the transistor is electrically connected to the ground terminal, and the gate of the seventh transistor is electrically connected to the output terminal of the bidirectional detection trigger module;
所述第八晶体管的栅极与所述端口检测模块的输出端电连接,所述第八晶体管的第一端与所述第一电阻的一端电连接,所述第八晶体管的第二端与所述第一电阻的另一端电连接;The gate of the eighth transistor is electrically connected to the output end of the port detection module, the first end of the eighth transistor is electrically connected to one end of the first resistor, and the second end of the eighth transistor is electrically connected to The other end of the first resistor is electrically connected;
所述第七反相器的输入端与所述第二电阻的另一端电连接,所述第七反相器的输出端与所述第八反相器的输入端电连接,所述第八反相器的输出端与所述或非门的一个输入端电连接,所述双向检测触发模块的输出端与所述或非门的另一个输入端电连接,所述或非门的输出端与所述第九反相器的输入端电连接,所述第九反相器的输出端与所述单脉冲产生模块的输出端电连接。The input end of the seventh inverter is electrically connected to the other end of the second resistor, the output end of the seventh inverter is electrically connected to the input end of the eighth inverter, and the eighth The output terminal of the inverter is electrically connected with one input terminal of the NOR gate, the output terminal of the bidirectional detection trigger module is electrically connected with the other input terminal of the NOR gate, and the output terminal of the NOR gate It is electrically connected to the input terminal of the ninth inverter, and the output terminal of the ninth inverter is electrically connected to the output terminal of the single pulse generation module.
可选地,所述第六晶体管和所述第八晶体管为PMOS晶体管,所述第七晶体管为NMOS晶体管。Optionally, the sixth transistor and the eighth transistor are PMOS transistors, and the seventh transistor is an NMOS transistor.
可选地,所述第一上拉管和所述第二上拉管为PMOS晶体管;所述第一电平为低电平,所述第二电平为高电平。Optionally, the first pull-up tube and the second pull-up tube are PMOS transistors; the first level is a low level, and the second level is a high level.
可选地,还包括驱动电路;Optionally, it further includes a driving circuit;
所述驱动电路用于在所述信号传输管的两端都为第一电平时,控制所述信号传输管导通。The driving circuit is used for controlling the signal transmission tube to be turned on when both ends of the signal transmission tube are at the first level.
一种双向电平转换芯片,包括如上任一项所述的双向电平转换电路。A bidirectional level conversion chip includes the bidirectional level conversion circuit as described above.
与现有技术相比,本发明所提供的技术方案具有以下优点:Compared with the prior art, the technical solution provided by the present invention has the following advantages:
本发明所提供的双向电平转换电路和双向电平转换芯片,上拉控制模块在信号传输管的第一端和第二端中任一端由第一电平翻转为第二电平时,输出第一电平脉冲,控制第一上拉管和第二上拉管导通,将第一端和第二端中另一端由第一电平拉为第二电平,也就是说,本发明中第一上拉管和第二上拉管由一个上拉控制模块控制,从而不仅可以减少模块数量和设计复杂度,而且可以减小芯片面积和成本。In the bidirectional level conversion circuit and the bidirectional level conversion chip provided by the present invention, the pull-up control module outputs the first level when any one of the first end and the second end of the signal transmission tube is turned from the first level to the second level A level pulse controls the conduction of the first pull-up tube and the second pull-up tube, and pulls the other end of the first end and the second end from the first level to the second level, that is, in the present invention The first pull-up tube and the second pull-up tube are controlled by a pull-up control module, thereby not only reducing the number of modules and design complexity, but also reducing chip area and cost.
附图说明Description of the drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only It is an embodiment of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on the provided drawings without creative work.
图1为现有的一种双向电平转换电路的结构示意图;Fig. 1 is a schematic structural diagram of an existing bidirectional level conversion circuit;
图2为本发明实施例提供的一种双向电平转换电路的结构示意图;2 is a schematic structural diagram of a bidirectional level conversion circuit provided by an embodiment of the present invention;
图3为本发明实施例提供的上拉控制模块的结构示意图;Figure 3 is a schematic structural diagram of a pull-up control module provided by an embodiment of the present invention;
图4为本发明实施例提供的上拉控制模块的信号时序图。Fig. 4 is a signal timing diagram of a pull-up control module provided by an embodiment of the present invention.
具体实施方式detailed description
正如背景技术所述,现有的双向电平转换芯片中,需要加入两个上拉管和两个控制模块。如图1所示,图1为现有的一种双向电平转换芯片的结构示意图,当信号传输管MN的第一端A由第一电平翻转为第二电平时,第二控制模块控制第二上拉管MP2导通,将信号传输端MN的第二端B由第一电平拉为第二电平;当信号传输管MN的第二端B由第一电平翻转为第二电平时,第一控制模块控制第一上拉管MP1导通,将信号传输端MN的第一端A由第一电平拉为第二电平。由于图1中的两个上拉管分别通过控制模块控制,因此,不但增加了模块数量和设计复杂度,而且增大了芯片面积和成本。As described in the background art, in the existing bidirectional level conversion chip, two pull-up tubes and two control modules need to be added. As shown in Figure 1, Figure 1 is a schematic structural diagram of an existing bidirectional level conversion chip. When the first end A of the signal transmission tube MN is turned from the first level to the second level, the second control module controls The second pull-up tube MP2 is turned on to pull the second terminal B of the signal transmission terminal MN from the first level to the second level; when the second terminal B of the signal transmission tube MN is switched from the first level to the second level At the level, the first control module controls the first pull-up tube MP1 to be turned on, and pulls the first end A of the signal transmission terminal MN from the first level to the second level. Since the two pull-up tubes in Fig. 1 are respectively controlled by the control module, this not only increases the number of modules and design complexity, but also increases the chip area and cost.
基于此,本发明提供了一种双向电平转换电路,以克服现有技术存在的上述问题,包括信号传输管、第一上拉管、第二上拉管和上拉控制模块;Based on this, the present invention provides a bidirectional level conversion circuit to overcome the above-mentioned problems in the prior art, including a signal transmission tube, a first pull-up tube, a second pull-up tube and a pull-up control module;
所述第一上拉管的第一端与第一电压端电连接,所述第一上拉管的第二端与所述信号传输管的第一端电连接,所述第二上拉管的第一端与第二电压端电连接,所述第二上拉管的第二端与所述信号传输管的第二端电连接;The first end of the first pull-up tube is electrically connected with a first voltage terminal, the second end of the first pull-up tube is electrically connected with the first end of the signal transmission tube, and the second pull-up tube The first end of the second end is electrically connected to the second voltage end, and the second end of the second pull-up tube is electrically connected to the second end of the signal transmission tube;
所述上拉控制模块的第一信号输入端与所述信号传输管的第一端电连接,所述上拉控制模块的第二信号输入端与所述信号传输管的第二端电连接;所述双向检测控制电路的输出端与所述第一上拉管和所述第二上拉管的栅极电连接;The first signal input terminal of the pull-up control module is electrically connected with the first end of the signal transmission tube, and the second signal input terminal of the pull-up control module is electrically connected with the second end of the signal transmission tube; The output terminal of the bidirectional detection control circuit is electrically connected to the grids of the first pull-up tube and the second pull-up tube;
所述上拉控制模块用于在所述信号传输管的第一端和第二端中任一端由第一电平翻转为第二电平时,输出第一电平脉冲,控制所述第一上拉管和所述第二上拉管导通,将所述第一端和第二端中另一端由第一电平拉为第二电平。The pull-up control module is used for outputting a first level pulse when any one of the first end and the second end of the signal transmission tube is inverted from the first level to the second level to control the first upper end The pull tube and the second upper pull tube are connected to pull the other end of the first end and the second end from the first level to the second level.
本发明提供的双向电平转换电路,上拉控制模块在信号传输管的第一端和第二端中任一端由第一电平翻转为第二电平时,输出第一电平脉冲,控制第一上拉管和第二上拉管导通,将第一端和第二端中另一端由第一电平拉为第二电平,也就是说,本发明中第一上拉管和第二上拉管由一个上拉控制模块控制,从而不仅可以减少模块数量和设计复杂度,而且可以减小芯片面积和成本。In the bidirectional level conversion circuit provided by the present invention, the pull-up control module outputs a first level pulse to control the first level when either end of the first end and the second end of the signal transmission tube is switched from the first level to the second level. A pull-up tube and a second pull-up tube are turned on, and the other end of the first end and the second end is pulled from the first level to the second level. That is to say, the first pull-up tube and the second pull-up tube in the present invention Second, the pull-up tube is controlled by a pull-up control module, which not only reduces the number of modules and design complexity, but also reduces chip area and cost.
以上是本发明的核心思想,为使本发明的上述目的、特征和优点能够更加明显易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The above is the core idea of the present invention. In order to make the above objectives, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Description, obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
本发明实施例提供了一种双向电平转换电路,该双向电平转换电路可以应用于电平转换芯片、逻辑控制芯片和数据传输芯片等,如图2所示,该双向电平转换电路包括信号传输管MN、第一上拉管MP1、第二上拉管MP2和上拉控制模块。The embodiment of the present invention provides a bidirectional level conversion circuit, which can be applied to a level conversion chip, a logic control chip, a data transmission chip, etc., as shown in FIG. 2, the bidirectional level conversion circuit includes The signal transmission tube MN, the first pull-up tube MP1, the second pull-up tube MP2 and the pull-up control module.
其中,第一上拉管MP1的第一端与第一电压端VA电连接,第一上拉管MP1的第二端与信号传输管MN的第一端A电连接,第二上拉管MP2的第一端与第二电压端VB电连接,第二上拉管MP2的第二端与信号传输管MN的第二端B电连接;The first end of the first pull-up tube MP1 is electrically connected to the first voltage terminal VA, the second end of the first pull-up tube MP1 is electrically connected to the first end A of the signal transmission tube MN, and the second pull-up tube MP2 The first end of is electrically connected to the second voltage terminal VB, and the second end of the second pull-up tube MP2 is electrically connected to the second end B of the signal transmission tube MN;
上拉控制模块的第一信号输入端LA与信号传输管MN的第一端A电连接,上拉控制模块的第二信号输入端LB与信号传输管MN的第二端B电连接,上拉控制模块的输出端LOUT与第一上拉管MP1和第二上拉管MP2的栅极电连接;The first signal input end LA of the pull-up control module is electrically connected to the first end A of the signal transmission tube MN, and the second signal input end LB of the pull-up control module is electrically connected to the second end B of the signal transmission tube MN, and the pull-up The output terminal LOUT of the control module is electrically connected to the grids of the first pull-up tube MP1 and the second pull-up tube MP2;
上拉控制模块用于在信号传输管MN的第一端A和第二端B中任一端由第一电平翻转为第二电平时,输出第一电平脉冲,即输出持续时间为t的第一 电平,控制第一上拉管MP1和第二上拉管MP2导通,将第一端A和第二端B中另一端由第一电平拉为第二电平。The pull-up control module is used to output the first level pulse when either end of the first end A and the second end B of the signal transmission tube MN is switched from the first level to the second level, that is, the output duration is t The first level controls the conduction of the first pull-up tube MP1 and the second pull-up tube MP2, and pulls the other end of the first end A and the second end B from the first level to the second level.
也就是说,当第一端A由第一电平翻转为第二电平时,上拉控制模块输出第一时间段的第一电平,控制第一上拉管MP1和第二上拉管MP2导通。由于第二上拉管MP2导通,因此,可以将第二端B由第一电平拉为第二电平,相当于将第一端A的第二电平信号传输到了第二端B。That is to say, when the first terminal A changes from the first level to the second level, the pull-up control module outputs the first level of the first time period, and controls the first pull-up tube MP1 and the second pull-up tube MP2 Conduction. Since the second pull-up tube MP2 is turned on, the second terminal B can be pulled from the first level to the second level, which is equivalent to transmitting the second level signal of the first terminal A to the second terminal B.
当第二端B由第一电平翻转为第二电平时,上拉控制模块输出第一时间段的第一电平,控制第一上拉管MP1和第二上拉管MP2导通。由于第一上拉管MP1导通,因此,可以将第一端A由第一电平拉为第二电平,相当于将第二端B的第二电平信号传输到了第一端A。When the second terminal B is switched from the first level to the second level, the pull-up control module outputs the first level of the first time period, and controls the first pull-up tube MP1 and the second pull-up tube MP2 to conduct. Since the first pull-up tube MP1 is turned on, the first terminal A can be pulled from the first level to the second level, which is equivalent to transmitting the second level signal of the second terminal B to the first terminal A.
基于此,本发明实施例中通过一个上拉控制模块就可以实现电平转换电路的双向第二电平传输,从而不需要两个上拉控制模块,进而可以减少模块数量和设计复杂度,减小芯片面积和成本。Based on this, in the embodiment of the present invention, the bidirectional second-level transmission of the level conversion circuit can be realized through one pull-up control module, so that two pull-up control modules are not needed, and the number of modules and design complexity can be reduced. Small chip area and cost.
其中,当第一上拉管MP1和第二上拉管MP2为PMOS晶体管时,第一电平为低电平、第二电平为高电平,或者当第一上拉管MP1和第二上拉管MP2为NMOS晶体管时,第一电平为高电平、第二电平为低电平。本发明实施例中仅以第一上拉管MP1和第二上拉管MP2为PMOS晶体管、信号传输管MN为NMOS晶体管为例进行说明。Among them, when the first pull-up tube MP1 and the second pull-up tube MP2 are PMOS transistors, the first level is low and the second level is high, or when the first pull-up tube MP1 and the second pull-up tube MP1 and the second When the pull-up tube MP2 is an NMOS transistor, the first level is a high level and the second level is a low level. In the embodiment of the present invention, only the first pull-up tube MP1 and the second pull-up tube MP2 are PMOS transistors, and the signal transmission tube MN is an NMOS transistor as an example for description.
需要说明的是,如图2所示,本发明实施例中的双向电平转换电路还包括驱动电路;驱动电路用于在信号传输管MN的两端都为第一电平时,控制信号传输管MN导通。具体地,当信号传输管MN为NMOS晶体管时,驱动电路用于在信号传输管MN的两端都为低电平时,控制信号传输管MN导通,在信号传输管MN的两端都为高电平时,控制信号传输管MN断开。It should be noted that, as shown in FIG. 2, the bidirectional level conversion circuit in the embodiment of the present invention further includes a driving circuit; the driving circuit is used to control the signal transmission tube when both ends of the signal transmission tube MN are at the first level MN is turned on. Specifically, when the signal transmission tube MN is an NMOS transistor, the driving circuit is used to control the signal transmission tube MN to be turned on when both ends of the signal transmission tube MN are low, and both ends of the signal transmission tube MN are high. At the level, the control signal transmission tube MN is disconnected.
也就是说,本发明实施例中的双向电平转换电路,在第一端A和第二端B都为低电平时,控制信号传输管MN导通,实现两个电压域信号的传输,在第一端A和第二端B中任一端为高电平时,控制第一上拉管MP1或第二上拉管MP2导通,将另一端上拉为高电平,相当于实现两个电压域信号的传输。In other words, in the bidirectional level conversion circuit in the embodiment of the present invention, when the first end A and the second end B are both low, the control signal transmission tube MN is turned on to realize the transmission of two voltage domain signals. When either of the first terminal A and the second terminal B is at a high level, the first pull-up tube MP1 or the second pull-up tube MP2 is controlled to be turned on, and the other end is pulled up to a high level, which is equivalent to achieving two voltages Domain signal transmission.
如图3所示,本发明实施例中的上拉控制模块包括第一信号输入端LA、第二信号输入端LB、端口检测模块、双向检测触发模块和单脉冲产生模块。As shown in FIG. 3, the pull-up control module in the embodiment of the present invention includes a first signal input terminal LA, a second signal input terminal LB, a port detection module, a bidirectional detection trigger module, and a single pulse generation module.
其中,端口检测模块与第一信号输入端LA和第二信号输入端LB电连接,用于在第一信号输入端LA和第二信号输入端LB都为第二电平时,输出第一电平,在第一信号输入端LA和第二信号输入端LB中至少一端为第一电平时,输出第二电平;可选地,上述第一电平为低电平、第二电平为高电平。双向检测触发模块与第一信号输入端LA和第二信号输入端LB电连接,用于在第一信号输入端LA和第二信号输入端LB都为第一电平时,输出第二电平,在第一信号输入端LA和第二信号输入端LB中至少一端为第二电平时,输出第一电平。单脉冲产生模块与端口检测模块和双向检测触发模块电连接,用于在端口检测模块输出第二电平、双向检测触发模块的输出由第二电平转换为第一电平时,输出第一电平脉冲,在其他时段输出第二电平。Wherein, the port detection module is electrically connected to the first signal input terminal LA and the second signal input terminal LB, and is used to output the first level when the first signal input terminal LA and the second signal input terminal LB are both at the second level , When at least one of the first signal input terminal LA and the second signal input terminal LB is at the first level, the second level is output; optionally, the first level is low and the second level is high Level. The bidirectional detection trigger module is electrically connected to the first signal input terminal LA and the second signal input terminal LB, and is used to output the second level when the first signal input terminal LA and the second signal input terminal LB are both at the first level, When at least one of the first signal input terminal LA and the second signal input terminal LB is at the second level, the first level is output. The single pulse generation module is electrically connected to the port detection module and the bidirectional detection trigger module, and is used to output the first voltage when the port detection module outputs the second level and the output of the bidirectional detection trigger module is converted from the second level to the first level. Ping pulse, output the second level in other periods.
可选地,如图3所示,端口检测模块包括与非门NA和第一反相器NV1至第四反相器NV4;第一反相器NV1的输入端与第一信号输入端LA电连接,第二反相器NV2的输入端与第一反相器NV1的输出端电连接,第二反相器NV2的输出端与与非门NA的一个输入端电连接;第三反相器NV3的输入端与第二信号输入端LB电连接,第四反相器NV4的输入端与第三反相器NV3的输出端电连接,第四反相器NV4的输出端与与非门NA的另一个输入端电连接;与非门NA的输出端与端口检测模块的输出端A1电连接。Optionally, as shown in FIG. 3, the port detection module includes a NAND gate NA and a first inverter NV1 to a fourth inverter NV4; the input terminal of the first inverter NV1 is electrically connected to the first signal input terminal LA. The input terminal of the second inverter NV2 is electrically connected with the output terminal of the first inverter NV1, and the output terminal of the second inverter NV2 is electrically connected with an input terminal of the NAND gate NA; the third inverter The input terminal of NV3 is electrically connected to the second signal input terminal LB, the input terminal of the fourth inverter NV4 is electrically connected to the output terminal of the third inverter NV3, and the output terminal of the fourth inverter NV4 is NAND gate NA The other input terminal is electrically connected; the output terminal of the NAND gate NA is electrically connected to the output terminal A1 of the port detection module.
如图3所示,双向检测触发模块包括或门OR、第一晶体管M1至第五晶体管M5、第五反相器NV5和第六反相器NV6;或门OR的一个输入端与第一信号输入端LA电连接,或门OR的另一个输入端与第二信号输入端LB电连接,或门OR的输出端与第一晶体管M1的栅极电连接;第一晶体管M1的第一端与第二晶体管M2的第二端电连接,第二晶体管M2的第一端与电源端VDD电连接,第一晶体管M1的第二端与第三晶体管M3的第二端电连接,第三晶体管M3的栅极与第一信号输入端LA电连接,第三晶体管M3的第一端与接地端GND电连接;第一晶体管M1的第二端与第四晶体管M4的第二 端电连接,第四晶体管M4的第二端通过第五反相器NV5与第四晶体管M4的栅极电连接,第四晶体管M4的栅极通过第六反相器NV6与第二晶体管M2的栅极电连接;第五晶体管M5的栅极与第二信号输入端LB电连接,第五晶体管M5的第一端与接地端GND电连接,第五晶体管M5的第二端与第四晶体管M4的第二端电连接;第四晶体管M4的第二端与双向检测触发模块的输出端A2电连接。As shown in FIG. 3, the bidirectional detection trigger module includes an OR gate, first transistor M1 to fifth transistor M5, a fifth inverter NV5, and a sixth inverter NV6; an input terminal of the OR gate and the first signal The input terminal LA is electrically connected, the other input terminal of the OR gate OR is electrically connected with the second signal input terminal LB, and the output terminal of the OR gate OR is electrically connected with the gate of the first transistor M1; the first terminal of the first transistor M1 is electrically connected with The second end of the second transistor M2 is electrically connected, the first end of the second transistor M2 is electrically connected to the power supply terminal VDD, the second end of the first transistor M1 is electrically connected to the second end of the third transistor M3, and the third transistor M3 The gate of the first transistor M3 is electrically connected to the first signal input terminal LA, the first terminal of the third transistor M3 is electrically connected to the ground terminal GND; the second terminal of the first transistor M1 is electrically connected to the second terminal of the fourth transistor M4, and the fourth The second end of the transistor M4 is electrically connected to the gate of the fourth transistor M4 through the fifth inverter NV5, and the gate of the fourth transistor M4 is electrically connected to the gate of the second transistor M2 through the sixth inverter NV6; The gate of the fifth transistor M5 is electrically connected to the second signal input terminal LB, the first end of the fifth transistor M5 is electrically connected to the ground terminal GND, and the second end of the fifth transistor M5 is electrically connected to the second end of the fourth transistor M4 ; The second end of the fourth transistor M4 is electrically connected to the output end A2 of the bidirectional detection trigger module.
如图3所示,单脉冲产生模块包括第六晶体管M6至第八晶体管M8、第一电阻R1、第二电阻R2、第七反相器NV7、第八反相器NV8、第九反相器NV9和或非门NOR;第六晶体管M6的第一端与电源端VDD电连接,第六晶体管M6的栅极与双向检测触发模块的输出端A2电连接,第六晶体管M6的第二端与第一电阻R1的一端电连接,第一电阻R1的另一端与第二电阻R2的一端电连接,第二电阻R2的另一端与第七晶体管M7的第一端电连接,第七晶体管M7的第二端与接地端GND电连接,第七晶体管M7的栅极与双向检测触发模块的输出端A2电连接;第八晶体管M8的栅极与端口检测模块的输出端A1电连接,第八晶体管M8的第一端与第一电阻R1的一端电连接,第八晶体管M8的第二端与第一电阻R1的另一端电连接;第七反相器NV7的输入端与第二电阻R2的另一端电连接,第七反相器NV7的输出端与第八反相器NV8的输入端电连接,第八反相器NV8的输出端与或非门NOR的一个输入端电连接,双向检测触发模块的输出端A2与或非门NOR的另一个输入端电连接,或非门NOR的输出端与第九反相器NV9的输入端电连接,第九反相器NV9的输出端与单脉冲产生模块的输出端LOUT电连接。As shown in Figure 3, the single pulse generation module includes a sixth transistor M6 to an eighth transistor M8, a first resistor R1, a second resistor R2, a seventh inverter NV7, an eighth inverter NV8, and a ninth inverter. NV9 and NOR gate; the first terminal of the sixth transistor M6 is electrically connected to the power supply terminal VDD, the gate of the sixth transistor M6 is electrically connected to the output terminal A2 of the bidirectional detection trigger module, and the second terminal of the sixth transistor M6 is electrically connected to One end of the first resistor R1 is electrically connected, the other end of the first resistor R1 is electrically connected to one end of the second resistor R2, and the other end of the second resistor R2 is electrically connected to the first end of the seventh transistor M7. The second terminal is electrically connected to the ground terminal GND, the gate of the seventh transistor M7 is electrically connected to the output terminal A2 of the bidirectional detection trigger module; the gate of the eighth transistor M8 is electrically connected to the output terminal A1 of the port detection module, and the eighth transistor The first end of M8 is electrically connected to one end of the first resistor R1, the second end of the eighth transistor M8 is electrically connected to the other end of the first resistor R1; the input end of the seventh inverter NV7 is electrically connected to the other end of the second resistor R2 One end is electrically connected, the output end of the seventh inverter NV7 is electrically connected to the input end of the eighth inverter NV8, the output end of the eighth inverter NV8 is electrically connected to an input end of the NOR gate, and the bidirectional detection trigger The output terminal A2 of the module is electrically connected with the other input terminal of the NOR gate, the output terminal of the NOR gate NOR is electrically connected with the input terminal of the ninth inverter NV9, and the output terminal of the ninth inverter NV9 is electrically connected with the single pulse The output terminal LOUT of the generating module is electrically connected.
其中,第一晶体管M1、第二晶体管M2和第四晶体管M4为PMOS晶体管,第三晶体管M3和第五晶体管M5为NMOS晶体管,第六晶体管M6和第八晶体管M8为PMOS晶体管,第七晶体管M7为NMOS晶体管。当然,本发明并不仅限于此,在其他实施例中,第一晶体管M1、第二晶体管M2和第四晶体管M4还可以为NMOS晶体管,第三晶体管M3和第五晶体管M5还可以为PMOS晶体管,第六晶体管M6和第八晶体管M8还可以为NMOS晶体 管,第七晶体管M7还可以为PMOS晶体管。Among them, the first transistor M1, the second transistor M2, and the fourth transistor M4 are PMOS transistors, the third transistor M3 and the fifth transistor M5 are NMOS transistors, the sixth transistor M6 and the eighth transistor M8 are PMOS transistors, and the seventh transistor M7 It is an NMOS transistor. Of course, the present invention is not limited to this. In other embodiments, the first transistor M1, the second transistor M2, and the fourth transistor M4 may also be NMOS transistors, and the third transistor M3 and the fifth transistor M5 may also be PMOS transistors. The sixth transistor M6 and the eighth transistor M8 may also be NMOS transistors, and the seventh transistor M7 may also be PMOS transistors.
参考图4,以第一电平为低电平、第二电平为高电平进行说明,当第一端A和第二端B为低电平时,即第一信号输入端LA和第二信号输入端LB为低电平时,输出端A1输出高电平。或门OR输出低电平,第一晶体管M1导通,由于第一信号输入端LA和第二信号输入端LB为低电平,因此,第三晶体管M3和第五晶体管M5断开,输出端A2输出高电平,使得第四晶体管M4导通,将输出端A2弱上拉锁定。由于输出端A1输出高电平,因此,第八晶体管M8断开。由于输出端A2输出高电平,因此,第六晶体管M6断开,第七晶体管M7导通,将或非门NOR的一个输入端A3下拉为低电平。由于或非门NOR得了另一个输入端与输出端A2相连,因此,或非门NOR输出低电平,输出端LOUT输出高电平,控制第一上拉管MP1和第二上拉管MP2断开。4, the first level is low level, and the second level is high level. When the first terminal A and the second terminal B are low level, that is, the first signal input terminal LA and the second When the signal input terminal LB is low level, the output terminal A1 outputs high level. The OR gate OR outputs a low level, and the first transistor M1 is turned on. Since the first signal input terminal LA and the second signal input terminal LB are low level, the third transistor M3 and the fifth transistor M5 are disconnected, and the output terminal A2 outputs a high level, so that the fourth transistor M4 is turned on, and the output terminal A2 is weakly pulled up and locked. Since the output terminal A1 outputs a high level, the eighth transistor M8 is turned off. Since the output terminal A2 outputs a high level, the sixth transistor M6 is turned off and the seventh transistor M7 is turned on, pulling down one input terminal A3 of the NOR gate NOR to a low level. Since the NOR gate NOR has another input terminal connected to the output terminal A2, the NOR gate NOR outputs a low level, and the output terminal LOUT outputs a high level, which controls the first pull-up tube MP1 and the second pull-up tube MP2 to turn off open.
当第一端A和第二端B中任一端由低电平翻转为高电平时,如第一端A由低电平翻转为高电平时,第一信号输入端LA由低电平翻转为高电平,第三晶体管M3导通,将输出端A2下拉为低电平,此时,节点A4会由低电平翻转为高电平,但是,由于此时电流会被第一电阻R1和第二电阻R2限制,导致节点A4会产生延时,使得节点A3从低电平翻转为高电平也会产生延时,因此,输出端LOUT会输出一定时间段t的低电平,控制第一上拉管MP1和第二上拉管MP2导通,将第二端B由低电平上拉为高电平。其中,t=(R1+R2)*C,C为节点A4的寄生电容。并且,t时间之后,节点A3翻转为高电平,输出端LOUT输出高电平,控制第一上拉管MP1和第二上拉管MP2断开。此外,当第二端B在t1处即被拉为高电平时,t1小于t,输出端A1翻转为低电平,第八晶体管M8导通,使得流过第六晶体管M6的电流增大,从而可以使得输出端LOUT提前翻转为高电平,可以在第二端B被拉为高电平后快速的断开第一上拉管MP1和第二上拉管MP2,进而可以减小第一上拉管MP1和第二上拉管MP2的功耗。When either of the first terminal A and the second terminal B is turned from low to high, for example, when the first terminal A is turned from low to high, the first signal input terminal LA is turned from low to high At high level, the third transistor M3 is turned on and pulls down the output terminal A2 to low level. At this time, the node A4 will turn from low level to high level. However, at this time, the current will be caused by the first resistor R1 and The second resistor R2 is limited, causing the node A4 to have a delay, causing the node A3 to switch from low level to high level, and also causing delay. Therefore, the output terminal LOUT will output a low level for a certain period of time t, and control the first An upper pull tube MP1 and a second upper pull tube MP2 are turned on, and the second end B is pulled up from low level to high level. Among them, t=(R1+R2)*C, C is the parasitic capacitance of node A4. In addition, after time t, the node A3 flips to a high level, the output terminal LOUT outputs a high level, and the first pull-up tube MP1 and the second pull-up tube MP2 are controlled to be disconnected. In addition, when the second terminal B is pulled to a high level at t1, t1 is less than t, the output terminal A1 is inverted to a low level, the eighth transistor M8 is turned on, so that the current flowing through the sixth transistor M6 increases, Therefore, the output terminal LOUT can be flipped to a high level in advance, and the first pull-up tube MP1 and the second pull-up tube MP2 can be quickly disconnected after the second terminal B is pulled to a high level, thereby reducing the first The power consumption of the pull-up tube MP1 and the second pull-up tube MP2.
当第一端A和第二端B都为高电平时,即第一信号输入端LA和第二信号输入端LB都为高电平时,输出端A1为高电平,输出端A2为低电平,第二晶体管M2导通,第一晶体管M1断开,第八晶体管M8导通,输出端LOUT输出高电平, 控制第一上拉管MP1和第二上拉管MP2断开。When both the first terminal A and the second terminal B are at high level, that is, when the first signal input terminal LA and the second signal input terminal LB are both at high level, the output terminal A1 is at high level and the output terminal A2 is at low level. At the same time, the second transistor M2 is turned on, the first transistor M1 is turned off, the eighth transistor M8 is turned on, the output terminal LOUT outputs a high level, and the first pull-up tube MP1 and the second pull-up tube MP2 are controlled to be turned off.
当第一端A和第二端B中任一端由高电平翻转为低电平时,即第一信号输入端LA和第二信号输入端LB中任一端由高电平翻转为低电平时,输出端A1输出高电平,输出端A2为低电平,第八晶体管M8断开,其他保持原状态,输出端LOUT输出高电平,控制第一上拉管MP1和第二上拉管MP2断开。When either of the first terminal A and the second terminal B is turned from high to low, that is, when either of the first signal input terminal LA and the second signal input terminal LB is turned from high to low, The output terminal A1 outputs high level, the output terminal A2 is low level, the eighth transistor M8 is turned off, and the others keep the original state, the output terminal LOUT outputs high level, and controls the first pull-up tube MP1 and the second pull-up tube MP2 disconnect.
当第一端A和第二端B都为低电平时,即第一信号输入端LA和第二信号输入端LB都为低电平时,第三晶体管M3和第五晶体管M5断开,第一晶体管M1导通,将输出端A2拉为高电平后第二晶体管M2断开,节点A3和A4翻转为低电平,输出端LOUT输出高电平,此时,上拉控制模块为等待状态,当第一端A和第二端B中任一端由低电平翻转为高电平时,上拉控制模块输出低电平脉冲,控制第一上拉管MP1和第二上拉管MP2导通。When both the first terminal A and the second terminal B are at low level, that is, when the first signal input terminal LA and the second signal input terminal LB are both at low level, the third transistor M3 and the fifth transistor M5 are disconnected, and the first Transistor M1 is turned on, the second transistor M2 is turned off after the output terminal A2 is pulled to high level, the nodes A3 and A4 are turned to low level, and the output terminal LOUT outputs high level. At this time, the pull-up control module is in the waiting state When any one of the first terminal A and the second terminal B turns from low level to high level, the pull-up control module outputs a low-level pulse to control the conduction of the first pull-up tube MP1 and the second pull-up tube MP2 .
本发明实施例还提供了一种双向电平转换芯片,包括上述任一实施例提供的双向电平转换电路。The embodiment of the present invention also provides a bidirectional level conversion chip, which includes the bidirectional level conversion circuit provided in any of the foregoing embodiments.
本发明提供的双向电平转换电路和双向电平转换芯片,上拉控制模块在信号传输管的第一端和第二端中任一端由第一电平翻转为第二电平时,输出第一电平脉冲,控制第一上拉管和第二上拉管导通,将第一端和第二端中另一端由第一电平拉为第二电平,也就是说,本发明中第一上拉管和第二上拉管由一个上拉控制模块控制,从而不仅可以减少模块数量和设计复杂度,而且可以减小芯片面积和成本。In the bidirectional level conversion circuit and the bidirectional level conversion chip provided by the present invention, the pull-up control module outputs the first level when either end of the first end and the second end of the signal transmission tube is converted from the first level to the second level. The level pulse controls the conduction of the first pull-up tube and the second pull-up tube, and pulls the other end of the first end and the second end from the first level to the second level, that is, the first end of the present invention The first pull-up tube and the second pull-up tube are controlled by a pull-up control module, thereby not only reducing the number of modules and design complexity, but also reducing chip area and cost.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown in this document, but should conform to the widest scope consistent with the principles and novel features disclosed in this document.

Claims (10)

  1. 一种双向电平转换电路,其特征在于,包括信号传输管、第一上拉管、第二上拉管和上拉控制模块;A bidirectional level conversion circuit, which is characterized by comprising a signal transmission tube, a first pull-up tube, a second pull-up tube and a pull-up control module;
    所述第一上拉管的第一端与第一电压端电连接,所述第一上拉管的第二端与所述信号传输管的第一端电连接,所述第二上拉管的第一端与第二电压端电连接,所述第二上拉管的第二端与所述信号传输管的第二端电连接;The first end of the first pull-up tube is electrically connected with a first voltage terminal, the second end of the first pull-up tube is electrically connected with the first end of the signal transmission tube, and the second pull-up tube The first end of the second end is electrically connected to the second voltage end, and the second end of the second pull-up tube is electrically connected to the second end of the signal transmission tube;
    所述上拉控制模块的第一信号输入端与所述信号传输管的第一端电连接,所述上拉控制模块的第二信号输入端与所述信号传输管的第二端电连接,所述上拉控制模块的输出端与所述第一上拉管和所述第二上拉管的栅极电连接;The first signal input end of the pull-up control module is electrically connected to the first end of the signal transmission tube, and the second signal input end of the pull-up control module is electrically connected to the second end of the signal transmission tube, The output end of the pull-up control module is electrically connected to the grids of the first pull-up tube and the second pull-up tube;
    所述上拉控制模块用于在所述信号传输管的第一端和第二端中任一端由第一电平翻转为第二电平时,输出第一电平脉冲,控制所述第一上拉管和所述第二上拉管导通,将所述第一端和第二端中另一端由第一电平拉为第二电平。The pull-up control module is used for outputting a first level pulse when any one of the first end and the second end of the signal transmission tube is inverted from the first level to the second level to control the first upper end The pull tube and the second upper pull tube are connected to pull the other end of the first end and the second end from the first level to the second level.
  2. 根据权利要求1所述的电路,其特征在于,所述上拉控制模块包括第一信号输入端、第二信号输入端、端口检测模块、双向检测触发模块和单脉冲产生模块;The circuit according to claim 1, wherein the pull-up control module comprises a first signal input terminal, a second signal input terminal, a port detection module, a bidirectional detection trigger module, and a single pulse generation module;
    所述端口检测模块与所述第一信号输入端和所述第二信号输入端电连接,用于在所述第一信号输入端和所述第二信号输入端都为第二电平时,输出第一电平,在所述第一信号输入端和所述第二信号输入端中至少一端为第一电平时,输出第二电平;The port detection module is electrically connected to the first signal input terminal and the second signal input terminal, and is configured to output when the first signal input terminal and the second signal input terminal are both at the second level A first level, output a second level when at least one of the first signal input terminal and the second signal input terminal is at the first level;
    所述双向检测触发模块与所述第一信号输入端和所述第二信号输入端电连接,用于在所述第一信号输入端和所述第二信号输入端都为第一电平时,输出第二电平,在所述第一信号输入端和所述第二信号输入端中至少一端为第二电平时,输出第一电平;The two-way detection trigger module is electrically connected to the first signal input terminal and the second signal input terminal, and is used for when both the first signal input terminal and the second signal input terminal are at the first level, Output a second level, and output the first level when at least one of the first signal input terminal and the second signal input terminal is at the second level;
    所述单脉冲产生模块与所述端口检测模块和所述双向检测触发模块电连接,用于在所述端口检测模块输出第二电平、所述双向检测触发模块的输出由第二电平转换为第一电平时,输出第一电平脉冲,在其他时段输出第二电平。The single pulse generation module is electrically connected to the port detection module and the bidirectional detection trigger module, and is configured to output a second level at the port detection module, and the output of the bidirectional detection trigger module is converted from the second level When it is the first level, the first level pulse is output, and the second level is output in other periods.
  3. 根据权利要求2所述的电路,其特征在于,所述端口检测模块包括与 非门和第一反相器至第四反相器;The circuit according to claim 2, wherein the port detection module comprises a NAND gate and a first inverter to a fourth inverter;
    所述第一反相器的输入端与所述第一信号输入端电连接,所述第二反相器的输入端与所述第一反相器的输出端电连接,所述第二反相器的输出端与所述与非门的一个输入端电连接;The input terminal of the first inverter is electrically connected to the first signal input terminal, the input terminal of the second inverter is electrically connected to the output terminal of the first inverter, and the second inverter is electrically connected to the output terminal of the first inverter. The output terminal of the phase converter is electrically connected with an input terminal of the NAND gate;
    所述第三反相器的输入端与所述第二信号输入端电连接,所述第四反相器的输入端与所述第三反相器的输出端电连接,所述第四反相器的输出端与所述与非门的另一个输入端电连接;The input terminal of the third inverter is electrically connected to the second signal input terminal, the input terminal of the fourth inverter is electrically connected to the output terminal of the third inverter, and the fourth inverter is electrically connected to the output terminal of the third inverter. The output terminal of the phase converter is electrically connected to the other input terminal of the NAND gate;
    所述与非门的输出端与所述端口检测模块的输出端电连接。The output terminal of the NAND gate is electrically connected with the output terminal of the port detection module.
  4. 根据权利要求3所述的电路,其特征在于,所述双向检测触发模块包括或门、第一晶体管至第五晶体管、第五反相器和第六反相器;The circuit according to claim 3, wherein the bidirectional detection trigger module comprises an OR gate, a first transistor to a fifth transistor, a fifth inverter and a sixth inverter;
    所述或门的一个输入端与所述第一信号输入端电连接,所述或门的另一个输入端与所述第二信号输入端电连接,所述或门的输出端与所述第一晶体管的栅极电连接;One input terminal of the OR gate is electrically connected to the first signal input terminal, the other input terminal of the OR gate is electrically connected to the second signal input terminal, and the output terminal of the OR gate is electrically connected to the first signal input terminal. The gate of a transistor is electrically connected;
    所述第一晶体管的第一端与所述第二晶体管的第二端电连接,所述第二晶体管的第一端与电源端电连接,所述第一晶体管的第二端与第三晶体管的第二端电连接,所述第三晶体管的栅极与所述第一信号输入端电连接,所述第三晶体管的第一端与接地端电连接;The first terminal of the first transistor is electrically connected to the second terminal of the second transistor, the first terminal of the second transistor is electrically connected to the power terminal, and the second terminal of the first transistor is electrically connected to the third transistor. The second terminal of the third transistor is electrically connected to the first signal input terminal, and the first terminal of the third transistor is electrically connected to the ground terminal;
    所述第一晶体管的第二端与第四晶体管的第二端电连接,所述第四晶体管的第二端通过第五反相器与所述第四晶体管的栅极电连接,所述第四晶体管的栅极通过第六反相器与所述第二晶体管的栅极电连接;The second end of the first transistor is electrically connected to the second end of the fourth transistor, and the second end of the fourth transistor is electrically connected to the gate of the fourth transistor through a fifth inverter. The gate of the four transistors is electrically connected to the gate of the second transistor through a sixth inverter;
    所述第五晶体管的栅极与所述第二信号输入端电连接,所述第五晶体管的第一端与接地端电连接,所述第五晶体管的第二端与所述第四晶体管的第二端电连接;The gate of the fifth transistor is electrically connected to the second signal input terminal, the first terminal of the fifth transistor is electrically connected to the ground terminal, and the second terminal of the fifth transistor is electrically connected to the fourth transistor. The second end is electrically connected;
    所述第四晶体管的第二端与所述双向检测触发模块的输出端电连接。The second terminal of the fourth transistor is electrically connected to the output terminal of the bidirectional detection trigger module.
  5. 根据权利要求4所述的电路,其特征在于,所述第一晶体管、第二晶体管和第四晶体管为PMOS晶体管,所述第三晶体管和第五晶体管为NMOS晶体管。4. The circuit of claim 4, wherein the first transistor, the second transistor, and the fourth transistor are PMOS transistors, and the third transistor and the fifth transistor are NMOS transistors.
  6. 根据权利要求4所述的电路,其特征在于,所述单脉冲产生模块包括第六晶体管至第八晶体管、第一电阻、第二电阻、第七反相器、第八反相器、第九反相器和或非门;The circuit according to claim 4, wherein the single pulse generating module includes a sixth transistor to an eighth transistor, a first resistor, a second resistor, a seventh inverter, an eighth inverter, and a ninth transistor. Inverter and NOR gate;
    所述第六晶体管的第一端与电源端电连接,所述第六晶体管的栅极与所述双向检测触发模块的输出端电连接,所述第六晶体管的第二端与所述第一电阻的一端电连接,所述第一电阻的另一端与所述第二电阻的一端电连接,所述第二电阻的另一端与所述第七晶体管的第一端电连接,所述第七晶体管的第二端与接地端电连接,所述第七晶体管的栅极与所述双向检测触发模块的输出端电连接;The first terminal of the sixth transistor is electrically connected to the power terminal, the gate of the sixth transistor is electrically connected to the output terminal of the bidirectional detection trigger module, and the second terminal of the sixth transistor is electrically connected to the first terminal. One end of the resistor is electrically connected, the other end of the first resistor is electrically connected to one end of the second resistor, the other end of the second resistor is electrically connected to the first end of the seventh transistor, and the seventh The second terminal of the transistor is electrically connected to the ground terminal, and the gate of the seventh transistor is electrically connected to the output terminal of the bidirectional detection trigger module;
    所述第八晶体管的栅极与所述端口检测模块的输出端电连接,所述第八晶体管的第一端与所述第一电阻的一端电连接,所述第八晶体管的第二端与所述第一电阻的另一端电连接;The gate of the eighth transistor is electrically connected to the output end of the port detection module, the first end of the eighth transistor is electrically connected to one end of the first resistor, and the second end of the eighth transistor is electrically connected to The other end of the first resistor is electrically connected;
    所述第七反相器的输入端与所述第二电阻的另一端电连接,所述第七反相器的输出端与所述第八反相器的输入端电连接,所述第八反相器的输出端与所述或非门的一个输入端电连接,所述双向检测触发模块的输出端与所述或非门的另一个输入端电连接,所述或非门的输出端与所述第九反相器的输入端电连接,所述第九反相器的输出端与所述单脉冲产生模块的输出端电连接。The input end of the seventh inverter is electrically connected to the other end of the second resistor, the output end of the seventh inverter is electrically connected to the input end of the eighth inverter, and the eighth The output terminal of the inverter is electrically connected with one input terminal of the NOR gate, the output terminal of the bidirectional detection trigger module is electrically connected with the other input terminal of the NOR gate, and the output terminal of the NOR gate It is electrically connected to the input terminal of the ninth inverter, and the output terminal of the ninth inverter is electrically connected to the output terminal of the single pulse generation module.
  7. 根据权利要求6所述的电路,其特征在于,所述第六晶体管和所述第八晶体管为PMOS晶体管,所述第七晶体管为NMOS晶体管。7. The circuit of claim 6, wherein the sixth transistor and the eighth transistor are PMOS transistors, and the seventh transistor is an NMOS transistor.
  8. 根据权利要求1~7任一项所述的电路,其特征在于,所述第一上拉管和所述第二上拉管为PMOS晶体管;所述第一电平为低电平,所述第二电平为高电平。The circuit according to any one of claims 1 to 7, wherein the first pull-up tube and the second pull-up tube are PMOS transistors; the first level is a low level, the The second level is a high level.
  9. 根据权利要求1所述的电路,其特征在于,还包括驱动电路;The circuit according to claim 1, further comprising a driving circuit;
    所述驱动电路用于在所述信号传输管的两端都为第一电平时,控制所述信号传输管导通。The driving circuit is used for controlling the signal transmission tube to be turned on when both ends of the signal transmission tube are at the first level.
  10. 一种双向电平转换芯片,其特征在于,包括权利要求1~9任一项所述的双向电平转换电路。A bidirectional level conversion chip, characterized by comprising the bidirectional level conversion circuit according to any one of claims 1-9.
PCT/CN2020/074417 2019-02-14 2020-02-06 Bidirectional level conversion circuit and bidirectional level conversion chip WO2020164434A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910115541.1A CN109687862A (en) 2019-02-14 2019-02-14 A kind of bidirectional level conversion circuit and two-way level converting chip
CN201910115541.1 2019-02-14

Publications (1)

Publication Number Publication Date
WO2020164434A1 true WO2020164434A1 (en) 2020-08-20

Family

ID=66195825

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/074417 WO2020164434A1 (en) 2019-02-14 2020-02-06 Bidirectional level conversion circuit and bidirectional level conversion chip

Country Status (2)

Country Link
CN (1) CN109687862A (en)
WO (1) WO2020164434A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109687862A (en) * 2019-02-14 2019-04-26 上海艾为电子技术股份有限公司 A kind of bidirectional level conversion circuit and two-way level converting chip
CN110138359B (en) * 2019-05-20 2023-05-26 上海艾为电子技术股份有限公司 Single pulse generating circuit and level converting circuit
CN112769428A (en) * 2019-11-04 2021-05-07 广东美芝制冷设备有限公司 Electronic equipment and bidirectional level conversion communication method and circuit
CN111817705B (en) * 2020-07-27 2021-11-09 中国电子科技集团公司第五十八研究所 Self-induction self-acceleration bidirectional level conversion circuit

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1568572A (en) * 2001-11-27 2005-01-19 快捷半导体有限公司 Active voltage level bus switch (or pass gate) translator
CN203225733U (en) * 2013-03-21 2013-10-02 重庆徐港电子有限公司 A single-channel bidirectional logic level converter
US8917112B1 (en) * 2013-08-29 2014-12-23 Richtek Technology Corporation Bidirectional level shifter
CN206601697U (en) * 2017-01-11 2017-10-31 深圳市迅特通信技术有限公司 A kind of optical module
CN109687862A (en) * 2019-02-14 2019-04-26 上海艾为电子技术股份有限公司 A kind of bidirectional level conversion circuit and two-way level converting chip
CN209526709U (en) * 2019-02-14 2019-10-22 上海艾为电子技术股份有限公司 A kind of bidirectional level conversion circuit and two-way level converting chip

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6373284B1 (en) * 2000-08-14 2002-04-16 Semiconductor Components Industries Llc Voltage level shifting circuit for bidirectional data
KR100568255B1 (en) * 2004-01-26 2006-04-07 삼성전자주식회사 Bidirectional switching device for high voltage and energy recovery circuit employing the same
US7667519B2 (en) * 2005-05-23 2010-02-23 Texas Instruments Incorporated Biasing circuit for pass transistor for voltage level translator circuit
CN201781423U (en) * 2010-04-13 2011-03-30 中电普瑞科技有限公司 High-potential electronic plate of thyristor valve
JP2012147173A (en) * 2011-01-11 2012-08-02 Toshiba Corp Bidirectional level shift circuit
CN103475216B (en) * 2013-09-05 2016-05-11 成都芯源系统有限公司 Power converter, clock module, control circuit and related control method
CN105609069B (en) * 2016-01-04 2018-07-06 京东方科技集团股份有限公司 Level shifting circuit, driving circuit and display device
CN105654905B (en) * 2016-03-30 2018-01-26 京东方科技集团股份有限公司 Shift register and its driving method, drive circuit and display device
CN106130536B (en) * 2016-06-20 2019-06-14 华为技术有限公司 Level shifting circuit and electronic equipment
CN206865435U (en) * 2017-04-20 2018-01-09 上海青橙实业有限公司 Bidirectional level conversion circuit
CN108735162B (en) * 2018-05-25 2020-04-03 京东方科技集团股份有限公司 Display device, grid drive circuit, shift register and control method thereof
CN108768363B (en) * 2018-08-24 2023-09-29 上海艾为电子技术股份有限公司 Tristate zero-crossing comparison circuit and power management chip

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1568572A (en) * 2001-11-27 2005-01-19 快捷半导体有限公司 Active voltage level bus switch (or pass gate) translator
CN203225733U (en) * 2013-03-21 2013-10-02 重庆徐港电子有限公司 A single-channel bidirectional logic level converter
US8917112B1 (en) * 2013-08-29 2014-12-23 Richtek Technology Corporation Bidirectional level shifter
CN206601697U (en) * 2017-01-11 2017-10-31 深圳市迅特通信技术有限公司 A kind of optical module
CN109687862A (en) * 2019-02-14 2019-04-26 上海艾为电子技术股份有限公司 A kind of bidirectional level conversion circuit and two-way level converting chip
CN209526709U (en) * 2019-02-14 2019-10-22 上海艾为电子技术股份有限公司 A kind of bidirectional level conversion circuit and two-way level converting chip

Also Published As

Publication number Publication date
CN109687862A (en) 2019-04-26

Similar Documents

Publication Publication Date Title
WO2020164434A1 (en) Bidirectional level conversion circuit and bidirectional level conversion chip
US8154323B2 (en) Output driver operable over wide range of voltages
US8441301B2 (en) Cascoded level shifter protection
US7839171B1 (en) Digital level shifter and methods thereof
US9780790B2 (en) High speed level shifter circuit
JPS59108426A (en) Coupling intermediate circuit
US11677400B2 (en) Level shifter circuit and method of operating the same
JPH11298313A (en) Tri-state buffer circuit
US11295789B2 (en) Latching sense amplifier
US20230370060A1 (en) Semiconductor integrated circuit device and semiconductor system including the same
CN109787614B (en) Single pulse generating circuit and bidirectional level converting circuit
US10778197B2 (en) Level conversion device and method
US11843375B2 (en) Semiconductor integrated circuit
US20060071695A1 (en) Signal driving circuits including inverters
WO2022116415A1 (en) Level conversion circuit
US10812080B2 (en) High speed voltage level translator including an automatically bootstrapped cascode driver
US11621705B2 (en) Semiconductor integrated circuit device and level shifter circuit
US11791820B2 (en) Output circuit, transmission circuit, and semiconductor integrated circuit
US8896360B2 (en) Level-up shifter circuit for high speed and low power applications
TWI813070B (en) Power supplying circuit and power supplying method
TWI733630B (en) Input/output module
KR0157956B1 (en) Output buffer
JP2001094402A (en) Output circiut for semiconductor integrated circuit
US9515654B2 (en) Semiconductor apparatus
JP3989135B2 (en) LSI devices

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20754949

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20754949

Country of ref document: EP

Kind code of ref document: A1