Professional Documents
Culture Documents
Electronics
Analog: Analog refers to something, i.e., continuous. A set of points of data and
all possible points in between.
Digital: Refers to something, i.e., a discrete set of specific points of data with no
other points in between.
Analog Signals: Analog Signals are Continuous signals and can have value
in a limited range. Analog S/g is defined as “Voltage or current whose size is
proportional to the quantity it represents.”
In the real world, Some Examples are Sound, velocity, temperature, pressure,
etc.
An analog signal is represented as
Digital Signals
The digital signal is one that changes between two discrete levels
of voltage or values. Two different representation of digital signals
is shown in Figure 3.
Some of the reasons for the widespread use of digital systems are as
follows:
1. Digital devices operate in only Two states, i.e., 1 and o or On and Off.
No third state is available, and this results in a simple operation.
2. Only a few basic operations in digital circuits are available, and these
are easy to understand.
3. Techniques use Boolean algebra, which is easy to understand.
4. A Large number of ICs are available for performing various
operations. These are fast, reliable, accurate, and small inside.
5. Various ICs are available in the logic family with similar electrical
characteristics, which makes the design and development of digital
circuits very simple and also reduces interfacing problems.
6. The effect of fluctuations in the characteristics of components. aging of
components temperature and noise etc., is very small in digital circuits.
7. Digital circuits have large memory capacity, making them suitable for
use in calculators, computers, telephones, etc.
3
8. The display of the data and other information is very convenient,
accurate, and elegant using digital techniques.
Figure 4
Bit Interval & Bit Rate: Most digital signals are periodic, and thus period
or frequency is inappropriate. Two new terms, bit interval (instead of period)
and bit rate (instead of frequency), describe the digital signal. The bit interval is
the time required to send one bit. The bit rate is the number of bit intervals per
second. This means that the bit rate is the number of bits sent in one second,
usually expressed as bits per second or bps.
4
Number System
A Computer understands information composed of zeros and ones.
Therefore, instructions and data processed by the computer should be in the
form of zeros and ones. But we are familiar with the number system in which an
ordered set of 10 symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 known as digits are used
to specify any number. These ten numbers are the basic numbers and are used to
formulate other numbers this number system is known as decimal number
system as there are 10 basic numbers that are used to formulate other numbers
the radix or base of these number system is 10. The decimal number system is
convenient for the programmer. The computer uses binary digits for its
operation. In the binary system there are only 2 digits 0 and 1. As it has got 2
values the radix or base is 2 and these values are used to formulate other
numbers. The binary number system is very important in digital electronics, but
decimal number system is universally excepted. Therefore, decimal number
system has to be converted into binary value before they are entered into the
digital system. After processing the output obtained in the binary value must be
converted into decimal value so that people can understand it. Therefore,
conversion mechanism is required for converting a value from binary to
decimal and vice versa. Besides binary and decimal number system other
number systems are Octal having a base 8 and Hexadecimal having a base 16.
Position of each of the digit in the decimal number system indicates the
magnitude of the quantity represented and can be assigned a weight. The value
of attachment number is the sum of the digits times of their respective column
weights. e.g.,
5
The digit 4 has a weight of 10 has indicated by exposition and digit 7 has a
weight of one as indicated by its position.
Another example
4732?
So, here the digit 4 has a weight of 1000, 7 has a weight of 100, 3 has a weight
10, and 2 has a weight 1.
Note: 5 bits to count from zero to 31. The following formula tells us how high we
can count in decimal with n bits, beginning with zero.
22 - 1 = 4 - 1 = 3 i.e., from 0 to 3
With 4 bits,
6
24 - 1 = 16 – 1 = 15 i.e., from 0 to 15
With 6 bits,
26 – 1 = 64 - 1 = 63 i.e., from 0 to 63
Examples.
7
Convert (110101)2 to Decimal
Convert
e. (00000100)2
a. (110110)2
b. (1101101)2
8
c. (111110101)2
d. (100001000)2
e. (00000100)2
9
Therefore, rules for converting from binary to decimals are as follow.
the binary numbers converted so far are whole numbers. Fractions can also be
represented in binary by placing bits to the right of the binary position in same
way as in decimal number.
Binary point
Thus, all the bits on the left hand side of binary point have positive powers of 2
and all bits to the right of the binary point have weights that are negative power
of 2.
10
Determine the decimal value of binary number (111.101)2
11
Decimal to binary conversion
Any decimal number can be converted into its binary equivalent number. For
integer, the conversion is obtained by continuous division by 2 and keeping
track of the reminder while for fractional parts the conversion is affected by
continuous multiplication by 2 and keep in track of the integers generated.
Quotient Reminder
Divide 37 by 2 18 1 (LSB)
Divide 18 by 2 9 0
Divide 9 by 2 4 1
Divide 4 by 2 2 0
Divide 2 by 2 1 0
Divide 1 by 2 0 1 (MSB)
12
Convert decimal number 25 to its binary equivalent.
2 3 0
2 1 1
(MSB)
(25)10 = (11001)2
Cross Checking
Step 1:
13
Step 2:
Step 3:
Step 4:
a. (25.5)10
b. (10.625)10
c. (19.6)10
14
15
16
17