Algébre de Bool
Algébre de Bool
Algébre de Bool
Module : Math
b) Schma lectrique :
a
b) Schma lectrique :
a
c) Equation : S a
d) Table de vrit :
a
0
1
e) Symbole logique.
S
0
1
c) Equation : S a b
d) Table de vrit :
a b
0 0
0 1
1 0
1 1
e) Symbole logique :
S
0
0
0
1
a
b
&
S a
b) Schma lectrique :
a
c) Equation : S a
d) Table de vrit :
a
0
1
M HISETTE 1
Equation
e) Symbole logique.
a
S a bc
1
Section : OMI
Module : Math
Table de vrit
a
0
0
0
0
1
1
1
1
b
0
0
1
1
0
0
1
1
c
0
1
0
1
0
1
0
1
c) Equation : S a b
Symbole logique
d) Table de vrit :
a
b
c
&
&
&
e) Symbole logique :
a b S
0 0 0
0 1 1
0 variables
1
f) Cas de1 trois
:
1 1 1
S abc
Equation
Table de vrit
a
0
0
0
0
1
1
1
1
b
0
0
1
1
0
0
1
1
c
0
1
0
1
0
1
0
1
Symbole logique
S
a
b
c
b) Equation : S a b
b) Equation : S a b
c) Table de vrit :
c) Table de vrit :
a b
0 0
0 1
1 0
1 1
M HISETTE
S
1
1
1
0
e) Symbole logique :
a
b
&
a b
0 0
0 1
1 0
1 1
S
1
0
0
0
e) Symbole logique :
a
b
Section : OMI
Module : Math
2.7 Fonction OU Eclusif.
a)
b)
Equation :
d) Table de vrit
a b
0 0
0 1
1 0
1 1
S ab
e) Symbole logique
S
0
1
1
0
a
b
= 1
3.2 Associativit.
a .( b .c ) ( a .b ).c ( a .c ).b a .b .c
a (b c) (a b) c (a c)b a b c
3.3 Distributivit
a .( b c ) ( a .b ) ( a .c )
a ( b .c ) ( a b ).( a c )
a .0 = 0
a + a = a
a .a = a
a + 1 = 1
M HISETTE
E q u a t io n
R e p r s e n t a t io n
le c t r iq u e
a + 0 = a
E q u a t io n
a + a = 1
a
a . 1 = a
a .a = 0
Section : OMI
Module : Math
4 THEOREMES DE DE MORGAN
4.1 Premier thorme :
aa
Exemple :
a b c a .b .c
a b a .b
a b a b
Exemple :
a .b .c a b c
a .b a b
USA
NON (Inverseur)
NOT
ET
&
AND
OU
OR
OU Exclusif
= 1
Exclusive OR
NON-ET
&
NAND
M HISETTE
a b
0 0
0 1
1 0
1 1
S
0
0
0
1
Section : OMI
Module : Math
NON-OU
NOR
6 La fonction logique.
6.1 Dfinition :
Une fonction logique est une application dans lensemble binaire.
Exemple :
a
0
( a ,b )
f 1(a)
f1
0 ,0
0,1
1 ,0
11
0
1
f2 (a )
f2
0
1
3 Variables
23 Lignes
f 3 a .b .c
f3
f 1 f2
Section : OMI
Module : Math
Remarque: f 2 a b
Exercice 2: Donner lexperession logique de f3.
a
0
0
0
0
1
1
1
1
b
0
0
1
1
0
0
1
1
c
0
1
0
1
0
1
0
1
f3
0
0
1
0
1
0
0
0
f 3 a .b .c a .b .c
b
0
0
1
1
0
0
1
1
c
0
1
0
1
0
1
0
1
a.b
0
0
0
0
0
0
1
1
a .c
1
0
1
0
0
0
0
0
f4
1
0
1
0
0
0
1
1
a
1
1
1
1
1
1
1
1
b
0
0
0
0
1
1
1
1
c
0
0
1
1
0
0
1
1
c
0
1
0
1
0
1
0
1
f6
0
0
0
1
0
1
1
0
M HISETTE
Section : OMI
Module : Math
6.4 Logigramme dune fonction logique.
Le logigramme est une reprsentation graphique dun fonction logique laide des symboles logiques des fonctions
de base.
Exemple: Donner le logigramme de f: f ab bc
&
&
Exercice 6: Le rsultat dune tude donne le logigramme suivant. Retrouver lexpression algbrique de f et
simplifier la si possible.
&
b
c
&
Directement :
g ( a a ).( a b )
g 1.( a b )
g ab
g a a .b
g ab
Nous avons une simplification en distribuant un therme, on appele cette simplification une simplification par
absorption.
On peut faire cette simplification si :
Exemple:
f a .( b b )
on met en facteur.
f a
M HISETTE
Section : OMI
Module : Math
On peut faire cette simplification si :
f 2 a a .b
f 3 b a .b .c
f 1 ( a a ).( a b )
f 1 1.( a b )
f 2 ( a a ).( a b )
f 2 1.( a b )
f 3 ( b b ).( b a .c )
f 3 1.( b a .c )
f1 ab
f 2 ab
f 3 b ac
f a b .( c c ) abc
f bc .( a a ) abc
f a b .1 abc
f bc abc
f a b abc
f b .( c ac )
f a .( b bc )
f b .(( c a ).( c c ))
f a .(( b b ).( b c ))
f b .( c a ) bc ab
f a .( b c ) a b ac
a
a
M HISETTE
+
1
Section : OMI
Module : Math
f bc a bcd
f bc a bd
S2
cd
00
cd
01
cd
11
cd
10
ab 00
ab 0 1
ab 11
ab 10
ab
cd
ou
S1
b
a
a
4 Variables
a
Code GRAY
000
001
011
010
110
111
101
100
Exemple de code GRAY.
Une seule variable change
chaque fois.
2 Variables
Mthode:
- On runit les 1er adjacents par groupe de 2, 4, 8 ect
-
Lquation du circuit est donne par la somme des produit des variables qui ne change pas
dtat dans chaque regroupement.
Donc S 1 b
S 2 bd a bd
Remarque: Une sortie /S est obtenue par lez regroupement des zros.
Exercice 1:
M HISETTE
S1 a
9
S 2 ad a d a d
Section : OMI
Module : Math
S1
S3
S2
bc
cd
S4
bc
00
01
11
10
00
01
11
10
00
01
11
10
00
01
11
10
ab
S 4 bc ab
S 3 bc ac d a bcd
S1 = 1 si a>b
S2 = 1 si a<b
CO M P
a1
b0
b 1
a>b
S1
a<b
S2
f1
f 2 a ab
f2
f1 ab
Exercice 3.2:
f 4 a bc a bc abc
M HISETTE
f 3 b a bc
01
11
10
f3 b c
00
a
0
0
f 2 ab
f 3 b ac
Exercice 3.3:
f 5 abc abc abc
10
Section : OMI
Module : Math
f4
bc
00
01
11
10
f5
bc
00
01
11
10
f 4 a b ac
f 5 bc ab
Exercice 3.4:
f 5 a bc d a bc d a bc d abc d a bc d abc d
f5
cd
00
01
11
00
01
11
10
ab
10
f 5 c d bd
s ac a b
s ac a b ac .a b
On Casse la barre
On change le signe
M HISETTE
a
0
0
1
1
b
0
1
0
1
S
1
1
1
0
11
Section : OMI
Module : Math
&
Donc s = /a
Logigramme de s:
s = a .c . a .b
&
&
&
&
&
&
&
- 2 NON (7404)
- 2 ET (7408)
-1 OU (7432)
Donc 2 botiers
Donc 3 botiers
gain conomique.
gain de plave.
gain de puissance.
&
a
M HISETTE
&
S1
12
&
Section : OMI
Module : Math
s1 a b c a b c
s1 a b .c
s 2 ( a b ).c ( a b ).c
s 2 ( a .b ) c ( a .b ).c
&
s 2 ( a .b ).c
&
&
&
S2
&
M HISETTE
13