SlideShare a Scribd company logo
1 of 19
Boolean Differences
Examples
Fault Diagnosis and Failure Tolerance
Alexander Kwasi Amoah
Kwame Nkrumah University of Science and Technology
Department of Computer Engineering, Student
4th May 2017
Outline
Boolean Difference in Simple Terms Illustration
Example A
 Dealing with faulty primary input
Example B
 Dealing with faulty internal node
Example C
 When faults cannot be detected by any input vector
2
Boolean Difference in Simple Terms Illustration3
Example A - Dealing with faulty primary input
Using Boolean Difference, create a test for the circuit shown below with a fault y SA0
4
Example A - Solution
 Objective: Find test vectors that can test for SA0 at node y using Boolean
Difference method
 Output of fault-free circuit, f, is given by 𝑓 = 𝑥. 𝑦 + 𝑦. 𝑧
 Output of the faulted circuit (y SA0. i.e. put y = 0) is given as
𝑔 = 𝑥. 𝑦 + 𝑦. 𝑧 = 𝑧
 Next, we compute T as 𝑇 = 𝑓⨁𝑔 = 𝑓𝑔 + 𝑓 𝑔, where T = Test
 : 𝑇 = 𝑥. 𝑦 + 𝑦. 𝑧 𝑧 + 𝑥. 𝑦 + 𝑦. 𝑧 𝑧
 : 𝑇 = 𝑥. 𝑦 𝑦. 𝑧 𝑧 + 𝑥. 𝑦. 𝑧
5
Example A – Solution : cont.
 : 𝑇 = 𝑥 + 𝑦 𝑦 + 𝑧 𝑧 + 𝑥. 𝑦. 𝑧
 : 𝑇 = 𝑥 + 𝑦 𝑦 + 𝑧 𝑧 + 𝑥. 𝑦. 𝑧
 : 𝑇 = 𝑥 + 𝑦 𝑦𝑧 + 𝑥. 𝑦. 𝑧
 : 𝑇 = 𝑥𝑦𝑧 + 𝑥𝑦 𝑧
 But T must be a 1 for the required test vectors distinguishing between the
two circuits:  𝑇 = 𝑥𝑦𝑧 + 𝑥𝑦 𝑧 = 1
 For y SA0 we let y = 1
 : 𝑇 = 𝑥𝑧 + 𝑥 𝑧 = 1
6
Example A – Solution : Truth Table for T7
Truth Table for 𝑻 = 𝒙𝒛 + 𝒙 𝒛 T = 1 Note that y = 1
x z 𝒙 𝒛 𝒙𝒛 𝒙 𝒛 𝑻 = 𝒙𝒛 + 𝒙 𝒛 Condition Satisfied Required Test Vector (xyz)
0 0 1 1 0 0 0 No -
0 1 1 0 1 0 1 Yes 011
1 0 0 1 0 1 1 Yes 110
1 1 0 0 0 0 0 No -
Thus a test has been successfully created to test the circuit at SA0 at node y. Meaning
that applying the test vectors identified, (011 and 110), different outputs will be
realized for the two circuits as shown in the figure on next slide
Example A – Solution : 0s and 1s Application8
Example A – Solution : 0s and 1s Application, cont.9
Example B - Dealing with faulty internal node
Using Boolean Difference, create a test for the circuit shown below with a fault w SA0
10
Example B - Solution
 Objective: Find test vectors that can test for SA0 at node w using Boolean
Difference method
 Output of fault-free circuit, f, is given by 𝑓 = 𝑥. 𝑦 + 𝑦. 𝑧
 Output of the faulted circuit (w SA0. i.e. put 𝑤 = 𝑦. 𝑧 = 0) is given as
𝑔 = 𝑥. 𝑦
 Next, we compute T as 𝑇 = 𝑓⨁𝑔 = 𝑓𝑔 + 𝑓 𝑔, where T = Test
 : 𝑇 = 𝑓⨁𝑔 = 𝑥. 𝑦 + 𝑦. 𝑧 𝑥. 𝑦 + (𝑥. 𝑦 + 𝑦. 𝑧)𝑥. 𝑦
 : 𝑇 = (𝑥. 𝑦)( 𝑦. 𝑧)𝑥. 𝑦 + (𝑥. 𝑦 + 𝑦. 𝑧)𝑥. 𝑦
11
Example B – Solution : cont.
 : 𝑇 = ( 𝑥 + 𝑦)(𝑦 + 𝑧)𝑥. 𝑦 + (𝑥. 𝑦 + 𝑦. 𝑧)( 𝑥 + 𝑦)
 : 𝑇 = 𝑥. 𝑦. 𝑧 + 𝑦. 𝑧
 : 𝑇 = 𝑦. 𝑧( 𝑥 + 1)
 : 𝑇 = 𝑦. 𝑧
 But T must be a 1 for the required test vectors distinguishing between the
two circuits:  𝑇 = 𝑦. 𝑧 = 1
 For w SA0 we let 𝑤 = 𝑦. 𝑧 = 1
 : 𝑇 = 𝑤 = 𝑦. 𝑧 = 1
12
Example B – Solution : Truth Table for T13
Truth Table for 𝑻 = 𝒚. 𝒛 T = 1 Note that x = X
y z 𝒚 𝑻 = 𝑦. 𝑧 Condition Satisfied Required Test Vector (xyz)
0 0 1 0 No -
0 1 1 1 Yes X01
1 0 0 0 No -
1 1 0 0 No -
Thus a test has been successfully (Test Vectors = 001 and 101) created to test the
circuit at SA0 at node w. Meaning that applying the test vectors identified, different
outputs will be realized for the two circuits as shown in the figure on next slide
Example B – Solution : 0s and 1s Application14
Example B – Solution : 0s and 1s Application, cont.15
Example C - When faults cannot be detected by any input vector
Using Boolean Difference, create a test for the circuit shown below with a fault z SA0
16
Example C - Solution
 Objective: Find test vectors that can test for SA0 at node z using Boolean
Difference method
 Output of fault-free circuit, f, is given by
𝑓 = 𝑥. 𝑦 + 𝑥. 𝑦. 𝑧 = 𝑥. 𝑦(1 + 𝑧) = 𝑥. 𝑦
 Output of the faulted circuit (z SA0. i.e. put 𝑧 = 0) is given as 𝑔 = 𝑥. 𝑦
 Next, we compute T as 𝑇 = 𝑓⨁𝑔 = 𝑓𝑔 + 𝑓 𝑔, where T = Test
 : 𝑇 = 𝑓⨁𝑔 = 𝑥. 𝑦 𝑥. 𝑦 + 𝑥. 𝑦 𝑥. 𝑦 = 0
 The condition for testability (𝑓⨁𝑔 = 1) cannot be satisfied, hence, the
fault is undetectable
17
Example C – Solution : Confirmation18
19 Differential Fault
Fault ListIntersection
Deductive Simulation
Thank you
Not leaving without saying a big…
Presentation by
Alexander K. Amoah

More Related Content

What's hot

Unit 2 samplesolutions
Unit 2 samplesolutionsUnit 2 samplesolutions
Unit 2 samplesolutionsAbha Tripathi
 
Digital Logic Design.pptx
Digital Logic Design.pptxDigital Logic Design.pptx
Digital Logic Design.pptxAminaZahid16
 
Zigbee based two way wireless chatting system
Zigbee based two way wireless chatting systemZigbee based two way wireless chatting system
Zigbee based two way wireless chatting systemShashidhar Reddy
 
Session 6 sv_randomization
Session 6 sv_randomizationSession 6 sv_randomization
Session 6 sv_randomizationNirav Desai
 
[Best]Chromatic Tuner Project Final Report
[Best]Chromatic Tuner Project Final Report[Best]Chromatic Tuner Project Final Report
[Best]Chromatic Tuner Project Final ReportNicholas Ambrosio
 
Circuit theory 1 finals
Circuit theory 1 finalsCircuit theory 1 finals
Circuit theory 1 finalsjerbor
 
Notions de base de l’électricité
Notions de base de l’électricitéNotions de base de l’électricité
Notions de base de l’électricitémorin moli
 
Led Flasher Using 555 Timer IC
Led Flasher Using 555 Timer ICLed Flasher Using 555 Timer IC
Led Flasher Using 555 Timer ICdesigntech13
 
Digital Electronics Lab
Digital Electronics LabDigital Electronics Lab
Digital Electronics LabCyber4Tech
 
"BCD TO 7 SEGMENT DISPLAY DECODER"
"BCD TO 7 SEGMENT DISPLAY DECODER""BCD TO 7 SEGMENT DISPLAY DECODER"
"BCD TO 7 SEGMENT DISPLAY DECODER"FAIZAN SHAFI
 
IOT BASED POWER GRID MONITORING & CONTROL SYSTEM
IOT BASED POWER GRID MONITORING & CONTROL SYSTEMIOT BASED POWER GRID MONITORING & CONTROL SYSTEM
IOT BASED POWER GRID MONITORING & CONTROL SYSTEMvivatechijri
 
Lecture 2: Power Diodes
Lecture 2: Power DiodesLecture 2: Power Diodes
Lecture 2: Power Diodesaadesharya
 
Degital 1
Degital 1Degital 1
Degital 1hnaita
 

What's hot (20)

Amba presentation2
Amba presentation2Amba presentation2
Amba presentation2
 
Switches and LEDs interface to the 8051 microcontroller
Switches and LEDs interface to the 8051 microcontrollerSwitches and LEDs interface to the 8051 microcontroller
Switches and LEDs interface to the 8051 microcontroller
 
Unit 2 samplesolutions
Unit 2 samplesolutionsUnit 2 samplesolutions
Unit 2 samplesolutions
 
Digital Logic Design.pptx
Digital Logic Design.pptxDigital Logic Design.pptx
Digital Logic Design.pptx
 
Zigbee based two way wireless chatting system
Zigbee based two way wireless chatting systemZigbee based two way wireless chatting system
Zigbee based two way wireless chatting system
 
Sinusoids.pptx
Sinusoids.pptxSinusoids.pptx
Sinusoids.pptx
 
Session 6 sv_randomization
Session 6 sv_randomizationSession 6 sv_randomization
Session 6 sv_randomization
 
[Best]Chromatic Tuner Project Final Report
[Best]Chromatic Tuner Project Final Report[Best]Chromatic Tuner Project Final Report
[Best]Chromatic Tuner Project Final Report
 
Circuit lab 4 verification of ohm's law@taj
Circuit lab 4  verification of ohm's law@tajCircuit lab 4  verification of ohm's law@taj
Circuit lab 4 verification of ohm's law@taj
 
Circuit theory 1 finals
Circuit theory 1 finalsCircuit theory 1 finals
Circuit theory 1 finals
 
Notions de base de l’électricité
Notions de base de l’électricitéNotions de base de l’électricité
Notions de base de l’électricité
 
4 bit add sub
4 bit add sub4 bit add sub
4 bit add sub
 
Led Flasher Using 555 Timer IC
Led Flasher Using 555 Timer ICLed Flasher Using 555 Timer IC
Led Flasher Using 555 Timer IC
 
Network theorem part 1
Network theorem part 1Network theorem part 1
Network theorem part 1
 
Digital Electronics Lab
Digital Electronics LabDigital Electronics Lab
Digital Electronics Lab
 
"BCD TO 7 SEGMENT DISPLAY DECODER"
"BCD TO 7 SEGMENT DISPLAY DECODER""BCD TO 7 SEGMENT DISPLAY DECODER"
"BCD TO 7 SEGMENT DISPLAY DECODER"
 
IOT BASED POWER GRID MONITORING & CONTROL SYSTEM
IOT BASED POWER GRID MONITORING & CONTROL SYSTEMIOT BASED POWER GRID MONITORING & CONTROL SYSTEM
IOT BASED POWER GRID MONITORING & CONTROL SYSTEM
 
Lecture 2: Power Diodes
Lecture 2: Power DiodesLecture 2: Power Diodes
Lecture 2: Power Diodes
 
Degital 1
Degital 1Degital 1
Degital 1
 
Diode
DiodeDiode
Diode
 

Similar to Boolean difference examples

Testing boolean difference
Testing boolean differenceTesting boolean difference
Testing boolean differenceAnish Gupta
 
Homework 6 solution
Homework 6 solutionHomework 6 solution
Homework 6 solutionLama K Banna
 
Homework 6 solution
Homework 6 solutionHomework 6 solution
Homework 6 solutionLama K Banna
 
power system analysis lecture 1
power system analysis lecture 1power system analysis lecture 1
power system analysis lecture 1Audih Alfaoury
 
Resolução.física sears zemansky 12ª edição young e freedman (todos os...
Resolução.física   sears   zemansky   12ª edição   young e freedman (todos os...Resolução.física   sears   zemansky   12ª edição   young e freedman (todos os...
Resolução.física sears zemansky 12ª edição young e freedman (todos os...ASTRIDEDECARVALHOMAG
 
system of algebraic equation by Iteration method
system of algebraic equation by Iteration methodsystem of algebraic equation by Iteration method
system of algebraic equation by Iteration methodAkhtar Kamal
 
Gate ee 2007 with solutions
Gate ee 2007 with solutionsGate ee 2007 with solutions
Gate ee 2007 with solutionskhemraj298
 
Curve fitting - Lecture Notes
Curve fitting - Lecture NotesCurve fitting - Lecture Notes
Curve fitting - Lecture NotesDr. Nirav Vyas
 
Finite Volume Method Advanced Numerical Analysis by Md.Al-Amin
Finite Volume Method Advanced Numerical Analysis by Md.Al-AminFinite Volume Method Advanced Numerical Analysis by Md.Al-Amin
Finite Volume Method Advanced Numerical Analysis by Md.Al-AminMd. Al-Amin
 
130 problemas dispositivos electronicos lopez meza brayan
130 problemas dispositivos electronicos lopez meza brayan130 problemas dispositivos electronicos lopez meza brayan
130 problemas dispositivos electronicos lopez meza brayanbrandwin marcelo lavado
 
Signal Processing Lab Report
Signal Processing Lab ReportSignal Processing Lab Report
Signal Processing Lab ReportTyler Mooney
 
Fault Analysis using Z Bus..pdf
Fault Analysis using Z Bus..pdfFault Analysis using Z Bus..pdf
Fault Analysis using Z Bus..pdfSaravanan A
 

Similar to Boolean difference examples (20)

Testing boolean difference
Testing boolean differenceTesting boolean difference
Testing boolean difference
 
Homework 6 solution
Homework 6 solutionHomework 6 solution
Homework 6 solution
 
Homework 6 solution
Homework 6 solutionHomework 6 solution
Homework 6 solution
 
power system analysis lecture 1
power system analysis lecture 1power system analysis lecture 1
power system analysis lecture 1
 
Parcial asincrona (2)
Parcial asincrona (2)Parcial asincrona (2)
Parcial asincrona (2)
 
Parcial asincrona
Parcial asincronaParcial asincrona
Parcial asincrona
 
Assignmentl3 solutions
Assignmentl3 solutionsAssignmentl3 solutions
Assignmentl3 solutions
 
Solution a ph o 1
Solution a ph o 1Solution a ph o 1
Solution a ph o 1
 
Resolução.física sears zemansky 12ª edição young e freedman (todos os...
Resolução.física   sears   zemansky   12ª edição   young e freedman (todos os...Resolução.física   sears   zemansky   12ª edição   young e freedman (todos os...
Resolução.física sears zemansky 12ª edição young e freedman (todos os...
 
system of algebraic equation by Iteration method
system of algebraic equation by Iteration methodsystem of algebraic equation by Iteration method
system of algebraic equation by Iteration method
 
Arithmatic &Logic Unit
Arithmatic &Logic UnitArithmatic &Logic Unit
Arithmatic &Logic Unit
 
Home assignment 1
Home assignment 1Home assignment 1
Home assignment 1
 
Three phase System
Three phase SystemThree phase System
Three phase System
 
Sheet no 1
Sheet no 1Sheet no 1
Sheet no 1
 
Gate ee 2007 with solutions
Gate ee 2007 with solutionsGate ee 2007 with solutions
Gate ee 2007 with solutions
 
Curve fitting - Lecture Notes
Curve fitting - Lecture NotesCurve fitting - Lecture Notes
Curve fitting - Lecture Notes
 
Finite Volume Method Advanced Numerical Analysis by Md.Al-Amin
Finite Volume Method Advanced Numerical Analysis by Md.Al-AminFinite Volume Method Advanced Numerical Analysis by Md.Al-Amin
Finite Volume Method Advanced Numerical Analysis by Md.Al-Amin
 
130 problemas dispositivos electronicos lopez meza brayan
130 problemas dispositivos electronicos lopez meza brayan130 problemas dispositivos electronicos lopez meza brayan
130 problemas dispositivos electronicos lopez meza brayan
 
Signal Processing Lab Report
Signal Processing Lab ReportSignal Processing Lab Report
Signal Processing Lab Report
 
Fault Analysis using Z Bus..pdf
Fault Analysis using Z Bus..pdfFault Analysis using Z Bus..pdf
Fault Analysis using Z Bus..pdf
 

Recently uploaded

8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...josephjonse
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesChandrakantDivate1
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiessarkmank1
 
INTERRUPT CONTROLLER 8259 MICROPROCESSOR
INTERRUPT CONTROLLER 8259 MICROPROCESSORINTERRUPT CONTROLLER 8259 MICROPROCESSOR
INTERRUPT CONTROLLER 8259 MICROPROCESSORTanishkaHira1
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information SystemsAnge Felix NSANZIYERA
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelDrAjayKumarYadav4
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdfKamal Acharya
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Stationsiddharthteach18
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)ChandrakantDivate1
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxMustafa Ahmed
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxKarpagam Institute of Teechnology
 
Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...
Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...
Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...Payal Garg #K09
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...archanaece3
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...ronahami
 
Adsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptAdsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptjigup7320
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementDr. Deepak Mudgal
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docxrahulmanepalli02
 
Working Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdfWorking Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdfSkNahidulIslamShrabo
 
TMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdf
TMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdf
TMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdfssuserded2d4
 

Recently uploaded (20)

8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
INTERRUPT CONTROLLER 8259 MICROPROCESSOR
INTERRUPT CONTROLLER 8259 MICROPROCESSORINTERRUPT CONTROLLER 8259 MICROPROCESSOR
INTERRUPT CONTROLLER 8259 MICROPROCESSOR
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information Systems
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata Model
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdf
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Station
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptx
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...
Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...
Unsatisfied Bhabhi ℂall Girls Ahmedabad Book Esha 6378878445 Top Class ℂall G...
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 
Adsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptAdsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) ppt
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
 
Working Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdfWorking Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdf
 
TMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdf
TMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdf
TMU_GDSC_20240509.pdfTMU_GDSC_20240509.pdf
 

Boolean difference examples

  • 1. Boolean Differences Examples Fault Diagnosis and Failure Tolerance Alexander Kwasi Amoah Kwame Nkrumah University of Science and Technology Department of Computer Engineering, Student 4th May 2017
  • 2. Outline Boolean Difference in Simple Terms Illustration Example A  Dealing with faulty primary input Example B  Dealing with faulty internal node Example C  When faults cannot be detected by any input vector 2
  • 3. Boolean Difference in Simple Terms Illustration3
  • 4. Example A - Dealing with faulty primary input Using Boolean Difference, create a test for the circuit shown below with a fault y SA0 4
  • 5. Example A - Solution  Objective: Find test vectors that can test for SA0 at node y using Boolean Difference method  Output of fault-free circuit, f, is given by 𝑓 = 𝑥. 𝑦 + 𝑦. 𝑧  Output of the faulted circuit (y SA0. i.e. put y = 0) is given as 𝑔 = 𝑥. 𝑦 + 𝑦. 𝑧 = 𝑧  Next, we compute T as 𝑇 = 𝑓⨁𝑔 = 𝑓𝑔 + 𝑓 𝑔, where T = Test  : 𝑇 = 𝑥. 𝑦 + 𝑦. 𝑧 𝑧 + 𝑥. 𝑦 + 𝑦. 𝑧 𝑧  : 𝑇 = 𝑥. 𝑦 𝑦. 𝑧 𝑧 + 𝑥. 𝑦. 𝑧 5
  • 6. Example A – Solution : cont.  : 𝑇 = 𝑥 + 𝑦 𝑦 + 𝑧 𝑧 + 𝑥. 𝑦. 𝑧  : 𝑇 = 𝑥 + 𝑦 𝑦 + 𝑧 𝑧 + 𝑥. 𝑦. 𝑧  : 𝑇 = 𝑥 + 𝑦 𝑦𝑧 + 𝑥. 𝑦. 𝑧  : 𝑇 = 𝑥𝑦𝑧 + 𝑥𝑦 𝑧  But T must be a 1 for the required test vectors distinguishing between the two circuits:  𝑇 = 𝑥𝑦𝑧 + 𝑥𝑦 𝑧 = 1  For y SA0 we let y = 1  : 𝑇 = 𝑥𝑧 + 𝑥 𝑧 = 1 6
  • 7. Example A – Solution : Truth Table for T7 Truth Table for 𝑻 = 𝒙𝒛 + 𝒙 𝒛 T = 1 Note that y = 1 x z 𝒙 𝒛 𝒙𝒛 𝒙 𝒛 𝑻 = 𝒙𝒛 + 𝒙 𝒛 Condition Satisfied Required Test Vector (xyz) 0 0 1 1 0 0 0 No - 0 1 1 0 1 0 1 Yes 011 1 0 0 1 0 1 1 Yes 110 1 1 0 0 0 0 0 No - Thus a test has been successfully created to test the circuit at SA0 at node y. Meaning that applying the test vectors identified, (011 and 110), different outputs will be realized for the two circuits as shown in the figure on next slide
  • 8. Example A – Solution : 0s and 1s Application8
  • 9. Example A – Solution : 0s and 1s Application, cont.9
  • 10. Example B - Dealing with faulty internal node Using Boolean Difference, create a test for the circuit shown below with a fault w SA0 10
  • 11. Example B - Solution  Objective: Find test vectors that can test for SA0 at node w using Boolean Difference method  Output of fault-free circuit, f, is given by 𝑓 = 𝑥. 𝑦 + 𝑦. 𝑧  Output of the faulted circuit (w SA0. i.e. put 𝑤 = 𝑦. 𝑧 = 0) is given as 𝑔 = 𝑥. 𝑦  Next, we compute T as 𝑇 = 𝑓⨁𝑔 = 𝑓𝑔 + 𝑓 𝑔, where T = Test  : 𝑇 = 𝑓⨁𝑔 = 𝑥. 𝑦 + 𝑦. 𝑧 𝑥. 𝑦 + (𝑥. 𝑦 + 𝑦. 𝑧)𝑥. 𝑦  : 𝑇 = (𝑥. 𝑦)( 𝑦. 𝑧)𝑥. 𝑦 + (𝑥. 𝑦 + 𝑦. 𝑧)𝑥. 𝑦 11
  • 12. Example B – Solution : cont.  : 𝑇 = ( 𝑥 + 𝑦)(𝑦 + 𝑧)𝑥. 𝑦 + (𝑥. 𝑦 + 𝑦. 𝑧)( 𝑥 + 𝑦)  : 𝑇 = 𝑥. 𝑦. 𝑧 + 𝑦. 𝑧  : 𝑇 = 𝑦. 𝑧( 𝑥 + 1)  : 𝑇 = 𝑦. 𝑧  But T must be a 1 for the required test vectors distinguishing between the two circuits:  𝑇 = 𝑦. 𝑧 = 1  For w SA0 we let 𝑤 = 𝑦. 𝑧 = 1  : 𝑇 = 𝑤 = 𝑦. 𝑧 = 1 12
  • 13. Example B – Solution : Truth Table for T13 Truth Table for 𝑻 = 𝒚. 𝒛 T = 1 Note that x = X y z 𝒚 𝑻 = 𝑦. 𝑧 Condition Satisfied Required Test Vector (xyz) 0 0 1 0 No - 0 1 1 1 Yes X01 1 0 0 0 No - 1 1 0 0 No - Thus a test has been successfully (Test Vectors = 001 and 101) created to test the circuit at SA0 at node w. Meaning that applying the test vectors identified, different outputs will be realized for the two circuits as shown in the figure on next slide
  • 14. Example B – Solution : 0s and 1s Application14
  • 15. Example B – Solution : 0s and 1s Application, cont.15
  • 16. Example C - When faults cannot be detected by any input vector Using Boolean Difference, create a test for the circuit shown below with a fault z SA0 16
  • 17. Example C - Solution  Objective: Find test vectors that can test for SA0 at node z using Boolean Difference method  Output of fault-free circuit, f, is given by 𝑓 = 𝑥. 𝑦 + 𝑥. 𝑦. 𝑧 = 𝑥. 𝑦(1 + 𝑧) = 𝑥. 𝑦  Output of the faulted circuit (z SA0. i.e. put 𝑧 = 0) is given as 𝑔 = 𝑥. 𝑦  Next, we compute T as 𝑇 = 𝑓⨁𝑔 = 𝑓𝑔 + 𝑓 𝑔, where T = Test  : 𝑇 = 𝑓⨁𝑔 = 𝑥. 𝑦 𝑥. 𝑦 + 𝑥. 𝑦 𝑥. 𝑦 = 0  The condition for testability (𝑓⨁𝑔 = 1) cannot be satisfied, hence, the fault is undetectable 17
  • 18. Example C – Solution : Confirmation18
  • 19. 19 Differential Fault Fault ListIntersection Deductive Simulation Thank you Not leaving without saying a big… Presentation by Alexander K. Amoah

Editor's Notes

  1. Outline of the presentation
  2. Boolean Differences In this method, an equation describes the set of tests for a given fault. The equation is usually quite complex, and a large part of the work involves reducing the equation to a manageable size. Given a function 𝐹 that describes the behavior of a digital circuit, if a fault occurs that transforms the circuit into another circuit whose behavior is expressed by 𝐹 ∗ , then the 1-points of the function 𝑇, 𝑇 = 𝐹 ⊕ 𝐹 ∗ = 𝐹 𝐹 ∗ +𝐹 𝐹 ∗ define the complete set of tests capable of distinguishing between 𝐹 and 𝐹 ∗ .
  3. For instance when you take the vectors like xyz = (111) and (001), one cannot tell the output difference of the fault free and faulted circuits, as shown in the figures below
  4. Merci