Karnaugh map . Also known as Karnaugh chart or Veitch diagram, abbreviated as K-Map or KV-Map.
Summary
[ hide ]
- 1 Story
- 2 Features
- 3 Example
- 4 Sources
History
The Karnaugh map was invented in 1950 by Maurice Karnaugh , a physicist and mathematician at Bell Laboratories .
characteristics
It is a graphical method used to simplify a logical equation to convert a truth table to its corresponding logical circuit in a simple and orderly process. Although a Karnaugh map can be used to solve problems with any number of input variables, its practical usefulness is limited to six variables.
Example
The following example illustrates several important points for your understanding: The Karnaugh Map represents the same truth table through a matrix, in which the possible combinations of the variables are indicated in the first row and the first column. Here are three maps for 2, 3 and 4 variables:
The map will be analyzed for four variables, the first two columns (adjacent columns) differ only in variable d, and c remains unchanged, in the second and third columns (adjacent columns) c changes, and d remains unchanged, the same occurs in the rows. In general, it is said that Two adjacent columns or rows can only differ in the state of one of their variables.
It is also observed that according to what was said previously, the first column with the last one would be adjacent, as well as the first and last row, since they only differ in one of their variables.
- c) – Logical value of a mini-term (those that were written in red), well, these must have a logical value, and it is the one that results from the operation carried out between the variables. logically 0 or 1
Now the value of each minterm will be placed according to the truth table that is being searched.
The next step is to group the adjacent ones (horizontally or vertically) in groups of powers of 2, that is, in groups of 2, of 4, of 8 etc. and it would look like this …
It should be remembered that the first and last columns are adjacent, therefore their mini-terms are also adjacent.
From now on, each group of ones is assigned the union (logical product) of the variables that remain constant (either one or zero) ignoring those that change, as can be seen in this image:
To finish, the logical sum between the obtained terms is simply performed, resulting in the function we are looking for, that is …
f = (~ a. ~ b) + (a. ~ c)
The problem can be stated as a function of variables, in the example it would look like this:
f (a, b, c) = S (0, 1, 4, 6)
- F is the function sought
- (a, b, c) are the variables used
- (0, 1, 4, 6) are the minterms that result in 1 or a high level.
- S The sum of the functions that produce the high state in said minterms.
It only remains to convert that function into its corresponding electrical circuit. If the function is f = (~ a. ~ B) + (a. ~ C) that is (NOT a AND NOT b) OR (a AND NOT c) the corresponding electrical diagram is as follows
The result is a circuit with the least amount of gates possible, which makes it more economical. On the other hand, it fully complies with the truth table presented at the beginning of the problem, and furthermore, remember that having fewer gates transmits data. it gets faster.

