Construction of XOR Gate Using Transistor

We can implement exclusive OR gate using transistor. Here is the circuit showing the connection of different circuit elements that are combined to implement the XOR operation.

XOR Gate using NPN Transistor

Working of the Circuit

We will understand this circuit with the help of different scenarios of input in case of 2 input XOR gate:

CASE I: When both the inputs are zero. (A=0, B=0)

When both the inputs A and B are zero then transistors Q1,Q2,Q4 and Q5 are open circuit so the LED will not glow because both Q4 and Q5 are open so the negative pin of LED is not connected to the ground.

CASE II: When one input if logical high and other is logical low (A=1, B=0)

In this case we can easily see that Q4 is working as close circuit now. So the negative pin of the LED is connected to Q3 via Q4 and ultimately which is connected to ground so in this case LED will glow.

CASE III – When one input if logical high and other is logical low (A=0, B=1)

In this case we can easily see that Q5 is working as close circuit now. So the negative pin of the LED is connected to Q3 via Q5 and ultimately which is connected to ground so in this case LED will glow.

CASE IV – When both the inputs are logical high. (A=1, B=1)

In this case when both A and B are logical high then transistor Q1 and Q2 are also activated then the current will directly go from +5V junction to ground through Q1 and Q2 transistors, and will not got in the path where Q3 is connected as a result transistor Q3 will now act as open circuit and ultimately negative pin of LED is disconnected from ground so the LED will not glow.

XOR Gate

The XOR or Exclusive OR Gate is a special type of logic gate used in digital electronics to perform the exclusive OR operation. The XOR gate takes two inputs and produces an output depending on the combination of the two inputs applied.

In, this article will explain the complete theory of the XOR gate along with its truth table, Boolean expression, logic symbol, circuit diagram, and more.

Table of Content

  • What is XOR Gate?
  • Construction of XOR Gate Using Transistor
  • Solved Example of XOR Gate
  • Applications of XOR Gate
  • Advantages and Disadvantages

Similar Reads

What is XOR Gate?

In digital electronics, there is a logic circuit called XOR Gate that takes two inputs and produces an output which is the result of the exclusive OR operation performed on the combination of inputs. This logic gate produces a high or logic 1 output when both of the inputs are dissimilar, otherwise, it produces a logic 0 output....

Symbol of XOR Gate

The logic symbol of XOR gate is shown in the following figure. In this figure, the variables A and B represent the input lines and A’B + AB’ is the output of the XOR gate....

Truth Table of XOR Gate

The truth table of an XOR gate is given below. This table shows the relationship between inputs and output of the XOR gate. This also provides information about the operation of XOR gate for different input combinations....

Construction of XOR Gate Using Transistor

We can implement exclusive OR gate using transistor. Here is the circuit showing the connection of different circuit elements that are combined to implement the XOR operation....

Applications of XOR Gate

Here are some of the applications of the XOR Gate:...

Advantages and Disadvantages of XOR Gate

Here are some list of Advantages and Disadvantages of XOR Gate given below :...

Solved Example of XOR Gate

Find a single number from a series of numbers given that every element appears twice except for that one single element....

Conclusion

In this article we have learnt about the XOR gate. XOR Gate takes Boolean values as input and returns ‘1’, if the number of logical high input is odd and returns 0, if number of logical high input is even....

XOR Gate – FAQs

Is XOR gate universal logic gate?...