QlarIITy

PhysicsJEE Main 2021 · 31 AugustSingle correct

If VAV_A and VBV_B are the input voltages (either 5 V5\ \text{V} or 0 V0\ \text{V}) and V0V_0 is the output voltage then the two gates represented in the following circuits (A)(A) and (B)(B) are :

Two circuits. Circuit (A): the inputs V_A and V_B are each connected through a diode, D1 and D2, pointing away from the input, to a common point, which is the output V_O; a resistor R = 1 kΩ joins the output to earth. Circuit (B): an n-p-n transistor with β = 150; the input V_B is connected to the base through a resistor R_B = 100 kΩ, the collector is connected through a resistor R_C = 1 kΩ to a supply V = 5 V, the emitter is earthed, and the output V_O is taken at the collector.
  1. Option A: OR and NOT Gate
  2. Option B: AND and NOT Gate
  3. Option C: AND and OR Gate
  4. Option D: NAND and NOR Gate
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 output with a resistor to earth make an OR gate; a transistor switch makes a NOT gate.

Concept refresher. In a diode gate with the diodes pointing towards the output and a resistor from the output to earth, the output follows the higher input: it is high if any input is high, Y=A+BY = A + B. A transistor switch inverts: a high base voltage drives it into saturation and the collector voltage falls nearly to zero, while a low base voltage cuts it off and the collector rises to the supply voltage, Y=A‾Y = \overline{A}.

Picture the situation. In circuit A the two diodes are like two one-way doors into the same room. If either input is high, its door opens and the output is pulled up to that level; only when both inputs are low does the resistor hold the output at earth. In circuit B a high input switches the transistor on, which connects the output almost directly to earth; a low input switches it off, and the output rises to the supply.

A table for the diode circuit: with both inputs at 0 V the output is low; with either input or both at 5 V the output is high.

Approach. Apply the two input levels to each circuit in turn and read off its truth table.

  1. Step 1: Circuit A, an input high

    If VAV_A or VBV_B is 5 V5\ \text{V}, the diode on that input is forward biased and conducts, and the output is pulled up to the high level (5 V5\ \text{V} less the small drop across the diode). The other diode, if its input is 0 V0\ \text{V}, is reverse biased and plays no part.

  2. Step 2: Circuit A, both inputs low

    With both inputs at 0 V0\ \text{V} neither diode conducts, no current flows through R, and the output is at earth potential. The output is high when either input is high: an OR gate.

  3. Step 3: Circuit B, input high

    With VB=5 VV_B = 5\ \text{V} the base current is about 5 V100 kΩ=50 μA\frac{5\ \text{V}}{100\ \text{k}\Omega} = 50\ \mu\text{A}, and β=150\beta = 150 would give a collector current of 7.5 mA7.5\ \text{mA}. The collector resistor allows at most 5 V1 kΩ=5 mA\frac{5\ \text{V}}{1\ \text{k}\Omega} = 5\ \text{mA}, so the transistor is saturated and the output is close to 0 V0\ \text{V}.

  4. Step 4: Circuit B, input low

    With VB=0V_B = 0 there is no base current, the transistor is cut off, and with no drop across RCR_C the output is 5 V5\ \text{V}. The output is the opposite of the input: a NOT gate.

Answer. (A) OR and NOT Gate

Sanity check. Circuit B has a single input, so of the gates named it can only be a NOT gate; that leaves two options, and the direction of the diodes decides between OR and AND.

Why the other options are wrong

  • (B) For an AND gate the diodes would point away from the output, with the resistor going to the supply; here a single high input is enough to raise the output.
  • (C) Circuit B has one input and inverts it, so it cannot be an OR gate, which needs two inputs.
  • (D) Circuit A has no inverting element, so its output cannot be the inverse of an AND; it is high exactly when an input is high.

Key takeaway

The trap. The direction of the diodes and where the resistor goes decide between OR and AND.

How toppers think. They count the inputs first: a one-input circuit can only be a NOT gate.

Remember. Diodes towards the output: OR. Diodes away from it: AND.

More on Semiconductors