




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































device working under Digital Techniques are called Digital Systems and the Electronic Network used to make them operational are called Digital Circuits. The subject as a whole is often referred as Modern Digital Electronics. Electronic circuits use two kinds of signals. They are Analog Signals (continuous supply of voltages and currents) and Digital Signals (discrete voltages and current). For example, Circuits (electronic network) using Analog signals are known as Linear or Analog Circuits. Similarly, the electronic network of an electronic calculator or digital watch that uses Digital signals are called Digital Circuits. An analog device, then, is one that has a signal, which varies continuously in time with the input, whereas, a digital device operates with a digital signal that varies discontinuously. As a result, the Digital Electronics is the world of ZEROS’ (OFF/ LOW/DOWN/FALSE) and ‘ ONES ’ (ON/HIGH/UP/TRUE). Figure1.1 shows the behavior of Analog and Digital signal and the possibility of conversion from Analog to Digital. Figure 1.2 represents a symbol of some devices using Analog and Digital world. This example is set to explain how real life problem like movement of a pivot on a water tank that indicates the level of water can be translated to analog/digital form. Figure
Digital system works under logic and hence they are called Logic Circuits , whose building blocks are known as Gates. These circuits employ two different representations of digital signal known as Positive Logic Systems and Negative Logic Systems as shown in Figure 1.3. The two discrete signal levels HIGH and LOW are generally represented by Binary Digits 1 and 0 respectively is referred to as bit and binary number with 8 bits is known as a byte. Since a digital signal can have only one of the two possible level 1 and 0, the Binary Number System can be used for the analysis and design of digital system, which was introduced by George Boolean in 1854 and the corresponding algebra is known as Boolean Algebra. These logic concepts have been adopted for the design of digital circuit. The number system that we use in day-to-day life is called Decimal Number System. In this system, one works with 10 different Digits, (0 through 9) and is known as based-ten system. But digital electronic devices used a ‘strange’ number system called binary. Digital computers and microprocessor-based systems use other strange
In the octal system the largest single digit is 7 (one less than the base). Again each position an octal number represent a power of the base 8.
Thus the decimal equivalent of the octal number 943 (written as 943) 8 is 9x8^2 +4x8 1 +3x8 0 or 9x64+32+ or 576+32+ or 611 so we have (943) 8 = (6!!) (^10) In hexadecimal system, the largest single digit is F or 15 (one less than the base). Again, each position in a Hexadecimal system represents a power of the base
Thus, the decimal equivalent of the Hexadecimal number 3AF written as (3AF) 16 or H is 3x16^2 +Ax16^1 +Fx16 0 or 3x256+10x16+15x or 768+160+ or 943 Thus (3AF) 16 =(943) 10 And (3AF) 16 = (1110101111) (^2) The Binary Coded Decimal (BCD) Code is one of the early memory codes. It is based on idea of converting each digit of a decimal number into its binary equivalent rather than converting the entire decimal value into a pure binary form. Converting (943) 10 into BCD, results the following (943) 10 = 1001 0100 0011 9 4 3 or 100101000011 in BCD
Table 1.1 represents binary, hexadecimal, BCD equivalence to decimal numbers and Table1.2 represent alphabetic and numeric characters in BCD along with their octal equivalent
Decimal Binary Hexadecimal BCD Equivalent 0 0000 0 0000 1 0001 1 0001 2 0010 2 0010 3 0011 3 0011 4 0100 4 0100 5 0101 5 0101 6 0110 6 0110 7 0111 7 0111 8 1000 8 1000 9 1001 9 1001 10 1010 A 00010000 11 1011 B 00010001 12 1100 C 00010010 13 1101 D 00010011 14 1110 E 00010100 15 1111 F 00010101 16 10000 10 00010110 17 10001 11 00010111 Table 1. Characters Code Digit (BCD) Octal Equivalent A 0001 61 B 0010 62 C 0011 63 D 0100 64 E 0101 65 F 0110 66 G 0111 67 H 1000 70 I 1001 71
Table 1.3 Represents Numeric and Alphabetic Characters in ASCII- and ASCII-8 Notation along with their Hexadecimal Equivalent Another important code that is very widely used in computer is the American Standard Code for Information Interchange (ASCII). This code is popular in data communications. ASCII is of two types: ASCII-7 and ASCII-8. ASCII-7 is a 7 bit code that allows 2^7 (128) different characters. ASCII-8 (8bit code) is an extended version of ASCII-7 that allows 28(256) different characters as shown in Table 1.3. The binary code for the word BOY in ASCII-7 can be represented as 1000010 1001111 1011001 B O Y The first 3 bits in each of the character (for example 100 for B, 100 for O and 101 for Y), are used as ‘zone’ bits which is internal code for ASCII. In ASCII-8, the representation of BOY will be 1000010 1001111 1011001 B O Y The first 4 bit in each of the character are used as zone bits. It is therefore important to highlight the superiority of digital circuits and systems over the analog circuits. The ‘Real-world’ information deals with time, speed, weight, pressure, light intensity, and position measurement and is all analog in nature. Digital systems are required when data must be stored, used for calculations, or displayed as numbers/or letters. They are valuable when calculations, data manipulations, and alphanumeric outputs are required. The “ Central Processing Unit ”(CPU) of a computer can manipulate the input data, output the information, store the information and so forth. Some of the advantages highlighted for the widespread use of digital circuitry in over analog are as follows
::::: 22222
Author : Vetter : Dr. Devendra Mohan Dr. Sib Krishna Ghoshal
Boolean Algebra
Boolean Algebra is Algebra of logic. This is an algebra that deals with logical propositions, which are either true or false. This algebra is suitable for binary number system and is very useful in designing digital circuits, which operates under logic.
For example,
A+A =A, not 2A
Also 1+1 = 1 not 2 as it is logical expression.
One can visualize this as,
TRUE+TRUE=TRUE FALSE+FALSE=FALSE A Boolean algebraic expression is composed of variables, constants and operators. The variables are generally represented by the letters of the Alphabet (say A) which can have two possible values 1 or 0. The interpretation of 1 may be that
the variable is presented input signal is ON, is TRUE, and is a positive voltage. If A is 0, then it mean that the variable is absent, input signal if OFF, is FALSE, and is a negative voltage. Similarly, the Boolean Constant can have any two values, either 1 or 0. Boolean Operators are used in Boolean Algebra where a mathematical function called Boolean Function is constructed. These operators are the Symbols PLUS (+) meaning an OR operation DOT (.) meaning and AND operation BAR ‘A read as COMPLEMENT meaning a NOT operation.
Postulates of Boolean Algebra
A set of Boolean postulates are the following (a) A = 0 iff A ≠ 1 A = 1 iff A ≠ 0 (b) 0.0= (c) 1+1= (d) 0+0= (e) 1.1= (f) 1.0=0.1= (g) 1+0=0+1= The realization of any Boolean Expression can be obtained with the help of a table called TRUTH TABLE. To simplify a Boolean Expression, one requires certain laws of Boolean Algebra.
Laws of Boolean Algebra and their Truth Table
a) Commutative Law i) A+B=B+A ii) A.B=B.A
Truth Table
A B C B+C A.B A.C A.(B+C) (A.B+A.C) B.C A+B A+C A+(B.C) (A+B).(A+C) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 0 0 1 0 0 0 0 1 1 1 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 0 1 1 0 1 1 1 0 1 1 1 1 1 1 0 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
De Morgan’s Theorem
This is a useful theorem in Boolean Algebra which states how to complement a Boolean expression. They allow us to convert back and forth from minterm to maxterm forms of Boolean expression. It helps to eliminate long over-bars that cover several variables.
a) First Theorem
A + B = A. B(For two variables) In general A + B+C+…… = A .B.C…. (For many variables)
b) Second Theorem
A .B = A+ B In general A .B.C = A + B +C+…….
**Truth Table
A B A B AB A + B A + B A. B 0 0 1 1 0 0 1 1 0 1 1 0 0 1 0 0 1 0 0 1 0 1 0 0 1 1 0 0 1 1 0 0**
Representation of Boolean Algebra & De Morgan’s Theorem through Logic Circuits There are nine basic identities commonly used in converting complex Boolean expression to their simple forms. A Boolean identity usually consists of one variable and one constant equates two expressions, which are equal for all possible combinations of the variables. The equivalence of two expressions is presented through Truth Table and representative circuits symbol. Double Complementation A double complementation is the complementation of a single complement. The single complement is called NOT operation. Expression : (^) A = A Truth Table __ A A A 0 1 1 1 0 1
i) A.0=
A 0 Y 0 0 0 1 0 0
i) A.A=A
A A Y 0 0 0 1 1 1
i) A.A=
A A Y 0 1 0 1 0 0
OR Function Identities This identity can be realized with one input permanently tied to logic 1 and the other is varying A+1=
A 1 Y 0 1 1 1 1 1
Other three identities using OR operator are
i) A+0 = A
A 0 Y 0 0 0 1 0 1
ii) A+A = A
A 0 Y 0 0 0 1 0 1
iii) A + A = 1 A 0 Y 0 0 0 1 0 1
The Circuit Representation of De Morgan’s Theorem
1. A+B = A.B known as NOR circuit, which is equivalent to Bubbled input AND circuit.