版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
COMPUTERNETWORKS
Chapter02
ThePhysicalLayerPart12023/2/61ComputerNetworks-02-1Chapter2ThePhysicalLayerEssence:Physicallayerdefinesthemechanical,electrical,andtiminginterfacestothenetwork,providesthemeanstotransmitbitsfromsendertoreceiver,thatis,involvesalotonhowtouse(analog)signalsfordigitalinformation.物理層在點(diǎn)到點(diǎn)連接的兩個(gè)網(wǎng)絡(luò)設(shè)備之間提供透明的比特流傳輸。
提供機(jī)械,電氣,功能及規(guī)程特性2023/2/62ComputerNetworks-02-1Chapter2ThePhysicalLayerWhatwillbetalkedabout?TheoreticalanalysisofdatatransmissionTransmissionmedia(wiresandnowires)Threecommunicationsystem:telephone,mobilephone,andcabletelevisionsystem本章介紹的主要內(nèi)容包括數(shù)據(jù)通信的基本知識(shí)、傳輸介質(zhì)以及三種主要的通信系統(tǒng)2023/2/63ComputerNetworks-02-12023/2/65ComputerNetworks-02-1
Tounderstandwhat’sgoingon,weneedFourierAnalysis.AperiodicfunctionwithperiodT(andfrequencyf=1/T),g(t)canbewrittenas:將電壓或電流表示成為時(shí)間的單值函數(shù)f(t)。這樣就可以用數(shù)學(xué)的方法來描述信號(hào)的變化,并對(duì)其進(jìn)行數(shù)學(xué)分析。19世紀(jì)中葉,法國數(shù)學(xué)家傅立葉證明,任何正常的周期為T的函數(shù)g(t),都可以由無限個(gè)正弦和余弦函數(shù)組成。2023/2/66ComputerNetworks-02-1Example:01100010,8bitforASCII“b”an
=1/πn[cos(πn/4)-cos(3πn/4)+cos(6πn/4)-cos(7πn/4)]bn
=1/πn[sin(3πn/4)-sin(πn/4)+sin(7πn/4)-sin(6πn/4)]cn
=3/4Therootmeansquareamplitudes
is(an2+bn2)1/Bandwidth-LimitedSignals2023/2/67ComputerNetworks-02-1BandwidthWhatdoesthisallmean?Digitalsignaltransmissioncanbethoughtofasbeingconstructedasaninfinitenumberofperiodicanalogsignals.Thequalityoftransmissionisfrequencydependent,notallpartsofthedigitalsignalgetthroughthewireasyouwouldexpect.Digitalsignaltransmissionissubjecttoattenuation衰減,distortion失真,etc.Thisispartlycausedbydisallowinghigh-frequencycomponentstopassthrough.Sotherangeoffrequencyorthenumberofbitsofatransmissionmediumiscalledbandwidth.2023/2/69ComputerNetworks-02-1Example:(Wearetryingtotransmitasinglebyte):Withabitrateofbbits/sec,ittakes8/bsecondstosendabyte.Thefrequencyf1ofthefirstharmonicisb/8HzAssumption:Weareusingasimpleencodingtechniquebasedonthefactthatthelinesupportsonlytwosignalvalues.bpsT(msec)Firstharmonic(Hz)#harmonicssent30026.6737.58060013.3375.04012006.67150.02024003.33300.01048001.67600.0596000.831200.02192000.422400.01384000.214800.002023/2/610ComputerNetworks-02-1Whatisbaudrate:Thenumberchangesinasignalpersecondiscalledthebaudrate,B=1/T.Whatisbitrate:Thenumberofbitstransmittedpersecondiscalledthebitrate,bitspersecond,b/sorbps.
Whatistherelationshipbetweenbitrateandbaudrate:s=B*log2v=1/T*log2v
wheresisbitrate,Bisbaudrate,Tisfrequencyperiod,visnumberofsignalvalues.Ex:B=9600,v=2,s=9600bps;B=2400,v=16,s=9600bpsBaud-rate波特率andBit-rate比特率2023/2/611ComputerNetworks-02-1Wheredowetalkaboutbitrateandbaudrate?DTEDCEDCEDTETransmissionmediumBaudrateBitrateinterfaceinterface編碼效率=比特率/波特率2023/2/613ComputerNetworks-02-12.1.3ThemaximumdatarateofachannelNyquisttheory(noiselesschannels)Nyquistshowedthatifthecut-offfrequencyisHHz,thefilteredsignalcanbereconstructedbymaking2Hsamples.Nomore,noless.Consequence:Maximumtransmissionrate=2Hlog2Vbps(whereVisthenumberofsignalvalues)有限帶寬、無噪聲信道的最大數(shù)據(jù)傳輸率信號(hào)的最佳采樣頻率2H2023/2/614ComputerNetworks-02-1Shannon(noisychannel)showedthatanoisychannelwithasignal-to-noiseratioS/N,hasalimitwithrespecttothebitrate:Maximumtransmissionrate=Hlog2(1+S/N)Inpractice,weusedB(decibel)torepresentsignal-to-noiseratioinsteadofS/N:10log10(S/N)=?dB
1948年,香農(nóng)把尼奎斯特的工作擴(kuò)大到信道受到隨機(jī)(熱)噪聲干擾的情況。噪聲分為:系統(tǒng)內(nèi)和系統(tǒng)外(人為及非人為)噪聲。2023/2/615ComputerNetworks-02-1模擬信號(hào)和數(shù)字信號(hào)的發(fā)送
模擬信號(hào)發(fā)送: 模擬數(shù)據(jù)(聲音) 模擬信號(hào) 數(shù)字?jǐn)?shù)據(jù)(二進(jìn)制脈沖) 模擬信號(hào)
數(shù)字信號(hào)發(fā)送: 模擬數(shù)據(jù) 數(shù)字信號(hào) 數(shù)字?jǐn)?shù)據(jù)(二進(jìn)制脈沖) 數(shù)字信號(hào)
電話系統(tǒng)調(diào)制解調(diào)器MODEM編碼解碼器CODEC數(shù)字編碼解碼器2023/2/617ComputerNetworks-02-12.2GuidedTransmissionMediaMagneticMedia磁介質(zhì)NeverunderestimatethebandwidthofastationwagonfulloftapeshurtlingdownthehighwayExampleCosts:roughly$5000toship200TB,3centsfor1GB2023/2/618ComputerNetworks-02-1CopperWiresTwistedpair雙絞線Twoinsulatedcopperwires,twistedlikeaDNAstring(reduceselectricalinference).Often,twistedpairsgobythebundle.Comparabletotelephonewiringathome.Shielded(STP)TwistedPair屏蔽雙絞線Unshielded(UTP)TwistedPair無屏蔽雙絞線
Category3:nottouseanymoreCategory5/SuperCategory5Category6/7:forGigabittransmission2023/2/619ComputerNetworks-02-1CoaxialCable同軸電纜ExactlyliketheoneyouuseforyourTVSet:BasebandCoax基帶50-ohmcablefordigitaltransmission10Base-2,BNC,Thin-LAN,185m/persegment10Base-5,AUI,Thick-LAN,500m/persegmentAtmost5segments,upto945m/2500m.BroadbandCoax頻帶75-ohmcableforanalogtransmission,likecableTV(CATV).2023/2/621ComputerNetworks-02-12023/2/622ComputerNetworks-02-1Principle:Ratherthanusingelectricalsignals,weuseopticalonesthatarepassedthroughopticalfiber.Principalworkingisbasedontherefractionpropertyoflight:(a)三個(gè)例子:一束光按照不同角度從氧化硅內(nèi)部射到空氣/氧化硅的界面上.(b)通過完全的內(nèi)部反射,光線在光纖內(nèi)部傳播.FiberOptics光纖2023/2/623ComputerNetworks-02-1ST:插入鎖定光耦合器(ST)SC:568A標(biāo)準(zhǔn),方形,插入鎖定2023/2/625ComputerNetworks-02-1FiberConnectionsObservation:Aninterfaceconsistsofareceiver(photodiode)whichtransformslightintoelectricalsignals,and/oratransmitter(LEDorlaser-diode)Passiveinterface:無源接口AcomputerisdirectlyconnectedtotheopticalfiberActiveinterface:有源接口
There’sanordinaryelectricalrepeaterconnectedtotwofibersegmentsandthecomputer:2023/2/626ComputerNetworks-02-12023/2/627ComputerNetworks-02-12.3WirelessTransmissionTheelectromagneticspectrum電磁波譜Wirelesstransmissionstravelatthespeedoflight(c),usesafrequency(f)whichhasawavelength(l).Therelationisthat:
c=l*f
cisaconstant,approximately3x108m/sec,thatistheoreticalinvacuum.Inpractice,cisabout2x108m/seceitherinfiberorcopper.Thatis200m/μsec.2023/2/629ComputerNetworks-02-1Thelargerthewavelengthis,thelongerthedistanceitcantravelwithoutattenuation.Also,thedispersionofhigherfrequenciesismuchlower.Fig.2-11Theelectromagneticspectrumanditsusesforcommunication2023/2/630ComputerNetworks-02-1Note:WecanencodeonlyafewbitsperHertzinthelowfrequencyrange,butmuchmoreinthehigherranges.Thismeansthatwirelesstransmissionwillgenerallyhaveamuchlowerbandwidth(inpractice:1-2Mbps).電磁波可以承載的信息量與其波長有關(guān)。Observation:Fiberopticsoperateinthehighfrequencyrange,whichexplainsthetransmissionratesofgigabitspersecond.光纖的優(yōu)勢(shì)Ifgiventhewidthofawavelengthband?λ,wecancomputethecorrespondingfrequencyband?f,andfromthatthedataratethebandcanproduce.2023/2/631ComputerNetworks-02-1Conclusion:thewidertherange,andtheshorterthewavelength,thehigherthebandwidth.
Example:Fiberopticsoftenworkatl=1.3*10-6withDl=0.16*10-6leadingto30THzbandwidth!Observation:Radiotransmission(VLF–VHF)isextremelypopularforitscheapnessandrange.Also,wavesjustgoallovertheplace.2023/2/632ComputerNetworks-02-1Fig.2-12.(a)在VLF,VF,MF波段,無線電波沿著地面?zhèn)鞑?(b)在HF波段,無線電波被電離層折射回來.Observation:Microwavetransmissionisalsopopularandisgoodforlongdistances,aslongasit’sdirected.2023/2/633ComputerNetworks-02-1MicrowaveTransmissionWavestravelinstraightlinesandcanbenarrowlyfocusedabove100MHz,
concentratingenergyintoasmallbeamusingdish-likeantenna.Repeatersareneededperiodically,for100mhightowers,repeaterscanbespaced80kmapart.Multipath-fadingisweatherandfrequencydependent.Frequencyrange:2.4GHz-2.484GHz,noFCC(federalcommunicationcommission)licensingneeded.微波沿直線傳輸,每隔一定距離需要中繼器,存在多徑衰減問題。頻率范圍:2.4GHz-2.484GHz。2023/2/634ComputerNetworks-02-1InfraredandMillimeterWaves
LightWaveTransmissionFig.2-14.Convectioncurrentscaninterferewithlasercommunicationsystems.Abidirectionalsystem,with
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 露營裝備推廣方案
- 遼寧省本溪市二十二中學(xué)2024-2025學(xué)年八年級(jí)上學(xué)期期中物理模擬題
- 基于《幼兒園教師信息技術(shù)應(yīng)用能力測評(píng)指南》的課程資源庫建設(shè)
- 關(guān)于成立人工智能公司可行性研究報(bào)告
- 內(nèi)蒙古申論模擬50
- 2006年廣東省公務(wù)員錄用考試《申論》試題
- 湖北省申論真題2017年
- 地方公務(wù)員西藏申論70
- 吉林公務(wù)員面試模擬28
- 24.3 第3課時(shí) 用計(jì)算器求銳角三角函數(shù)值 華師大版數(shù)學(xué)九年級(jí)上冊(cè)課件
- 常見臨床醫(yī)學(xué)研究設(shè)計(jì)方案(2篇)
- 工程造價(jià)咨詢企業(yè)財(cái)務(wù)崗位職責(zé)
- 小學(xué)體育專題研究主題
- 2024年公務(wù)員(國考)之行政職業(yè)能力測驗(yàn)真題帶答案(完整版)
- 北師大版數(shù)學(xué)九年級(jí)上冊(cè)課程綱要
- 《化工和危險(xiǎn)化學(xué)品生產(chǎn)經(jīng)營單位重大生產(chǎn)安全事故隱患判定標(biāo)準(zhǔn)(試行)》解讀課件
- 中華民族發(fā)展史智慧樹知到期末考試答案2024年
- 《新聞采訪與寫作》筆記
- 初中語文朗讀教學(xué)設(shè)計(jì)案例分析
- MOOC 電工技術(shù)與實(shí)訓(xùn)-深圳職業(yè)技術(shù)學(xué)院 中國大學(xué)慕課答案
- 2024年云南省大數(shù)據(jù)有限公司招聘筆試參考題庫附帶答案詳解
評(píng)論
0/150
提交評(píng)論