Digital Electronics Lecture 1 - Introduction: Kwame Oteng Gyasi 0544478819
Digital Electronics Lecture 1 - Introduction: Kwame Oteng Gyasi 0544478819
LECTURE 1 - INTRODUCTION
SUBJECT TO CHANGE***
• Electronic circuits can be divided into two broad
categories, digital and analog. Digital electronics
involve quantities with discrete values, and analog
electronics involve quantities with continuous
values.
• An analog* quantity is one having continuous
values. A digital quantity is one having a discrete
set of values. Most things that can be measured
quantitatively occur in nature in analog form. Eg.
Pressure, Sound, time, distance
• Does temperature change instantaneously during
the day?
Why Digital?
• Digital representation has certain advantages over
analog representation in electronics applications.
• For one thing, digital data can be processed and
transmitted more efficiently and reliably than
analog data.
• Also, digital data has a great advantage when
storage is necessary. Eg. Storage of music
• Noise (unwanted voltage fluctuations) does not
affect digital data nearly as much as it does analog
signals. Eg. TV
Analog System
The simplified block diagram above illustrates the basic principle of a CD player.
• 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.
PS: 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.
• 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.
• ***(+ve and –ve logic)***
• 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
• Digital waveforms consist of voltage levels that are changing back and
forth between the HIGH and LOW levels or states.
• The Figure above 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 1–7(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.
Waveform Xtics
• AND GATE
• OR GATE
Extra topics
• A flip-flop is a bistable (two stable states) logic
circuit that can store only one bit at a time, either a
1 or a 0. The output of a flip-flop indicates which bit
it is storing. A HIGH output indicates that a 1 is
stored and a LOW output indicates that a 0 is stored.
• A register is formed by combining several flip-flops
so that groups of bits can be stored. For example,
an 8-bit register is constructed from eight flip-flops.
In addition to storing bits, registers can be used to
shift the bits from one position to another within
the register or out of the register to another circuit;
therefore, these devices are known as shift registers.
Memories
• Optical Memories: CDs, DVDs, and Blu-ray Discs are
storage devices based on laser technology. Data are
represented by pits and lands on concentric tracks.
A laser beam is used to store the data on the disc
and to read the data from the disc.
• Semiconductor memories are devices typically used
for storing large numbers of bits. In one type of
memory, called the read-only memory or ROM, the
binary data are permanently or semi-permanently
stored and cannot be readily changed. In the
random-access memory or RAM, the binary data
are temporarily stored and can be easily changed.
Assignment (due next week {11.2.2019})
1. Define analog.
2. Define digital.