Data Communication - 4th Lecture
Data Communication - 4th Lecture
✓ Digital-to-analog Conversion:
▰ Course Title: Data Communication
Digital-to-analog conversion is the process of changing one of the characteristics of an
▰ Course Code: CSE-3525 analog signal based on the information in digital data.
▰ Credit Hours: 3
▰ Textbooks: 1. Data Communications AND Networking - 5th Edition by Behrouz A.
Forouzan
2. Computer Networks - 5th Edition by A. Tanenbaum
1 2
✓ Mechanisms for modulating digital data into an analog signal: ✓ Data Rate Vs Signal Rate:
a) Amplitude shift keying (ASK) The relationship between data rate (bit rate) and the signal rate (baud rate) is:
b) Frequency shift keying (FSK)
c) Phase shift keying (PSK) S = N X (1/r)
Combination of changing both the amplitude and phase called where N is the data rate (bps) and r is the number of data elements carried in one
quadrature amplitude modulation (QAM). signal element. The value of r in analog transmission is r =log2 L, where L is the type
of signal element.
Digital-to-analog
conversion
[Bit rate is the number of bits per second; Baud rate is the number of signal elements
per second. In the analog transmission of digital data, the baud rate is less than or
Amplitude shift Frequency shift Phase shift
keying (ASK) keying (FSK) keying (PSK) equal to the bit rate.]
Quadrature amplitude
modulation (QAM)
Fig. Types of digital-to-analog conversion
3 4
1
10/5/2023
5 6
❑ Amplitude Shift Keying (ASK) (Contd.) ❑ Binary Amplitude Shift Keying (BASK):
ASK has advantages in 5G systems due to its simplicity, power efficiency, and ease of The ASK when implemented considering only two levels, then that is referred to as
implementation. binary amplitude shift keying or on-off keying (OOK). The peak amplitude of one signal
level is 0; the other is the same as the amplitude of the carrier frequency.
7 8
2
10/5/2023
❑ Binary Amplitude Shift Keying (BASK) (Contd.) ❑ Binary Amplitude Shift Keying (BASK) (Contd.)
Although the carrier signal is only one simple sine wave, the process of modulation Question: We have an available bandwidth of 100 kHz which spans from 200 to 300
produces a nonperiodic composite signal. This signal has a continuous set of kHz. What are the carrier frequency and the bit rate if we modulated our data by using
frequencies. ASK with d =I?
Solution: The middle of the bandwidth is located at 250 kHz. This means that our
The bandwidth is proportional to the signal rate (baud rate). However, there is normally
carrier frequency can be at fe =250 kHz. We can use the formula for bandwidth to find
another factor involved, called d, which depends on the modulation and filtering
the bit rate (with d =1 and r =1).
process. The value of d is between 0 and 1. This means that the bandwidth can be
expressed as shown, where 5 is the signal rate and the B is the bandwidth. The bandwidth is proportional to the signal rate (baud rate). Here is another factor
involved, called d, which depends on the modulation and filtering process.
B =(1 + d) x S
B =(1 + d) x S
or (1+1) x [N x (1/r)] = 100 kHz [S = N x (1/r)]
or 2N = 100 kHz or, N = 50 kHz (Ans.)
9 10
❑ Multilevel Amplitude Shift Keying (MASK) (Contd.) ❑ Frequency Shift Keying (FSK) (Contd.):
The ASK when implemented considering more than two levels, then that is referred to The output of a FSK modulated wave is high in frequency for a binary High input and is
as Multilevel Amplitude Shift Keying (MASK). low in frequency for a binary Low input. The binary 1s and 0s are called Mark and
Space frequencies.
In this modulation, many amplitudes like 4,8, 16, or more different amplitudes can be
used for the signal and modulate the data using 2, 3, 4, or more bits at a time. In these
cases, r = 2, r = 3, r =4, and so on.
[this is not implemented with pure ASK, it is implemented with QAM]
11 12
3
10/5/2023
❑ Binary Frequency Shift Keying (BFSK) (Contd.): ❑ Bandwidth for Binary Frequency Shift Keying (BFSK):
If only two carrier frequency is considered, then that modulation technique is called We can think of FSK as two ASK signals, each with its own carrier frequency f1 or f2. If
BFSK. We can consider two carrier frequencies,f1 and f2 where the first carrier is the difference between the two frequencies is 2∆f, then the required bandwidth is
considered if the data element is 0; and the second carrier is considered if the data
element is 1. B=(1+d) x S + 2∆f
[Usually, the carrier frequencies are very high, and the difference between them is very
small.]
13 14
❑ Bandwidth for Binary Frequency Shift Keying (Maths): ❑ Phase Shift Keying (PSK):
In phase shift keying, the phase of the carrier is varied to represent two or more
Question: We have an available bandwidth of 100 kHz which spans from 200 to 300 different signal elements. Both peak amplitude and frequency remain constant as the
kHz. What should be the carrier frequency and the bit rate if we modulated our data by phase changes.
using FSK with d =1?
Solution: The midpoint of the band is at 250 kHz. We choose 2∆f to be 50 kHz; this means
B = (1 + d) x S + 2∆f =100
or, (1 + 1) x S + 50 = 100
or, 2S = 100 – 50
or, 2S = 50
or, S = 25 kbaud
15 16
4
10/5/2023
17 18
19 20
5
10/5/2023
❖ The diagram has two axes. The horizontal X axis is related to the in-phase carrier;
the vertical Y axis is related to the quadrature carrier.
Q component
Amplitude of
❖ For each point on the diagram, four pieces of information can be deduced. The
projection of the point on the X axis defines the peak amplitude of the in-phase
component; the projection of the point on the Y axis defines the peak amplitude of
the quadrature component.
Amplitude of X
component
21 22
c. QPSK uses two carriers, one in-phase and the other quadrature. The point
representing 11 is made of two combined signal elements, both with an amplitude of
1 V. One element is represented by an in-phase carrier, the other element by a
quadrature carrier. The amplitude of the final signal element sent for this 2-bit data
element is 2112, and the phase is 45°.
23 24
6
10/5/2023
25 26
27 28
7
10/5/2023
Phase modulation
Amplitude modulation Frequency modulation
29 30
31 32
8
10/5/2023
➢ Frequency Bandwidth:
The total bandwidth required for FM can be determined from the bandwidth of the
audio signal:
BFM = 2(1 + ꞵ)B.
Fig. Phase modulation
33 34
35 36
9
10/5/2023
COMPUTER ARCHITECTURE
Thanks
37
10