DLD 01
DLD 01
1
Digital and Analog Quantities
• Electronic circuits can be divided into two
broad categories, digital and analog.
• Digital electronics involves quantities with
discrete values, and analog electronics
involves quantities with continuous values.
Digital and Analog Quantities
• Analog quantities have continuous value
– Defined for all time t (0 to t : undefined number of
points with continuous values)
• Temperature, pressure, sound, heart beat
3
Digital and Analog Quantities
• Digital quantities have discrete (distinct / clear) values
– Defined for duration (instance) of time t (0 to t: defined value over
defined time)
• Advantages of digital quantity
– Noise can not affect digital quantity/signal easily
• Can be stored and reproduced easily
• Can processed and transmitted more easily and efficiently
4
An Analog System
• A public address system, used to amplify sound so that it can be heard by a large
audience, is one simple example of an application of analog electronics.
• The basic diagram in Figure illustrates that sound waves, which are analog in
nature, are picked up by a microphone and converted to a small analog voltage
called the audio signal.
• This voltage varies continuously as the volume and frequency of the sound
changes and is applied to the input of a linear amplifier.
• The output of the amplifier, which is an increased reproduction of input voltage,
goes to the speaker(s).
• The speaker changes the amplified audio signal back to sound waves that have a
much greater volume than the original sound waves picked up by the microphone.
A System Using Digital and Analog Methods
• The compact disk (CD) player is an example of a system in which both digital and
analog circuits are used.
• The simplified block diagram in Figure illustrates the basic principle.
• Music in digital form is stored on the compact disk.
• A laser diode optical system picks up the digital data from the rotating disk and
transfers it to the digital-to-analog converter (DAC).
• The DAC changes the digital data into an analog signal that is an electrical
reproduction of the original music.
• This signal is amplified and sent to the speaker for you to enjoy.
• When the music was originally recorded on the CD, a process, essentially the
reverse of the one described here, using an analog-to-digital converter (ADC) was
used.
Binary Digits
• Digital electronics involves circuits and systems in which there are
only two possible states.
• These states are represented by two different voltage levels: A
HIGH and a LOW.
• The two states can also be represented by current levels, bits and
bumps on a CD or DVD, etc.
• In digital systems such as computers, combinations of the two
states, called codes, are used to represent numbers, symbols,
alphabetic characters, and other types of information.
• The two-state number system is called binary, and its two digits are
0 and 1. A binary digit is called a bit.
Logic Levels
• The voltages used to represent a 1 and a 0 are called logic levels.
• Ideally, one voltage level represents a HIGH and another voltage level represents a LOW.
• In a practical digital circuit, however, a HIGH can be any voltage between a specified
minimum value and a specified maximum value.
• Likewise, a LOW can be any voltage between a specified minimum and a specified maximum.
• There can be no overlap between the accepted range of HIGH levels and the accepted range
of LOW levels.
Digital Waveforms
• Digital waveforms consist of voltage levels that are changing back
and forth between the HIGH and LOW levels or states.
• Figure(a) shows that a single positive-going pulse is generated
when the voltage (or current) goes from its normally LOW level to
its HIGH level and then back to its LOW level.
• The negative-going pulse in Figure (b) is generated when the
voltage goes from its normally HIGH level to its LOW level and back
to its HIGH level.
• A digital waveform is made up of a series of pulses.
The Pulse
• 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 pulses in Figure are ideal because the rising and falling
edges are assumed to change in zero time
(instantaneously).
• In practice, these transitions never occur instantaneously,
although for most digital work you can assume ideal pulses.
Nonideal Pulse
• In reality, all pulses exhibit some or all of these characteristics.
• The overshoot and ringing are sometimes produced by stray inductive and
capacitive effects.
• The droop can be caused by stray capacitive and circuit resistance, forming an RC
circuit with a low time constant.
• The time required for a pulse to go from its LOW level to its HIGH level is called the
rise time (tr), and 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.
Relationship between period, frequency and duty cycle
Example
HomeWork#01
• A periodic digital waveform has a pulse width
of 50 microseconds and a period of 300
microseconds. Determine the frequency and
the duty cycle.
A Digital Waveform Carries Binary Information
• Binary information that is handled by digital
systems appears as waveforms that represent
sequences of bits.
• When the waveform is HIGH, a binary 1 is
present; when the waveform is LOW, a binary
0 is present.
• Each bit in a sequence occupies a defined time
interval called a bit time.
The Clock
31