Here is the truth table for a 3-person majority voting system:
input C | input B | input A | output |
0 | 0 | 0 | 0 |
0 | 0 | 1 | 0 |
0 | 1 | 0 | 0 |
0 | 1 | 1 | 1 |
1 | 0 | 0 | 0 |
1 | 0 | 1 | 1 |
1 | 1 | 0 | 1 |
1 | 1 | 1 | 1 |
This is converted into a Karnaugh map, as follows:
Look carefully at the variables at the top of the Karnaugh map. These are not written in binary order 00, 01, 10, 11 etc. Instead, each column differs from the previous one by just one bit. This is called Grey code and it is essential for your Karnaugh map to work that you enter the column values in this order. (You will find out more about Grey code later.)
Within the K-map, you can identify three groups of two, as indicated. The left hand horizontal group combines the cells and A.B.C. Within this group, the value of B does not affect the cell values. This means that B can be eliminated from the expression, leaving A.C.
Work through the other groups to confirm that you understand how the remaining terms in the Boolean expression were derived.
With a little practice, this method is going to be quicker than the alternative, simplfiying the Boolean expression derived from the truth table:
4-Variable Maps
A 4-variable map will contain 24 = 16 cells. It is important to write the variable values along the columns and rows in Grey code:
To simplify the equation:
The Karnaugh map becomes:
To give the simplest Boolean statement, you should put a circle round the maximum number of terms.
In this case, you can make two groups of four, one of which wraps around from top to bottom. You identify the two variables which remain constant in each group and eliminate the other two:
EX-OR (EXclusive-OR) gate
The output Q is true if either input A is true OR input B is true, but not when both of them are true: Q = (A AND NOT B) OR (B AND NOT A)This is like an OR gate but excluding both inputs being true.
The output is true if inputs A and B are DIFFERENT.
EX-OR gates can only have 2 inputs.
| |||||||||||||||||
Traditional symbol | IEC symbol | Truth Table |
EX-NOR (EXclusive-NOR) gate
This is an EX-OR gate with the output inverted, as shown by the 'o' on the output.The output Q is true if inputs A and B are the SAME (both true or both false): Q = (A AND B) OR (NOT A AND NOT B)
EX-NOR gates can only have 2 inputs.
| |||||||||||||||||
Traditional symbol | IEC symbol | Truth Table |
CHARACTERISTICS OF DIGITAL IC
Digital ICs process only on/off signals. These devices can be found in microprocessors, memory chips, and microcomputers.
Pin numbers are given in parentheses.
- The 74 series devices are all part of the standard TTL series.
- The 74LS series devices are all part of the low power Schottky TTL series.
- The differences between devices is limited to electrical characteristics like power dissipation and switching speed. The pin layout and logic operations are the same.
- The 7404, 74S04, 74LS04, and 74ALS04 are all hex (six to a chip) inverters.
- CMOS devices perform the same function as, but are not necessarily pin for pin compatible with TTL devices.
*VDD for CMOS devices can be from +3 to +18 V.
*Floating TTL input acts like a logic 1. The voltage measurement may appear in the indeterminate range, but the device will behave as if there is a 1 on the floating input.
*Floating CMOS inputs can cause overheating and damage to the device. Some ICs have protection circuits built in, but the best practice is to tie all unused inputs either high or low.
-Outputs do not respond properly to inputs. Outputs are unpredictable
Input internally shorted to ground or supply
-The input will be stuck in LOW or HIGH state.
Output internally shorted to ground or supply
-Output will be stuck in LOW or HIGH state.
Open-circuited input or output
-Floating input in a TTL device will result in a HIGH output. Floating input in a CMOS device will result in erratic or possibly destructive output. nAn open output will result in a floating indication.
Short between two pins
TROUBLESHOOTING CASE STUDY
Example 4-28 illustrates the process involved in troubleshooting a fairly simple circuit. oThe reasoning process can be applied to more complex digital circuits.
XOR output should produce a low output
Internal component of Z1 could be bad
External short to Vcc along conductor
Z1-3 internally shorted to Vcc
Z2-5 internally shorted to Vcc
Z2-13 internally shorted to Vcc
No comments:
Post a Comment