Electronics - Logic Gates

0 21
Avatar for JophMax
2 years ago

Those squares and rectangles that you never understand:

Since the 1960s, Technology has changed in an exponential way, with devices that are less than a quarter of the size of what they used to be 60 years before and that are at least 1000 times more powerful. All these advances came with the invention of the integrated circuit, a little chip made of semiconductor materials that can contain electronic circuits and has metallic conductors in order to establish electrical connections between the IC and the circuit It is connected to. However, the behavior of these devices and Its functions can be explainable in the form of diagrams, specifically logical diagrams that give us a hint of the journey of an electrical input to Its final output through the use of logic gates. In this article we'll explain what they exactly are, the types of gates and how they work. Let's begin by defining what a logic gate exactly is.

What is a Logic Gate?

These are devices that have particular logical properties that incorporate boolean operations within them, such as addition, substraction, division, inclusion or exclusion. They have a determined number of inputs (According to the type of gate and their specific functions) and an individual output for the result of the signal. The factors that differentiate them from one another are their shape (In a logical diagram) and their functioning.

Image out of: https://www.nutsvolts.com/magazine/article/small-logic-gates-spawn-big-dreams-part-1

When mentioning the signal and how It changes as It gets from the input to the output of a gate, we'll talk about the terms HIGH and LOW, meaning the first that the signal represents a logical 1 (Voltage Over the minimum required for an input/output to be in the HIGH state) and LOW a logical 0 (Voltage under the minimum required for an input/output to be in the HIGH state).

Types of Gates:

First, let's begin with the most commonly used, the AND and OR gates.

AND Gate

These gates are characterized by having a minimum of two inputs and one output, where the main condition is that both input signals have to be in the HIGH State (Logical 1) for the output to have a HIGH state. If one of the input signals has a LOW state, then the output will be in a LOW state, as It is highlighted in the next truth table.

Image out of: https://www.pinterest.com.mx/pin/462674561695467182/

If you look at It in an arithmetic way, you can see the output as a result of the product of the inputs.

OR Gate

Like the AND gate, OR gates have a minimum of two inputs and one output, and Its functioning bases itself in an operation of addition between the inputs, where If one of these has a HIGH state, then the output of the gate will have a High State, or in a mathematical way:

Input(A) + Input(B) = Output

Image out of: https://electronics-club.com/logic-gates/

NOT Gate

Basically, the simplest one to understand, as It just inverts Its one and only input, giving the opposite state in the output. For example, if the input has a HIGH state, then the output will have a LOW state.

Image out of: https://www.allaboutcircuits.com/textbook/digital/chpt-3/digital-signals-gates/

NAND Gate

The opposite of an AND Gate. If all the inputs (minimum of two) have a HIGH state, then the output will have a LOW State, turning the opposite If at least one has a LOW state. This is described in the truth table:

Image out of: https://www.toppr.com/ask/question/write-the-logic-symbol-and-truth-table-of-nand-gate/

NOR Gate

The opposite of the NOR Gate. If at least one of the inputs has a high state, then the output level will be in a LOW state and if all the inputs have a LOW state, then the output will have a HIGH state.

Image out of: https://www.quora.com/What-is-a-truth-table-of-AND-OR-NOT-gate-What-are-the-diagrams

XOR Gate:

A particular type of gate, as what It differentiates It from the OR Gate is that Its output will be in a HIGH state exclusively if one of the input is in a HIGH state. If both the inputs are in a LOW or HIGH State, then the output will be in a LOW state.

Image out of: https://911electronic.com/de/logic-gates-what-are-logic-gates/xor-gate-truth-table/

XNOR Gate:

As you might intuit, It is the opposite of the XOR Gate. If both inputs are in a HIGH or LOW State, then the output will return a HIGH state and If only one of the inputs is in a HIGH state, then the output will have a LOW state.

Image out of: https://911electronic.com/logic-gates-what-are-logic-gates/xnor-gate-truth-table/?mode=list

We hope that in the presented series of paragraphs, we could be able to explain logic gates in a simple and digestable way, so you can get a grasp of how logic diagrams work and get a deeper understanding of the behavior of a particular integrated circuit. In a next article we'll talk about the universality of NAND and NOR gates and how you can get the functioning of all the remaining gates with circuits based in just these two. Good Luck!

1
$ 0.00
Sponsors of JophMax
empty
empty
empty
Avatar for JophMax
2 years ago

Comments