SlideShare a Scribd company logo
1 of 3
Download to read offline
5_KARNAUGH.doc 1/3
TRAITEMENT DE L’INFORMATION
TABLEAUX DE KARNAUGH
Situation dans le système automatisé
Les informations issus
de la fonction
« acquérir » doivent être
TRAITEES puis
communiquées à
l’environnement
(préactionneurs ou HMI)
ACQUERIR TRAITER COMMUNIQUER
Chaîne d'information
Ordres
Infos vers autres PC et interfaces H/M
Grandeurs physiques à acquérir
Infos en provenance d'interfaces H/M
1 Introduction
Maurice KARNAUGH, Mathématicien, professeur d’informatique à l’institut polytechnique de New York (de 1980 à
1999) est l’inventeur du diagramme de KARNAUGH en logique (1950) et le co-inventeur des premiers circuits
logiques.
Dans le cours précédent sur la logique booléenne nous avons vu qu’il était possible de simplifier une équation en
utilisant les relations de l’algèbre de BOOLE.
Le tableau de KARNAUGH va nous permettre d’effectuer des simplifications par une méthode semi graphique
parfois plus rapide que la méthode algébrique.
2 Construction du tableau de KARNAUGH
• C’est un tableau de 2n
cases, n étant le nombre de variables de la
fonction logique.
• Sur les lignes et colonnes, on représente l’état des variables d’entrée
codées en binaire réfléchi (code GRAY)
• Le tableau est construit pour une variable de Sortie
• Chaque case représente une combinaison des entrées
S a
0 1
0 b
a b
a
b
1 b
a ab
S ab
00 01 11 10
0 c
b
a c
b
a c
ab c
b
a
c
1 c
b
a bc
a abc c
b
a
S ab
00 01 11 10
00 d
c
b
a d
c
b
a d
c
ab d
c
b
a
01 d
c
b
a d
c
b
a d
c
ab d
c
b
a
11 cd
b
a bcd
a abcd cd
b
a
cd
10 d
c
b
a d
bc
a d
abc d
c
b
a
S abc
000 001 011 010 110 111 101 100
0 d
c
b
a d
c
b
a d
bc
a d
c
b
a d
c
ab d
abc d
c
b
a d
c
b
a
d
1 d
c
b
a cd
b
a bcd
a d
c
b
a d
c
ab abcd cd
b
a d
c
b
a
Tableau à 2 variables
Tableau à 3 variables
Tableau à 4 variables Tableau à 4 variables
5_KARNAUGH.doc 2/3
3 Passage de la table de vérité au tableau de KARNAUGH
Une équation logique peut être représentée par une table de vérité ou un tableau de KARNAUGH.
Soit l’équation : c
b
c
b
a
ab
S +
+
=
a b c S
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 1
4 Simplification d’équations
La méthode consiste à réaliser des groupements de CASES ADJACENTES contenant des 1 ou des 0. Un
groupement de 1 permet d’obtenir l’équation de S , un groupement de 0 permet d’obtenir l’équation S
Exemples de groupements
POSSIBLES IMPOSSIBLES
Règles :
• Le nombre de cases d’un groupement doit être égal à 1, 2 ,4 , …2n
• Les groupements doivent être les plus grands possibles
• Les groupements peuvent se chevaucher pour être les plus grands possibles.
• Dans chaque groupement on ne retient que les variables dont l’état ne change pas.
• Pour extraire l’équation de la fonction logique on ne retient que les variables dont l’état ne change pas à
l’intérieur d’un groupement et on effectue la somme logique (OU logique) de toutes les expressions
trouvées.
1 1
1
1
1 1
0
1
1
0
0 0
0
0
0 0
1 0
0
0
0 0
0
0
1
1
0 0
0
1
0 1
1 1
0
1
1 1
0
0
1
0
1 1
1
1
0 0
0 0
0
0
0 0
1
0
0
1
1 1
1
1
1 1
00 01 11 10
00
01
11
10
cd
ab
00 01 11 10
cd
ab
00
01
11
10
00 01 11 10
cd
ab
00
01
11
10
00 01 11 10
cd
ab
00
01
11
10
S S S S
S ab
00 01 11 10
0 0
0
1 0
c
1 1 0 1 1
Table de vérité Tableau de KARNAUGH
0 0
0
0
1 1
0
1
1
0
1 1
1
1
0 0
0 0
0
0
1 0
0
0
0
1
0 1
0
1
0 1
1 1
1
1
1 1
0
1
1
0
0 0
0
0
0 0
1 0
0
0
0 0
0
0
1
1
0 0
0
1
0 1
1 1
0
1
1 1
0
0
1
0
1 1
1
1
0 0
0 0
0
0
0 0
1
0
0
1
1 1
1
1
1 1
d
b
d
b c
ab d
c
b d ab d
b bd
d
b
d
b
S +
=
d
c
b
a
d
c
b
c
ab
S +
+
=
d
b
d
b
S +
=
d
b
d
b
S +
=
d
c
b
a
5_KARNAUGH.doc 3/3
o Un groupement de 1 case n’élimine aucune variable
o Un groupement de 2 cases élimine 1 variable
o Un groupement de 4 cases élimine 2 variables
o Un groupement de 8 cases élimine 3 variables
o ……
5 Exemple d’application
Un réservoir est alimenté par deux vannes V1 et V2.
On distingue trois niveaux : Sécurité (s), Bas (b), et Haut (h)
Lorsque le niveau est au dessous de (s), on ouvre les vannes V1 & V2
Lorsque le niveau est entre (s) et (b) on ouvre la vanne V1 seulement
Lorsque le niveau est entre (b) et (h) on ouvre la vanne V2 seulement
Lorsque le niveau est détecté par (h) on arrête les deux vannes.
QUESTION :
Déterminer les équations logiques d’ouverture des deux vannes V1 et V2
en fonction du niveau détecté par les 3 capteurs (s), (b), (h).
Nota : Lorsque le niveau est détecté par un capteur, sont état = 1
TABLE DE VERITE
X = Etat impossible
Equations issues de la table de vérité :
h
sb
h
b
s
V
h
b
s
h
b
s
V
+
=
+
=
2
1
TABLEAUX DE KARNAUGH
Il est possible d’utiliser les X dans les groupements puisque
Les combinaisons correspondantes sont impossibles dans
La réalité. On peut donc les considérer comme des 1 ou 0.
b
V =
1
h
b
s
V +
=
2
s b h V1 V2
0 0 0 1 1
0 0 1 X X
0 1 0 X X
0 1 1 X X
1 0 0 1 0
1 0 1 X X
1 1 0 0 1
1 1 1 0 0
s
b
h
V1 V2
X X
0
1
1
X
X 0
00 01 11 10
bh
0
1
s
V1
X X
1
1
0
X
X 0
00 01 11 10
bh
0
1
s
V2

More Related Content

Recently uploaded

Bolero. pptx . Film de A nnne Fontaine
Bolero. pptx . Film   de  A nnne FontaineBolero. pptx . Film   de  A nnne Fontaine
Bolero. pptx . Film de A nnne FontaineTxaruka
 
Computer Parts in French - Les parties de l'ordinateur.pptx
Computer Parts in French - Les parties de l'ordinateur.pptxComputer Parts in French - Les parties de l'ordinateur.pptx
Computer Parts in French - Les parties de l'ordinateur.pptxRayane619450
 
Cours ofppt du Trade-Marketing-Présentation.pdf
Cours ofppt du Trade-Marketing-Présentation.pdfCours ofppt du Trade-Marketing-Présentation.pdf
Cours ofppt du Trade-Marketing-Présentation.pdfachrafbrahimi1
 
Sidonie au Japon . pptx Un film français
Sidonie    au   Japon  .  pptx  Un film françaisSidonie    au   Japon  .  pptx  Un film français
Sidonie au Japon . pptx Un film françaisTxaruka
 
Boléro. pptx Film français réalisé par une femme.
Boléro.  pptx   Film   français   réalisé  par une  femme.Boléro.  pptx   Film   français   réalisé  par une  femme.
Boléro. pptx Film français réalisé par une femme.Txaruka
 
L'ÉVOLUTION DE L'ÉDUCATION AU BRÉSIL À TRAVERS L'HISTOIRE ET LES EXIGENCES DE...
L'ÉVOLUTION DE L'ÉDUCATION AU BRÉSIL À TRAVERS L'HISTOIRE ET LES EXIGENCES DE...L'ÉVOLUTION DE L'ÉDUCATION AU BRÉSIL À TRAVERS L'HISTOIRE ET LES EXIGENCES DE...
L'ÉVOLUTION DE L'ÉDUCATION AU BRÉSIL À TRAVERS L'HISTOIRE ET LES EXIGENCES DE...Faga1939
 
COURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdf
COURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdfCOURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdf
COURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdfabatanebureau
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI DẠY BUỔI 2) - TIẾNG ANH 6, 7 GLOBAL SUCCESS (2...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI DẠY BUỔI 2) - TIẾNG ANH 6, 7 GLOBAL SUCCESS (2...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI DẠY BUỔI 2) - TIẾNG ANH 6, 7 GLOBAL SUCCESS (2...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI DẠY BUỔI 2) - TIẾNG ANH 6, 7 GLOBAL SUCCESS (2...Nguyen Thanh Tu Collection
 
La nouvelle femme . pptx Film français
La   nouvelle   femme  . pptx  Film françaisLa   nouvelle   femme  . pptx  Film français
La nouvelle femme . pptx Film françaisTxaruka
 
Cours Préparation à l’ISO 27001 version 2022.pdf
Cours Préparation à l’ISO 27001 version 2022.pdfCours Préparation à l’ISO 27001 version 2022.pdf
Cours Préparation à l’ISO 27001 version 2022.pdfssuserc72852
 
Apolonia, Apolonia.pptx Film documentaire
Apolonia, Apolonia.pptx         Film documentaireApolonia, Apolonia.pptx         Film documentaire
Apolonia, Apolonia.pptx Film documentaireTxaruka
 
gestion des conflits dans les entreprises
gestion des  conflits dans les entreprisesgestion des  conflits dans les entreprises
gestion des conflits dans les entreprisesMajdaKtiri2
 

Recently uploaded (13)

Bolero. pptx . Film de A nnne Fontaine
Bolero. pptx . Film   de  A nnne FontaineBolero. pptx . Film   de  A nnne Fontaine
Bolero. pptx . Film de A nnne Fontaine
 
Computer Parts in French - Les parties de l'ordinateur.pptx
Computer Parts in French - Les parties de l'ordinateur.pptxComputer Parts in French - Les parties de l'ordinateur.pptx
Computer Parts in French - Les parties de l'ordinateur.pptx
 
Cours ofppt du Trade-Marketing-Présentation.pdf
Cours ofppt du Trade-Marketing-Présentation.pdfCours ofppt du Trade-Marketing-Présentation.pdf
Cours ofppt du Trade-Marketing-Présentation.pdf
 
Sidonie au Japon . pptx Un film français
Sidonie    au   Japon  .  pptx  Un film françaisSidonie    au   Japon  .  pptx  Un film français
Sidonie au Japon . pptx Un film français
 
Boléro. pptx Film français réalisé par une femme.
Boléro.  pptx   Film   français   réalisé  par une  femme.Boléro.  pptx   Film   français   réalisé  par une  femme.
Boléro. pptx Film français réalisé par une femme.
 
L'ÉVOLUTION DE L'ÉDUCATION AU BRÉSIL À TRAVERS L'HISTOIRE ET LES EXIGENCES DE...
L'ÉVOLUTION DE L'ÉDUCATION AU BRÉSIL À TRAVERS L'HISTOIRE ET LES EXIGENCES DE...L'ÉVOLUTION DE L'ÉDUCATION AU BRÉSIL À TRAVERS L'HISTOIRE ET LES EXIGENCES DE...
L'ÉVOLUTION DE L'ÉDUCATION AU BRÉSIL À TRAVERS L'HISTOIRE ET LES EXIGENCES DE...
 
COURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdf
COURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdfCOURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdf
COURS SVT 3 EME ANNEE COLLEGE 2EME SEM.pdf
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI DẠY BUỔI 2) - TIẾNG ANH 6, 7 GLOBAL SUCCESS (2...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI DẠY BUỔI 2) - TIẾNG ANH 6, 7 GLOBAL SUCCESS (2...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI DẠY BUỔI 2) - TIẾNG ANH 6, 7 GLOBAL SUCCESS (2...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI DẠY BUỔI 2) - TIẾNG ANH 6, 7 GLOBAL SUCCESS (2...
 
La nouvelle femme . pptx Film français
La   nouvelle   femme  . pptx  Film françaisLa   nouvelle   femme  . pptx  Film français
La nouvelle femme . pptx Film français
 
Cours Préparation à l’ISO 27001 version 2022.pdf
Cours Préparation à l’ISO 27001 version 2022.pdfCours Préparation à l’ISO 27001 version 2022.pdf
Cours Préparation à l’ISO 27001 version 2022.pdf
 
Apolonia, Apolonia.pptx Film documentaire
Apolonia, Apolonia.pptx         Film documentaireApolonia, Apolonia.pptx         Film documentaire
Apolonia, Apolonia.pptx Film documentaire
 
Evaluación Alumnos de Ecole Victor Hugo
Evaluación Alumnos de Ecole  Victor HugoEvaluación Alumnos de Ecole  Victor Hugo
Evaluación Alumnos de Ecole Victor Hugo
 
gestion des conflits dans les entreprises
gestion des  conflits dans les entreprisesgestion des  conflits dans les entreprises
gestion des conflits dans les entreprises
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

5_KARNAUGH_uowanq.pdf

  • 1. 5_KARNAUGH.doc 1/3 TRAITEMENT DE L’INFORMATION TABLEAUX DE KARNAUGH Situation dans le système automatisé Les informations issus de la fonction « acquérir » doivent être TRAITEES puis communiquées à l’environnement (préactionneurs ou HMI) ACQUERIR TRAITER COMMUNIQUER Chaîne d'information Ordres Infos vers autres PC et interfaces H/M Grandeurs physiques à acquérir Infos en provenance d'interfaces H/M 1 Introduction Maurice KARNAUGH, Mathématicien, professeur d’informatique à l’institut polytechnique de New York (de 1980 à 1999) est l’inventeur du diagramme de KARNAUGH en logique (1950) et le co-inventeur des premiers circuits logiques. Dans le cours précédent sur la logique booléenne nous avons vu qu’il était possible de simplifier une équation en utilisant les relations de l’algèbre de BOOLE. Le tableau de KARNAUGH va nous permettre d’effectuer des simplifications par une méthode semi graphique parfois plus rapide que la méthode algébrique. 2 Construction du tableau de KARNAUGH • C’est un tableau de 2n cases, n étant le nombre de variables de la fonction logique. • Sur les lignes et colonnes, on représente l’état des variables d’entrée codées en binaire réfléchi (code GRAY) • Le tableau est construit pour une variable de Sortie • Chaque case représente une combinaison des entrées S a 0 1 0 b a b a b 1 b a ab S ab 00 01 11 10 0 c b a c b a c ab c b a c 1 c b a bc a abc c b a S ab 00 01 11 10 00 d c b a d c b a d c ab d c b a 01 d c b a d c b a d c ab d c b a 11 cd b a bcd a abcd cd b a cd 10 d c b a d bc a d abc d c b a S abc 000 001 011 010 110 111 101 100 0 d c b a d c b a d bc a d c b a d c ab d abc d c b a d c b a d 1 d c b a cd b a bcd a d c b a d c ab abcd cd b a d c b a Tableau à 2 variables Tableau à 3 variables Tableau à 4 variables Tableau à 4 variables
  • 2. 5_KARNAUGH.doc 2/3 3 Passage de la table de vérité au tableau de KARNAUGH Une équation logique peut être représentée par une table de vérité ou un tableau de KARNAUGH. Soit l’équation : c b c b a ab S + + = a b c S 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 1 1 1 0 1 1 1 1 1 4 Simplification d’équations La méthode consiste à réaliser des groupements de CASES ADJACENTES contenant des 1 ou des 0. Un groupement de 1 permet d’obtenir l’équation de S , un groupement de 0 permet d’obtenir l’équation S Exemples de groupements POSSIBLES IMPOSSIBLES Règles : • Le nombre de cases d’un groupement doit être égal à 1, 2 ,4 , …2n • Les groupements doivent être les plus grands possibles • Les groupements peuvent se chevaucher pour être les plus grands possibles. • Dans chaque groupement on ne retient que les variables dont l’état ne change pas. • Pour extraire l’équation de la fonction logique on ne retient que les variables dont l’état ne change pas à l’intérieur d’un groupement et on effectue la somme logique (OU logique) de toutes les expressions trouvées. 1 1 1 1 1 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 1 0 1 1 1 0 1 1 1 0 0 1 0 1 1 1 1 0 0 0 0 0 0 0 0 1 0 0 1 1 1 1 1 1 1 00 01 11 10 00 01 11 10 cd ab 00 01 11 10 cd ab 00 01 11 10 00 01 11 10 cd ab 00 01 11 10 00 01 11 10 cd ab 00 01 11 10 S S S S S ab 00 01 11 10 0 0 0 1 0 c 1 1 0 1 1 Table de vérité Tableau de KARNAUGH 0 0 0 0 1 1 0 1 1 0 1 1 1 1 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 1 0 1 1 1 1 1 1 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 1 0 1 1 1 0 1 1 1 0 0 1 0 1 1 1 1 0 0 0 0 0 0 0 0 1 0 0 1 1 1 1 1 1 1 d b d b c ab d c b d ab d b bd d b d b S + = d c b a d c b c ab S + + = d b d b S + = d b d b S + = d c b a
  • 3. 5_KARNAUGH.doc 3/3 o Un groupement de 1 case n’élimine aucune variable o Un groupement de 2 cases élimine 1 variable o Un groupement de 4 cases élimine 2 variables o Un groupement de 8 cases élimine 3 variables o …… 5 Exemple d’application Un réservoir est alimenté par deux vannes V1 et V2. On distingue trois niveaux : Sécurité (s), Bas (b), et Haut (h) Lorsque le niveau est au dessous de (s), on ouvre les vannes V1 & V2 Lorsque le niveau est entre (s) et (b) on ouvre la vanne V1 seulement Lorsque le niveau est entre (b) et (h) on ouvre la vanne V2 seulement Lorsque le niveau est détecté par (h) on arrête les deux vannes. QUESTION : Déterminer les équations logiques d’ouverture des deux vannes V1 et V2 en fonction du niveau détecté par les 3 capteurs (s), (b), (h). Nota : Lorsque le niveau est détecté par un capteur, sont état = 1 TABLE DE VERITE X = Etat impossible Equations issues de la table de vérité : h sb h b s V h b s h b s V + = + = 2 1 TABLEAUX DE KARNAUGH Il est possible d’utiliser les X dans les groupements puisque Les combinaisons correspondantes sont impossibles dans La réalité. On peut donc les considérer comme des 1 ou 0. b V = 1 h b s V + = 2 s b h V1 V2 0 0 0 1 1 0 0 1 X X 0 1 0 X X 0 1 1 X X 1 0 0 1 0 1 0 1 X X 1 1 0 0 1 1 1 1 0 0 s b h V1 V2 X X 0 1 1 X X 0 00 01 11 10 bh 0 1 s V1 X X 1 1 0 X X 0 00 01 11 10 bh 0 1 s V2