Skip to content

Voltage-Level Translators

Published On:
May 8, 2015
Last Updated:
Mar 17, 2022

Voltage-level translators (and hence, voltage-level translation) refers to the conversion to digital logic signals from one voltage level (e.g. +3.3V) to another (e.g. +5.0V) (the different voltage levels are also called voltage domains). It is commonly used to provide communication capability between two ICs which are operating of a different voltage rail. Voltage-level translators are also called level shifters1.

Voltage-level translators can also be used to prevent backfeeding (whether or not the two sides of the circuitry are at different voltage levels).

Topologies

There are many different ways of making a voltage-level translator. Some of the topologies are:

  • Discrete MOSFETs: Inherently bi-directional, but place relative voltage level restrictions between side A and side B.
  • Totem-poles: Require a DIR pin or auto-direction to be bi-directional. No relative voltage level restrictions between side and side B.
  • Four-port MOSFETs with Gate Bias (e.g. the LSF0101): Inherently bi-directional, but place relative voltage level restrictions between side A and side B. Small amount of leakage current from the higher voltage rail to the lower voltage rail, lower voltage rail must be able to sink this current.

These topologies are discussed more in the sections below.

Discrete MOSFET Voltage-Level Translators

The below schematic shows a simple circuit for voltage-level translation using a single MOSFET and pull-up resistors. It supports bi-directional digital signal translation.

  • Simple circuitry.
  • Weak pull-up for certain edges in certain directions, resulting in slow transition speeds.
An example schematic of bi-directional voltage-level translation using a MOSFET.

What happens if VlowV_{low} is driven?

If VlowV_{low} is driven high, then the gate-source voltage of the N-channel MOSFET (VGSV_{GS}) is 0V0V, and the MOSFET is OFF. This means that VhighV_{high} is pulled high by its 10kΩ10k\Omega resistor.

If VlowV_{low} is driven low, then the gate-source voltage of the N-channel MOSFET (VGSV_{GS}) is now +3.3V+3.3V, and the MOSFET is ON. This means that VhighV_{high} is driven LOW through the MOSFET.

What happens if VhighV_{high} is driven?

If VhighV_{high} is driven high, the body-diode of the MOSFET will be reverse-biased, and OFF. This means that the source of the MOSFET will be pulled to +3.3V+3.3V by the 10kΩ10k\Omega resistor, (VGSV_{GS}) will be 0V0V, the MOSFET OFF, and VlowV_{low} also high because of it’s 10kΩ10k\Omega resistor.

If VhighV_{high} is driven low, the body-diode of the MOSFET will be forward-biased, and switch ON. This will start pulling VlowV_{low} to ground plus the forward voltage drop of the diode (0V+0.7V=0.7V0V + 0.7V = 0.7V). As the voltage on VlowV_{low} drops, the (VGSV_{GS}) of the MOSFET will start to increase, and the MOSFET will soon turn ON. At this point VlowV_{low} will be driven fully to ground (0V).

Totem-pole Voltage-Level Translators

Totem-pole voltage-level translators used totem-pole MOSFET receivers and drivers for performing voltage-level translation. There are dedicated low-to-high translations, high-to-low, anything-to-anything, and bit widths of 1-bit to 16-bit. 1T means 1 gate with voltage translation, 45 means 1-bit transceiver with direction control.

  • Typically there are no relative restrictions on the voltage levels of side A vs. side B (i.e. there is no “low side” and no “high side”, they can vary independently).
  • Complex circuitry.
A 74LVC1T45 voltage-level translator IC being used to voltage translate a 3.3V logic-level signal to a 5.0V voltage domain.

Directionality (Unidirectional, Bidirectional, Auto-directional)

The directionality of a voltage-level translator is ability to transfer signals from side A to side B or versa. Unidirectional translators only translate signals in one, fixed direction, such as A to B (side A will always be inputs, side B will always be outputs). Some have a configurable direction with a DIR pin. Some have OE pins. Some have auto-direction sensing with no DIR pin.

How Does Auto-Direction Work?

Auto-direction voltage-level translator ICs use a clever technique to remove the need for a direction pin to specify which side is an input and which side is an output. They work by driving pins with a weak signal (e.g. a CMOS totem-pole driver but with a 4kΩ4k\Omega resistor in series with the output2) that can be overridden by an external signal.

To fix the problem of these weak drives causing slow edge transitions, one shot timers monitor each side for rising or falling-edges. On a transition, the one shot timers momentarily turn on a strong drive (standard CMOS totem-pole) to create a fast transition. The timer quickly expires, turning of the strong drive and letting the weak drive take over until the next transition.

Architecture of a single cell inside the TXB0104 IC, showing how the auto-direction sensing circuitry works2.

Powered Off Protection (IOFF)

Powered off protection is activated when one or more of the power rails is at 0V0V. Texas Instruments commonly uses the name IOFFI_{OFF} to describe this feature.

Circuit showing how a CMOS “totem-pole” driver is modified to provide “powered off protection”. Addition diode added between the substrate and the source of the P-channel MOSFET as circled, which prevents current from the output flowing back to VCCV_{CC} in the case that the power rail is at 0V0V34.

Propagation Delay

Generally, you want voltage-level translator ICs to have a low propagation delay (commonly abbreviated as tpdt_{pd}). Most voltage-level translator circuits have a propagation delay between 0.4ns (really fast) and 20ns (quite slow, but still fast enough for many applications).

Clamping Diodes

NXP’s LV, HC, and HEF families have input clamping diodes to VCC and can be used with current-limiting resistors for high-to-low level translation5. Voltage translation: How to manage mixed-voltage designs with NXP level translators.

Four-Port MOSFET with Gate Bias Voltage-Level Translators

Four-port MOSFET with gate bias voltage-level translators (this isn’t their official name, but I had to come up with something!) are voltage-level translators which use a single four-port N-channel MOSFET (substrate connected to ground) between each A and B pin (they don’t have totem-pole drivers). The gate is driven to cleverly found “bias voltage” which allows bi-directional voltage-level translation to happen (with a caveat: sometimes you need pull-ups). They are bi-directional without the need for any DIR pin nor auto-directional sensing circuitry.

  • Inherently bi-directional.
  • B-side voltage rails must always be higher than A-side voltage rail by some threshold.
  • Under certain conditions, relies on a resistor pull-up to make the output go high, limiting maximum signal transition rates.

The LSF family of level translators is one such example (available from many manufacturers).

Internal schematic for the LSF family of translators6.

The voltage rail on the B-side must always be higher than the voltage rail on the A-side for this style of translator to work properly.

Examples

74LVC1T45Z6-7: Diodes Incorporated, 1-bit

IOFFI_{OFF} is activated when one or more of the power rails is at 0V0V.

The pinout for the single bit Diodes Inc 74LVC1T45Z6-7 voltage translator in the SOT-563 package7.

TXB0104

ParameterValue
ManufacturerTexas Instruments
Manf. Part Num.TXB0104
TopologyTotem-pole
Num. Bits4-bit
Auto-directionYes
Voltage, VCCAV_{CCA}1.2-3.6V
Voltage, VCCBV_{CCB}1.65-5.5V
PackageBGA-12, SOIC-14, QFN-12,
CostUS$1.64 (TXB0104D, quantities of 100)

The Texas Instruments TXB0104 is a popular 4-bit, auto-directional voltage level translator that comes in a number of different packages, including larger SOIC-14 packages all the way down to BGA-12.

SparkFun makes a breakout board for this IC, the SparkFun Voltage-Level Translator Breakout - TXB0104 (part num. BOB-11771).

The SparkFun breakout board for the TXB01048.

Suppliers

Confusingly, voltage level translators can be found in two separate sections (both under the Logic section) on DigiKey:

  1. Integrated Circuits (ICs) > Logic - Buffers, Drivers, Receivers, Transceivers. One example is https://www.digikey.com/en/products/detail/nexperia-usa-inc/74AUP1T45GW-125/1300776.
  2. Integrated Circuits (ICs) > Logic - Translators, Level Shifters. One example is https://www.digikey.com/en/products/detail/diodes-incorporated/74lvc1t45z6-7/4898825.

Footnotes

  1. Nexperia. Voltage translators (level-shifters) (product page). Retrieved 2022-03-17, from https://www.nexperia.com/products/analog-logic-ics/asynchronous-interface-logic/voltage-translators-level-shifters/.

  2. Texas Instruments (2020). TXB0104 4-Bit Bidirectional Voltage-level Translator With Automatic Direction Sensing and ±15-kV ESD Protection (datasheet). Retrieved 2022-03-18, from https://www.ti.com/lit/ds/symlink/txb0104.pdf. 2

  3. Shreyas Rao (2016, Nov 2). Logic gates and switches with Ioff or powered-off protection: empowering you to power down (blog post). Texas Instruments. Retrieved 2022-03-13, from https://e2e.ti.com/blogs_/b/analogwire/posts/logic-gates-and-switches-with-ioff-empowering-you-to-power-down.

  4. Jose M. Soltero and Ernest Cox (2002, Jan). SCEA025: Logic in Live-Insertion Applications With a Focus on GTLP (Application Report). Texas Instruments. Retrieved 2022-03-13, from https://www.ti.com/lit/an/scea026/scea026.pdf.

  5. NXP (2014, May). Voltage translation: How to manage mixed-voltage designs with NXP level translators. Retrieved 2022-03-11, from https://www.nxp.com/docs/en/nxp/brochures/75017511.pdf.

  6. Texas Instruments. Understanding the Bias Circuit for the LSF Family (video). Retrieved 2022-07-04, from https://training.ti.com/tlm-lsf-bias.

  7. Diodes Incorporated (2018, Oct). 74LVC1T45: Single Bit Dual Power Supply Translating Transceiver With 3 State Outputs. Retrieved 2022-03-11, from https://www.diodes.com/assets/Datasheets/74LVC1T45.pdf.

  8. SparkFun. SparkFun Voltage-Level Translator Breakout - TXB0104 (product page). Retrieved 2022-03-18, from https://www.sparkfun.com/products/11771.