Chapter 1: Digital Data Representation
1. Systems: Digital and Analog
Electronic circuits can be divided into two broad categories, analog and
digital.
- Analog Electronics
Continuous valued quantities (Analog quantities)
- Digital Electronics
Discrete valued quantities (Digital quantities)
- Digital quantity: Quantity having discrete set
of values.
1
Analog quantities:
-Quantities having continuous values.
- Most measurable quantities occur in nature in analog form.
Eg: Temperature
- The temperature varies continuously
Other examples: Time, pressure, distance, sound
2
Let’s take temperature reading every hour.
- we have sampled values representing the temperature at discrete points in
time(every hour) over a 24-hour period.
- Can be digitized by representing each sampled value by digital
code. However, itself is not a digital representation of analog quantity.
3
A complete Digital representation of analog quantity is shown
below
Analog
Digital
4
Analog vs Digital
Digital system is said to be always better than the analog system.
An analog electronic system
Public address system
Microphone, linear amplifier & speaker
6
System Using Analog and Digital method
CD player
CD drive, Digital to analog converter (DAC), linear amplifier and speaker.
CD drive
10110011101 Digital-to-analog Linear amplifier
Digital data converter Analog
reproduction
of music audio Speaker
signal
Sound
waves
Both digital and analog circuits
7
Advantages of digital circuits over analog
Easier to design.
Information storage is easier and larger.
Accuracy and precision are easier to maintain.
Operation can be programmed.
Less affected by noise.
More digital circuitry can be fabricated on IC chips.
Speed
Economy
Steadily advancing technology
8
Easier to Design
There are only two different voltage levels to be considered in the
digital system.
Two different voltage levels: HIGH and LOW.
9
Information Storage is Easy
Can be kept as long as necessary in digital memory.
Can be stored more compactly.
CD ~ 700 Mb Memory Card ~ 4 Gb Pen Drive ~ 1 Gb
10
Accuracy and Precision
Accuracy and precision are easier to maintain.
The digital information does not deteriorate once it is stored.
The analog information maybe distorted by the effect of
temperature, humidity etc.
11
Operation can be Programmed
It is easy to program the operation of the digital system.
The operations in the analog system are complex and difficult to
program.
12
Less affected by Noise
The exact voltage is not important in the digital system.
VH(max)
HIGH
VH(min)
Unallowed
VL(max)
LOW
VL(min)
Logic level
13
Compactness
Analog components cannot be economically
integrated.
High-value capacitors, precision resistors,
inductors and transformers.
Digital circuits possible !
Processor.
14
Limitations of Digital System
The real world is analog.
Processing digitized signals
takes time.
01011010
15
2. Data Representation Mechanisms
Digital electronics involves circuits and systems in which there are
only two possible states.
Two different voltage levels: HIGH and LOW
Code: Combination of the two states
- Represent numbers, symbols, alphabetic character
and other type of information.
16
Binary number system: two-state number system
- The two digits (bits) are 0 and 1
In positive logic: [used throughout the course]
-The bit 1 is represented by a higher voltage
level and 0 is represented by lower voltage level.
HIGH=1 LOW=0
In negative logic:
- The bit 1 is represented by LOW and 0 is
represented by HIGH.
17
Ideally, one voltage level represents HIGH and another
voltage levels represents LOW.
However, in practice, HIGH and LOW can be ranges of
voltages.
The voltage values between VL(max) and VH(min) are unacceptable for
proper operation.
18
Topic References
Thomas L. Floyd, Digital Fundamentals.
John F. Wakerly, Digital Design Principles & Practices.
19