Nepedia
Back to Discover
Advanced Reader
💻

Inverter (logic gate)

technology Maturity 11-13 Next article →

An inverter, often called a NOT gate, is a fundamental component in digital logic. It performs a process known as logical negation. This means the gate takes an input and produces an output that is the exact opposite. In digital systems, information is processed as bits. These bits are typically represented by two different voltage levels. For example, a high voltage might represent a one, while a low voltage represents a zero.

Not-gate-en
Not-gate-en

By flipping these values, the inverter acts as a complement gate. It produces the ones' complement of a binary number by swapping all zeros and ones. This simple operation is a unary operation because it only has one input.

The mechanism of an inverter relies on changing the electrical signal. When a low voltage is applied to the input, the output becomes a high voltage. Conversely, if a high voltage is applied, the output becomes low.

NOT from NAND
NOT from NAND

This process is colloquially known as "flipping" the bits. In mathematical logic, this is equivalent to the negation operator, represented by the symbol ¬. Engineers use specific symbols to represent this in circuit diagrams. The traditional symbol is a triangle with a small circle, or "bubble," at the output. Sometimes, a bar or overline is placed above a variable to show that a NOT gate has performed an inversion.

NOT from NOR
NOT from NOR

Engineers can build inverters using several different electronic configurations. One method uses a single NMOS transistor. Another method uses a single PMOS transistor paired with a resistor. This "resistive-drain" approach is inexpensive to manufacture. However, it is less efficient because current flows through the resistor in one of the two states. This makes it slower and uses more power. A more advanced method is the CMOS configuration. This uses two complementary transistors working together. In a CMOS setup, one transistor is always turned off. This greatly reduces power consumption and increases processing speed due to lower resistance.

Inverters are often found inside integrated circuits, which are small chips containing many components. A common example is the hex inverter. The term "hex" indicates that the chip contains six individual inverters. For instance, the 4049 CMOS chip is a hex inverter with 16 pins. Two of these pins provide power and a reference. The remaining 12 pins serve as the inputs and outputs for the six gates. Another example is the 7404 TTL chip, which has 14 pins.

CMOS 4049 diagram
CMOS 4049 diagram

These chips serve as essential building blocks for complex devices like multiplexers, decoders, and state machines.

If a designer cannot use a dedicated NOT gate, they can create one using other logic gates. A NAND gate or a NOR gate can be configured to function as an inverter. Additionally, an XOR gate can act as a controlled inverter if one of its inputs is set to high. An XNOR gate can achieve the same result if one input is set to low. These alternatives allow engineers to maintain flexibility when designing Boolean circuits. The NOT gate is one of three basic gates, alongside the AND and OR gates. Together, these three types can be used to implement any function in binary mathematics.

To measure the quality of an inverter, scientists use a voltage transfer curve (VTC).

Inverter voltage transfer curve
Inverter voltage transfer curve

This is a graph that plots the output voltage against the input voltage. An ideal inverter would show a perfect, inverted step function. This would represent instantaneous switching between states. In real-world devices, there is always a gradual transition region. The steepness of the slope in this region is a key measure of quality. A steeper, more vertical slope indicates more precise switching. The VTC also helps engineers determine noise tolerance by comparing the minimum input to the maximum output in each operating region.

Beyond simple switching, inverters have surprising uses in other fields of electronics. Because the transition region of a CMOS inverter is steep and approximately linear, it can act as an analog amplifier. If a CMOS inverter is properly biased, it can function as a high-gain analog linear amplifier. It can even be combined with others to form an operational amplifier, or op-amp. Maximum gain is reached when the input and output operating points are at the same voltage. This can be achieved by connecting a resistor between the input and the output. This connection allows the digital component to bridge the gap into the world of analog signals.

724 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (6)
File:Not-gate-en.svg
Not-gate-en.svg
File:CMOS 4049 diagram.svg
CMOS 4049 diagram.svg
File:NOT ANSI Labelled.svg
NOT ANSI Labelled.svg
File:NOT from NAND.svg
NOT from NAND.svg
File:NOT from NOR.svg
NOT from NOR.svg
File:Inverter voltage transfer curve.png
Inverter voltage transfer curve.png
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.