QlarIITy

PhysicsJEE Main 2022 · 28 JuneSingle correct

In the following circuit, the correct relation between output (Y)(Y) and inputs AA and BB will be:

A circuit: the inputs A and B are each connected through a diode, D1 and D2, to a common point X, with the diodes pointing from X towards the inputs. A resistor R connects X to the positive terminal of a 10 V battery, whose negative terminal is earthed (V = 0). X is connected through a resistor to the base of an n-p-n transistor. The emitter is earthed (V = 0). The collector is connected to the output terminal Y and, through a resistor R_C, to the positive terminal of a 5 V battery, whose negative terminal is joined to the emitter.
  1. Option A: Y=A⋅BY = A \cdot B
  2. Option B: Y=A+BY = A + B
  3. Option C: Y=A⋅B‾Y = \overline{A \cdot B}
  4. Option D: Y=A+B‾Y = \overline{A + B}
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. Diodes pointing to the inputs with a pull-up resistor make an AND gate; a transistor switch after it gives NAND.

Concept refresher. In a diode gate with the diodes pointing towards the inputs and a resistor from the common point to a positive supply, any low input pulls the common point low; it is high only when all the inputs are high, which is the AND operation. A transistor switch inverts: a high base turns it on and the collector voltage falls nearly to zero; a low base cuts it off and the collector rises to the supply voltage. The inverse of an AND is a NAND, and by De Morgan's theorem

P⋅Q‾=P‾+Q‾\overline{P \cdot Q} = \overline{P} + \overline{Q}

Picture the situation. The 10 V10\ \text{V} battery tries to hold X high through the resistor R. Each diode points from X towards its input, so an input at the low level gives the current an easy way out and drags X down. X stays high only if both inputs are high. The transistor then turns X upside down: when X is high it conducts and Y drops to nearly zero; when X is low it is off and Y sits at the collector supply.

A truth table with the columns A, B, X and Y: X is 1 only for the inputs 11, and the output Y is 1, 1, 1 and 0 for the inputs 00, 01, 10 and 11.

Approach. Find the level at X for the input pairs, then invert it through the transistor.

  1. Step 1: The diode gate

    If AA or BB is low, the diode on that input is forward biased (the 10 V10\ \text{V} battery makes X positive) and holds X close to the low level. Only when both inputs are high are both diodes off, and X is pulled high through RR. So the level at X is the AND of the inputs, A⋅BA \cdot B.

  2. Step 2: The transistor

    When X is high, base current flows, the transistor conducts fully, and the collector, where Y is taken, falls to nearly 0 V0\ \text{V}. When X is low, the transistor is cut off, no current flows through the collector resistor, and Y is at 5 V5\ \text{V}. The transistor inverts X.

  3. Step 3: The relation

    Inverting the AND of the inputs gives

    Y=A⋅B‾Y = \overline{A \cdot B}

    which is the NAND operation.

Answer. (C) Y=A⋅B‾Y = \overline{A \cdot B}

Sanity check. Check A = 1, B = 0: the diode on B conducts, X is low, the transistor is off and Y is high, as a NAND gate gives.

Why the other options are wrong

  • (A) A⋅BA \cdot B is the level at X, before the transistor inverts it.
  • (B) A+BA + B would need the diodes reversed and no inversion; here one high input alone cannot raise X.
  • (D) A+B‾\overline{A + B} is 0 for A = 1, B = 0; in that case X is low, the transistor is off and Y is 1.

Key takeaway

The trap. The direction of the diodes decides between AND and OR; check it before anything else.

How toppers think. They test the input pairs 1, 0 and 1, 1: a NAND gate gives 1 and then 0, which no other option does.

Remember. A⋅B‾\overline{A \cdot B}: low only when both inputs are high.

More on Semiconductors