Author Topic: Bi-directional level shifting speed, active load and NMOS logic  (Read 368 times)

0 Members and 1 Guest are viewing this topic.

Offline c--Topic starter

  • Newbie
  • Posts: 5
  • Country: fr
Bi-directional level shifting speed, active load and NMOS logic
« on: December 22, 2024, 05:45:33 pm »
Hello,

From what I understand, using a N-channel enhancement mode MOSFET with a couple of pull up resistors to do level translation can be pretty slow, due to the RC load that is created between the pull up resistors and the input/output capacitance of the transistor, resulting in a delay when switching between high and low logic levels.

For instance, as seen in Fig 1, an AO3400 has a pretty big Ciss of 630pF and a Coss of 75pF which would make it a pretty poor choice compared something like a BSS138 (Ciss 27pF and Coss 13pF).

Now, this level shifting circuit looks pretty much like a discrete NMOS circuit with passive loads. So in theory it should be possible to replace the passive loads with N-channel depletion mode MOSFETs similarly to Fig 2.

In such a case, would an active load actually improve the speed of operation of the level shifter, regardless of the transistor used for the translation? And would such active load configuration also benefit discrete NMOS implementations compared to ones with passive loads?
 

Offline prints-f-darkness

  • Contributor
  • Posts: 16
  • Country: us
Re: Bi-directional level shifting speed, active load and NMOS logic
« Reply #1 on: December 22, 2024, 09:19:11 pm »
Hi,

Instead of worrying about the details, worry about the application. For 50 cents USD you can get a TXS0101DCKR, 24Mbps (push pull).

(datasheet attached)
https://www.digikey.com/en/products/detail/texas-instruments/TXS0101DCKR/1739893

There's no reason to use discrete components unless you absolutely have too (IE cost savings for a production design).
If speed is your primary concern, use a dedicated device with known specs.

That's just my advice, I hope my insight was useful.

Best Regards,
The Prints Of Darkness (I forgot the 'o')
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 20250
  • Country: gb
  • 0999
Re: Bi-directional level shifting speed, active load and NMOS logic
« Reply #2 on: December 23, 2024, 11:41:22 am »
Figure 2 won't work, because Q3 & Q4 will always be off, due to their gates being shorted to their sources, leaving only reverse biased diodes to +V.

Why not use a small BJT? They have a much lower capacitance than MOSFETs, which are typically designed for power. A small capacitor across the base resistor can help to speed the circuit up a little.

* Level shift bi-direc BJT 5V.asc

Another option is a J-FET, but it's can be more tricky to find parts which will work. Choose a part which with which will cut-off when VS-VG≤3V, such as the J113 or PN4393.


* Level shift bi-direc J-FET 3V3 5V.asc
 

Offline langwadt

  • Super Contributor
  • ***
  • Posts: 4825
  • Country: dk
Re: Bi-directional level shifting speed, active load and NMOS logic
« Reply #3 on: December 23, 2024, 12:03:47 pm »
Figure 2 won't work, because Q3 & Q4 will always be off, due to their gates being shorted to their sources, leaving only reverse biased diodes to +V.

depletion mosfets with zero Vgs  they are basically a constant current source 
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 20250
  • Country: gb
  • 0999
Re: Bi-directional level shifting speed, active load and NMOS logic
« Reply #4 on: December 23, 2024, 12:17:40 pm »
Figure 2 won't work, because Q3 & Q4 will always be off, due to their gates being shorted to their sources, leaving only reverse biased diodes to +V.

depletion mosfets with zero Vgs  they are basically a constant current source
I know, but thanks. I missed the depletion bit. I skimmed the text and paid too much attention to the schematic. Pictures speak more loudly than words to me.

The BSS126 will typically allow around 15mA to flow when VGS = 0V and VD = 5V which is quite a lot. A better use for a depletion MOSFET is in the circuit I posted above, but a small sinal J-FET is still a better choice, as it will have less capacitance.
 

Offline c--Topic starter

  • Newbie
  • Posts: 5
  • Country: fr
Re: Bi-directional level shifting speed, active load and NMOS logic
« Reply #5 on: December 23, 2024, 04:15:52 pm »
Why not use a small BJT? They have a much lower capacitance than MOSFETs, which are typically designed for power. A small capacitor across the base resistor can help to speed the circuit up a little.

But a BJT would only make such circuit unidirectional, right?
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 20250
  • Country: gb
  • 0999
Re: Bi-directional level shifting speed, active load and NMOS logic
« Reply #6 on: December 23, 2024, 05:55:17 pm »
Why not use a small BJT? They have a much lower capacitance than MOSFETs, which are typically designed for power. A small capacitor across the base resistor can help to speed the circuit up a little.

But a BJT would only make such circuit unidirectional, right?
A BJT will work in both directions. The reverse has a much lower gain, but it's still more than enough for this application.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf