The Wayback Machine - https://web.archive.org/web/20240603184651/https://www.geeksforgeeks.org/not-gate/
Open In App

NOT Gate

Last Updated : 24 Apr, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

This article will explain the concept of NOT gate operation in digital electronics along with its truth table, logic symbol, switching circuit diagram, etc. 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. It is a logic gate whose output is always the complement of its input.

Here, we will cover NOT Gate using transistors with the working of the circuit and its applications, advantages, and disadvantages, accompanied by solved examples and answers to frequently asked questions.

What is NOT Gate?

In digital circuits, the NOT gate is a basic logic gate having only a single input and a single 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 NOT gate is used to perform the inversion operation in digital circuits. It complements the input and produces a corresponding output. 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 Gate With Truth Table

NOT Gate With Truth Table


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.

Operation 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’

Where 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).


Use of Active-low Input Bubble

In 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 Notion for Input Inversion

Bubble Notion for Input Inversion


Equivalent 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

NOT Gate using NAND Gate


The logical expression for this circuit is given by,

[Tex]Y = \overline{A} [/Tex]

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,

[Tex]Y = \overline{A + A} = \overline{A} [/Tex]

NOT Gate by using NOR Gate

NOT Gate by using NOR Gate

NOT 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

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 = 0V, 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)

0V

5V

5V

0V

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.

Conclusion

NOT gates are fundamental building blocks of digital logic circuits. They have a single input and a single output, and their function is to invert the input signal. NOT gates have wide range of application, including signal inversion, in construction of flip-flops and latches, logical operations, automatic lighting systems, and temperature detection devices. NOT gates are easy to integrate, highly important, and cost-efficient. However, they have limited functionality, consume more power and introduce propagation delay.

NOT Gate – FAQs

What are other fundamental gates other than NOT gate?

The other fundamental gates are AND Gate and OR Gate.

What are real-world applications of NOT gates?

NOT Gates are commonly used in memory devices, arithmetic circuits, and inverting amplifiers. They are essential in the designing flip-flops and other sequential circuits.

Can a NOT gate be implemented using other gates?

Yes, a NOT gate can be implemented using other gates like NAND or NOR gates.



Similar Reads

Implementation of XOR Gate from AND, OR and NOT Gate
In this article, we will discuss the implementation of XOR gate using AND, OR and NOT Gate. We will discuss about the AND, OR, XOR and NOT gates, and with it, we will discuss about their operations, logic diagrams and truth table. After understanding the gates and their operation we will use those gates to design a combinational circuit to replicat
5 min read
Implementation of NOT Gate using NOR Gate
Understanding the concept of logic gates is Fundamental to understanding digital logic circuits. Logic gates are the building blocks of digital circuits responsible for performing the logical operations on binary inputs(0s and 1s) to produce a binary Output. There are many gates such as AND, OR, NOT, NAND, and other logical gates but in this Articl
5 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 because they can be used to create all other logic gates
5 min read
Difference Between Call Gate, Interrupt Gate, Trap Gate
Gate is used to transfer performance control across all segments. The level of rights assessment is done differently depending on the type of site and the instructions used. Other than that these three gates are almost identical except that Call Gate has parameters for calculating parameters, and that these three gates have different types of field
3 min read
NOT IN vs NOT EXISTS in PL/SQL
PL/SQL is a Procedural Language/Structured Query Language. It allows developers to create robust, modular, and reusable code for implementing data manipulation, and transaction control in databases. It is widely used for developing stored procedures, functions, triggers, and other database objects to enhance the functionality and performance of dat
4 min read
Difference Between AND Gate and OR Gate
A logic gate is a simple switching circuit that determines whether an input pulse can pass through to the output in digital circuits. The building blocks of a digital circuit are logic gates, which execute numerous logical operations that are required by any digital circuit. These can take two or more inputs but produce only one output. The mix of
3 min read
Difference Between NAND GATE and NOR GATE
NAND and NOR gates are universal logic gates, which means any Boolean expression can be implemented without using any other gate. Using only NOR gates or only NAND gates all other Boolean expressions can be created unlike other gates. In this article, we will discuss the difference between NAND GATE and NOR GATE. NAND GATE:A NAND gate, sometimes kn
3 min read
Implementation of NOR Gate from NAND Gate
Implementation of the NOR gate from the NAND gate is possible because NAND is a Universal gate i.e., it can implement all other gates. The NAND gate gives output low when all the inputs are high whereas the NOR gate gives output high when all inputs are low. In this article, we will implement the NOR gate using the NAND gate. Table of Content NOR G
5 min read
Implementation of XNOR Gate from AOI Gate
Digital electronics revolve around storing data in bits of 1s and 0s. Not only is digital electronics an efficient way of storing data but it also makes it easier to encrypt and secure our data. It is awesome how we can use different logic gates to implement some functions and represent these equations. In this article, we will see how we can repre
6 min read
Implementation of AND Gate from NOR Gate
Digital electronics revolves around storing data in bits of 1s and 0s. Not only is digital electronics an efficient way of storing data but it also makes it easier to encrypt and secure our data. It is awesome how we can use different logic gates to implement some functions and represent these equations. In this article, we will see how we can repr
4 min read