SlideShare una empresa de Scribd logo
1 de 3
Descargar para leer sin conexión
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

Más contenido relacionado

Último

python-Cours Officiel POO Python-m103.pdf
python-Cours Officiel POO Python-m103.pdfpython-Cours Officiel POO Python-m103.pdf
python-Cours Officiel POO Python-m103.pdftrendingv83
 
Formation échiquéenne jwhyCHESS, parallèle avec la planification de projet
Formation échiquéenne jwhyCHESS, parallèle avec la planification de projetFormation échiquéenne jwhyCHESS, parallèle avec la planification de projet
Formation échiquéenne jwhyCHESS, parallèle avec la planification de projetJeanYvesMoine
 
L'expression du but : fiche et exercices niveau C1 FLE
L'expression du but : fiche et exercices  niveau C1 FLEL'expression du but : fiche et exercices  niveau C1 FLE
L'expression du but : fiche et exercices niveau C1 FLElebaobabbleu
 
Bilan énergétique des chambres froides.pdf
Bilan énergétique des chambres froides.pdfBilan énergétique des chambres froides.pdf
Bilan énergétique des chambres froides.pdfAmgdoulHatim
 
Apolonia, Apolonia.pptx Film documentaire
Apolonia, Apolonia.pptx         Film documentaireApolonia, Apolonia.pptx         Film documentaire
Apolonia, Apolonia.pptx Film documentaireTxaruka
 
les_infections_a_streptocoques.pptkioljhk
les_infections_a_streptocoques.pptkioljhkles_infections_a_streptocoques.pptkioljhk
les_infections_a_streptocoques.pptkioljhkRefRama
 
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
 
Neuvaine de la Pentecôte avec des textes de saint Jean Eudes
Neuvaine de la Pentecôte avec des textes de saint Jean EudesNeuvaine de la Pentecôte avec des textes de saint Jean Eudes
Neuvaine de la Pentecôte avec des textes de saint Jean EudesUnidad de Espiritualidad Eudista
 
L application de la physique classique dans le golf.pptx
L application de la physique classique dans le golf.pptxL application de la physique classique dans le golf.pptx
L application de la physique classique dans le golf.pptxhamzagame
 
Cours Généralités sur les systèmes informatiques
Cours Généralités sur les systèmes informatiquesCours Généralités sur les systèmes informatiques
Cours Généralités sur les systèmes informatiquesMohammedAmineHatoch
 
Intégration des TICE dans l'enseignement de la Physique-Chimie.pptx
Intégration des TICE dans l'enseignement de la Physique-Chimie.pptxIntégration des TICE dans l'enseignement de la Physique-Chimie.pptx
Intégration des TICE dans l'enseignement de la Physique-Chimie.pptxabdououanighd
 
Copie de Engineering Software Marketing Plan by Slidesgo.pptx.pptx
Copie de Engineering Software Marketing Plan by Slidesgo.pptx.pptxCopie de Engineering Software Marketing Plan by Slidesgo.pptx.pptx
Copie de Engineering Software Marketing Plan by Slidesgo.pptx.pptxikospam0
 
RAPPORT DE STAGE D'INTERIM DE ATTIJARIWAFA BANK
RAPPORT DE STAGE D'INTERIM DE ATTIJARIWAFA BANKRAPPORT DE STAGE D'INTERIM DE ATTIJARIWAFA BANK
RAPPORT DE STAGE D'INTERIM DE ATTIJARIWAFA BANKNassimaMdh
 
Télécommunication et transport .pdfcours
Télécommunication et transport .pdfcoursTélécommunication et transport .pdfcours
Télécommunication et transport .pdfcourshalima98ahlmohamed
 
CompLit - Journal of European Literature, Arts and Society - n. 7 - Table of ...
CompLit - Journal of European Literature, Arts and Society - n. 7 - Table of ...CompLit - Journal of European Literature, Arts and Society - n. 7 - Table of ...
CompLit - Journal of European Literature, Arts and Society - n. 7 - Table of ...Universidad Complutense de Madrid
 

Último (16)

python-Cours Officiel POO Python-m103.pdf
python-Cours Officiel POO Python-m103.pdfpython-Cours Officiel POO Python-m103.pdf
python-Cours Officiel POO Python-m103.pdf
 
Formation échiquéenne jwhyCHESS, parallèle avec la planification de projet
Formation échiquéenne jwhyCHESS, parallèle avec la planification de projetFormation échiquéenne jwhyCHESS, parallèle avec la planification de projet
Formation échiquéenne jwhyCHESS, parallèle avec la planification de projet
 
L'expression du but : fiche et exercices niveau C1 FLE
L'expression du but : fiche et exercices  niveau C1 FLEL'expression du but : fiche et exercices  niveau C1 FLE
L'expression du but : fiche et exercices niveau C1 FLE
 
Bilan énergétique des chambres froides.pdf
Bilan énergétique des chambres froides.pdfBilan énergétique des chambres froides.pdf
Bilan énergétique des chambres froides.pdf
 
Apolonia, Apolonia.pptx Film documentaire
Apolonia, Apolonia.pptx         Film documentaireApolonia, Apolonia.pptx         Film documentaire
Apolonia, Apolonia.pptx Film documentaire
 
les_infections_a_streptocoques.pptkioljhk
les_infections_a_streptocoques.pptkioljhkles_infections_a_streptocoques.pptkioljhk
les_infections_a_streptocoques.pptkioljhk
 
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...
 
Neuvaine de la Pentecôte avec des textes de saint Jean Eudes
Neuvaine de la Pentecôte avec des textes de saint Jean EudesNeuvaine de la Pentecôte avec des textes de saint Jean Eudes
Neuvaine de la Pentecôte avec des textes de saint Jean Eudes
 
L application de la physique classique dans le golf.pptx
L application de la physique classique dans le golf.pptxL application de la physique classique dans le golf.pptx
L application de la physique classique dans le golf.pptx
 
Cours Généralités sur les systèmes informatiques
Cours Généralités sur les systèmes informatiquesCours Généralités sur les systèmes informatiques
Cours Généralités sur les systèmes informatiques
 
Echos libraries Burkina Faso newsletter 2024
Echos libraries Burkina Faso newsletter 2024Echos libraries Burkina Faso newsletter 2024
Echos libraries Burkina Faso newsletter 2024
 
Intégration des TICE dans l'enseignement de la Physique-Chimie.pptx
Intégration des TICE dans l'enseignement de la Physique-Chimie.pptxIntégration des TICE dans l'enseignement de la Physique-Chimie.pptx
Intégration des TICE dans l'enseignement de la Physique-Chimie.pptx
 
Copie de Engineering Software Marketing Plan by Slidesgo.pptx.pptx
Copie de Engineering Software Marketing Plan by Slidesgo.pptx.pptxCopie de Engineering Software Marketing Plan by Slidesgo.pptx.pptx
Copie de Engineering Software Marketing Plan by Slidesgo.pptx.pptx
 
RAPPORT DE STAGE D'INTERIM DE ATTIJARIWAFA BANK
RAPPORT DE STAGE D'INTERIM DE ATTIJARIWAFA BANKRAPPORT DE STAGE D'INTERIM DE ATTIJARIWAFA BANK
RAPPORT DE STAGE D'INTERIM DE ATTIJARIWAFA BANK
 
Télécommunication et transport .pdfcours
Télécommunication et transport .pdfcoursTélécommunication et transport .pdfcours
Télécommunication et transport .pdfcours
 
CompLit - Journal of European Literature, Arts and Society - n. 7 - Table of ...
CompLit - Journal of European Literature, Arts and Society - n. 7 - Table of ...CompLit - Journal of European Literature, Arts and Society - n. 7 - Table of ...
CompLit - Journal of European Literature, Arts and Society - n. 7 - Table of ...
 

Destacado

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
 

Destacado (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