4-4 logic gates

16
4.4 Logic Gates

Upload: nor-shuhada

Post on 12-Jan-2016

217 views

Category:

Documents


0 download

DESCRIPTION

logic gates

TRANSCRIPT

Page 1: 4-4 logic gates

4.4 Logic Gates

Page 2: 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)

Page 3: 4-4 logic gates

4.4 Logic Gates

Truth table is a table that summarises all the possible inputs and outputs of a logic gate.

Page 4: 4-4 logic gates

4.4 Logic Gates

Boolean Algebra one form of expression which can be used to summarise the logic operation.

For example:

Logic gate NOR.

Page 5: 4-4 logic gates
Page 6: 4-4 logic gates

X =

Page 7: 4-4 logic gates

The AND gate

0

0

Input Output / Q

A B

0 0 0

0

1 0 1 0

1

01 0 01 1 1

1

1

001

X = A. B

Page 8: 4-4 logic gates

The OR gate

0

Input Output / Q

A B

0 0 0

0

0 1 1

1 0 11 1 1

0

X = A + B

Page 9: 4-4 logic gates

The NOR / NOT- OR gate

1

Input Output / Q

A B

0 0 1

1

0 1 0

1 0 01 1 0

0

Page 10: 4-4 logic gates

The NAND / NOT- AND gate

1

Input Output / Q

A B

0 0 11

0 1 1

1 0 11 1 0

0

Page 11: 4-4 logic gates

Combination of logic gates

AND gate OR gate

Inputs

Logic operation Output

Page 12: 4-4 logic gates

Inputs Logic operation

Output

A B C Q0 01 11 00 1

0

0

0 1

0 1

1

1

1 0

1 0

1

0

0

0

1

1

0

1

0

0 1

Page 13: 4-4 logic gates

0 0 11

0 1 01

1 1 0 0

1100AND gate

0 1 0 0

Page 14: 4-4 logic gates

0 0 11

0 1 01

1 1 0 0

1100

1 0

0 1

1010

1 0

0 0

Page 15: 4-4 logic gates

Q

Q

Page 16: 4-4 logic gates

Application of logic gate in control systems

Fire control system

Smoke detector

heat detector

A

B

Fire extinguisher

Fire alarm

Input Output

A B Fire extinguisher

Fire alarm

1 1

1 0

0 1

0 0