Electronic – Prevent NPN Transistor Base-Emitter Current

digital-logiclogic-gatesnpntransistors

I'm making a simple AND gate array out of 2n2222 transistors. Here is one cell:

schematic

simulate this circuit – Schematic created using CircuitLab

When Input "A", is disabled, and "B" is still on:

schematic

simulate this circuit

current flows from the base to the emitter of the transistor which is still on.

How do I filter out the smaller current when just the base-emitter on B is conducting, so the circuit functions like an AND gate? I've tried using larger resistors, and that solves the problem for a single gate. But the problem still exists when the gates are attached together.

Edit: Placing the LED in front of the AND gate solves the problem for a single gate too. But for an array of gates, this solution doesn't work.

Best Answer

current flows from the base to the emitter of the transistor which is still on.

How do I filter out the smaller current when just the base-emitter on B is conducting, so the circuit functions like an AND gate?

You should understand the emitter current equals the base current plus the collector current (Ie = Ic + Ib). If you do not want the base current ("smaller current") then place the load on the collector side of the top transistor.

schematic

simulate this circuit – Schematic created using CircuitLab