QlarIITy

PhysicsJEE Main 2022 · 25 JulySingle correct

In the circuit, the logical value of A=1A = 1 or B=1B = 1 when potential at AA or BB is 5 V5\ \text{V} and the logical value of A=0A = 0 or B=0B = 0 when potential at AA or BB is 0 V0\ \text{V}. The truth table of the given circuit will be:

A diode circuit: inputs A and B are each joined through a diode, D1 and D2, to a common line, the arrow of each diode pointing towards its input. The common line is the output Y. A resistor R joins it to the positive plate of a 5 V cell, whose negative plate is earthed, marked V = 0.
  1. Option A: Table A
    Truth table with columns A, B, Y: A = 0 B = 0 gives Y = 0, A = 1 B = 0 gives Y = 0, A = 0 B = 1 gives Y = 0, A = 1 B = 1 gives Y = 1.
  2. Option B: Table B
    Truth table with columns A, B, Y: A = 0 B = 0 gives Y = 0, A = 1 B = 0 gives Y = 1, A = 0 B = 1 gives Y = 1, A = 1 B = 1 gives Y = 1.
  3. Option C: Table C
    Truth table with columns A, B, Y: A = 0 B = 0 gives Y = 0, A = 1 B = 0 gives Y = 0, A = 0 B = 1 gives Y = 0, A = 1 B = 1 gives Y = 0.
  4. Option D: Table D
    Truth table with columns A, B, Y: A = 0 B = 0 gives Y = 1, A = 1 B = 0 gives Y = 1, A = 0 B = 1 gives Y = 1, A = 1 B = 1 gives Y = 0.
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 from the output towards the inputs, with a pull-up resistor, make an AND gate.

Concept refresher. An ideal diode conducts when its anode is at a higher potential than its cathode, and then its two ends are at the same potential. In a diode gate with the anodes joined to the output, which is connected through a resistor to the positive supply, an input at 0 V0\ \text{V} makes its diode conduct and pulls the output down to 0 V0\ \text{V}. The output stays at the supply voltage only when every input is high:

Y=A⋅BY = A \cdot B

Picture the situation. The resistor ties the output line to +5 V5\ \text{V}. Each diode is a one-way path from the output line down to its input. If an input sits at 0 V0\ \text{V}, current flows through its diode and the output line is dragged down to 0 V0\ \text{V}. If both inputs are at 5 V5\ \text{V}, neither diode has any forward voltage, no current flows, and the output stays at 5 V5\ \text{V}.

A truth table with the columns A, B, diodes that conduct and Y: for the inputs 00 both diodes conduct, for 10 the lower one, for 01 the upper one, and Y is 0 each time; for 11 none conducts and Y is 1.

Approach. Find the output potential for each pair of inputs from the state of the diodes.

  1. Step 1: An input at 0 V0\ \text{V}

    If A or B is at 0 V0\ \text{V}, its diode has its anode, pulled towards 5 V5\ \text{V} by the resistor, above its cathode. It conducts and, being ideal, holds the output at 0 V0\ \text{V}: Y = 0 for the inputs 00, 10 and 01.

  2. Step 2: Both inputs at 5 V5\ \text{V}

    Neither diode is forward biased, no current flows through the resistor, and the output is at 5 V5\ \text{V}: Y = 1 for the inputs 11.

  3. Step 3: The table

    The output is 1 only when both inputs are 1, the truth table of an AND gate, which is Table A.

Answer. (A) Table A

Sanity check. With the diodes reversed and the resistor returned to earth, the same parts would make an OR gate, so the directions matter.

Why the other options are wrong

  • (B) Its outputs 0, 1, 1, 1 are those of an OR gate; with one input at 0 V0\ \text{V} its diode holds the output at 0 V0\ \text{V}.
  • (C) Its outputs are all 0; with both inputs at 5 V5\ \text{V} no diode conducts and the output rises to 5 V5\ \text{V}.
  • (D) Its outputs 1, 1, 1, 0 are those of a NAND gate, the inverse of what this circuit gives.

Key takeaway

The trap. The gate is fixed by which way the diodes point and where the resistor returns.

How toppers think. They test the rows 00 and 11 first: low inputs pull the output low, and only two highs let it rise.

Remember. Pull-up resistor with diodes towards the inputs: AND.

More on Semiconductors