Lab 9 Expert System
Lab 9 Expert System
Lab 9 Expert System
Digital
Transmission
CONTENTS
Line Coding
Block Coding
Sampling
Line coding
two
Pulse Rate versus Bit Rate
At 1 Kbps:
1000 bits sent ➔1001 bits received➔1 extra bps
At 1 Mbps:
1,000,000 bits sent ➔1,001,000 bits received➔1000 extra
bps
Line Coding Schemes
Line Coding
Polar
Differential
NRZ RZ Manchester
Manchester
NRZ-L and NRZ-I encoding
In NRZ-L the level of the signal is dependent
upon the state of the bit.
In NRZ-I the signal is inverted if a 1 is
encountered.
RZ encoding
MLT-3 signal
Uses 3 level signal ( +1, 0 dan -1 )
Block coding
Substitution in block coding
4B/5B encoding
Data Code
Q (Quiet) 00000
I (Idle) 11111
H (Halt) 00100
J (start delimiter) 11000
K (start delimiter) 10001
T (end delimiter) 01101
S (Set) 11001
R (Reset) 00111
Sampling
PCM
From analog signal to PCM digital code
Nyquist theorem
According to the Nyquist theorem, the sampling rate
must be at least 2 times the highest frequency
Note:
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.
Example 5