CH 1
CH 1
1
Introduction to Digital Systems
Introduction
In science, technology, business, and, in fact, most other fields of
endeavor, we are constantly dealing with quantities.
Voltage(V)
proportional to the value of 20
-1 2 4 6 8 10 12 14 16 18
that quantity.
-3
-5
Time (s)
Analog quantities such as
Analog quantities have continuous
those cited above have an values
important characteristic:
they can vary over a
continuous range of values.
3
Digital Representation: Digital quantities have discrete
In digital representation the quantities sets of values
are represented not by proportional Digital voltage vs time
quantities but by symbols called digits. 5
Voltage(V)
in the form of decimal digits which
represent hours and minutes (and -1 2 4 6 8 10 12 14 16 18 20
sometimes seconds).
-3
As we know, the time of day changes
continuously, but the digital watch -5
Time (s)
reading does not change continuously;
rather, it changes in steps of one per The major difference between
minute (or per second).
analog and digital quantities is
In other words, this digital
representation of the time of day
changes in discrete steps, as compared Analog Continuous
with the representation of time
provided by an analog watch, where
the dial reading changes continuously.
Digital Discrete
4
Advantages and Limitations of Digital Techniques
Advantages
5
To take advantage of digital techniques when dealing with
analog inputs and outputs, three steps must be followed:
Convert the real-world analog inputs to digital form. (ADC)
Process (operate on) the digital information.
Convert the digital outputs back to real-world analog form. (DAC)
The following diagram shows a temperature control system that
requires analog/digital conversions in order to allow the use of
digital processing techniques.
(Analog) (Digital)
Temperature
(analog) Measuring Analog-to-Digital Digital
Device Converter (ADC) Processing
It is becoming more and more common to see both digital and analog
techniques employed within the same system in order to profit from
the advantages of each.
Leading Trailing
edge edge
LOW
a) Positive pulse
On the other hand, if the HIGH voltage level represents 0 and the LOW
voltage level represents 1, the system is called the negative logic system.
HIGH
Leading
Trailing
edge
edge
LOW
b) Negative pulse
The binary 0 and 1 are represented by the logic voltage levels 0V and
+5 V.
Both positive and negative logics are used in digital systems, but 9the
positive logic is more common.
Cont…
Major parts of a digital pulse
• Base line
• Amplitude
• Rise time (tr)
• Pulse width (tw)
• Fall time (tf)
10
In reality, because of circuit variations, the 0 and 1 would be
represented by voltage ranges instead of particular voltage levels.
5.0V HIGH
(Logic 1)
2.0 V Indeterminate
range
0.8V LOW
(Logic 0)
0V
11
Waveform Characteristics 1 1
f T
Most waveforms encountered in digital T f
systems are composed of series of
pulses, sometimes called pulse trains, T1 T2 T3
13
Timing Diagram
Is a graph of digital waveform showing the actual time
relationship of two or more waveform and how each waveform
changes in relation to the others.
14
Cont… Bit
time 7
Clock
1 2 3 4 5 6 7 8
16
Serial vs. Parallel
17