Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
3 views29 pages

Chapter 1

The document covers the fundamentals of digital electronics, including the types of signals (analog and digital) and various number systems such as binary, octal, decimal, and hexadecimal. It explains number system conversions, binary arithmetic, and different binary codes like BCD and ASCII, along with error detection and correction methods. Additionally, it discusses digital logic families and characteristics of logic gates.

Uploaded by

dewasipanchayat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views29 pages

Chapter 1

The document covers the fundamentals of digital electronics, including the types of signals (analog and digital) and various number systems such as binary, octal, decimal, and hexadecimal. It explains number system conversions, binary arithmetic, and different binary codes like BCD and ASCII, along with error detection and correction methods. Additionally, it discusses digital logic families and characteristics of logic gates.

Uploaded by

dewasipanchayat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 29

Digital Electronics

Prof. Mitul Patel, Assistant Professor


Electronics & Communication Engineering
CHAPTER-1
Fundamentals of Digital Systems and Logic
Families
Digital Signal
Signal: A physical quantity, which contain some
information and which is function of one or more
variables.
Type of Signal:
1. Analog Signals
2. Digital Signals
Analog Signals: Signal having continuous values and
infinite number of different values.
Examples: Things observed in nature are analog like
Temperature, Pressure, Distance, Sound and Current.
Digital Signals: Signal which has only a finite number of
distinct values.
Examples: Signals obtained directly from computers,
Output of A to D converter.
Digital Circuits/Systems
Digital circuits have input signal and output signal both are digitals.

Digital Computer Digital Television Traffic Control System


Number Systems
Sets of values used to represent quantity like number of students attending classes,
Grades archived by students in tests.
Various Number Systems:

Name of Largest
Base Number of Weight Range
Number value of
(radix-r) Digits (r) value (r) (0 to r-1)
system Digit (r-1)

Binary 2 2 1 2 0,1
Octal 8 8 7 8 0-7
Decimal 10 10 9 10 0-9
Hexadecimal 16 16 15 16 0-9, A-F
Number System Conversion
Conversion from any radix to Decimal:
1. Note down given number.
2. Write the weight of different positions.
3. Multiply each digit with corresponding weight to obtain product numbers.
4. Add all product numbers.
Number System Conversion
Conversion from Decimal to other radix:
•Separate integer and fractional parts.
For Integer part:
1. Divide the integer by the base until there is nothing to left.
2. Keeping track of remainders from each step.
3. List the remainder values in reverse order to find the equivalent.
For Fractional part:
2. Multiply the fractional part by the radix(r).
3. Record the carry generated in this multiplication as MSD.
4. Multiply only the fractional part of product in step-2.
5. Repeat step-2 and 3 up to end. Last carry will represent the LSD.
•Combine result of Integer part and Fractional part.
Number System Conversion
Conversion from Binary to Octal:
1. Group the binary bits into groups of 3 starting from LSB.
2. Convert each group into its equivalent octal.
Conversion from Binary to Hex:
3. Break the binary number in to 4-bit sections from LSB to MSB
4. Convert each 4-bit binary number into hex equivalent.
Conversion from Octal to Binary:
5. Convert each octal digit into its equivalent 3-bit binary number.
Conversion from Hex to Binary:
6. Convert each hex digit to its 4-bit binary equivalent.
7. Combine the 4-bit sections by removing the spaces.
Number System Conversion
Conversion from Octal to Hex:
1. Convert the given octal number into equivalent binary.
2. Then convert this binary number into hex.
Conversion from hex to Octal:
3. Represent each hex digit by a 4-bit binary number.
4. Combine these 4-bit binary sections by removing the spaces.
5. Now group these binary bits into groups of 3 bits, starting from the LSB side.
6. Then convert each of this 3 bit group into an octal digit.
Binary arithmetic
Binary Addition: Binary number are added, its A+B SUM CARRY
creates sum(S) and carry(C). 0+0 0 0
0+1 1 0
1+0 1 0
1+1 0 1

Binary Subtraction: Its creates Difference(D) and


DIFFEREN
Borrow(B). A-B
CE
BORROW

0-0 0 0
0-1 1 1
1-0 1 0
1-1 0 0
Binary arithmetic
Binary Multiplication: It is exactly same as decimal Multiply
A B
multiplication. (M)
0 0 0
0 1 0
1 0 0
Binary Division: It is exactly same as decimal division. 1 1 1
It is called as the long division procedure.
Sign Binary Number
8 bit sign Binary Number: MSB of binary number is used to represent the sign and
remaining bits are used for magnitude.

Range of n-bit sign binary number:

12
Complements
Type of Complements:
1. Radix complements (r’s)
2. Diminished radix complement (r-1)
Diminished radix complement (r-1):
Given a number N in base r having n digits, the (r–1)’s complement of N is defined
as: (r n –1) – N
Example:
1. 1’s complement of 1011000 is: 1111111–1011000 = 0100111
2. 9’s complement of 546700 is 999999–546700 = 453299
1’s Complement: All ‘0’s become ‘1’s and All ‘1’s become ‘0’s.

Example:
3. 1’s Complement of (10110000)2 is (01001111)2.
Complements
Radix Complement (r’s complement):
The r's complement of an n-digit number N in base r is defined as:
( r n – N) for N ≠ 0 and as 0 for N = 0
The r's complement is obtained by adding 1 to the (r - 1) 's complement,
Example:
1. The 2's complement of 1101100 is 0010100.
2. The 10's complement of 012398 is 987602.
2’s Complement (Radix Complement):Take 1’s complement then add 1 or Toggle all
bits to the left of the first ‘1’ from the right.
Subtraction using Complements
The subtraction of two n-digit unsigned numbers M – N in base r can be done as
follows:
Binary codes
BCD code (Binary coded Decimal):
A number with k decimal digits will require 4k bits in
BCD.
Decimal 396 is represented in BCD with 12bits as 0011
1001 0110, with each group of 4 bits representing one
decimal digit.
A decimal number in BCD is the same as its equivalent
binary number only when the number is between 0 and
9.
The binary combinations 1010 through 1111 are not
used and have no meaning in BCD.
Binary codes
Decimal Codes:
Binary codes
Gray Code:
The advantage is that only bit in the code group
changes in going from one number to the next.
Binary codes
American Standard Code for Information
Interchange (ASCII) Code:
It uses 7-bits to represent, 94 Graphic printing
characters and 34 Non-printing characters.
Some non-printing characters are used for text
format (e.g. BS =Backspace, CR = carriage return).
Other non-printing characters are used for record
marking and flow control (e.g. STX and ETX start).
ASCII has some interesting properties:
1.Digits 0 to 9 span Hexadecimal values 3016 to 3916.
2.Upper case A-Z span 4116 to 5A16.
3.Lower case a-z span 6116 to 7A16.
Error-Detecting Code
To detect errors in data communication and processing, an eighth bit is sometimes
added to the ASCII character to indicate its parity.
A parity bit is an extra bit included with a message to make the total number of 1's
either even or odd.
Example: Consider the following two characters and their even and odd parity.
Error-Correcting Code
Redundancy (e.g. extra information), in the form of extra bits, can be incorporated
into binary code words to detect and correct errors.
A simple form of redundancy is parity, an extra bit appended onto the code word to
make the number of 1’s odd or even. Parity can detect all single bit errors and some
multiple-bit errors.
A code word has even parity if the number of 1’s in the code word is even.
A code word has odd parity if the number of 1’s in the code word is odd.
Example:
Binary logic
Binary logic consists of binary variables and a set of logical operations.
The variables are designated by letters of the alphabet, such as A, B, C, x, y, z, etc,
with each variable having two and only two distinct possible values: 1 and 0.
Binary logic
Binary logic consists of binary variables and a set of logical operations.
The variables are designated by letters of the alphabet, such as A, B, C, x, y, z, etc,
with each variable having two and only two distinct possible values: 1 and 0.
Logic Gates IC
Two Input logic gate IC 74xx series:
Digital Logic Families
Type of Digital Logic Families:
1. RTL (Resistor-transistor logic)
2. DTL (Diode-transistor logic)
3. TTL (Transistor -transistor logic)
4. ECL (Emitter-coupled logic)
Characteristic of Logic Families:
1. Logic Levels
2. Noise margin
3. Propagation delay
4. Fan-out
5. Power Dissipation
6. Speed-Power Product
Type of Digital Logic Families
RTL-NOR DTL-NAND
Type of Digital Logic Families
Transistor-Transistor Logic (TTL):

TTL NAND Gate With Totem-pole Output Open collector TTL NAND
Gate
Type of Digital Logic Families
EMITTER-COUPLED LOGIC (ECL):
www.paruluniversity.ac.in

You might also like