Sunteți pe pagina 1din 16

4.

4 Logic Gates

4.4 Logic Gates

An electronics circuit with one or more inputs


and a single output.
Input and output can be either high (logic 1) or
low (logic 0)

4.4 Logic Gates

Truth table is a table that summarises all the


possible inputs and outputs of a logic gate.

4.4 Logic Gates

Boolean Algebra one form of expression


which can be used to summarise the logic
operation.
For example:
Logic

gate NOR.

The AND
gate

X = A. B

1
00

10
1
0

Input
1
0

Output /
Q

1
1

0
1

0
1

The OR
gate

X=A+B

Input
0

Output /
Q

1
1

0
1

1
1

The NOR / NOT- OR


gate

Input

Output /
Q

1
1

0
1

0
0

The NAND / NOT- AND


gate

Input

Output /
Q

1
1

0
1

1
0

Combination of logic
gates
AND gate

OR
gate

Inputs

Logic operation

Output

0
1
0

0
1
0

1
0

0
10
1
Inputs
A
0
1
1
0

B
0
1
0
1

Logic
Output
operati
on
C0
Q
1
0
1
0
0

1
1

AND gate

110
0

1
1

0
1

0
0

110
0
101
0

1
1

1
0

0
0

Application of logic gate in control


systems
Fire control
system

Smoke
detector

heat
detector

Fire
extinguis
her

Fire
alarm

Input

Output

Fire
exting
uisher

Fire
alar
m

S-ar putea să vă placă și