付费下载
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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(波特率=比特率/每符号含的比特数)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调制解调相干解调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调制: BNRZ信号经过模拟调频器解调鉴频器过零检测相干解调非相干解调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调制方法解调方法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相干解调与2PSK类似,但判决后需要进行差分译码。非相干解调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. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 磁共振知识教学课件
- 砭术十六法培训
- 2026年旅游管理专业中级认证考试题目
- 2026年智能语音技术工程师预测模拟题
- 2026年中医理论基础及技能测试题目
- 生物+答案吉林长春市东北师大附中2025-2026学年上学期高二年级期末考试(1.12-1.13)
- 2026年教师招聘考试教育心理学教学设计专业知识测试题
- 2026年医院招聘医学日语翻译面试题预测
- 2026年农业科技岗位测验现代农业技术与应用实践题库集
- 2026年电影制作公司面试题目市场营销策划能力实战题
- 2026年离婚协议(标准版)
- 小学生飞机科普教学
- 美术馆施工组织设计方案
- 餐饮安全管理制度清单
- 前列腺恶性肿瘤的护理
- 砂石地材物资运达施工现场后的保护措施
- 房屋建筑和市政基础设施工程勘察文件编制深度规定(2020年版)
- 基于SOLO分类理论的高中生物学概念学习进阶水平评价策略
- 2024年生态环境执法大练兵比武竞赛理论考试题库-上(单选题)
- 盈亏问题完整
- 风湿性心脏病 讲课
评论
0/150
提交评论