Digital and Analog Transmission
Digital and Analog Transmission
Digital and Analog Transmission
Transmission
1
Digital
Transmission
2
Digital Transmission
A computer network is designed to send
information from one point to another.
This information needs to be converted to either
3
Digital-to-Digital conversion
4
Analog-to Digital Conversion
The techniques described earlier convert digital
data to digital signals. Sometimes, however, we
have an analog signal such as one created by a
microphone or camera.
Since digital signal is superior to analog signal in
processing, the tendency today is to change
analog signal to digital signal.
The most common technique to change an
analog signal to digital signal is called pulse
code modulation (PCM).
5
PCM
A PCM encoder has three processes:
1. Sampling: The analog signal is
sampled
2. Quantization: The sampled signal is
quantized
3. Encoding: The quantized values are
encoded as stream of bits.
6
From analog signal to PCM digital code
7
Sampling
Line coding and block coding can be used to convert
binary data to a digital signal.
If we want to store voice recording in the computer or
send it digitally, we need to change it through a
process called sampling. The sampling process is
sometimes referred to as pulse amplitude modulation
(PAM)
After sampling, encoding can be used to convert it to a
digital signal ready for transmission.
• Digital signals are less prone (rentan) to noise and
distortion. A small change in an analog signal can
change the received voice substantially, but it takes a
considerable change to convert a 0 to 1 or a 1 to 0.
8
PAM
9
Pulse Code Modulation (PCM)
Pulse Code Modulation (PCM) modifies the pulses
created by PAM to create a completely digital signal. To
do so, PCM first quantizes the PAM pulses.
Quantization is a method of assigning integral values in
a specific range to sampled instances. Each value is
translated into its 7-bit binary equivalent, while the
eighth bit indicates the sign.
The binary digits are then transformed to a digital signal
by using one of the line coding techniques.
PCM is the sampling method used to digitize voice in T-
line transmission in the North American
telecommunication system
10
Quantized PAM signal
11
Quantizing by using sign and magnitude
12
PCM
13
Note:
14
Nyquist theorem
15
Example 1
What sampling rate is needed for a signal with a
bandwidth of 10,000 Hz (1000 to 11,000 Hz)?
Solution
The sampling rate must be twice the highest frequency in
the signal:
16
Example 2
A signal is sampled. Each sample requires at least 12
levels of precision (+0 to +5 and -0 to -5). How many bits
should be sent for each sample?
Solution
We need 4 bits; 1 bit for the sign and 3 bits for the value.
A 3-bit value can represent 23 = 8 levels (000 to 111),
which is more than what we need. A 2-bit value is not
enough since 22 = 4. A 4-bit value is too much because 24
= 16.
17
Example 3
We want to digitize the human voice. What is the bit rate,
assuming 8 bits per sample?
Solution
18
Transmission Mode
19
Parallel Transmission
In parallel mode, multiple bits are sent
with each clock tick. In serial mode one bit
is sent with each clock tick.
In parallel transmission n wires are used
to transmit n bits. This is limited to short
distances as wiring is expensive
20
Parallel transmission
21
Serial Transmission
In serial transmission, one bit follows
another; so we need only one
communication channel rather than n-
channels to transmit data between two
communicating devices.
Serial communication reduces the cost by
roughly a factor of n.
Serial transmission occurs in of two ways:
asynchronous or synchronous
22
Serial transmission
23
Asynchronous transmission
In asynchronous transmission the timing or a signal
is unimportant.
To alert the receiver of the arrival of a new group of
bits (usually a byte), an extra bit (0) (start bit) is added
at the beginning of each byte. Another bit (1) (stop bit)
needs to be transmitted at the end of the group to
indicated that the transmission of a byte is finished.
In addition, the transmission of each byte may then be
followed by a gap of varying duration. This can be
either represented by an idle channel or by a stream of
additional stop bits.
Asynchronous communication is slow but it is cheap
and effective. It is used for communication between
the keyboard and a computer
24
Note:
In asynchronous transmission, we
send 1 start bit (0) at the beginning
and 1 or more stop bits (1s) at the end
of each byte. There may be a gap
between each byte.
25
Asynchronous transmission
26
Synchronous transmission
In synchronous transmission, the bit stream is
combined into ‘longer’ frames which may
contain multiple bytes.
Each byte is introduced on to the transmission
link without a gap between two bytes.
It is left to the receiver to separate the bit
stream into bytes for decoding purposes.
The advantage of synchronous transmission is
speed, that’s why it is used for data transmission
between computers.
27
Note:
In synchronous transmission,
we send bits one after another without
start/stop bits or gaps.
It is the responsibility of the receiver to
group the bits.
28
Synchronous transmission
29
Chapter 5
Analog
Transmission
30
Chapter 5
Analog Transmission
31
Chapter 5
Digital-to-Analog Conversion
32
Chapter 5
Digital-to-analog conversion
33
Chapter 5
34
Chapter 5
Note:
35
Chapter 5
36
Chapter 5
Example 4
An analog signal carries 4 bits in each signal unit. If 1000
signal units are sent per second, find the baud rate and the
bit rate
Solution
Baud rate = 1000 bauds per second (baud/s)
Bit rate = 1000 x 4 = 4000 bps
37
Chapter 5
Example 5
The bit rate of a signal is 3000. If each signal unit carries
6 bits, what is the baud rate?
Solution
Baud rate = 3000 / 6 = 500 baud/s
38
Chapter 5
Carrier Signal
In analog transmission, the sending device produces a
high-frequency signal that acts as a basis for the
information signal.
This basic signal is called the carrier signal or carrier
frequency.
The receiving device is tuned (menyesuaikan) to the
frequency of the carrier signal that it expects from the
sender.
Digital information then modulates the carrier signal
by modifying one or more of its characteristics
(amplitude, frequency, or phase).
This is called modulation or shift keying and the
information signal is called the modulating signal.
39
Chapter 5
40
Chapter 5
ASK
41
Chapter 5
42
Chapter 5
FSK
43
Chapter 5
44
Chapter 5
PSK
45
Chapter 5
46
Chapter 5
47
Chapter 5
PSK constellation
48
Chapter 5
49
Chapter 5
50
Chapter 5
51
Chapter 5
52
Chapter 5
53
Chapter 5
Note:
54
Chapter 5
55
Chapter 5
56
Chapter 5
57
Chapter 5
16-QAM constellations
58
Chapter 5
Example 6
A constellation diagram consists of eight equally spaced
points on a circle. If the bit rate is 4800 bps, what is the
baud rate?
Solution
The constellation indicates 8-PSK with the points 45
degrees apart. Since 23 = 8, 3 bits are transmitted with
each signal unit. Therefore, the baud rate is
4800 / 3 = 1600 baud
60
Chapter 5
Telephone Modems
Traditional phone lines can carry frequencies between
300 and 3300 Hz, giving them a bandwidth of 3000 Hz.
All this range is used for transmitting voice, where a
great deal of interference and distortion can be accepted
without loss of intelligibility.
Data signals, however, require a higher degree of
accuracy to ensure integrity.
To be on the safe side, the edges of the bandwidth
range are not used for data communication.
The effective bandwidth of a telephone line being used
for data transmission is 2400 Hz (600-3000 Hz).
61
Chapter 5
Note:
62
Chapter 5
63
Chapter 5
Note:
64
Chapter 5
Modulation/demodulation
65
Chapter 5
Telephone Modems
66
Chapter 5
Traditional Modems
67
Chapter 5
Traditional modems
68
Chapter 5
56K Modem
69
Chapter 5
56K modems
70
Chapter 5
Analog-to-Analog conversion
Analog-to-analog conversion or analog modulation is the
representation of analog information by an analog signal.
Why we need to modulate an analog signal, it is already
analog?
Modulation is needed if the medium is bandpass in nature
or if only a bandpass channel is available.
An example is radio. The government assigns a narrow
bandwidth to each radio station.
The analog signal produced by each station is a low-pass
signal, all in the same range.
To be able to listen to different stations, the low-pass
signals need to be shifted, each to a different range.
Analog-to-analog conversion can be accomplished in three
ways: AM, FM and PM.
71
Chapter 5
Analog-to-analog modulation
72
Chapter 5
73
Chapter 5
74
Chapter 5
Note:
75
Chapter 5
Amplitude modulation
76
Chapter 5
AM bandwidth
77
Chapter 5
AM band allocation
78
Chapter 5
79
Chapter 5
80
Chapter 5
Note:
81
Chapter 5
Frequency modulation
82
Chapter 5
Figure 5.30 FM bandwidth
83
Chapter 5
Note:
84
Chapter 5
FM band allocation
85
Chapter 5
86
Chapter 5
87