SlideShare a Scribd company logo
Boolean Functions &
Simplification Methods
Fundamentals of Automation Engineering I
ES1111
Recapitulating
• We have seen that –
• Boolean algebra (postulates and theorems) can be used as
tool for analysis and synthesis of logic systems.
• Other tools used are truth tables, schematic diagrams and
timing diagrams.
• Today, we will learn in this week –how to write Boolean
functions in two standard forms.
• And K map to minimize Boolean Expression
Truth tables
x y f
0 0 0
0 1 1
1 0 1
1 1 0
Example of function
dependent on two inputs
x y z F
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 0
Example of function
dependent on four inputs
u v w x F
0 0 0 0 0
0 0 0 1 1
0 0 1 0 1
0 0 1 1 0
0 1 0 0 1
0 1 0 1 0
0 1 1 0 0
0 1 1 1 1
1 0 0 0 0
1 0 0 1 0
1 0 1 0 0
1 0 1 1 0
1 1 0 0 0
1 1 0 1 0
1 1 1 0 1
1 1 1 1 0
Example of function
dependent on inputs
Canonical/Standard forms: 3 variables
Variables Minterms Maxterms
x y z Term Designation Term Designation
0 0 0 x´y´z´ m0 x+y+z MO
0 0 1 x´y´z m1 x+y+z´ M1
0 1 0 x´yz´ m2 x+y´+z M2
0 1 1 x´yz m3 x+y´+z´ M3
1 0 0 xy´z´ m4 x´+y+z M4
1 0 1 xy´z m5 x´+y+z´ M5
1 1 0 xyz´ m6 x´+y´+z M6
1 1 1 xyz m7 x´+y´+z´ M7
4
Eg : F=m2+m1 +m5
Conversion between Canonical forms
X Y Z F Min-
term
Max
-
term
0 0 0 0 M0
0 0 1 1 m1
0 1 0 0 M2
0 1 1 0 M3
1 0 0 1 m4
1 0 1 0 M5
1 1 0 0 M6
1 1 1 1 m7
F= x’y’z+ xy’z’+xyz= m1 + m4 + m7
F= (x+y+z)(x+y’+z)(x+y’+z’)(x’+y+z')(x’+y’+z)
= M0M2M3M5M6
Sum Of Products (SOP) : look for 1’s in output,
OR the minterms
Product Of Sum (POS): look for 0’s in output
AND the maxterms
To do
Write the functions in slide 3 in
• (a) SOP form
• (b) POS form
• Ans
(a) SOP form F= x’y+xy’= m1+m2
(b) POS form F=(x+y)(x’+y’) = M0. M3
x y f
0 0 0
0 1 1
1 0 1
1 1 0
More Practice
x y z F
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 0
u v w x F
0 0 0 0 0
0 0 0 1 1
0 0 1 0 1
0 0 1 1 0
0 1 0 0 1
0 1 0 1 0
0 1 1 0 0
0 1 1 1 1
1 0 0 0 0
1 0 0 1 0
1 0 1 0 0
1 0 1 1 0
1 1 0 0 0
1 1 0 1 0
1 1 1 0 1
1 1 1 1 0
SOP form ??? m1+m2+m5
POS form ???
(M0)(M3)(M4)(M6)(M7)
SOP form ???
POS form ???
What if some variables are missing?
• F= A+B’C
We can use Boolean algebra and write the function as
F=A(B+B’)(C+C’)+(A+A’)B’C
= ABC+AB’C+ABC’+AB’C’+AB’C’+AB’C+A’B’C
=ABC+AB’C+ABC’+AB’C’+A’B’C
= m7+m5+m6+m4+m1
= 𝑚(1,4,5,6,7)
• Canonical SoP form
• Canonical SoP form means Canonical Sum of Products form. In this
form, each product term contains all literals. So, these product terms
are nothing but the min terms. Hence, canonical SoP form is also
called as sum of min terms form.
• Standard SoP form means Standard Sum of Products form. In this
form, each product term need not contain all literals. So, the product
terms may or may not be the min terms. Therefore, the Standard
SoP form is the simplified form of canonical SoP form.
• Similarly for POS forms
• A literal is a single variable within a term which may or may not be
complemented.
K Map (Karnaugh Map)
• In many digital circuits and practical problems we need to find
expression with minimum variables.
• We can minimize Boolean expressions of 2, 3, 4 variables very
easily using K-map without using any Boolean algebra
theorems.
• K-map can take two forms Sum of Product (SOP) and Product
of Sum (POS) according to the need of problem. K-map is table
like representation but it gives more information than TRUTH
TABLE
Gray Code: binary numeral system such that two successive
values differ in only one bit (binary digit)
K Map (Karnaugh Map)
3 variable Kmap
m0 m1 m3
1
m2
1
m4
1
m5
1
m7 m6
yz 00 01 11 10
x
0
1
F(x,y,z)=∑(2,3,4,5)
xy’
x’y
• One square represents one minterm, giving a term with 3 literals.
• Two adjacent squares can be combined to a single term with 2 literals
• Four adjacent squares can be combined to a single terms with 1 literal.
• Eight adjacent squares encompass the whole map and can be
combined to form a function that is always 1.
4 Variable K map
Prime Implicants and Essential PI (see
pdf)
4 variable K map (Example)
a= F1 (A,B,C,D) =∑(0,2,3,5,6, 7,8,9) + d ∑(10,11,12,13,14,15)
Q1
F= x1’x3’x4+ …+…
Implementation of Function in SOP form
Implement the Boolean Function with NAND gates
F=xy’+x’y+z
x
x’
y
y’
z
x’
y’
x
z
y
z
x
y'
x'
y
Stage 1 Stage 2 Stage 3
DeMorgan’s th. 5 b)
(AB)’ =A’+B’
Implementation of function POS form
F=(A+B)(C+D)E
A
B
C
D
E
A
C
B
E
D
A
C
D
E
B
A B C D F
0 0 0 0 1
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 1
0 1 0 1 0
0 1 1 0 0
0 1 1 1 0
1 0 0 0 1
1 0 0 1 1
1 0 1 0 1
1 0 1 1 1
1 1 0 0 1
1 1 0 1 0
1 1 1 0 1
1 1 1 1 0

More Related Content

Similar to SOP_POS_kmap_ DJ_Section_B.pptx

STLD- Switching functions
STLD- Switching functions STLD- Switching functions
STLD- Switching functions
Abhinay Potlabathini
 
DigitalLogic_BooleanAlgebra_P.pdf
DigitalLogic_BooleanAlgebra_P.pdfDigitalLogic_BooleanAlgebra_P.pdf
DigitalLogic_BooleanAlgebra_P.pdf
k vimal kumar
 
Bca 2nd sem-u-1.5 digital logic circuits, digital component
Bca 2nd sem-u-1.5 digital logic circuits, digital componentBca 2nd sem-u-1.5 digital logic circuits, digital component
Bca 2nd sem-u-1.5 digital logic circuits, digital component
Rai University
 
4. Boolean Function and Their Representation.pptx
4. Boolean Function and Their Representation.pptx4. Boolean Function and Their Representation.pptx
4. Boolean Function and Their Representation.pptx
NaveenPunia5
 
digital logic circuits, digital component
 digital logic circuits, digital component digital logic circuits, digital component
digital logic circuits, digital component
Rai University
 
شيت دمحمددسوقى
شيت دمحمددسوقىشيت دمحمددسوقى
شيت دمحمددسوقى
abdoo2020
 
Unit 1(stld)
Unit 1(stld) Unit 1(stld)
Unit 1(stld)
Abhinay Potlabathini
 
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptxECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
MdJubayerFaisalEmon
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
SwathiSundari
 
DLD Lecture No 15 Prime and Essential Implicants, Five Variable Map.pptx
DLD Lecture No 15 Prime and Essential Implicants, Five Variable Map.pptxDLD Lecture No 15 Prime and Essential Implicants, Five Variable Map.pptx
DLD Lecture No 15 Prime and Essential Implicants, Five Variable Map.pptx
SaveraAyub2
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
blaircomp2003
 
FYBSC IT Digital Electronics Unit II Chapter II Minterm, Maxterm and Karnaugh...
FYBSC IT Digital Electronics Unit II Chapter II Minterm, Maxterm and Karnaugh...FYBSC IT Digital Electronics Unit II Chapter II Minterm, Maxterm and Karnaugh...
FYBSC IT Digital Electronics Unit II Chapter II Minterm, Maxterm and Karnaugh...
Arti Parab Academics
 
Minimization Technique .ppt
 Minimization Technique .ppt Minimization Technique .ppt
Minimization Technique .ppt
AshishChandrakar12
 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and Maxterm
Self-employed
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
Unsa Shakir
 
K-map Digital Logic Design DLD Theory l
K-map  Digital Logic Design DLD Theory lK-map  Digital Logic Design DLD Theory l
K-map Digital Logic Design DLD Theory l
khanyz4884
 
CSE-205_ch-3.pptx
CSE-205_ch-3.pptxCSE-205_ch-3.pptx
CSE-205_ch-3.pptx
MdTahsinAmin2
 
Document from Saikrish.S.pdf
Document from Saikrish.S.pdfDocument from Saikrish.S.pdf
Document from Saikrish.S.pdf
MeenakshiKS22BCE1551
 
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
arunachalamr16
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)
MeghaSharma513
 

Similar to SOP_POS_kmap_ DJ_Section_B.pptx (20)

STLD- Switching functions
STLD- Switching functions STLD- Switching functions
STLD- Switching functions
 
DigitalLogic_BooleanAlgebra_P.pdf
DigitalLogic_BooleanAlgebra_P.pdfDigitalLogic_BooleanAlgebra_P.pdf
DigitalLogic_BooleanAlgebra_P.pdf
 
Bca 2nd sem-u-1.5 digital logic circuits, digital component
Bca 2nd sem-u-1.5 digital logic circuits, digital componentBca 2nd sem-u-1.5 digital logic circuits, digital component
Bca 2nd sem-u-1.5 digital logic circuits, digital component
 
4. Boolean Function and Their Representation.pptx
4. Boolean Function and Their Representation.pptx4. Boolean Function and Their Representation.pptx
4. Boolean Function and Their Representation.pptx
 
digital logic circuits, digital component
 digital logic circuits, digital component digital logic circuits, digital component
digital logic circuits, digital component
 
شيت دمحمددسوقى
شيت دمحمددسوقىشيت دمحمددسوقى
شيت دمحمددسوقى
 
Unit 1(stld)
Unit 1(stld) Unit 1(stld)
Unit 1(stld)
 
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptxECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
DLD Lecture No 15 Prime and Essential Implicants, Five Variable Map.pptx
DLD Lecture No 15 Prime and Essential Implicants, Five Variable Map.pptxDLD Lecture No 15 Prime and Essential Implicants, Five Variable Map.pptx
DLD Lecture No 15 Prime and Essential Implicants, Five Variable Map.pptx
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
FYBSC IT Digital Electronics Unit II Chapter II Minterm, Maxterm and Karnaugh...
FYBSC IT Digital Electronics Unit II Chapter II Minterm, Maxterm and Karnaugh...FYBSC IT Digital Electronics Unit II Chapter II Minterm, Maxterm and Karnaugh...
FYBSC IT Digital Electronics Unit II Chapter II Minterm, Maxterm and Karnaugh...
 
Minimization Technique .ppt
 Minimization Technique .ppt Minimization Technique .ppt
Minimization Technique .ppt
 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and Maxterm
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
K-map Digital Logic Design DLD Theory l
K-map  Digital Logic Design DLD Theory lK-map  Digital Logic Design DLD Theory l
K-map Digital Logic Design DLD Theory l
 
CSE-205_ch-3.pptx
CSE-205_ch-3.pptxCSE-205_ch-3.pptx
CSE-205_ch-3.pptx
 
Document from Saikrish.S.pdf
Document from Saikrish.S.pdfDocument from Saikrish.S.pdf
Document from Saikrish.S.pdf
 
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
18 pc09 1.2_ digital logic gates _ boolean algebra_basic theorems
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)
 

Recently uploaded

AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
Paris Salesforce Developer Group
 
DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...
DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...
DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...
OKORIE1
 
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdfAsymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
felixwold
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
Roger Rozario
 
openshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoinopenshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoin
snaprevwdev
 
SCALING OF MOS CIRCUITS m .pptx
SCALING OF MOS CIRCUITS m                 .pptxSCALING OF MOS CIRCUITS m                 .pptx
SCALING OF MOS CIRCUITS m .pptx
harshapolam10
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
Dwarkadas J Sanghvi College of Engineering
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
upoux
 
Accident detection system project report.pdf
Accident detection system project report.pdfAccident detection system project report.pdf
Accident detection system project report.pdf
Kamal Acharya
 
Unit -II Spectroscopy - EC I B.Tech.pdf
Unit -II Spectroscopy - EC  I B.Tech.pdfUnit -II Spectroscopy - EC  I B.Tech.pdf
Unit -II Spectroscopy - EC I B.Tech.pdf
TeluguBadi
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
PreethaV16
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
upoux
 
5G Radio Network Througput Problem Analysis HCIA.pdf
5G Radio Network Througput Problem Analysis HCIA.pdf5G Radio Network Througput Problem Analysis HCIA.pdf
5G Radio Network Througput Problem Analysis HCIA.pdf
AlvianRamadhani5
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
Bituminous road construction project based learning report
Bituminous road construction project based learning reportBituminous road construction project based learning report
Bituminous road construction project based learning report
CE19KaushlendraKumar
 
Zener Diode and its V-I Characteristics and Applications
Zener Diode and its V-I Characteristics and ApplicationsZener Diode and its V-I Characteristics and Applications
Zener Diode and its V-I Characteristics and Applications
Shiny Christobel
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
ijaia
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
aryanpankaj78
 
Levelised Cost of Hydrogen (LCOH) Calculator Manual
Levelised Cost of Hydrogen  (LCOH) Calculator ManualLevelised Cost of Hydrogen  (LCOH) Calculator Manual
Levelised Cost of Hydrogen (LCOH) Calculator Manual
Massimo Talia
 
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
sydezfe
 

Recently uploaded (20)

AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
 
DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...
DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...
DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...
 
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdfAsymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
 
openshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoinopenshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoin
 
SCALING OF MOS CIRCUITS m .pptx
SCALING OF MOS CIRCUITS m                 .pptxSCALING OF MOS CIRCUITS m                 .pptx
SCALING OF MOS CIRCUITS m .pptx
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
 
Accident detection system project report.pdf
Accident detection system project report.pdfAccident detection system project report.pdf
Accident detection system project report.pdf
 
Unit -II Spectroscopy - EC I B.Tech.pdf
Unit -II Spectroscopy - EC  I B.Tech.pdfUnit -II Spectroscopy - EC  I B.Tech.pdf
Unit -II Spectroscopy - EC I B.Tech.pdf
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
 
5G Radio Network Througput Problem Analysis HCIA.pdf
5G Radio Network Througput Problem Analysis HCIA.pdf5G Radio Network Througput Problem Analysis HCIA.pdf
5G Radio Network Througput Problem Analysis HCIA.pdf
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
Bituminous road construction project based learning report
Bituminous road construction project based learning reportBituminous road construction project based learning report
Bituminous road construction project based learning report
 
Zener Diode and its V-I Characteristics and Applications
Zener Diode and its V-I Characteristics and ApplicationsZener Diode and its V-I Characteristics and Applications
Zener Diode and its V-I Characteristics and Applications
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
 
Levelised Cost of Hydrogen (LCOH) Calculator Manual
Levelised Cost of Hydrogen  (LCOH) Calculator ManualLevelised Cost of Hydrogen  (LCOH) Calculator Manual
Levelised Cost of Hydrogen (LCOH) Calculator Manual
 
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
 

SOP_POS_kmap_ DJ_Section_B.pptx

  • 1. Boolean Functions & Simplification Methods Fundamentals of Automation Engineering I ES1111
  • 2. Recapitulating • We have seen that – • Boolean algebra (postulates and theorems) can be used as tool for analysis and synthesis of logic systems. • Other tools used are truth tables, schematic diagrams and timing diagrams. • Today, we will learn in this week –how to write Boolean functions in two standard forms. • And K map to minimize Boolean Expression
  • 3. Truth tables x y f 0 0 0 0 1 1 1 0 1 1 1 0 Example of function dependent on two inputs x y z F 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 0 0 0 1 0 1 1 1 1 0 0 1 1 1 0 Example of function dependent on four inputs u v w x F 0 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 0 1 0 0 1 0 1 0 1 0 0 1 1 0 0 0 1 1 1 1 1 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 0 1 1 1 1 1 0 Example of function dependent on inputs
  • 4. Canonical/Standard forms: 3 variables Variables Minterms Maxterms x y z Term Designation Term Designation 0 0 0 x´y´z´ m0 x+y+z MO 0 0 1 x´y´z m1 x+y+z´ M1 0 1 0 x´yz´ m2 x+y´+z M2 0 1 1 x´yz m3 x+y´+z´ M3 1 0 0 xy´z´ m4 x´+y+z M4 1 0 1 xy´z m5 x´+y+z´ M5 1 1 0 xyz´ m6 x´+y´+z M6 1 1 1 xyz m7 x´+y´+z´ M7 4 Eg : F=m2+m1 +m5
  • 5.
  • 6. Conversion between Canonical forms X Y Z F Min- term Max - term 0 0 0 0 M0 0 0 1 1 m1 0 1 0 0 M2 0 1 1 0 M3 1 0 0 1 m4 1 0 1 0 M5 1 1 0 0 M6 1 1 1 1 m7 F= x’y’z+ xy’z’+xyz= m1 + m4 + m7 F= (x+y+z)(x+y’+z)(x+y’+z’)(x’+y+z')(x’+y’+z) = M0M2M3M5M6 Sum Of Products (SOP) : look for 1’s in output, OR the minterms Product Of Sum (POS): look for 0’s in output AND the maxterms
  • 7. To do Write the functions in slide 3 in • (a) SOP form • (b) POS form • Ans (a) SOP form F= x’y+xy’= m1+m2 (b) POS form F=(x+y)(x’+y’) = M0. M3 x y f 0 0 0 0 1 1 1 0 1 1 1 0
  • 8. More Practice x y z F 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 0 0 0 1 0 1 1 1 1 0 0 1 1 1 0 u v w x F 0 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 0 1 0 0 1 0 1 0 1 0 0 1 1 0 0 0 1 1 1 1 1 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 0 1 1 1 1 1 0 SOP form ??? m1+m2+m5 POS form ??? (M0)(M3)(M4)(M6)(M7) SOP form ??? POS form ???
  • 9. What if some variables are missing? • F= A+B’C We can use Boolean algebra and write the function as F=A(B+B’)(C+C’)+(A+A’)B’C = ABC+AB’C+ABC’+AB’C’+AB’C’+AB’C+A’B’C =ABC+AB’C+ABC’+AB’C’+A’B’C = m7+m5+m6+m4+m1 = 𝑚(1,4,5,6,7)
  • 10.
  • 11. • Canonical SoP form • Canonical SoP form means Canonical Sum of Products form. In this form, each product term contains all literals. So, these product terms are nothing but the min terms. Hence, canonical SoP form is also called as sum of min terms form. • Standard SoP form means Standard Sum of Products form. In this form, each product term need not contain all literals. So, the product terms may or may not be the min terms. Therefore, the Standard SoP form is the simplified form of canonical SoP form. • Similarly for POS forms • A literal is a single variable within a term which may or may not be complemented.
  • 12.
  • 13. K Map (Karnaugh Map) • In many digital circuits and practical problems we need to find expression with minimum variables. • We can minimize Boolean expressions of 2, 3, 4 variables very easily using K-map without using any Boolean algebra theorems. • K-map can take two forms Sum of Product (SOP) and Product of Sum (POS) according to the need of problem. K-map is table like representation but it gives more information than TRUTH TABLE
  • 14. Gray Code: binary numeral system such that two successive values differ in only one bit (binary digit)
  • 16. 3 variable Kmap m0 m1 m3 1 m2 1 m4 1 m5 1 m7 m6 yz 00 01 11 10 x 0 1 F(x,y,z)=∑(2,3,4,5) xy’ x’y • One square represents one minterm, giving a term with 3 literals. • Two adjacent squares can be combined to a single term with 2 literals • Four adjacent squares can be combined to a single terms with 1 literal. • Eight adjacent squares encompass the whole map and can be combined to form a function that is always 1.
  • 17.
  • 19.
  • 20. Prime Implicants and Essential PI (see pdf)
  • 21.
  • 22. 4 variable K map (Example) a= F1 (A,B,C,D) =∑(0,2,3,5,6, 7,8,9) + d ∑(10,11,12,13,14,15)
  • 23.
  • 25.
  • 26. Implementation of Function in SOP form Implement the Boolean Function with NAND gates F=xy’+x’y+z x x’ y y’ z x’ y’ x z y z x y' x' y Stage 1 Stage 2 Stage 3 DeMorgan’s th. 5 b) (AB)’ =A’+B’
  • 27. Implementation of function POS form F=(A+B)(C+D)E A B C D E A C B E D A C D E B
  • 28.
  • 29. A B C D F 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 1 1 0 0 1 0 0 1 0 1 0 1 0 0 1 1 0 0 0 1 1 1 0 1 0 0 0 1 1 0 0 1 1 1 0 1 0 1 1 0 1 1 1 1 1 0 0 1 1 1 0 1 0 1 1 1 0 1 1 1 1 1 0