Créée le, 19/06/2015

 Mise à jour le, 12/05/2019

Visiteurs N°  




Accueil
Nouveau Blog Nouveautés Moteur de Recherche Votre Caddie Pour Vos Achats Votre Espace Membre Vos Signets et Vos Jeux Préférés Page de Bienvenue Statique Site en Français Site en Anglais
Sommaires
Électronique Fondamentale Technologie Fondamentale Testez vos Connaissances Électronique Théorique Digitale Électronique Pratique Digitale Lexique Électronique Numérique Data book TTL Data book CMOS Dépannage TVC Mathématique
Micro-ordinateurs
Théorique des Micro-ordinateurs Testez vos Connaissances Pratique des Micro-ordinateurs Glossaires sur les Ordinateurs
Physique
La lumière Champ d'action Rayonnement Électromagnétique
Technologies
Classification des Résistances Identification des Résistances Classification des Condensateurs Identification des Condensateurs
Formulaires Mathématiques
Géométrie Physique 1. - Électronique 1. 2. - Électronique 1. 3. - Électrotechnique 1. 4. - Électromagnétisme
Accès à tous nos Produits
E. T. F. - Tome I - 257 Pages E. T. F. - Tome II - 451 Pages E. T. F. - Tome III - 611 Pages E. T. D. - Tome I - 610 Pages N. B. M. - Tome I - 201 Pages E. T. M. - Tome I - 554 Pages Business à Domicile Ouvrages 34 pages gratuits Nos E-books Logiciel Géométrie Logiciel Composants Électroniques
Aperçu de tous nos Produits
E. T. F. - Tome I - 257 Pages E. T. F. - Tome II - 451 Pages E. T. F. - Tome III - 611 Pages E. T. D. - Tome I - 610 Pages E. T. M. - Tome I - 554 Pages Logiciel Géométrie Logiciel Composants Électroniques
Nos Leçons aux Formats PDF
Électronique Fondamentale Technologie Fondamentale Électronique Théorique Digitale Électronique Pratique Digitale Théorique des Micro-ordinateurs Mathématiques
Informatique
Dépannage Win98 et WinXP et autres Dépannage PC Glossaire HTML et Programmes JavaScript (en cours de travaux) PHP et Programmes Création de plusieurs Sites
Forums
Forum Électronique et Infos Forum Électronique et Poésie
Divers et autres
Formulaire des pages perso News XML Statistiques CountUs Éditeur JavaScript Nos Partenaires avec nos Liens Utiles Gestionnaire de Partenariat Nos Partenaires MyCircle Sondages 1er Livre d'Or 2ème livre d'Or




Signets : 
  NOR Function   OU EXCLUSIVE Function   Verification of the operation of an EXCLUSIVE OR
  NOR EXCLUSIF Function   Logical identity Function     Footer


NAND function - NOR function - Exclusive OR function - NOR function Exclusive :


In this lesson, we will finish the review of basic logical functions such as NAND, NOR, OR EXCLUSIVE functions ... and solve some problems using the DE MORGAN theorems and the QUINE MAC CLUSKEY method.

1. - FUNCTIONS DERIVED FROM FUNDAMENTAL FUNCTIONS

1. 1. - NAND FUNCTION (NON - ET)

The NAND circuit, although derived from the AND circuit, is more used and more common than this one. Originally, it was technologically easier to make and less expensive, which explains why it was the most frequently used circuit. However, this is no longer quite true because advances in technology have seen the prices and performance of all circuits evolve very rapidly.

1. 1. 1. - THE NAND CIRCUIT

Its symbol is that of Figure 1.

Symbole_du_circuit_NAND.gif

A NAND circuit is obtained by putting in series an AND gate and an inverter as shown in Figure 2.

Decomposition_du_circuit_NAND.gif

Let us study the relation existing between a, b and S ; for that, let's start from an AND circuit followed by an inverter circuit.

The truth table of the NAND circuit is obtained by first writing the equation c = a . b then S =

The truth table of the circuit AND is represented Figure 3 :

Table_de_verite_du_circuit_ET(1).gif

The truth table of the inverter circuit is reproduced Figure 4 :

Table_de_verite_de_l_inverseur.gif

We can easily deduce the truth table of the NAND circuit which is represented in Figure 5 :

Table_de_verite_du_circuit_NAND.gif

The output of a NAND circuit is in logic state 0 only when the two inputs are in state 1. It suffices that only one of the inputs is at 1 so that the output becomes 1.

The logical function NAND can be summarized by the equation Boolean Equation_booleenne_NAND.gif according to the number of the entries.

We find the sign . symbolizing the product ET and the bar indicating the complementation.

1. 1. 2. - REPRESENTATION OF EULER (Figure 6)

Representation_de_la_fonction_NAND.gif

The AND function such that S = a . b is the intersection of A and B (blue hatched surface) while the inverse of a . b is a_et_b_complementation.gif is the set of red hatched surfaces.

1. 1. 3. - ELECTRICAL CIRCUIT         (Return to the theory N° 3 TS)

Figure 7 represents the electric circuit used to carry out a NAND function with two input variables a and b, S being the output.

Circuit_NAND_a_2_variables_d_entrees.gif

The contacts used a and b are working contacts, that is to say, open at rest. If we refer to theory 2, we see that the set represented in red is an AND realized with contacts so that a. b = C.

Now, C inside the set green is a relay whose coil is materialized by the sign Symbole_de_la_bobine.gif. It controls the contact C_barre.gif which is a rest contact so that one can write the operating table represented Figure 8.

Tableau_de_fonctionnement_du_circuit_NAND.gif

With the positive logical convention, one can write :

Closed contact = 1    ;    open contact = 0

Lamp lit = 1    ;    lamp off = 0

Relay powered = 1    ;    relay not powered = 0

Hence the truth table shown in Figure 9 :

Table_de_verite_du_circuit_NAND_figure_7.gif

We see in this truth table that the output is always at 1 except for the two inputs at 1 or S = 0.

Haut de page 1. 2. - NOR FUNCTION         (Back to Theory N° 3 TS)

As for the AND gate which becomes, after addition of an inverter, a NAND gate, with an OR circuit followed by an inverter at its output, a NOR circuit is obtained whose graphic symbol is that of Figure 10-a :

Symbole_du_circuit_NOR.gif

The NOR circuit is equivalent to an OR circuit followed by an inverter as shown in Figure 10-b :

Schema_equivalent_du_circuit_NOR.gif

Let us study the existing relation between a, b and S, for that we start from an OR circuit followed by an inverter circuit.

The truth table of the NOR circuit is obtained by first writing the equation C = a + b then S = c_barre.gif.

The truth table of the OR circuit is represented in Figure 11 :

Table_de_verite_du_circuit_OU.gif

The truth table of the inverter circuit is represented in Figure 12 :

Table_de_verite_du_circuit_inverseur.gif

The truth table of the NOR circuit can then be easily deduced (Figure 13) :

Table_de_verite_du_circuit_NOR.gif

The output of a NOR circuit is at logic state 1 only when both inputs are at 0.

The logical function NOR can be summarized by the equation Boolean Equation_booleenne_NOR.gif according to the number of the entries.

We find the sign + symbolizing the OR logical sum and the bar indicating the complementation.

1. 2. 1. - REPRESENTATION OF EULER (Figure 14)

Representation_de_la_fonction_NOR.gif

The OR function such that S = a + b is the union of A and B (blue hatched surface) while the inverse of a + b is a_ou_b_complementation.gif is the set of red hatched surfaces.

1. 2. 2. - ELECTRICAL CIRCUIT

Figure 15 shows the electrical circuit used to perform a NOR function.

The contacts used a and b are working contacts, that is to say, open at rest. If we refer to theory 2, we see that the set represented in red is an OR realized with contacts so that a + b = C.

 Circuit_NOR_a_2_variables_d_entrees.gif

Now, C inside the hatched green set is a relay whose coil is materialized by the sign Symbole_de_la_bobine.gif. It controls the contact C_barre.gif which is a rest contact so that one can write the following operating table (Figure 16) :

Tableau_de_fonctionnement_du_circuit_NOR.gif

Given the positive logical convention, we can deduce the truth table from Figure 17 :

Table_de_verite_du_circuit_NOR_figure_15.gif

We see in this truth table that the output is always at 0 except for the two inputs at 0 or S = 1.

Haut de page 1. 3. - FUNCTION OU EXCLUSIF (EXCLUSIVE OR)

1. 3. 1. - TRUTH TABLE

The exclusive OR function is more complex than the set of functions we have just analyzed.

Recall the truth table of the inclusive OR function (Figure 18) :

Table_de_verite_d_un_OU_inclusif.gif

We see that the output S of the OR operator was at 1 when a OR b or both were at 1.

In the case of the exclusive OR, it will not be the same. Indeed, for S = 1, it will be necessary for a OU b to be exclusively 1, that is to say that S will not be at 1 when a and b are simultaneously at 1. The exclusive OR as its name is indicates excludes this possibility.

Figure 19 shows the exclusive OR truth table :

Table_de_verite_du_OU_exclusif.gif

We then write that S = a Symbole_du_OU_exclusif.gif b that we state S equal a exclusive OR b.

The symbol Symbole_du_OU_exclusif.gif is the exclusive OR symbol in logical equations.

In the diagrams, the graphic symbol shown in Figure 20.

Schema_d_un_OU_exclusif_a_deux_entrees.gif

1. 3. 2. - REPRESENTATION OF EULER (Figure 21)

Representation_de_la_fonction_OU_exclusif.gif

The exclusive OR function such that S = a Symbole_du_OU_exclusif.gif b is the shaded area such that S = 1 for a = 1 or b = 1, that is the union of sets A and B excluding the common area at A and B.

1. 3. 3. - DIAGRAM WITH SIMPLE LOGIC OPERATORS

As we said at the beginning of this chapter, the exclusive OR function is more complex than the NAND or NOR functions.

Let's try by graphical reasoning to find an equation of S such that the sign Symbole_du_OU_exclusif.gif disappears to bring the exclusive OR function back to classical AND and OR functions or inverse functions.

We see that S is formed of two distinct surfaces :

  • - The S1 surface included inside A

  • - The S2 surface included inside B.

Figure 22 shows the area S1.

Analyse_de_la_surface_S1.gif

The set B_barre1.gif hatched in red is the complement of B with respect to Â.

We see that the surface S1, represented by the vertically hatched set in black, is the intersection of B_barre1.gif and of A.

We can therefore write S1 = aB_barre.gif because if A and B are the sets for which a and b are respectively at 1, S1 will be the set for which a = 1 and b = 0.

We can easily by following the same reasoning to see in figure 23 that S2 = A_barre1.gifb since S2 is the intersection of A_barre.gif and of B.

Analyse_de_la_surface_S2.gif

From the truth table of the exclusive OR function (Figure 19), we can establish the karnaugh table of this function represented in Figure 24.

Tableau_de_karnaugh_de_la_fonction_OU_exclusif.gif   

In this respect, it is absolutely fundamental to remember how one realizes a karnaugh painting from the truth table.

The values of the output S for a given combination of a and b are plotted in the box at the intersection of the values of a and b considered, carried on the sides of the table. We advise you to come back to theory 2 if necessary to review the karnaugh tables.

We can deduce :

  • red group S = aB_barre.gif,

  • green group S = A_barre1.gifb,

From where we can write :

S = A_barre1.gifb + aB_barre.gif

This confirms the result obtained by the graphical decomposition realized thanks to the representation of Euler.

We can now construct the scheme of Figure 25 which represents an exclusive OR function performed from AND, OR and NO functions.

Schema_logique_d_un_OU_exclusif.gif

Haut de page 1. 3. 4. - VERIFICATION OF FUNCTIONING FROM THE LOGIC DIAGRAM AND RECONSTITUTION OF THE TRUTH TABLE

In Figures 26 a, b, c and d are shown the four combinations that can be taken by two inputs a and b.

On each of these Figures are reported the different logical levels at the entrance and exit of each door.

Differentes_combinaisons_d_un_couple_d_entrees_a_et_b.gif

We can recapitulate the four cases of Figure 26 in the Karnaugh table of Figure 27. The resulting table corresponds in all respects to the table of the exclusive OR function.

Tableau_de_karnaugh_issu_de_la_figure_26.gif 

This last exercise may have seemed useless to you, in reality it is not so because it is necessary to feel perfectly at ease in the tables of Karnaugh, truth tables and diagrams in order to be able to make the transformation in a meaning or in the other without error and possibly during the development of a complex circuit to be verified using each time a different method.

Haut de page 1. 4. - EXCLUSIVE NOR FUNCTION (EXCLUSIVE NOR)

The exclusive NOR circuit shown in Figure 28 is identical to NAND and NOR, but using an exclusive OR circuit followed by an inverter (Figure 29).

Circuit_NOR_exclusif.gif

The logical equation of the two-input exclusive NOR is Symbole_de_la_fonction_NOR_exclusif.gif. This equation indicates that the exclusive NOR performs the exclusive OR operation and complements the result (bar above).

You can use the process followed for the NAND and NOR doors yourself to find the truth table. We will confine ourselves to indicating this table, figure 30, for an exclusive NOR with two entries.

Table_de_verite_du_circuit_NOR_exclusif_a_2_entrees.gif

An exclusive NOR circuit, such as an exclusive OR circuit, is used to detect the presence of a single signal either a or b (it is said that the signal a or b is present when it has a logic level 1).

In the case of the exclusive NOR circuit, one can also check the equality between two signals a and b. Indeed, S is 1 for a and b simultaneously at 1, but also for a and b simultaneously at 0.

Haut de page 1. 5. - LOGICAL IDENTITY FUNCTION

The logical identity function does not exist as such in the form of integrated circuits. However, it can render services in some automation to create security.

Suppose, for example, that on the one hand a variable a indicates the direction of rotation of a motor (a = 1 "forward", a = 0 "reverse") and, on the other hand, for reasons of safety one must check that a tool is correctly positioned on the machine according to the direction of rotation chosen (b = 1 "size before", b = 0 "size back").

It can be seen immediately that for reasons of safety, it is necessary that the start-up be authorized only for a = b = 1 OR for a = b = 0. The materialization of the authorization of start-up will be realized for example by means of 'a lamp.

The equation of such a logical identity is :

S = ab + A_barre1.gifB_barre.gif

That we write :

S = a Identite_logique.gif b

Figure 31 gives the electrical diagram of this logical identity made with contacts.

Identite_logique_realisee_avec_des_contacts.gif

You now know that an AND is materialized by serial contacts and an OR by parallel contacts.

The row of contacts work a, b materializes therefore ab whereas the row of contacts rest materializes A_barre1.gifB_barre.gif. The two rows of contacts being in parallel, we have :

S = ab + A_barre1.gifB_barre.gif

Figure 32 gives the electrical diagram of the same logical identity but this time made using electronic gates.

Identite_logique_realisee_avec_des_portes_electroniques.gif

The realization of such a scheme is even simpler, we establish ab and A_barre1.gifB_barre.gif by means of two AND gates (respectively gates n° 1 and n° 2), A_barre1.gif et B_barre.gif being obtained previously by two inverters.

The OR circuit (gate n° 3) carries out the final operation to obtain :

S = ab + A_barre1.gifB_barre.gif

We will now study the negative logic and the theorem of DE MORGAN on another page so as not to clutter it.








Nombre de pages vues, à partir de cette date : le 27 Décembre 2019

compteur visite blog gratuit


Mon audience Xiti



Envoyez un courrier électronique à Administrateur Web Société pour toute question ou remarque concernant ce site Web. 

Version du site : 10. 4. 12 - Site optimisation 1280 x 1024 pixels - Faculté de Nanterre - Dernière modification : 02 Septembre 2016.   

Ce site Web a été Créé le, 14 Mars 1999 et ayant Rénové, en Septembre 2016.