Site icon Circuit Ideas for You

Logic XNOR Gate Circuit with Transistors

XNOR gate is one of the basic logic gates.

It gives HIGH output when both inputs are same.

If both inputs are 0 or both are 1 then output is 1.

If one input is 0 and other is 1 then output is 0.

It is also called an “Equivalence Gate”.

This Logic XNOR Gate Circuit with Transistors is interesting to make.

Truth Table for Logic XNOR Gate:

Input AInput BOutput Y
001
010
100
111

Output Y is HIGH (1) when both inputs A and B are same (00 or 11).

Output Y is LOW (0) when inputs are different (01 or 10).

Symbol for Logic XNOR Gate:

Circuit Working:

Parts List:

ComponentSpecificationQuantity
Resistors4.7k 1/4 watt2
10k 1/4 watt4
2.2k 1/4 watt1
SemiconductorsTransistor BC547 NPN5
Power Supply +5V DC1

In the above circuit diagram when A and B both are LOW then Q1 and Q2 are OFF.

Then Q3 and Q4 also stay OFF.

Q5 get base current through R6 and R7.

And output Y is HIGH.

When A and B both are HIGH then Q1 and Q2 turn ON.

They give base signal to Q3 and Q4 and both turn ON.

Q4 ground the base of Q5 and so Q5 is OFF.

And output Y is HIGH again.

When A is HIGH and B is LOW then Q1 is ON and Q2 is OFF.

Then Q3 is ON and Q4 is OFF.

Q3 pull down base of Q5 and so Q5 is OFF.

And so output is LOW.

When A is LOW and B is HIGH then Q1 is OFF and Q2 is ON.

Then Q3 is OFF and Q4 is ON.

Q4 is ground base of Q5 with LED OFF and output LOW.

Output is HIGH only when both inputs are same (00 or 11).

Formulas:

Below is the formula for Logic XNOR Gate Circuit.

Logic formula for XNOR is:

Y = A ⊙ B = A’B’ + AB

This means output Y = 1 when both A and B same.

How to Build:

To build a Logic XNOR Gate Circuit with Transistors follow the below steps for connections:

Conclusion:

This XNOR gate circuit is simple and is of low cost.

It uses only five BC547 transistors and few resistors.

It clearly shows logic gate operation using transistor switching.

Useful for students and beginners to understand logic gates in hardware form.

References:

XNOR Gate:

Exit mobile version