10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to...
-
Upload
verity-mosley -
Category
Documents
-
view
218 -
download
1
Transcript of 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to...
![Page 1: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/1.jpg)
10/11/40 page 1Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
Data EncodingData Encoding
![Page 2: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/2.jpg)
10/11/40 page 2Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
Encoding schemeEncoding scheme
voiceTelephone
analog
digitalModem
analog
analogCODEC
digital
digital Digitaltransmitter
digital
Analog data, Analog signal
Digital data, Analog signal Digital data, Digital signal
Analog data, Digital signal
![Page 3: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/3.jpg)
10/11/40 page 3Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
Encoding and ModulationEncoding and Modulation
Encoder Decoder
Modulator Demodulator
digitaldigitalor or
analoganalog
digitaldigitalor or
analoganalog
digitaldigital
analoganalog
g(t)g(t)
m(t)m(t)
ffcc
s(f)s(f)
x(t)x(t)
tt
fffcfc
g(t)g(t)
m(t)m(t)
x(t)x(t)
s(t)s(t)
![Page 4: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/4.jpg)
10/11/40 page 4Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
Why encoding?Why encoding?
Three factors determine successfulness of receiving signal S/N data rate bandwidth
More factor can be used to improve encoding scheme
![Page 5: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/5.jpg)
10/11/40 page 5Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
Encoding evaluation factorsEncoding evaluation factors
Signal spectrum
Clocking
Error detection
Signal interference& noise immunity
Cost and complexity
![Page 6: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/6.jpg)
10/11/40 page 6Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
Digital data, Digital signalDigital data, Digital signal
00 11 00 00 11 11 00 00 00 11 11NRZNRZ
NRZINRZI
Bipolar -AMIBipolar -AMI
PseudoternaryPseudoternary
ManchesterManchester
DifferentialDifferentialManchesterManchester
![Page 7: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/7.jpg)
10/11/40 page 7Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
Scrambling techniquesScrambling techniques
11 11 00 00 00 00 00 00 00 00 11 11 00 00 00 00 00 11 00
00 00 00
00 00 00
VV BB 00 VV BB
VV BB 00 00 VV BB 00 00 VV
Bit valueBit value
B8ZSB8ZS
Bipolar-AMIBipolar-AMI
HDB3HDB3
![Page 8: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/8.jpg)
10/11/40 page 8Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
Spectral densitySpectral density
-0.5
0
0.5
1
1.5
0 0.5 1 1.5
NRZ-L,NRZI
B8ZS,HDB3
AMI, Pseudoternary
Manchester, Differential Manchester
Mea
n sq
uare
vol
tage
per
uni
t ban
dwid
th
Normalized frequency (f/r)
![Page 9: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/9.jpg)
10/11/40 page 9Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
Digital data, Analog signalDigital data, Analog signal
Tranmitting digital data through PSTN
Modem is used to convert digital data to analog signal and vice versa
![Page 10: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/10.jpg)
10/11/40 page 10Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
Modultion techniquesModultion techniques
00 00 11 11 00 11 0000 00 11 00
ASKASK
FSKFSK
PSKPSK
![Page 11: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/11.jpg)
10/11/40 page 11Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
ASKASK
VVdd(t)(t)
VVcc(t)(t)
VVASKASK(t)(t)
ffccffcc-f-f00ffcc-3f-3f00 ffcc+f+f00 ffcc+3f+3f00
SignalSignalpowerpower
FrequencyFrequency
frequency spectrumfrequency spectrum
![Page 12: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/12.jpg)
10/11/40 page 12Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
FSKFSK
Carrier 2Carrier 2
DataDatasignalsignal
Carrier 1Carrier 1
vvdd(t)(t)
vv11(t)(t)
vv22(t)(t)
vvFSKFSK(t)(t)
ff11
SignalSignalpowerpower
FrequencyFrequency
frequency spectrumfrequency spectrum
ff22
![Page 13: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/13.jpg)
10/11/40 page 14Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
PSKPSKDataDataSignalSignal
CarrierCarrier
PhasePhasecoherentcoherent
DifferentialDifferential
vvcc(t)(t)
vvcc(t)(t)
vvPSKPSK(t)(t)
vvPSKPSK(t)(t)
180=0180=0 0=10=1
phase diagramphase diagram
bit rate = signaling rate
![Page 14: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/14.jpg)
10/11/40 page 15Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
Multilevel modulation methodMultilevel modulation method
0011
10100000
00 +90+90 +18+1800
+27+2700
1111
bit rate = n x signaling rate
![Page 15: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/15.jpg)
10/11/40 page 16Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
Multilevel modulation methodMultilevel modulation method
+90?01+90?01
0?000?00
+270?11+270?11
+180?11+180?11
4-PSK phase diagram4-PSK phase diagram16-QAM phase diagram16-QAM phase diagram
11
![Page 16: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/16.jpg)
10/11/40 page 17Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
Analog data, Digital signalAnalog data, Digital signal
Two principle techniques used PCM DM
AnalogAnalogvoice signalvoice signal
Sampling clockSampling clock PAM signalPAM signal PCM signalPCM signal
SamplingCircuit
SamplingCircuit
Quantizerand compander
Quantizerand compander
DigitizedDigitizedvoice signalvoice signal
![Page 17: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/17.jpg)
10/11/40 page 18Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
PCMPCM Sampling signal based on nyquist theorem
3.23.23.93.9
2.82.8 3.43.41.21.2
4.24.2
33 44 33 33
11
44
011011 100100 011011 011011 001001 100100
Original signalOriginal signal
PAM pulsePAM pulse
PCM pulsePCM pulse with quantized errorwith quantized error
011100011011001100011100011011001100 PCM outputPCM output
![Page 18: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/18.jpg)
10/11/40 page 19Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
PCM Conversion processPCM Conversion process
BA CD
AA
BBCCDD
AnalogAnalogvoice signalvoice signal
Sampling clockSampling clock
PAM signalPAM signal PCM signalPCM signal
SamplingCircuit
SamplingCircuit
Quantizerand compander
Quantizerand compander
DigitizedDigitizedvoice signalvoice signal
![Page 19: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/19.jpg)
10/11/40 page 20Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
Nonlinear encodingNonlinear encoding
00112233445566778899101011111212131314141515
Strong signalStrong signal
Weak signalWeak signal
00
112233445566778899
101011111212131314141515
Quantizing levelQuantizing level
Without nonlinear encodingWithout nonlinear encoding With nonlinear encodingWith nonlinear encoding
![Page 20: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/20.jpg)
10/11/40 page 21Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
Companding processCompanding process Implement nonlinear encoding via
companding process Companding = Compressing Exp
anding
1111101001010000111110100101000011111010010100001111101001010000 1111101001010000111110100101000011111010010100001111101001010000
linear quantization intervallinear quantization interval
1111101001010000
1111101001010000
segmentsegmentcodescodes(+)(+)
segmentsegmentcodescodes(-)(-)
NetworkCompressorcircuit
Compressorcircuit
LinearADC
LinearADC
LinearDAC
LinearDAC
Expander circuit
Expander circuitvi
vi vo
vo
![Page 21: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/21.jpg)
10/11/40 page 22Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
Analog Data, Analog signalAnalog Data, Analog signal
Use Modultion techniques Need a high frequency for effective tranmission Modulation permits frequency division multiplex
![Page 22: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/22.jpg)
10/11/40 page 23Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
AnalogAnalog ModulationModulation
CarrierCarrier
Modulating sine-wave signalModulating sine-wave signal
Amplitude-modulated waveAmplitude-modulated wave
Frequency-modulated waveFrequency-modulated wave
Phase-modulated wavePhase-modulated wave
![Page 23: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/23.jpg)
10/11/40 page 24Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
AM SpectrumAM Spectrum
case x t f t
s t na f t f t
s t f tn
f f tn
f f t
m
m c
ca
c ma
c m
( ) cos
( ) cos cos
( ) cos cos ( ) cos ( )
2
1 2 2
22
22
2
case x t f t
s t na f t f t
s t f tn
f f tn
f f t
m
m c
ca
c ma
c m
( ) cos
( ) cos cos
( ) cos cos ( ) cos ( )
2
1 2 2
22
22
2
carriercarrier lower sidebandlower sideband upper sidebandupper sideband
• each sideband contains the complete spectrum of s(t) !
M(f)M(f)
ff00 ffcc - B - B
Discrete carrier termDiscrete carrier term
Lower sidebandLower sideband Upper sidebandUpper sideband
ffcc + B + Bffcc
![Page 24: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/24.jpg)
10/11/40 page 25Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
AM power savingAM power saving
SSB (Single ideband)
DSBSC (Double sideband supresses carrier)
VSB (Vestigial sideband)
![Page 25: 10/11/40 page 1 Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks CONSYL Data Encoding.](https://reader031.fdocuments.us/reader031/viewer/2022020208/56649dcf5503460f94ac3371/html5/thumbnails/25.jpg)
10/11/40 page 26Department of Computer Engineering, Kasetsart University 204325 Introduction to Computer Communications and Networks
CONSYL
FM and PMFM and PM
CarrierCarrier
Modulating sine-wave signalModulating sine-wave signal
Amplitude-modulated (DSBTC) waveAmplitude-modulated (DSBTC) wave
Frequency-modulated waveFrequency-modulated wave
Phase-modulated wavePhase-modulated wave