下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、COMPUTER NETWORKSChapter 5Signal Encoding TechniquesEncoding TechniquesDigital data, digital signalAnalog data, digital signalDigital data, analog signalAnalog data, analog signalDigital Data, Digital SignalDigital signalDiscrete, discontinuous voltage pulsesEach pulse is a signal elementBinary data
2、 encoded into signal elementsTermsUnipolarAll signal elements have same signPolarOne logic state represented by positive voltage the other by negative voltageData rateRate of data transmission in bits per secondModulation rateRate at which the signal level changesMeasured in baud = signal elements p
3、er secondMark and SpaceBinary 1 and Binary 0 respectively(波特率=比特率/每符號含的比特數(shù))Interpreting SignalsNeed to knowTiming of bits - when they start and endSignal levelsFactors affecting successful interpreting of signalsData rate Signal to noise ratio(SNR)BandwidthComparison of Encoding SchemesSignal Spectr
4、umLack of high frequencies reduces required bandwidthLack of dc component allows ac coupling via transformer, providing isolationConcentrate power in the middle of the bandwidthClockingSynchronizing transmitter and receiverExternal clockSync mechanism based on signalError detectionCan be built in to
5、 signal encodingSignal interference and noise immunitySome codes are better than others (BER)Cost and complexityHigher signal rate (& thus data rate) lead to higher costsSome codes require signal rate greater than data rateEncoding SchemesNonreturn to Zero-Level (NRZ-L)Nonreturn to Zero Inverted (NR
6、ZI)Bipolar -AMIPseudoternaryManchesterDifferential ManchesterB8ZSHDB3Nonreturn to Zero-Level (NRZ-L)Two different voltages for 0 and 1 bitsVoltage constant during bit intervalno transition i.e. no return to zero voltageAbsence of voltage for one, constant positive voltage for zeroNonreturn to Zero I
7、nvertedNonreturn to zero inverted on onesConstant voltage pulse for duration of bitData encoded as presence or absence of signal transition at beginning of bit timeTransition (low to high or high to low) denotes a binary 1No transition denotes binary 0An example of differential encodingNRZ 0 1 0 0 1
8、 1 0 0 0 1 1NRZ pros and consProsEasy to engineerMake good use of bandwidthConsdc componentLack of synchronization capabilityUsed for magnetic recordingNot often used for signal transmissionMultilevel BinaryUse more than two levelsBipolar-AMIzero represented by no signalone represented by positive o
9、r negative pulseone pulses alternate in polarityNo loss of sync if a long string of ones (zeros still a problem)No dc componentLower bandwidthEasy error detectionPseudoternaryOne represented by absence of line signalZero represented by alternating positive and negativeNo advantage or disadvantage ov
10、er bipolar-AMIBipolar-AMI and Pseudoternary 0 1 0 0 1 1 0 0 0 1 1Trade Off for Multilevel BinaryNot as efficient as NRZEach signal element only represents one bitA 3 level system could represent log23 = 1.58 bitsReceiver must distinguish between three levels (+A, -A, 0)Requires approx. 3dB more sign
11、al power for same probability of bit errorBiphaseManchesterTransition in middle of each bit periodTransition serves as clock and dataLow to high represents oneHigh to low represents zeroUsed by IEEE 802.3Differential ManchesterMidbit transition is clocking onlyTransition at start of a bit period rep
12、resents zeroNo transition at start of a bit period represents oneNote: this is a differential encoding schemeUsed by IEEE 802.5Data represented by changes rather than levelsMore reliable detection of transition rather than levelIn complex transmission layouts it is easy to lose sense of polarityManc
13、hester & Differential EncodingBiphase Pros and ConsProsSynchronization on mid bit transition (self clocking)No dc componentError detectionAbsence of expected transitionConsAt least one transition per bit time and possibly twoMaximum modulation rate is twice NRZRequires more bandwidthScramblingUse sc
14、rambling to replace sequences that would produce constant voltageFilling sequence Must produce enough transitions to syncMust be recognized by receiver and replace with originalSame length as originalNo dc componentNo long sequences of zero level line signalNo reduction in data rateError detection c
15、apabilityB8ZS(雙極性8零替換碼)Bipolar With 8 Zeros SubstitutionBased on bipolar-AMIIf octet of all zeros and last voltage pulse preceding was positive encode as 000+-0-+If octet of all zeros and last voltage pulse preceding was negative encode as 000-+0+-Causes two violations of AMI codeReceiver detects an
16、d interprets as octet of all zerosHDB3(高密度雙極性3零碼)High Density Bipolar 3 ZerosBased on bipolar-AMIString of four zeros replaced with one or two pulsesNumber of bipolar pulses (ones) since last substitutionPolarity of preceding pulseoddeven-000-+00+000+-00-B8ZS and HDB3Digital Data, Analog SignalPubli
17、c telephone system300Hz to 3400HzUse modem (modulator-demodulator)Amplitude shift keying (ASK)Frequency shift keying (FSK)Phase shift keying (PSK)Modulation TechniquesAmplitude Shift KeyingValues represented by different amplitudes of carrierUsually, one amplitude is zeroi.e. presence and absence of
18、 carrier is usedSusceptible to sudden gain changesInefficientUp to 1200bps on voice grade linesUsed over optical fiber2ASK調(diào)制解調(diào)相干解調(diào)Binary Frequency Shift KeyingMost common form is binary FSK (BFSK)Two binary values represented by two different frequencies (near carrier)Less susceptible to error than
19、ASKUp to 1200bps on voice grade linesHigh frequency radioEven higher frequency on LANs using co-axFSK on Voice Grade LineMultiple FSKMore than two frequencies usedMore bandwidth efficientMore prone to errorEach signalling element represents more than one bit2FSK調(diào)制: BNRZ信號經(jīng)過模擬調(diào)頻器解調(diào)鑒頻器過零檢測相干解調(diào)非相干解調(diào)Pha
20、se Shift KeyingPhase of carrier signal is shifted to represent dataBinary PSKTwo phases represent two binary digitsDifferential PSKPhase shifted relative to previous transmission rather than some reference signal2PSK調(diào)制方法解調(diào)方法2DPSKDefinition: 源 0 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 1 1 12PSK 0 0 0 0 0 0 0 0
21、 2DPSK 0 0 0 0 0 0 0 0 0 差分編碼 0 0 1 1 1 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 2DPSK相干解調(diào)與2PSK類似,但判決后需要進行差分譯碼。非相干解調(diào)Quadrature PSKMore efficient use by each signal element representing more than one bitshifts of /2 (90o)Each element represents two bitsOffset QPSK (orthogonal QPSK)Delay one bit in Q streamThe n
22、eighboring phase shift no more than 90oQPSK and OQPSK ModulatorsExamples of QPSK and OQPSK WaveformsPerformance of Digital to Analog Modulation SchemesBandwidthASK and PSK bandwidth directly related to bit rateFSK bandwidth related to data rate for lower frequencies, but to offset of modulated frequ
23、ency from carrier at high frequenciesIn the presence of noise, Eb/N0 of PSK and QPSK are about 3dB superior to ASK and FSKQuadrature Amplitude ModulationQAM used on asymmetric digital subscriber line (ADSL) and some wirelessCombination of ASK and PSKLogical extension of QPSKSend two different signal
24、s simultaneously on same carrier frequencyUse two copies of carrier, one shifted 90Each carrier is ASK modulatedTwo independent signals over same mediumDemodulate and combine for original binary outputQAM ModulatorQAM LevelsTwo level ASKEach of two streams in one of two statesFour state systemEssent
25、ially QPSKFour level ASKCombined stream in one of 16 states64 and 256 state systems have been implementedImproved data rate for given bandwidthIncreased potential error rate (b) 星型16QAM星座QAM的星座圖(a) 方型16QAM星座;Analog Data, Digital SignalDigitizationConversion of analog data into digital dataDigital da
26、ta can then be transmitted using NRZ-L and other techniquesDigital data can then be converted to analog signalAnalog to digital conversion done using a codecPulse code modulationDelta modulationDigitizing Analog DataPulse Code Modulation(PCM) (1)Sampling theorem: If a signal is sampled at regular in
27、tervals at a rate higher than twice the highest signal frequency, the samples contain all the information of the original signalVoice data limited to below 4000HzRequire 8000 sample per secondAnalog samples (Pulse Amplitude Modulation, PAM)Each sample assigned digital valuePulse Code Modulation(PCM)
28、 (2)QuantizedQuantizing error or noiseApproximations mean it is impossible to recover original exactly4 bit system gives 16 levels8 bit sample gives 256 levelsQuality comparable with analog transmission8000 samples per second of 8 bits each gives 64kbpsPCM ExampleNonlinear EncodingReduces overall signal distortionQuantization levels not evenly spacedCan also be done by comp
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024小麥購銷的合同范本
- 2024賓館改造裝修合同
- 2024淺談建設(shè)工程招投標(biāo)與合同管理
- 法制宣傳社會公益活動
- 針灸科常用治療項目
- 2024景觀工程分包合同協(xié)議書范本
- 蘇州科技大學(xué)天平學(xué)院《文創(chuàng)藝術(shù)設(shè)計》2022-2023學(xué)年第一學(xué)期期末試卷
- 《兒童急救安全常識》課件
- 固體飲料行業(yè)的營銷推廣方案考核試卷
- 危險品運輸中的冷鏈與溫控技術(shù)考核試卷
- 華醫(yī)網(wǎng)繼續(xù)教育《醫(yī)務(wù)人員職業(yè)素質(zhì)修養(yǎng)與執(zhí)業(yè)法律知識》考試題及答案
- 2022版義務(wù)教育(數(shù)學(xué))課程標(biāo)準(zhǔn)(含2022年新增和修訂部分)
- Hellp綜合征專題知識
- 西亞、中亞、北非音樂課件
- 科技政策及科技項目
- 全國英語教師素養(yǎng)大賽大賽一等獎烏鴉喝水Unit-5-Story-Time課件
- 我是一只有個性的狼教學(xué)設(shè)計及課后反思
- 蘇教版六年級科學(xué)(上冊)第二單元遺傳與變異單元測試卷(含答案)
- 中小學(xué)德育工作評價細則
- 2022年浙江公務(wù)員考試申論真題及答案(A卷)
- 關(guān)于增加體檢科的可行性報告
評論
0/150
提交評論