4. transmisi digital
DESCRIPTION
4. TRANSMISI DIGITAL. Transmisi Digital. Karakteristik Pola-pola penyandian kanal (Line Coding Schemes) Beberapa pola penyandian yang lain. Penyandian kanal (Line coding). Sinyal versus aras data (data level). Komponen DC. Contoh 1. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/1.jpg)
4. TRANSMISI DIGITAL
![Page 2: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/2.jpg)
Transmisi Digital
• Karakteristik
• Pola-pola penyandian kanal (Line Coding Schemes)
• Beberapa pola penyandian yang lain
![Page 3: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/3.jpg)
Penyandian kanal (Line coding)
![Page 4: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/4.jpg)
Sinyal versus aras data (data level)
![Page 5: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/5.jpg)
Komponen DC
![Page 6: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/6.jpg)
Contoh 1
• Suatu sinyal memiliki dua lever data dengan durasi 1 ms. Dapat dihitung laju pulsa (pulse rate) dan laju bit (bit rate) sebagai berikut:
• Penyelesaian:Pulse Rate = 1/ 10-3= 1000 pulses/sPulse Rate = 1/ 10-3= 1000 pulses/s
Bit Rate = Pulse Rate x log2 L = 1000 x log2 2 Bit Rate = Pulse Rate x log2 L = 1000 x log2 2 = 1000 bps= 1000 bps
![Page 7: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/7.jpg)
Contoh 2
• A signal has four data levels with a pulse duration of 1 ms. We calculate the pulse rate and bit rate as follows
• PenyelesaianPulse Rate = = 1000 pulses/sPulse Rate = = 1000 pulses/s
Bit Rate = PulseRate x log2 L = 1000 x log2 4 = Bit Rate = PulseRate x log2 L = 1000 x log2 4 = 2000 bps2000 bps
![Page 8: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/8.jpg)
Lack of synchronization
![Page 9: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/9.jpg)
Contoh 3
In a digital transmission, the receiver clock is 0.1 percent faster than the sender clock. How many extra bits per second does the receiver receive if the data rate is 1 Kbps? How many if the data rate is 1 Mbps?
• Penyelesaian:
![Page 10: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/10.jpg)
• At 1 Kbps:
• 1000 bits sent 1001 bits received1 extra bps
• At 1 Mbps:
• 1,000,000 bits sent 1,001,000 bits received1000 extra bps
![Page 11: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/11.jpg)
Line coding schemes
![Page 12: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/12.jpg)
Unipolar encoding uses only one voltage level.
![Page 13: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/13.jpg)
Unipolar encoding
![Page 14: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/14.jpg)
Polar encoding uses two voltage levels Polar encoding uses two voltage levels (positive and negative).(positive and negative).
![Page 15: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/15.jpg)
![Page 16: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/16.jpg)
Types of polar encoding
![Page 17: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/17.jpg)
• In NRZ-L the level of the signal is dependent In NRZ-L the level of the signal is dependent upon the state of the bit.upon the state of the bit.
In NRZ-I the signal is inverted if a 1 is In NRZ-I the signal is inverted if a 1 is encountered.encountered.
![Page 18: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/18.jpg)
NRZ-L and NRZ-I encoding
![Page 19: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/19.jpg)
RZ encoding
![Page 20: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/20.jpg)
A good encoded digital signal must A good encoded digital signal must contain a provision for contain a provision for
synchronization.synchronization.
![Page 21: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/21.jpg)
![Page 22: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/22.jpg)
In Manchester encoding, the transition at In Manchester encoding, the transition at the middle of the bit is used for both the middle of the bit is used for both
synchronization and bit representation.synchronization and bit representation.
![Page 23: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/23.jpg)
Differential Manchester encoding
![Page 24: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/24.jpg)
In differential Manchester encoding, the In differential Manchester encoding, the transition at the middle of the bit is transition at the middle of the bit is
used only for synchronization. used only for synchronization. The bit representation is defined by the The bit representation is defined by the
inversion or noninversion at the inversion or noninversion at the beginning of the bit.beginning of the bit.
![Page 25: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/25.jpg)
• In bipolar encoding, we use three In bipolar encoding, we use three levels: positive, zero, levels: positive, zero, and negative.and negative.
![Page 26: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/26.jpg)
Bipolar AMI encoding
![Page 27: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/27.jpg)
2B1Q
![Page 28: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/28.jpg)
MLT-3 signal
![Page 29: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/29.jpg)
5.2 Block Coding
• Steps in Transformation
• Some Common Block Codes
![Page 30: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/30.jpg)
Block coding
![Page 31: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/31.jpg)
Substitution in block coding
![Page 32: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/32.jpg)
Table 5.1 4B/5B encodingTable 5.1 4B/5B encoding
Data Code Data Code
0000 1111011110 1000 1001010010
0001 0100101001 1001 1001110011
0010 1010010100 1010 1011010110
0011 1010110101 1011 1011110111
0100 0101001010 1100 1101011010
0101 0101101011 1101 1101111011
0110 0111001110 1110 1110011100
0111 0111101111 1111 1110111101
![Page 33: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/33.jpg)
Table 4.1 4B/5B encoding Table 4.1 4B/5B encoding (Continued)(Continued)
Data Code
Q (Quiet) 0000000000
I (Idle) 1111111111
H (Halt) 0010000100
J (start delimiter) 1100011000
K (start delimiter) 1000110001
T (end delimiter) 0110101101
S (Set) 1100111001
R (Reset) 0011100111
![Page 34: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/34.jpg)
Example of 8B/6T encoding
![Page 35: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/35.jpg)
5.3 Sampling5.3 Sampling
• Pulse Amplitude Modulation
• Pulse Code Modulation
• Sampling Rate: Nyquist Theorem
• How Many Bits per Sample?
• Bit Rate
![Page 36: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/36.jpg)
PAM
![Page 37: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/37.jpg)
Pulse amplitude modulation has some Pulse amplitude modulation has some applications, but it is not used by itself applications, but it is not used by itself in data communication. However, it is in data communication. However, it is the first step in another very popular the first step in another very popular
conversion method called conversion method called pulse code modulation.pulse code modulation.
![Page 38: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/38.jpg)
Quantized PAM signal
![Page 39: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/39.jpg)
Quantizing by using sign and magnitude
![Page 40: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/40.jpg)
PCM
![Page 41: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/41.jpg)
Figure 4.22 From analog signal to PCM digital code
![Page 42: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/42.jpg)
According to the Nyquist theorem, the According to the Nyquist theorem, the sampling rate must be at least 2 times sampling rate must be at least 2 times
the highest frequency.the highest frequency.
![Page 43: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/43.jpg)
Figure 4.23 Nyquist theorem
![Page 44: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/44.jpg)
Contoh 5.4
What sampling rate is needed for a signal with a bandwidth of 10,000 Hz (1000 to 11,000 Hz)?
• Penyelesaian:The sampling rate must be twice the highest
frequency in the signal:Sampling rate = 2 x (11,000) = 22,000 Sampling rate = 2 x (11,000) = 22,000
samples/ssamples/s
![Page 45: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/45.jpg)
Contoh 5.5
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?
Penyelesaian: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.
![Page 46: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/46.jpg)
Contoh 5.6
We want to digitize the human voice. What is the bit rate, assuming 8 bits per sample?
• Penyelesaian:• The human voice normally contains frequencies
from 0 to 4000 Hz. • Sampling rate = 4000 x 2 = 8000 samples/sSampling rate = 4000 x 2 = 8000 samples/s
• Bit rate = sampling rate x number of bits per Bit rate = sampling rate x number of bits per sample sample = 8000 x 8 = 64,000 bps = 64 Kbps= 8000 x 8 = 64,000 bps = 64 Kbps
![Page 47: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/47.jpg)
• Note that we can always change a Note that we can always change a band-pass signal to a low-pass signal band-pass signal to a low-pass signal before sampling. In this case, the before sampling. In this case, the sampling rate is twice the bandwidth.sampling rate is twice the bandwidth.
![Page 48: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/48.jpg)
Mode Transmisi
• Parallel Transmission
• Serial Transmission
![Page 49: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/49.jpg)
Figure 4.24 Data transmission
![Page 50: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/50.jpg)
Figure 4.25 Parallel transmission
![Page 51: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/51.jpg)
Figure 4.26 Serial transmission
![Page 52: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/52.jpg)
In asynchronous transmission, we send In asynchronous transmission, we send 1 start bit (0) at the beginning and 1 or 1 start bit (0) at the beginning and 1 or more stop bits (1s) at the end of each more stop bits (1s) at the end of each
byte. There may be a gap between each byte. There may be a gap between each byte.byte.
![Page 53: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/53.jpg)
Asynchronous here means Asynchronous here means “asynchronous at the byte level,” but “asynchronous at the byte level,” but the bits are still synchronized; their the bits are still synchronized; their
durations are the same.durations are the same.
![Page 54: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/54.jpg)
Figure 4.27 Asynchronous transmission
![Page 55: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/55.jpg)
In synchronous transmission, In synchronous transmission, we send bits one after another without we send bits one after another without
start/stop bits or gaps. start/stop bits or gaps. It is the responsibility of the receiver to It is the responsibility of the receiver to
group the bits.group the bits.
![Page 56: 4. TRANSMISI DIGITAL](https://reader033.vdocuments.site/reader033/viewer/2022042503/56813b6a550346895da46d4b/html5/thumbnails/56.jpg)
Figure 4.28 Synchronous transmission