# aljabar boolean, penyederhanaan logika dan peta · pdf filealjabar boolean, penyederhanaan...

Post on 11-Mar-2019

239 views

Category:

## Documents

Embed Size (px)

TRANSCRIPT

Aljabar Boolean,Penyederhanaan Logika

dan Peta Karnaugh

Program Studi T. ElektroFT - UHAMKA

Slide - 6 1

ENDY SAENDY SAProgram Studi Teknik Elektro

Fakultas TeknikUniversitas Muhammadiyah Prof. Dr. HAMKA

Standard Forms ofBoolean Expressions

Sum of Product (SOP)Product of Sum (POS)

Program Studi T. ElektroFT - UHAMKA

Slide - 6 2

Sum of Product (SOP)Product of Sum (POS)

The Sum-of-Products (SOP)Form

DCBCDEABC

ABCAB

When two or more product terms are summed byBoolean addition

Program Studi T. ElektroFT - UHAMKA

Slide - 6 3

DCBCDEABC

ABCAB

Conversion of a GeneralExpression to SOP Form

Any logic expression can be change into SOP form byapplying Boolean Algebra techniques

Program Studi T. ElektroFT - UHAMKA

Slide - 6 4

ACDABCDBA

CBA

CBCA

CBA

CBA

Try This:

DD CC

CCDBA

DDCBA

Program Studi T. ElektroFT - UHAMKA

Slide - 6 5

CCDBA

DDCBA

The Products-of-Sum (POS)FormWhen two or more sum terms are multiplied.

CACBABA

CBABA

Program Studi T. ElektroFT - UHAMKA

Slide - 6 6

CACBABA

CBABA

DD AA

DDCBA

Rule 12!

Program Studi T. ElektroFT - UHAMKA

Slide - 6 7

DDCBA

Boolean Expressionand Truth Table

Program Studi T. ElektroFT - UHAMKA

Slide - 6 8

Examine each of the products to determine wherethe product is equal to a 1. Set the remaining row outputs to 0.

Converting SOP to Truth Table

Program Studi T. ElektroFT - UHAMKA

Slide - 6 9

Opposite process from the SOP expressions. Each sum term results in a 0. Set the remaining row outputs to 1.

Converting POS to Truth Table

Program Studi T. ElektroFT - UHAMKA

Slide - 6 10

Converting from Truth Table toSOP and POS

Inputs Output

A B C X

0 0 0 0

0 0 1 0ABCCABCBABCAX

Program Studi T. ElektroFT - UHAMKA

Slide - 6 11

0 1 0 0

0 1 1 1

1 0 0 1

1 0 1 0

1 1 0 1

1 1 1 1

CBACBACBACBAX

The Karnaugh Map

Program Studi T. ElektroFT - UHAMKA

Slide - 6 12

The Karnaugh Map

Provides a systematic method for simplifyingBoolean expressions

Produces the simplest SOP or POSexpression

Similar to a truth table because it presents allof the possible values of input variables

Program Studi T. ElektroFT - UHAMKA

Slide - 6 13

Provides a systematic method for simplifyingBoolean expressions

Produces the simplest SOP or POSexpression

Similar to a truth table because it presents allof the possible values of input variables

The 3-Variable K-Map

Program Studi T. ElektroFT - UHAMKA

Slide - 6 14

The 4-Variable K-Map

Program Studi T. ElektroFT - UHAMKA

Slide - 6 15

K-Map SOP Minimization A 1 is placed on the K-

Map for each productterm in the expression.

Each 1 is placed in acell corresponding tothe value of a productterm

Program Studi T. ElektroFT - UHAMKA

Slide - 6 16

A 1 is placed on the K-Map for each productterm in the expression.

Each 1 is placed in acell corresponding tothe value of a productterm

Example:Map the following standard SOP expression on a K-Map:

ABCCABCBACBA

Program Studi T. ElektroFT - UHAMKA

Slide - 6 17

Solution:

Example:Map the following standard SOP expression on a K-Map:

Program Studi T. ElektroFT - UHAMKA

Slide - 6 18

Solution:

Exercise:

CBACBABCA

Map the following standard SOP expression on a K-Map:

Program Studi T. ElektroFT - UHAMKA

Slide - 6 19

ABCDDCABDABCDBCA

Program Studi T. ElektroFT - UHAMKA

Slide - 6 20

K-Map Simplification of SOPExpressions

A group must contain either 1, 2, 4, 8 or 16 cells. Each cell in group must be adjacent to one or more

cells in that same group but all cells in the group donot have to be adjacent to each other

Always include the largest possible number 1s in agroup in accordance with rule 1

Each 1 on the map must be included in at least onegroup. The 1s already in a group can be included inanother group as long as the overlapping groupsinclude noncommon 1s

Program Studi T. ElektroFT - UHAMKA

Slide - 6 21

A group must contain either 1, 2, 4, 8 or 16 cells. Each cell in group must be adjacent to one or more

cells in that same group but all cells in the group donot have to be adjacent to each other

Always include the largest possible number 1s in agroup in accordance with rule 1

Each 1 on the map must be included in at least onegroup. The 1s already in a group can be included inanother group as long as the overlapping groupsinclude noncommon 1s

To maximize the size of the groups and to minimize the number of groups

Example: Group the 1s in each K-Maps

Program Studi T. ElektroFT - UHAMKA

Slide - 6 22

Determining the minimum SOPExpression from the Map

Groups the cells that have 1s. Each group ofcells containing 1s create one product termcomposed of all variables that occur in onlyone form (either uncomplemented orcomplemented) within the group. Variablethat occurs both uncomplemented andcomplemented within the group areeliminated. These are called contradictoryvariables.

Program Studi T. ElektroFT - UHAMKA

Slide - 6 23

Groups the cells that have 1s. Each group ofcells containing 1s create one product termcomposed of all variables that occur in onlyone form (either uncomplemented orcomplemented) within the group. Variablethat occurs both uncomplemented andcomplemented within the group areeliminated. These are called contradictoryvariables.

Example: Determine the product term for the K-Map below and write the resulting minimumSOP expression

DCACAB

Program Studi T. ElektroFT - UHAMKA

Slide - 6 24

DCDCACAB

1 DC

Program Studi T. ElektroFT - UHAMKA

Slide - 6 25

Example: Use a K-Map to minimize thefollowing standard SOP expression

CBACBACBABCACBA

Program Studi T. ElektroFT - UHAMKA

Slide - 6 26

CAB

Example: Use a K-Map to minimize thefollowing standard SOP expression

Program Studi T. ElektroFT - UHAMKA

Slide - 6 27

CBD

Mapping Directly from a TruthTable

Program Studi T. ElektroFT - UHAMKA

Slide - 6 28

Dont Care (X) Conditions

A situation arises in which input variablecombinations are not allowed

Dont care terms either a 1 or a 0 may beassigned to the output

Program Studi T. ElektroFT - UHAMKA

Slide - 6 29

A situation arises in which input variablecombinations are not allowed

Dont care terms either a 1 or a 0 may beassigned to the output

Dont Care (X) ConditionsExample of the use of dontcare conditions to simplify anexpression

Program Studi T. ElektroFT - UHAMKA

Slide - 6 30

Exercise: Use K-Map to find theminimum SOP from

CBBCACBBCACBACBACBA

1

2

Program Studi T. ElektroFT - UHAMKA

Slide - 6 31

Thank YouGagal Setelah Mencuba Seribu Kali

Lebih Baik Daripada Tidak PernahMencuba. Keperitan dan Kepayahan