ArticleslgStudy

engineering

Inverter (logic gate)

Inverter (logic gate) is a engineering topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Inverter (logic gate) rather than just read about it. In short: In digital logic, an inverter or NOT gate is a logic gate which implements logical negation. It outputs a bit whose value is opposite of the input bit's value.

Inverter (logic gate) — main illustration
Inverter (logic gate) — illustration

Key takeaways

  • Inverter (logic gate) belongs to engineering; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Inverter (logic gate) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Inverter (logic gate) from memory before moving on to harder problems.

Reference excerpt

In digital logic, an inverter or NOT gate is a logic gate which implements logical negation. It outputs a bit whose value is opposite of the input bit's value. The bit values are typically represented using two different voltage levels, which may be called 0 and 1, or true and false, or high and low.

Description

The NOT gate outputs 0 when given 1, and outputs 1 when given 0. Hence, it inverts its inputs. Colloquially, this inversion of bits is called "flipping" bits. It is equivalent to the logical negation operator (¬) in mathematical logic. Because it has only one input, it is a unary operation and has the simplest type of truth table. It is also called the complement gate because it produces the ones' complement of a binary number, swapping 0s and 1s. The NOT gate is one of three basic logic gates from which any Boolean circuit may be built up. Together with the AND gate and the OR gate, any function in binary mathematics may be implemented. All other logic gates may be made from these three. The terms "programmable inverter" or "controlled inverter" do not refer to this gate; instead, these terms refer to the XOR gate because it can conditionally function like a NOT gate.

Symbols

The traditional symbol for an inverter circuit is a triangle touching a small circle or "bubble". Input and output lines are attached to the symbol; the bubble is typically attached to the output line. To symbolize active-low input, sometimes the bubble is instead placed on the input line. Sometimes only the circle portion of the symbol is used, and it is attached to the input or output of another gate; the symbols for NAND and NOR are formed in this way. A bar or overline ( ‾ ) above a variable can denote negation (or inversion or complement) performed by a NOT gate. A slash (/) before the variable is also used.

Electronic implementation An inverter circuit outputs a voltage representing the opposite logic-level to its input. Its main function is to invert the input signal applied. If the applied input is low then the output becomes high and vice versa. Inverters can be constructed using a single NMOS transistor or a single PMOS transistor coupled with a resistor. Since this "resistive-drain" approach uses only a single type of transistor, it can be fabricated at a low cost. However, because current flows through the resistor in one of the two states, the resistive-drain configuration is disadvantaged for power consumption and processing speed. Alternatively, inverters can be constructed using two complementary transistors in a CMOS configuration. This configuration greatly reduces power consumption since one of the transistors is always off in both logic states. Processing speed can also be improved due to the relatively low resistance compared to the NMOS-only or PMOS-only type devices. Inverters can also be constructed with bipolar junction transistors (BJT) in either a resistor–transistor logic (RTL) or a transistor–transistor logic (TTL) configuration. Digital electronics circuits operate at fixed voltage levels corresponding to a logical 0 or 1 (see binary). An inverter circuit serves as the basic logic gate to swap between those two voltage levels. Implementation determines the actual voltage, but common levels include (0, +5V) for TTL circuits.

Digital building block

The inverter is a basic building block in digital electronics. Multiplexers, decoders, state machines, and other sophisticated digital devices may use inverters. The hex inverter is an integrated circuit that contains six (hexa-) inverters. For example, the 7404 TTL chip which has 14 pins and the 4049 CMOS chip which has 16 pins, 2 of which are used for power/referencing, and 12 of which are used by the inputs and outputs of the six inverters (the 4049 has 2 pins with no connection).

Analytical representation

f ( a ) = 1 − a {\displaystyle f(a)=1-a} is the analytical representation of NOT gate:

f ( 0 ) = 1 − 0 = 1 {\displaystyle f(0)=1-0=1}

f ( 1 ) = 1 − 1 = 0 {\displaystyle f(1)=1-1=0}

Alternatives

If no specific NOT gates are available, one can be made from the universal NAND or NOR gates, an XOR gate by setting one input to high or an XNOR gate by setting one input to low.

Performance measurement

Digital inverter quality is often measured using the voltage transfer curve (VTC), which is a plot of output vs. input voltage. From such a graph, device parameters including noise tolerance, gain, and operating logic levels can be obtained. Ideally, the VTC appears as an inverted step function – this would indicate precise switching between on and off – but in real devices, a gradual transition region exists. The VTC indicates that for low input voltage, the circuit outputs high voltage; for high input, the output tapers off towards the low level. The slope of this transition region is a measure of quality – steep (close to vertical) slopes yield precise switching. The tolerance to noise can be measured by comparing the minimum input to the maximum output for each region of operation (on / off).

Linear region as analog amplifier Since the transition region is steep and approximately linear, a properly-biased CMOS inverter digital logic gate may be used as a high-gain analog linear amplifier or even combined to form an opamp. Maximum gain is achieved when the input and output operating points are the same voltage, which can be biased by connecting a resistor between the output and input.

See also Controlled NOT gate AND gate OR gate NAND gate NOR gate XOR gate XNOR gate IMPLY gate Boolean algebra Logic gate

References

External links The NOT gate on "All About Circuits" The NOT gate in 1971 "Designing With TTL Integrated Circuits" book

Illustrations

Inverter (logic gate) illustration
Inverter (logic gate) illustration
Inverter (logic gate) illustration
Inverter (logic gate) illustration
Inverter (logic gate) illustration

Worked examples

Example 1 — a first encounter with Inverter (logic gate)

Start with the simplest possible case. Write down what Inverter (logic gate) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In engineering, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Inverter (logic gate) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Inverter (logic gate) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Inverter (logic gate)

In research
Inverter (logic gate) appears in engineering research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Inverter (logic gate) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Inverter (logic gate) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Integrated circuits, Logic gates, so understanding it makes those chapters shorter.
In everyday life
Look for Inverter (logic gate) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Inverter (logic gate) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Inverter (logic gate) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Inverter (logic gate) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Inverter (logic gate) in simple terms?

In digital logic, an inverter or NOT gate is a logic gate which implements logical negation. It outputs a bit whose value is opposite of the input bit's value.

Why does Inverter (logic gate) matter?

Because it connects several engineering ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Inverter (logic gate)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Inverter (logic gate).

Tags

  • Integrated circuits
  • Logic gates

Keep exploring