ECE 421-Week1
ECE 421-Week1
systems
1.Introduction to Digital and Analog quantities
2.Binary digits, logic levels, and digital waveform
3.Introduction to basic logic operations
4.Digital integrated circuits
5.Advantages of digital systems over analog systems
1. Introduction to Digital and Analog
quantities
Analog quantities:
Continuously variable electrical or physical
quantity.
They take on any value within a continuous
range.
Most things that can be measured
quantitatively occur in nature in analog
form.
Examples: sound, voltage, time, pressure,
temperature
1. Introduction to Digital and Analog
quantities
1. Introduction to Digital and Analog
quantities
Digital quantities:
Have digits that represent numbers,
letters, or symbols.
Digital quantities are strictly with two
levels, ON and OFF states, which we
can represent by 0s and 1s.
They have specific, distinct values.
1. Introduction to Digital and Analog
quantities
1. Introduction to Digital and Analog
quantities
7
1. Introduction to Digital and Analog
quantities
Analog signal is defined by the amplitude,
frequency, and phase while digital signal
are defined by the bit interval and bit-
rate.
In terms of signal nature, the analog
signals correspond to the continuous-
time signal, while the digital signals
correspond to discrete-time signals.
In terms of waveform, analog signals are
represented by sine waves while digital
signals are represented by square waves
and pulses.
2. Binary digits, logic levels, and digital
waveform
Binary Digits
A digital signal is made up of a series of 1s
and 0s that represent numbers, letters,
symbols, or control signals.
1 is represented by the higher voltage, a
HIGH (ON), and a 0 is represented by the
lower voltage level, LOW (OFF)
The two-state number system is called
binary. A binary digit is called a bit.
2. Binary digits, logic levels, and digital
waveform
2. Binary digits, logic levels, and digital
waveform
Logic levels
A logic level is a band of voltage
levels, from a minimum to a maximum
level, representing either a logic 0 or a
logic 1 in digital circuits.
In digital electronics, logic levels are
typically defined by voltage ranges:
Low Logic Level (Logic 0): A voltage
range close to 0 volts.
High Logic Level (Logic 1): A voltage
range significantly higher than 0 volts.
2. Binary digits, logic levels, and digital
waveform
2. Binary digits, logic levels, and digital
waveform
Digital Waveform
Digital waveforms are electrical signals
that represent digital data and consist of
discrete voltage levels that change back
and forth between the HIGH and LOW
levels or states.
Pulse Waveform: a high voltage level
followed by a low voltage level.
Square Wave: alternates between high
and low voltage levels at regular intervals.
2. Binary digits, logic levels, and digital
waveform
2. Binary digits, logic levels, and digital
waveform
Pulse Waveform
A pulse has two edges: a leading edge that
occurs first at time t0 and a trailing edge
that occurs last at time t1.
For a positive-going pulse, the leading
edge is a rising edge, and the trailing
edge is a falling edge.
The time required for a pulse to go from
its LOW level to its HIGH level is called
the rise time (tr).
2. Binary digits, logic levels, and digital
waveform
Pulse Waveform
The time required for the transition from
the HIGH level to the LOW level is called
the fall time (tf).
The pulse width (tW) is a measure of the
duration of the pulse and is often defined
as the time interval between the 50%
points on the rising and falling edges.
2. Binary digits, logic levels, and digital
waveform
2. Binary digits, logic levels, and digital
waveform
Square Waveform
In each cycle, the wave first switches from
zero to some peak voltage value (Vpk) for
a fixed period, then switches low again for
a second fixed period, and so on.
The duration for which a signal is in its
high state is Ton, and the duration for
which the signal is in its low state is Toff
e.g if Ton is at 5v, Toff is at -5V
2. Binary digits, logic levels, and digital
waveform
Key Characteristics of Digital Waveforms
Amplitude: The magnitude of the voltage
levels.
Period: The time taken for one complete
cycle of the waveform.
Frequency: The number of cycles per
second, measured in Hertz (Hz). T
Duty Cycle: The ratio of the high voltage
level to the total period.
2. Binary digits, logic levels, and digital
waveform
Timing Diagrams
A timing diagram is a graph of digital
waveforms showing the actual time relationship
of two or more waveforms and how each
waveform changes in relation to the others.
From a timing diagram, you can determine the
states (HIGH or LOW) of all the waveforms at
any specified point in time and the exact time
that a waveform changes state relative.
Common timing diagrams consist of a clock
signal, a data signal representing digital data,
and control signals controlling the operation of
digital circuits.
2. Binary digits, logic levels, and digital
waveform
3. Introduction to basic logic operations
Several kinds of digital logic circuits are
the basic elements forming the building
blocks for complex digital systems such
as the computer.
Logic is applied to digital circuits used to
implement logic functions.
Three basic logic functions (NOT, AND,
and OR) The lines connected to each
symbol are the inputs and outputs.
The true/false conditions mentioned
earlier are represented by a HIGH (true)
and a LOW (false).
3. Introduction to basic logic operations
3. Introduction to basic logic operations
NOT Gate
The NOT function changes one logic level
to the opposite logic level,
When the input is HIGH (1), the output is
LOW (0).
When the input is LOW, the output is
HIGH.
The NOT function is implemented by a
logic circuit known as an inverter.
3. Introduction to basic logic operations
3. Introduction to basic logic operations
AND Gate
The AND function produces a HIGH
output only when all the inputs are
HIGH.
When any or all inputs are LOW, the
output is LOW.
The AND function is implemented by a
logic circuit known as an AND gate.
3. Introduction to basic logic operations
3. Introduction to basic logic operations
OR Gate
The OR function produces a HIGH output
when one or more inputs are HIGH.
When one input is HIGH or the other
input is
HIGH or both inputs are HIGH, the
output is HIGH.
When both inputs are LOW, the output is
LOW.
The OR function is implemented by a
logic circuit known as an OR gate.
3. Introduction to basic logic operations
4. Digital Integrated Circuits
Digital integrated circuits (ICs) are
electronic circuits that operate on
discrete signals, typically represented by
binary values (0 and 1).
They are the building blocks of modern
digital systems, used for processing and
storing digital information in electronic
devices.
Digital IC components are logic gates,
such as combinational and sequential
circuits, flip-flops, and multiplexers.
4. Digital Integrated Circuits
A monolithic integrated circuit (IC) is an
electronic circuit that is constructed
entirely on a single small chip of silicon.
All the components that make up the
circuit—transistors, diodes, resistors, and
capacitors—are an integral part of that
single chip.
Fixed-function logic and programmable
logic are two broad categories of digital
ICs.
4. Digital Integrated Circuits
These digital ICs,
typically microprocessors, DSPs,
and microcontrollers, use Boolean algebra to
process 1 and 0.
Digital ICs are categorized as:
Logic IC
e.g. microprocessors and microcontrollers
Memory chips e.g. MOS memory and floating-
gate memory.
Interface ICs e.g. level
shifters, serializer/deserializer,
Power management ICs
Programmable devices.
4. Digital Integrated Circuits