Professional Documents
Culture Documents
Portfolio in Electronics Technology 1 (Cacho, Kathleenjoyc.)
Portfolio in Electronics Technology 1 (Cacho, Kathleenjoyc.)
Portfolio in Electronics Technology 1 (Cacho, Kathleenjoyc.)
IN
ELECTRONICS
TECHNOLOGY
1
SUBMITTED TO:
ENGR. RODERICK J. CABAÑA
SUBMITTED BY:
KATHLEEN JOY C. CACHO
BS-ECE V
BASIC LOGIC
GATES
Basic Logic Gate
A logic gate is an idealized model of computation or physical
electronic device implementing a Boolean function, a logical
operation performed on one or more binary inputs that produces a
single binary output. A logic gate is a basic building block of a
digital circuit that has two inputs and one output. The
relationship between the i/p and the o/p is based on a certain
logic. These gates are implemented using electronic switches like
transistors, diodes. But, in practice, basic logic gates are built
using CMOS technology, FETS, and MOSFET(Metal Oxide Semiconductor
FET)s. Logic gates are used in microprocessors, microcontrollers,
embedded system applications, and in electronic and electrical
project circuits. The basic logic gates are categorized into seven:
AND, OR, XOR, NAND, NOR, XNOR, and NOT. These logic gates with
their logic gate symbols and truth tables are explained below.
The basic logic gates are classified into seven types: AND gate,
OR gate, XOR gate, NAND gate, NOR gate, XNOR gate, and NOT gate.
The truth table is used to show the logic gate function. All the
logic gates have two inputs except the NOT gate, which has only
one input.
1.OR GATE
INPUT OUTPUT
A B A AND B
0 0 0
0 1 0
1 0 0
3.NOT OR INVERTER GATE
The Logic NOT Gate is the most basic of all the logical gates
and is often referred to as an Inverting Buffer or simply an
Inverter.
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.
4.NOR GATE
Q = A NAND B
Truth Table
Input A Input B Output Q
0 0 1
0 1 1
1 0 1
1 1 0
BOLEAN
ALGEBRA
Boolean algebra is a branch of mathematics that deals with
operations on logical values with binary variables.
The Boolean variables are represented as binary numbers to
represent truths: 1 = true and 0 = false.
Elementary algebra deals with numerical operations
whereas Boolean algebra deals with logistical operations.
1. 0 + 0 = 0
2. 0 + 1 = 1
3. 1 + 0 = 1
4. 1 + 1 = 1
5. A + 0 = A
6. A + 1 = 1
7. A + A ( bar ) =1
1. 0.0 = 0
2. 0.1 = 0
3. 1.0 = 0
4. 1.1 = 1
5. A.1 = A
6. A.0 = 0
7. A.A = A
8. A.A ( bar ) = 0
RULE IN BOOLEAN ALGEBRA
Following are the important rules used in Boolean algebra.
1. Variable used can have only two values. Binary 1 for HIGH
and Binary 0 for LOW.
2. Complement of a variable is represented by an overbar (-
). Thus, complement of variable B is represented as .
Thus if B = 0 then = 1 and B = 1 then = 0.
3. ORing of the variables is represented by a plus (+) sign
between them. For example ORing of A, B, C is represented
as A + B + C.
4. Logical ANDing of the two or more variable is represented
by writing a dot between them such as A.B.C. Sometime the
dot may be omitted like ABC.
Associative law
This law states that the order in which the logic operations
are performed is irrelevant as their effect is the same.
Distributive law
Distributive law states the following condition.
AND law
These laws use the AND operation. Therefore they are called
as AND laws.
OR law
These laws use the OR operation. Therefore they are called
as OR laws.
INVERSION law
This law uses the NOT operation. The inversion law states
that double inversion of a variable results in the original
variable itself.
De – morgan’s law
1. (A.B)’ = A’ + B’
2.(A + B)’ = A’.B’
PROBLEMS:
1.Find the Boolean algebra expression for the following system.
This system may look more complicated than the other two to
analyse but again, the logic circuit just consists of
simple AND, OR and NOT gates connected together.
As with the previous Boolean examples, we can simplify the
circuit by writing down the Boolean notation for each logic gate
function in turn in order to give us a final expression for the
output at Q.
ANSWER:
3. An engineer hands you a piece of paper with the following
Boolean expression on it, and tells you to build a gate circuit
to perform that function:
ANSWER:
ANSWER:
6. Use Boolean algebra to simplify the following logic gate
circuit:
ANSWER:
DE MORGAN’S THEOREM:
De Morgan's theorem states (Equation 1.16) that complementing
the result of OR'ing variables together is equivalent to AND'ing
the complements of the individual variables. Also (Equation
1.17), complementing the result of AND'ing variables together is
equivalent to OR'ing the complements of the individual
variables.
So,
2) Next, we apply DeMorgan's first theorem. So,
Now, this expression has no term in which we can apply any rule
or theorem. So, this is the final expression.
Example: (AB'.(A + C))'+ A'B.(A + B + C')'