The NOT gate is one of the main building blocks of Digital Logic Circuits. A NOT Gate, also called an inverter, has only one input and one output. The output of the NOT gate is logic 0 when its input is logic 1 and the output is logic 1 when its input is logic 0. Thus, the output is always the complement of its input. Being a basic logic gate, the NOT gate is used in a variety of digital circuits to design and implement their basic logic circuits.
Symbol of NOT Gate
The logic circuit diagram of the NOT gate is shown in the following figure. It has only one input line denoted by the letter A and one output line denoted by the letter Y, where Y is the complement of the input signal applied to it. At the output line the bubble denotes the complement operation and it is called the inversion bubble.
NOT GATEOperation of NOT Gate
NOT gate takes the Boolean value as input and returns the following results:
Returns 1, if the input is 0.
Returns 0, if the input is 1.
The Boolean expression of NOT Gate is as follows:
Y = Ā
or
Y = A'
Here the input variable to the NOT gate is represented by A and the output variable by Y. The symbol for NOT operation is ' - ' (bar) or ` ' ` (complement).
Truth Table of NOT Gate
The truth table for the NOT gate is as follows. It shows the relationship between input applied and output generated and the working of the NOT gate for all the possible inputs. In a NOT gate, the output (NOT A) is the opposite of the input (A). So, when the input is 0, the output is 1, and when the input is 1, the output is 0.
Truth Table of NOT GateIn digital logic the Active-low Input Bubble is represented by a small circle at the input of a gate symbol which indicates that the logic level is inverted. In the case of a NOT gate, which performs inversion, the active-low input bubble indicates that the gates operation is inverted. So, when the input signal has the active-low bubble, it means that the gate will produce an output that is the inverse of the input signal.
Bubble Notation for Input InversionEquivalent Gates
Now we will see how we can form NOT gate using universal gates (NAND and NOR gate).
NOT Gate Using NAND Gate
In digital electronics, we can implement the NOT gate logic by using the NAND gates only. For this, we tie all inputs of the NAND gate together and apply the input signal to the common input line as shown in the following figure.
NOT Gate using NAND Gate
The logical expression for this circuit is given by,
Y = \overline{A}
NOT Gate Using NOR Gate
The NOR gate is another logic gate that can be used to implement the NOT gate logic. To realize the NOT gate circuit using NOR gate, we join all input lines of the NOR gate together and then apply the input signal to this common input line.
The operation of this circuit can be described using this equation,
Y = \overline{A + A} = \overline{A}
NOT Gate using NOR GateNOT Gate Implementation using Transistors
We can implement the NOT gate logic using a bipolar junction transistor. The circuit diagram of a NOT gate using BJT transistor is shown in the following figure.
Transistor Inverter
Working of the Circuit
A discrete NOT gate may be realized using a transistor as shown above. The input to the gate may be 0 V or +5 V. When A = 0 V, transistor T is reverse biased and, therefore, remains OFF. As no current flows through R, no voltage drop occurs across R. Hence the output voltage Y= +5 V. When the input A= +5 V, T is ON and the output voltage Y= Vcc (sat) ≈ 0V.
Truth Table for NOT Gate circuit:
A (Input) | Y (Output) |
---|
0 V | 5 V |
5 V | 0 V |
Applications of NOT Gate
- Signal Inversion: The most common use is to invert a digital signal. If you have a logic high signal (1), the NOT gate will produce a logic low output (0), and vice versa.
- Flip-Flops and Latches: Flip-flops and latches, which are basic memory storage elements, use NOT gates in their construction to control the feedback and storage of information.
- Logical Operations: NOT gates are also used to implement various logical operations.
- Automatic Lighting Systems: In automatic lighting systems. When it's dark (logic low), the system turns the lights on (logic high), and vice versa.
- Temperature Detection Devices: NOT gates are used in temperature detection devices to invert temperature signals, enabling control mechanisms to respond to temperature changes.
Advantages and Disadvantages of NOT Gate
There are some list of advantages and disadvantages of NOT Gate given below :
Advantages of NOT Gate
- Ease of Integration: NOT gates are easy to integrate into larger digital circuits.
- High Importance: NOT gates are said to be fundamental building blocks in digital electronics. They act as a base for complex IC (integrated circuits).
- Cost Efficient: NOT Gates can be constructed at a low cost.
Disadvantages of NOT Gate
- Limited Functionality: NOT gates can only perform logical negation. More complex functions might require a larger number of gates and, hence, more space and power.
- Power consumption: NOT gates consume more power when they are actively switching states.
- Propagation Delay: Like other gates, it introduces propagation delay which might lead to synchronization issues.
Solved Examples on NOT Gate
A person wants to design a robot such that it moves forward when the obstacle is not detected in front and it stops if there is any obstacle.
Solution: Let's build the truth table table:
The sensor sends ‘1’ when obstacle is detected and ‘0’ when obstacle is not detected.
Also, ‘1’ indicates the robot to move and ‘0’ to stop.
Obstacle Detection Sensor Output | Robot Movement |
---|
0 (No Obstacle) | 1 (move) |
1 (Obstacle) | 0 (stop) |
To design a robot that moves forward only when there is no obstacle in front, we can use an obstacle detection sensor and a NOT Gate. The obstacle detection sensor will send '1' if the obstacle is present and '0' if it is absent. This output will be fed as input into the NOT gate, which will invert the signal. When an obstacle is not detected (A=0), the NOT gate inverts this to (Ā=1) , indicating that there is no obstacle, and the robot is allowed to move forward. When an obstacle is detected (A=1), the NOT gate inverts (Ā=0) indicating that there is an obstacle, and the robot is prevented from moving forward.
Design a street light mechanism in such a way that it is ON when it's dark and it is OFF during day.
Solution: Let's build the truth table table:
The sensor sends ‘1’ when it is detects light and ‘0’ when it does not detects light.
Also, ‘1’ indicates the street light to turn On and ‘0’ to turn Off.
Light Detection Sensor Output | Street Light |
---|
0 (Light not detected) | 1 (On) |
1 (Light detected) | 0 (Off) |
To create a street light mechanism that is activated in darkness and deactivated during the day, we can use a light sensor and a NOT gate. The light sensor produces '0' when it is dark and '1' when it is bright. This output is then directed as input into the NOT gate, which inverts the signal. When it is dark (A=0), the NOT gate inverts this to (Ā=1), indicating that it is dark, and the street light must be switched On. Conversely, when it is bright (A=1), the NOT gate inverts (Ā=0), signifying that it is bright, and the street light must be Off.
Similar Reads
Quantifiers and Negation Quantifiers and negation are fundamental concepts in logic, mathematics, and computer science, particularly in predicate logic.Quantifiers specify the quantity of instances for which a predicate is true.Negation is the logical operation that reverses the truth value of a statement. If a statement P
6 min read
SQL NOT EQUAL Operator The SQL NOT EQUAL operator is a comparison operator used to check if two expressions are not equal to each other. It helps filter out records that match certain conditions, making it a valuable tool in SQL queries.In this article, We will explore the SQL NOT EQUAL operator, including its syntax, use
4 min read
Less Than Equal To Sign Less Than Equal To is an inequality concept that means that the term on the left-hand side of the inequality must not be greater than the term on the right-hand side, i.e. left term must be less than or at maximum equal to the right term. The article covers the concept of "less than or equal to" in
7 min read
Implementation of NOT Gate using NAND Gate A universal gate is a logic gate that can be used to implement other types of logic gates. In other words, using a universal gate, you can do all the simple operations like AND, OR, NOT, NAND, and NOR. The two most general purpose NAND gates and NOR gates. These gates are considered universal becaus
5 min read
Diagram of Vagina Content has been removed from this post.
1 min read
Bitwise NOT operator in Golang Bitwise NOT operator in the programming world usually takes one number and returns the inverted bits of that number as shown below: Bitwise NOT of 1 = 0 Bitwise NOT of 0 = 1 Example: Input : X = 010101 Output : Bitwise NOT of X = 101010 But Golang doesn't have any specified unary Bitwise NOT(~) or y
2 min read