BIT102 SLM Library - SLM - Unit 01
BIT102 SLM Library - SLM - Unit 01
Structure:
1.1 Introduction
Objectives
1.2 Digital Systems
Signals
Binary Digits
1.3 Logic Levels and Digital Waveforms
1.4 Logic Systems
1.5 Logic Operations
1.6 Combinational and Sequential Logic Functions
1.7 Summary
1.8 Terminal Questions
1.9 Answers
1.1 Introduction
In today’s world, you might have often heard the word digital which has
become a part of our everyday vocabulary. Digital circuits and techniques
are used in almost all areas including computers, automation, robots,
medical, science and technology, transportation, telecommunications,
entertainment, space exploration, Education, military, research, and so on.
Digital circuits and systems play a major role in almost all fields and you can
find their widespread use in most of the applications. This shows the
importance of digital devices, digital systems and digital circuits. And one
has to be aware of these in modern digital IT world. Since the digital circuits
process the digital signal, it is important to know about digital signal and the
kind of operations that a digital system can perform. One who is interested
in knowing the digital fundamentals should know how digital circuits or
systems have been used to perform particular operation.
So in this unit, we will study the two types of signal, namely analog and
digital signals, logic levels and digital waveforms, logic systems and their
operations. We will also introduce combinational and sequential logic
functions.
Objectives:
After studying this unit, you should be able to:
define digital electronics
differentiate analog and digital signals
discuss on logic level and digital waveforms
list and explain the types of logic systems
explain different logic operations
discuss combinational and sequential logic functions
The voltage value varies continuously with time (t) between 0V to its
maximum value –Vmax or Vmax . Thus, an analog signal is continuous both in
time and amplitude.
Digital signal:
A digital signal is not continuous in time and amplitude. It is discrete in both
time and amplitude. It takes only a limited number of values, usually LOW
Sikkim Manipal University B2072 Page No.: 3
Digital Electronics Unit 1
and HIGH. Normally the LOW represents a LOW voltage and a HIGH value
represents a HIGH voltage. These two discrete values are usually
represented by binary numbers 0 and 1 respectively.
• Digital = discrete (step by step)
The figure 1.2 shows an example of digital signal.
The signal shown in figure 1.2 has only two values: 0V and 5V. However, a
digital signal can have more number of discrete values, but the operation of
digital circuit becomes easy when the states or values are limited. For
example, it will be difficult to operate a transistor, an electronic device for
ten different states or values but it can be operated easily if we have two
states like ON and OFF. Taking this aspect into consideration a digital
signal can be defined as “a signal with only two discrete values LOW and
HIGH or 0 and 1 respectively.
The real world is analog in nature and most of the physical quantities like
position, velocity, acceleration, force, pressure, temperature and flow rate,
etc., are analog in nature. In such cases, to avail the benefits and facilities
of digital techniques they have to be converted into digital form.
We can convert an analog signal into digital signal by using circuits called
analog to digital (A/D) converters.
Digital systems:
A digital system is a system that consists of digital devices or digital circuits
that process digital signals.
Some of the examples of digital systems are: Digital Computers,
Calculators, Digital audio System, and Digital Multimeter etc.
Any voltage level that appears in the range that is not defined is invalid and
will not be accepted. Referring to the figure 1.3, the voltage that appears
between VH(min) and VL(max) is invalid and is not acceptable since this range
of voltage level is not defined for logic circuits. For example, Standard TTL
logic gates operate with a 5-volt power supply. A TTL input and output
signal profiles are defined as below:
Now if any voltage signal that ranges between 0.8 V and 2.0 V is sent to the
input of a TTL gate, then there may be no certain response from the gate.
This is because it is considered "uncertain" or unacceptable and is not the
defined voltage level to recognize it as a valid voltage. No logic gate
manufacturer would guarantee how their gate circuit would interpret such a
signal.
In binary logic the two levels used are logical high and logical low. This
generally corresponds to the binary 1 and 0 respectively. Sometimes it is
required to connect (or interface) two different logic circuits (logic gates)
which belong to two different logic families to produce some desired logic
operation. Since each of them belongs to different logic families, they use
different voltage levels to represent 1 and 0 states. Thus they cannot be
directly connected. In such cases, a circuit called interfacing circuit is used.
It accepts the voltage levels of one logic family and produces some other
voltage levels that are compatible to other logic family. So we should
understand voltage levels defined for the logic gates in each of the logic
families and other requirements before making any connection. For example,
TTL (Transistor-Transistor Logic) family voltage levels are different from that
of CMOS (Complementary Metal Oxide Semiconductor) Family. It so
happens that a TTL output may not rise high enough to be reliably
The time between the rise and the fall of a single pulse is called the pulse
width(tw). When multiple pulses occur in a sequence, then it is called a
pulse train. In other words, a series of pulses is called pulse train. The
length of time from the start or beginning of one pulse to the beginning of
the next pulse is called the pulse interval.
Digital pulses usually have well-defined shapes. For example, rectangular
pulses have the shape as shown in figure 1.5.
But in nature, pulses can have any irregular shapes and can occur at
random intervals.
There are two types of pulses. They are:
1. Positive-going pulse
2. Negative-going pulse
Note that in figure 1.8(a) the pulse is not ideal and there are fluctuations.
Note that, normally, rise time is measured from 10% of the pulse amplitude
to 90% of pulse amplitude. Similarly the fall time is measured from 90% of
the pulse amplitude to 10% of pulse amplitude as shown in figure 1.8(a).
Similarly, the pulse shown in figure 1.8(b) will not change instantly from low
to high level or high to low level, but there is a delay. So it is a non -ideal
pulse. Remember, in reality, all the pulses exhibit the same characteristics
as shown in the figure 1.8.
Rise time (tr): It is the time that a pulse takes to go from its LOW level to its
HIGH level.
Fall Time (tf): It is the time that a pulse takes to go from its HIGH level to its
LOW level.
Pulse waveforms: Pulse waveforms consist of sequence of pulses. There
are two types of waveforms:
1) Periodic pulse waveforms
2) Aperiodic or Non periodic pulse waveforms.
1. Periodic pulse waveform: A periodic pulse waveform repeats itself at a
fixed interval of time period (T). In other words, periodic waveform is one
in which the same pattern of HIGHs and LOWs repeat over a specified
period of time. The frequency (f) of a Periodic pulse waveform is given by
f= 1/T, measured in (Hz), where T is measured in seconds. The figure
1.9 shows an example of periodic waveform.
Problem 1: If the frequency of the pulse waveform is 6.24 MHz, then what
is its frequency?
Solution: From the figure 1.11, you can observe that T= 10 ms and
tw=1 ms.
Duty cycle = ( tw/T ) × 100% = 1ms/10ms =10 %.
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 at different instants or points of time.
The clock: It is a periodic waveform in which each pulse occurs at regular
intervals of time and each interval between pulses (the period) equals the
time for one bit.
This means TON = TOFF and T= TON + TOFF
Note that the clock waveform itself does not carry any information. In digital
systems, clock plays an important role especially for synchronising various
operations in sequential circuits. The figure 1.12 shows simple timing
diagram.
Activity 1:
Write any two examples for analog and digital quantity (or signals) you
have seen.
Self-Assessment Questions
5. In TTL input voltage profile, the Vmin= __________ Volts and V max =
____________ volts.
6. The time between the rise and the fall of a single pulse is called
the__________________.
7. A periodic pulse waveform is one that does not repeat itself at a fixed
interval of time period (T). (State true or false)
8. If 0V and 2V are the two voltage levels, then they are represented in
negative logic system as__________________.
(a) 0V=High, 2V=Low (b) 0V= Low, 2V=High
also use this type of Yes or No or True or False type of statements in their
operation. One of the things that makes binary so useful in electronics is
that it’s very efficient at handling special operations called logical
operations. Logical operations compare two binary bits and render a third
binary bit as a result. In digital circuits, logic is used to implement logic
functions or operations. In logic operations, the HIGH (1) represents True
condition and LOW (0) represents a False condition.
The important basic logic operations are: AND, OR, and NOT.
AND: An AND operation compares two binary values. If both values are
1(True), the result of the AND operation is 1(True). If one value is
0 (False) or both of the values are 0 (False), the result is 0(False).
Note that we use binary 1 to represent True condition and binary 0 to
represent False condition.
OR: An OR operation compares two binary values. If at least one of the
values is 1 (True), the result of the OR operation is 1 (True). If both
values are 0 (False), the result is 0 (False).
NOT: A Not operation means negation or inversion. It actually
complements the value. It changes one logic level to the opposite logic
level. For example, if the input logic level is LOW (i.e. 0) then it changes
to HIGH (1) which is the complement of 0. i.e. 0 gets inverted to 1.
Similarly when the value is 1, it gets inverted and becomes 0. Note that
binary 1 represents True condition and binary 0 represents False
condition.
You can apply logical operations to binary numbers that have more than
one binary digit by applying the operation one bit at a time. The easiest way
to do this manually is to line the two binary numbers on top of one another
and then write the result of the operation below each binary digit. The
following example shows how you’d calculate 11010011 AND 10111001:
1.7 Summary
Let us recapitulate the important concepts discussed in this unit:
A digital system is a system that consists of digital devices or logic
circuits that process digital signals or digital quantity.
A signal is one which conveys some information.
Analog signals vary continuously with respect to time, and can take any
value.
A digital signal is a signal that is not continuous in time and amplitude.
0 and 1 are the binary digits.
A group of any 4 binary digits (or bits) is called a Nibble.
A group of any 8 binary digits (or bits) is called Byte.
A digital waveform consists of series or train of pulses.
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 at different instants or points of time.
Clock is a periodic waveform in which each pulse occurs at regular
intervals of time and each interval between pulses (the period) equals
the time for one bit.
There are two types of logic systems: Positive logic system and
Negative logic system.
In digital circuits, logic is used to implement logic functions or
operations. The important logic operations are: AND, OR, and NOT.
A combinational logic is a type of digital logic where the output depends
only on present input values.
A sequential logic is a type of logic circuit whose output depends not
only on the present value of its input signals but also on the past history
of its inputs.
Programmable logic devices can be programmed to do particular logic
functions or operations either by user or manufacturer of the devices.
A Programmable Logic Device (PLD) is an integrated circuit with internal
logic gates and interconnects.
The two types of user programmable logic are: PLD and FPGA.
Glossary:
Digital system: A system that consists of digital devices or logic circuits
that process digital signals or digital quantity.
Analog signals: Signal that vary continuously with respect to time, and can
take any value.
Digital signal: A signal that has only two distinct or discrete values 0 and 1.
Bit: A single binary digit 0 or 1.
Nibble: A group of any 4 bits.
Byte: A group of any 8 binary digits (or bits).
Pulse: A momentary variation of voltage from one level to the opposite level
and back again.
Pulse width (tw): The time between the rise and the fall of a single pulse.
The positive pulse: A pulse in which the voltage changes from LOW level
to its HIGH level and then back to LOW level.
Rise time (tr): The time that a pulse takes to go from its LOW level to its
HIGH level.
Fall Time (tf): The time that a pulse takes to go from its HIGH level to its
LOW level.
Periodic pulse waveform: A waveform that repeats itself at a fixed interval
of time period (T).
Timing diagram: A graph of digital waveforms showing the actual time
relationship of two or more waveforms.
Positive logic system: A logic system in which the higher of the two
voltage levels is represented by binary 1 and the lower level is represented
by binary 0.
1.9 Answers
Self-Assessment Questions
1. Digital
2. Analog Signals
3. Digital
4. Byte
5. 0, 0.8
6. Pulse width(tw)
7. False
8. A) 0V=High, 2V=Low
9. D) AND, OR, and NOT
10. 1
11. Asynchronous sequential
12. Sequential logic
Terminal Questions
1. A signal is one which conveys some information. The two types of
signals are: analog signal and digital signals. Refer to sub-section 1.2.1.
2. (a) Bit: A single binary digit 0 or 1
(b) Nibble: A group of any 4 binary digits (or bits) is called a Nibble
(c) Byte: A group of any 8 binary digits (or bits) is called Byte.
Refer to sub-section 1.2.2 for more details.
3. (a) Pulse: A pulse is a momentary variation of voltage from one level to
the opposite level and back again.
(b) Positive-going pulse: The positive-going pulse is one in which the
voltage changes from its normally LOW level to its HIGH level and
then back to its LOW level.
(c) Falling or trailing edge: The part of a signal where there is a
transition of logic level from a HIGH to a LOW.
(d) Pulse waveforms: Pulse waveforms consist of sequence of pulses.
Refer to section 1.3 for more details.
4. The two types of logic systems are: Positive logic system, and Negative
logic system. Refer to section 1.4 for more details.
5. The important logic operations are: AND, OR, and NOT. Refer to section
1.5 for more details.
6. In digital circuit theory, combinational logic is a type of digital logic where
the output depends only on present input values. Combinational logic
has no memory.
In digital circuit theory, sequential logic is a type of logic circuit whose
output depends not only on the present value of its input signals but also
on the past history of its inputs.
Refer to section 1.6 for more details.