Can someone explain me how this NOT gate works?

Thread Starter

NikolaJP

Joined Nov 6, 2018
22

The left part is confusing me. I understand how a one-transistor not gate works, but I can't understand this one. I also tried drawing it in some simulation programs and it doesn't work like a NOT gate.
Thanks
 

MrChips

Joined Oct 2, 2009
34,866
The transistor on the right is already an inverting amplifier, i.e. a NOT gate.
The transistor on the left increases the overall gain.

When A is logic-HI, the base resistor turns on the second transistor giving a LOW output.
When A is logic-LOW, the first transistor is turned ON, pulling the base of the second transistor to GND, giving a HIGH output.
 

Thread Starter

NikolaJP

Joined Nov 6, 2018
22
The transistor on the right is already an inverting amplifier, i.e. a NOT gate.
The transistor on the left increases the overall gain.

When A is logic-HI, the base resistor turns on the second transistor giving a LOW output.
When A is logic-LOW, the first transistor is turned ON, pulling the base of the second transistor to GND, giving a HIGH output.
Thank you for the answer.The first transistor confused me because I thought that both base and collector can only receive V, but here they are opposed.
 

WBahn

Joined Mar 31, 2012
32,919
Thank you for the answer.The first transistor confused me because I thought that both base and collector can only receive V, but here they are opposed.
In theory, the emitter and collector of a BJT are interchangeable. In practice, the geometry and doping profiles mean that the characteristics are very different -- but if you swap them it IS still an NPN transistor, just not a very good one. This circuit exploits this behavior.

Without the input stage, the input to the circuit would be limited to no more that about 0.7 V. This allows the input to vary over the entire power supply range.

Your simulator has to be good enough to be able to properly simulate a BJT operated in reverse-active mode. Not all simulators can do that and, even if they can, not all device models are good enough to give reasonable results in that region.
 

crutschow

Joined Mar 14, 2008
38,533
The input transistor rather acts as a gate for the base current.
When the input is low, the current through the base resistor flows through the base-emitter junction to ground through the input and pulls the base (red trace) of the output transistor to near ground.
When the input is high, the input transistor is cut off and the base resistor current flows through the base-collector junction to turn on the output transistor.
It's the basis for TTL logic.

Below is the LTspice simulation:

upload_2018-11-6_13-35-24.png
 
Last edited:
Top