No history yet

CMOS Inverter Basics

The CMOS Inverter

In digital electronics, one of the most fundamental operations is inversion. It's the simple act of flipping a signal: a high voltage becomes a low one, and a low voltage becomes a high one. In binary terms, a 1 becomes a 0, and a 0 becomes a 1. The circuit that performs this task is called an inverter, and the most common type is the CMOS inverter.

CMOS stands for Complementary Metal-Oxide-Semiconductor. The "complementary" part is key. A CMOS inverter is built using two different types of transistors that work in opposition, ensuring the circuit is efficient and reliable. These transistors are the building blocks of modern processors, memory, and nearly every other digital chip.

Two Transistors, One Job

The magic of the CMOS inverter comes from its use of two types of Metal-Oxide-Semiconductor Field-Effect Transistors (MOSFETs): a p-type (PMOS) and an n-type (NMOS). Think of them as tiny, electronically controlled switches.

  • NMOS Transistor: This switch turns ON when its input is HIGH. When on, it creates a path from the output to the ground (0V).
  • PMOS Transistor: This switch is the opposite. It turns ON when its input is LOW. When on, it creates a path from the output to the power supply (often called VddV_{dd}).

They are paired in a complementary fashion. When one is on, the other is off. This is the core principle of their operation.

In this setup, the input signal (VinV_{in}) is sent to both transistors simultaneously. The output (VoutV_{out}) is taken from the point where they connect.

How It Works

Let's trace the signal through the circuit in its two possible states.

When the input (VinV_{in}) is HIGH (logic 1):

  1. The HIGH input turns the NMOS transistor ON.
  2. Simultaneously, the HIGH input turns the PMOS transistor OFF.
  3. Since the NMOS is on, it connects the output to the ground. The output voltage (VoutV_{out}) is pulled LOW (logic 0).

When the input (VinV_{in}) is LOW (logic 0):

  1. The LOW input turns the PMOS transistor ON.
  2. Simultaneously, the LOW input turns the NMOS transistor OFF.
  3. With the PMOS on, the output is connected to the power supply, VddV_{dd}. The output voltage (VoutV_{out}) is pulled HIGH (logic 1).

The result is a perfect inversion. A high input produces a low output, and a low input produces a high output.

Input (VinV_{in})PMOS StateNMOS StateOutput (VoutV_{out})
LOW (0)ONOFFHIGH (1)
HIGH (1)OFFONLOW (0)

One of the biggest advantages of this design is its power efficiency. In a steady state, either when the input is high or low, one of the two transistors is always off. This breaks the direct connection between the power supply and ground, meaning the circuit consumes almost no power except for the brief moment it switches states. This low static power consumption is why CMOS technology dominates the world of integrated circuits.

Quiz Questions 1/6

What is the primary function of a CMOS inverter circuit?

Quiz Questions 2/6

A standard CMOS inverter is constructed using which pair of components?

This simple yet elegant circuit is the foundation of digital logic, forming the basis for more complex structures like NAND gates, NOR gates, and memory cells.