Introduction to Electrical
and Computer Engineering
Instructor: Dr. Pham Ngoc Nam
DHBK 2005
2
/Chapte
r3
3. Active components and Integrated Circuits
DHBK 2005
3
/Chapte
r3
Active electrical components
Diode
a diode is a two-terminal electronic component that
conducts electric current in only one direction
DHBK 2005
4
/Chapte
r3
Active electrical components
Transistor
A transistor is a semiconductor device used to amplify or
switch electronic signals. It is made of a solid piece of
semiconductor material, with at least three terminals for
connection to an external circuit. A voltage or current
applied to one pair of the transistor's terminals changes
the current flowing through another pair of terminals.
Because the controlled (output) power can be much more
than the controlling (input) power, the transistor provides
amplification of a signal.
DHBK 2005
5
/Chapte
r3
Active electrical components
Transistor
DHBK 2005
6
/Chapte
r3
Active electrical components
Integrated circuits (ICs)
an integrated circuit (also known as IC, microcircuit,
microchip, silicon chip, or chip) is a miniaturized
electronic circuit (consisting mainly of semiconductor
devices, as well as passive components) that has been
manufactured in the surface of a thin substrate of
semiconductor material. Integrated circuits are used in
almost all electronic equipment in use today and have
revolutionized the world of electronics.
Generations: SSI, MSI, LSI, VLSI
DHBK 2005
7
/Chapte
r3
Active electrical components
Integrated circuits (ICs)
DHBK 2005
8
/Chapte
r3
Digital Electronics
DHBK 2005
Basic logic gates and Boolean
algebra
9
/Chapte
r3
Logic gates: electronics circuits which combine
signals according to the Boolean algebra
Positive logic: is an electronic representation in
which the true state is at a higher voltage:
5 V represents logic 1 and 0 V represents logic 0
Negative logic: is an electronic representation in
which the true state is at a lower voltage:
0 V represents logic 1 and 5 V represents logic 0
DHBK 2005
Basic logic functions
NOT, AND, NAND, OR, NOR, XOR and XNOR
Inverter function (NOT)
Logic equation
NOT operator
Y =A
Logic symbol
Truth table
10
/Chapte
r3
DHBK 2005
Basic logic functions
AND function
AND operator
A
Y=A.B
11
/Chapte
r3
DHBK 2005
Basic logic functions
NAND function
12
/Chapte
r3
NAND operator
A
B
Y=AB
A
B
DHBK 2005
Basic logic functions
OR function
OR operator
A
Y=A+B
B
Y
13
/Chapte
r3
DHBK 2005
Basic logic functions
NOR function
NOR operator
A
Y=A+B
14
/Chapte
r3
DHBK 2005
Basic logic functions
NOR function
NOR operator
A
Y=A+B
15
/Chapte
r3
DHBK 2005
Basic logic functions
Exclusive-OR function (XOR)
A
XOR operator
Y=A B
B
Y=A B =AB + AB
1
0
Y
B
1
0
16
/Chapte
r3
DHBK 2005
Basic logic functions
Exclusive-NOR function (XNOR)
A
Y=A B
B
Y=A B =AB + AB
XNOR operator
17
/Chapte
r3
DHBK 2005
Implementation of logic circuit from
logic equation
18
/Chapte
r3
Combinatorial logic circuit
The basic logic gates are combined to form all other
digital logic functions
Combinatorial circuit analysis: 2 methods
Direct analysis from circuit inputs to outputs
Using truth table
Specify all possible input combinations and the output result
for each input combination
DHBK 2005
Implementation of logic circuit from
logic equation
19
/Chapte
r3
Example:
F = AB
K= F+G = AB + AC
G = AC
Inputs
Intermediate nodes
Outputs
F=AB
K=F +G
A B
G=AC
DHBK 2005
Boolean Algebra
Boolean algebraic laws
Commutative law of addition and multiplication
A + B = B + A
AB = BA
Associative law of addition and multiplication
A + (B + C) = (A + B) + C
A(BC) = (AB)C
Distributive law
A(B+C) = AB + AC
(A +B)(C+D)=AC + AD + BC + BD
20
/Chapte
r3
DHBK 2005
Boolean Algebra
Boolean identities and theorems
A.0= 0
A.1=A
A+0=A
A+1=1
A.A=A
A.A=0
A+ A=1
Demorgans theorems
A + B = A.B
A.B = A + B
21
/Chapte
r3
DHBK 2005
Logic simplification
Algebraic manipulation
F1 =xy+xyz+xyz =xy+xyz+xyz+xyz (absorption)
=xy+x(y+y)z+xyz
=xy+x1z+xyz
=xy+xz+xyz
=xy+xyz+xz+xyz
=xy+xz+(x+x)yz
=xy+xz+1yz
=xy+xz+yz
(distributive)
(complement)
(identity)
(absorption)
(distributive)
(complement)
(identity)
22
/Chapte
r3
DHBK 2005
Logic simplification
F1=xy+xyz+xyz
23
/Chapte
r3
F1=xy+xz+yz
x y z
x y z
F1
F1
DHBK 2005
Logic simplification
24
/Chapte
r3
Two standard forms:
Sum of Products (SOP); a sum (OR) of several products
(AND) terms
E.g. X= ABC + DEF
Products of Sums (POS): a product (AND) of several sum
(OR) terms
E.g. Y = (A + B + C) (D + E + F)
SOP and POS expression can be derived from the
truth table
DHBK 2005
Logic simplification
25
/Chapte
r3
SOP procedure
1. Derive the SOP expression using only those input
combinations that result in an output of logic 1
2. Input variables of 1 are written in their true form
3. Input variables of 0 are written in their inverted form
4. Input variables are ANDed to form the input terms
5. Input terms are ORed together to give the final output
result
DHBK 2005
Logic simplification
26
/Chapte
r3
POS procedure
1. Derive the POS expression using only those input
combinations that result in an output of logic 0
2. Input variables of 0 are written in their true form
3. Input variables of 1 are written in their inverted form
4. Input variables are ORed to form the input terms
5. Input terms are ANDed together to give the final output
result