In the circuit, the logical value of or when potential at or is and the logical value of or when potential at or is . The truth table of the given circuit will be:
- Option A: Table A
- Option B: Table B
- Option C: Table C
- Option D: Table D
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 makes its diode conduct and pulls the output down to . The output stays at the supply voltage only when every input is high:
Picture the situation. The resistor ties the output line to +. Each diode is a one-way path from the output line down to its input. If an input sits at , current flows through its diode and the output line is dragged down to . If both inputs are at , neither diode has any forward voltage, no current flows, and the output stays at .
Approach. Find the output potential for each pair of inputs from the state of the diodes.
Step 1: An input at
If A or B is at , its diode has its anode, pulled towards by the resistor, above its cathode. It conducts and, being ideal, holds the output at : Y = 0 for the inputs 00, 10 and 01.
Step 2: Both inputs at
Neither diode is forward biased, no current flows through the resistor, and the output is at : Y = 1 for the inputs 11.
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 its diode holds the output at .
- (C) Its outputs are all 0; with both inputs at no diode conducts and the output rises to .
- (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
- The output Y for the given inputs A and B to the circuit is:
- The maximum rated power of the LED is 2 mW and it is used in the circuit with input voltage of 5 V as shown…
- Refer to the logic circuit given below. For two inputs (A = 1, B = 1) and (A = 0, B = 1), output (Y) will be…
- All 145 on Semiconductors ›