3rd Feb 2025

DEE: Digital Electronics for Engineering

  • Course Objectives:
    • To provide the basic understanding of properties and theorems of Boolean Algebra.
    • To provide knowledge on logic gates, universal gates, and their classifications.
    • To teach the techniques to reduce Boolean expressions by using K-map (Karnaugh Map).
    • To give an introduction to logic families and different types of Integrated Circuits (IC 741, operational amplifier Op-Amp).

Unit 1: Number Systems and Boolean Algebra

1.1: Number Systems:

  • Number systems, complements of Number systems, and binary codes.

1.2: Boolean Algebra:

  • Properties and theorems of Boolean Algebra, Logic gates and universal gates, Multilevel NAND, NOR gates.

Unit 2: Minimization of Boolean Functions and Combinational Circuits

2.1: Minimization Techniques:

  • K-Map (up to four variables) and Don’t Care conditions, Tabular method.

2.2: Combinational Circuits:

  • Design and analysis of adders, subtractors, comparators, multiplexers (MUX), demultiplexers (DMUX), decoders, encoders, code converters, and hazard-free realizations.

4th Feb 2025

Unit 3: Sequential Circuits

  • Study of sequential circuits, including:
    • Flip-Flops (SR, JK, JK Master-Slave, D, T types).
    • Registers (SISO, SIPO, PISO, PIPO).
    • Counters (Ripple counters, Decade counters).

Unit 4: Logic Families

  • Overview of logic families such as RTL, DTL, TTL, CMOS, ECL etc.
  • AND, OR, NOT gates using diodes and transistors.
  • TTL Characteristics
    • Standard TTL.
    • Open Collector.
    • Tri-State.

Unit 5: Integrated Circuits (ICs)

  • IC Interface:
    • IC families/Classification.
  • Operational Amplifiers:
    • Ideal (IC 741 Op-Amp) and practical characteristics.
    • DC and AC characteristics of Op-Amps.
    • Modes: Inverting, Non-Inverting.

Unit 1

Number Systems

Number systems are useful in digital computer technology which give reliable and efficient arithmetic operations. It is broadly classified into two types:

  1. Non-Positional Number Systems (e.g., Roman Numerals).
  2. Positional Number Systems.

Positional Number Systems

A positional number system must contain a Radix/Base. The weight of a digit depends on its relative position within the number.

Radix/Base:
It is a term used to describe the positional number system. or It specifies the number of symbols used for corresponding number system.


S.NoNumber SystemBase/RadixEssential Numbers
1Binary20, 1
2Octal80, 1, 2, 3, 4, 5, 6, 7
3Decimal100, 1, 2, 3, 4, 5, 6, 7, 8, 9
4Hexadecimal160, 1, 2, 3, 4, 5, 6, 7, 8, 9, A(10), B(11), C(12), D(13), E(14), F(15)

Representation of Numbers

Each binary digit is called a BIT (Binary Digit).

  • 1 BIT = Single Binary Digit.

3-Bit Binary Representation

OctalBinary (3-bit)
0000
1001
2010
3011
4100
5101
6110
7111

4-Bit Binary Representation

HexadecimalBinary (4-bit)
00000
10001
20010
30011
40100
50101
60110
70111
81000
91001
A1010
B1011
C1100
D1101
E1110
F1111

2-Bit Binary Representation

DecimalBinary (2-bit)
000
101
210
311
5th Feb 2025

Number System Conversion

Any decimal system is converted into any base.

  • Convert Integer part of any base number system by successive division.
  • Convert Fractional part of any base number system by successive multiplication.
  • This method is popularly called as double dabble Method.

Decimal to Binary:

Example:

  • Integer Part:

    Binary Integer:

  • Fractional Part:

    Binary Fraction:

Final Result:


Decimal to Octal:

Example:

  • Integer Part:

    Octal Integer:

  • Fractional Part:

    Octal Fraction:

Final Result:


Decimal to Hexadecimal:

Example:

  • Integer Part: Hexadecimal Integer:

Final Result:


6th Feb 2025

Any Base to Decimal:

Example:


Problems:

    • Group binary into sets of 4 bits:
    • Convert each group to hexadecimal:
    • Final Result:
    • Expand using positional values:
    • Perform successive division by 8:
    • Octal Result:
    • Convert each octal digit to 3-bit binary:
    • Combine:
    • Final Result:

Here is the corrected and properly formatted version of your notes using single $ for mathematical notations:


Octal to Binary:

  • One octal digit is converted into binary; we require 3 binary bits.
OctalBinary
0000
1001
2010
3011
4100
5101
6110
7111

Example:

  • Convert each octal digit to 3-bit binary:
  • Combine:
  • Final Result:

Binary to Octal:

  • Group binary digits into sets of 3 bits (starting from the right).
  • Convert each group to its corresponding octal digit.

Examples:

  1. Binary:

    • Group into 3 bits:
    • Convert:
    • Final Result:
  2. Binary:

    • Group into 3 bits:
    • Convert:
    • Final Result:
  3. Binary:

    • Group into 3 bits:
    • Convert:
    • Final Result:

Hexadecimal to Binary:

  • One hexadecimal digit is converted into binary; we require 4 binary bits.
HexadecimalBinary
00000
10001
20010
30011
40100
50101
60110
70111
81000
91001
A1010
B1011
C1100
D1101
E1110
F1111

Examples:

  1. Hexadecimal:

    • Convert each hexadecimal digit to 4-bit binary:
    • Combine:
    • Final Result:
  2. Hexadecimal:

    • Convert each hexadecimal digit to 4-bit binary:
    • Combine:
    • Final Result:

Binary to Hexadecimal:

  • Group binary digits into sets of 4 bits (starting from the right).
  • Convert each group to its corresponding hexadecimal digit.

Examples:

  1. Binary:

    • Group into 4 bits:
    • Convert:
    • Final Result:
  2. Binary:

    • Group into 4 bits:
    • Convert:
    • Final Result:

Hexadecimal to Octal:

  • Convert hexadecimal to binary first (4 bits per digit).
  • Then convert binary to octal (3 bits per group).

Example: Hexadecimal:

  • Convert to binary: Binary:
  • Group into 3 bits for octal:
  • Convert:
  • Final Result:

Octal to Hexadecimal:

  • Convert octal to binary first (3 bits per digit).
  • Then convert binary to hexadecimal (4 bits per group).

Example: Octal:

  • Convert to binary: Binary:
  • Group into 4 bits for hexadecimal:
  • Convert:
  • Final Result:
7th Feb 2025
Question:To convert FB39 (hexadecimal) to base 4:
Step 1: Hexadecimal to Decimal

Expand FB39:

Calculate:

Step 2: Decimal to Base 4

Dividebyrepeatedly, recording remainders:

  • , Remainder =
  • , Remainder =
  • , Remainder =
  • , Remainder =
  • , Remainder =
  • , Remainder =
  • , Remainder =
  • , Remainder =

Read remainders from bottom to top:

Binary Arithmetic

1. Binary Addition

Binary addition follows simple rules:

  • (carry over 1 to the next higher bit)

2. Binary Subtraction

Binary subtraction follows these rules:

  • (borrow 1 from the next higher bit)

3. Binary Multiplication

Binary multiplication is similar to decimal multiplication but simpler because it only involvesand:

4. Binary Division

OperationResult
Undefined
Undefined

Example: Add and in binary

  • Decimal:
  • Binary equivalents: - -

Perform binary addition:

   11010   (26)
+   1101   (13)
---------
  100111   (39)

Steps:

  1. Start from the rightmost bit.
  2. Add bits column by column, carrying over if necessary.
  3. Final result:, which equals.

Example: Subtract from in binary

  • Decimal:
  • Binary equivalents:

Perform binary subtraction:

   11010   (26)
-   1101   (13)
---------
    1101   (13)

Steps:

  1. Start from the rightmost bit.
  2. Borrow from the next higher bit if necessary.
  3. Final result: , which equals.

  • Decimal:
  • Binary equivalents:

Perform binary subtraction:

    1101   (13)
-  11010   (26)
---------
  110011   (13's 2's complement)