0% found this document useful (0 votes)
41 views40 pages

Digital Electronics

This document provides an overview of digital logic gates and integrated circuits. It describes the logic functions of AND, OR and NOT gates through truth tables and examples. It discusses how these logic functions are implemented using transistors and integrated circuits. It also classifies integrated circuits based on the number of transistors and describes the differences between TTL and CMOS logic families. Finally, it discusses how to interpret datasheets for logic ICs.

Uploaded by

Rin Nohara
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)
41 views40 pages

Digital Electronics

This document provides an overview of digital logic gates and integrated circuits. It describes the logic functions of AND, OR and NOT gates through truth tables and examples. It discusses how these logic functions are implemented using transistors and integrated circuits. It also classifies integrated circuits based on the number of transistors and describes the differences between TTL and CMOS logic families. Finally, it discusses how to interpret datasheets for logic ICs.

Uploaded by

Rin Nohara
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/ 40

Dr.

Hiran Ekanayake

DIGITAL ELECTRONIC
FUNDAMENTALS – PART 1

Electronics & Physical Computing by HBE 1


References
• Tutorials on Logic Gates
• https://www.electronics-tutorials.ws/category/logic

Electronics & Physical Computing by HBE 2


Lesson Outline
• AND, OR, and NOT logic functions
• Digital logic ICs

Electronics & Physical Computing by HBE 3


LOGIC AND

Electronics & Physical Computing by HBE 4


Logic AND Function
• Describe the logic AND function.
• The Logic AND Function output is only true when all of its inputs
are true, otherwise the output is false.
• It states that two or more events must occur together and at the
same time for an output action to occur. The order in which
these actions occur is unimportant.
• Give an example to demonstrate the logic AND function.

In the given series


circuit, both switch A
AND switch B must
be closed (Logic “1”)
in order to put the
lamp on.

Electronics & Physical Computing by HBE 5


Logic AND Function
• Give the truth table of the logic AND function.

Electronics & Physical Computing by HBE 6


Logic AND Function
• Which electronic component provides logic AND
function?
• IC (integrated circuit) packages

Quad 2-Input AND Gates Triple 3-Input AND Gates Dual 4-Input AND Gates

Electronics & Physical Computing by HBE 7


Logic AND Function
• Give a test circuit to test a 2-input AND gate.

Electronics & Physical Computing by HBE 8


Logic AND Function
• Give an equivalent transistor-based circuit for
the AND gate.

Electronics & Physical Computing by HBE 9


Logic AND Function
• How would you construct a 6-input AND gate
using 2-input and/or 3-input AND gates?

Boolean Expression:

Electronics & Physical Computing by HBE 10


LOGIC OR

Electronics & Physical Computing by HBE 11


Logic OR Function
• Describe the logic OR function.
• The Logic OR function output is only true if one or
more of its inputs are true, otherwise the output is
false.
• Also called “Inclusive-OR”
• Give an example to demonstrate the logic OR
function.
Here the two switches
A and B are connected
in parallel and either
Switch A OR Switch B
can be closed in order
to put the lamp on.
Electronics & Physical Computing by HBE 12
Logic OR Function
• Give the truth table of the logic OR function.

Electronics & Physical Computing by HBE 13


Logic OR Function
• Which IC packages • How would you
provide the logic OR construct a 6-input OR
function? gate using 2-input
and/or 3-input OR
gates?

Quad 2-Input OR Gates

Electronics & Physical Computing by HBE 14


Logic OR Function
• Give an equivalent transistor-based circuit for
the OR gate.

Electronics & Physical Computing by HBE 15


LOGIC NOT (INVERTER)

Electronics & Physical Computing by HBE 16


Logic NOT Function
• Describe the logic NOT function.
• It “inverts” (complements) its input signal.
• Give an equivalent transistor-based circuit for
the NOT gate.

Electronics & Physical Computing by HBE 17


Logic NOT Function
• Give the truth table of the logic NOT function.

Inversion Bubble

Electronics & Physical Computing by HBE 18


Input/Out Inversion
• Describe the use of inversion bubble in the
following logic elements.

Electronics & Physical Computing by HBE 19


Logic NOT Function
• Which IC packages provide the logic NOT
function?

Hex Inverter Hex Schmitt Inverter Hex Inverter

Electronics & Physical Computing by HBE 20


DIGITAL ICS

Electronics & Physical Computing by HBE 21


Digital Logic Gates
• What is the difference between
74XX and 4XXX IC packages?
• Are they compatible with each
other?
• What is the convention used in
the labelling of IC packages?

Electronics & Physical Computing by HBE 22


Main Families of Logic Gates
• Transistor-Transistor Logic (TTL)
• Mainly the 7400 series of chips
• Use NPN and PNP type Bipolar
Junction Transistors to implement
the logic
• Complementary Metal-Oxide-
Silicon (CMOS)
• Mainly the 4000 series of chips
• Use complementary MOSFET or
JFET type Field Effect Transistors

Electronics & Physical Computing by HBE 23


Classification of ICs
• Small Scale Integration or (SSI)
• 10 or few transistors in a package to form simple gates
like AND, OR, and NOT
• Medium Scale Integration or (MSI)
• 10 – 100 transistors to perform digital operations such
as adders, decoders, counters, flip-flops and
multiplexers
• Large Scale Integration or (LSI)
• 100 – 1,000 transistors to perform specific digital
operations such as I/O chips, memory, arithmetic and
logic units

Electronics & Physical Computing by HBE 24


Classification of ICs
• Very-Large Scale Integration or (VLSI)
• 1,000 – 10,000 transistors to perform
computational operations such as processors,
large memory arrays and programmable logic
devices
• Super-Large Scale Integration or (SLSI)
• 10,000 – 100,000 transistors to perform
computational operations such as microprocessor
chips, micro-controllers, basic PICs and calculators

Electronics & Physical Computing by HBE 25


Classification of ICs
• Ultra-Large Scale Integration or (ULSI)
• More than 1 million transistors in a package, used
in computers CPUs, GPUs, video processors,
micro-controllers, FPGAs and complex PICs

E.g., Intel Core2 Duo


Processor E8500 uses 410
million transistors

Electronics & Physical Computing by HBE 26


Voltage Levels
Ideal HIGH & LOW

Electronics & Physical Computing by HBE 27


Voltage Levels

Electronics & Physical Computing by HBE 28


The Intermediate Region (“no-man’s land”)

• Noise immunity of a gate


• For a logic gate not to be affected by noise it must be
able to tolerate a certain amount of unwanted noise
on its input without changing the state of its output.
Electronics & Physical Computing by HBE 29
TTL/CMOS Logic Gates
2-input NAND Gate

TTL

CMOS

Electronics & Physical Computing by HBE 30


TTL/CMOS Logic Gates
• TTL Limitations:
• Since bipolar transistors are current operated,
their current consumption is very high
• Limited operating speed due to slow rise/fall time
(propagation delay)
• CMOS Strengths:
• Near zero power consumption (1-2 uA)
• High-speed switching (>100MHz)

Electronics & Physical Computing by HBE 31


TTL Numbering
https://www.electronics-notes.com/articles/electronic_components/logic-ic-families-technologies/ic-numbering-schemes.php

Electronics & Physical Computing by HBE 32


CMOS Numbering
https://www.electronics-notes.com/articles/electronic_components/logic-ic-families-technologies/ic-numbering-schemes.php

Electronics & Physical Computing by HBE 33


https://www.nutsvolts.com/magazine/article/understanding_digital_logic_ics_part_2

TTL Sub-Families

Electronics & Physical Computing by HBE 34


Comparing the Frequency vs. Power
Consumption

Electronics & Physical Computing by HBE 35


Inspecting Datasheets

Electronics & Physical Computing by HBE 36


Inspecting Datasheets

Electronics & Physical Computing by HBE 37


Inspecting Datasheets

Electronics & Physical Computing by HBE 38


Electronics & Physical Computing by HBE 39
Exercise
• Develop an Arduino based system to discover
the truth table (logic function) of an unknown
logic element (e.g., IC tester). State any
assumptions you make.

Inputs
f Outputs

Electronics & Physical Computing by HBE 40

You might also like