Professional Documents
Culture Documents
Digital Electronic Principles-1
Digital Electronic Principles-1
Digital Electronic Principles-1
Principles
Contents:
• Introduction
• Number System
• Conversion of Number System
• Boolean Algebra
• Logic Gates
• De Morgan’s Theorem
• Simplification of Boolean Expression
• Logic Gate Circuits
• Applications of Digital Circuits
Objectives:
This chapter covers:
• Fundamentals of digital electronics
• number systems,
• binary codes,
• logic gates and
• applications of digital circuits.
• Generally ,the digital circuits are connected with a dc supply battery (typically 5
V) and a ground terminal of 0 V.
• If the 5 V refers to logic 1 or ON state and the ground 0 V refers to logic 0 or OFF
state, the logic is referred to as positive logic.
14
Decimal to Binary:
Conversion from decimal to binary using decimal arithmetic is
accomplished by repeated division of the decimal number by two.
After each division the remainder is the next bit of the binary
number starting from the least significant.
Number System Conversions:
Number System Conversions:
Table 2 Conversion of decimal to hexadecimal to octal to binary:
BOOLEAN ALGEBRA:
• The working principle of the digital circuit is guided by Boolean algebra.
• Boolean algebra functions through addition, subtraction and its five basic laws.
1. Addition:
• Boolean addition uses the addition process with binary numbers—0’s and 1’s.
• Various combinations of binary addition are shown in Table 3.
• The general form of addition of two binary numbers, say A and B produce a sum (S ) and a
carry (Cy) as shown here.
Procedure of Binary Addition:
Procedure of Binary Addition:
2. Subtraction :
Boolean subtraction binary numbers—0’s and 1’s, is shown in Table 4.
The general form of subtraction of two binary numbers A and B
produce a difference (D) and a borrow, as shown here.
Logic circuits are generally designed with BJT, FET and CMOS
circuits having many inputs and a single output.
The output will be either logic high (1) or logic low (0)
depending on the combination of input logic high and low.
A B Z
off off off
off on off
on off off
on on on
A B Z
off off off
off on on
on off on
on on on
LOGIC GATES contd …
The functional behaviour of a logic gate is realized by the three processes, as explained in the
following sections.
1. Truth Table:
Truth table is a prescribed specification table that explains the input-output relation for all
possible combination of inputs.
2. Logic Equation:
In logic equations, the output is expressed in terms of input according to the truth table.
Logic equations are generally unique as truth tables vary from logic to logic.
3. Timing Diagram:
Timing diagram of a logic gate indicates the variation of the output waveform with respect to
the input waveform.
It is a pictorial representation of the time-varying input and output of the logic gate.
AND Gate:
• The AND gate has two or more inputs. Its output is logic high (1) only when both the
inputs are at logic high (1).
• The truth table of an AND gate is shown in Table 5 and logic symbol is shown in Fig. 1