Simulation-of-GPRS-MS-BS-Interface-Using-Ns-network-SimulatorGPRS-MS-BS接口使用NS网络仿真器的仿真课件.ppt

上传人(卖家):晟晟文业 文档编号:3761349 上传时间:2022-10-10 格式:PPT 页数:27 大小:221.33KB
下载 相关 举报
Simulation-of-GPRS-MS-BS-Interface-Using-Ns-network-SimulatorGPRS-MS-BS接口使用NS网络仿真器的仿真课件.ppt_第1页
第1页 / 共27页
Simulation-of-GPRS-MS-BS-Interface-Using-Ns-network-SimulatorGPRS-MS-BS接口使用NS网络仿真器的仿真课件.ppt_第2页
第2页 / 共27页
Simulation-of-GPRS-MS-BS-Interface-Using-Ns-network-SimulatorGPRS-MS-BS接口使用NS网络仿真器的仿真课件.ppt_第3页
第3页 / 共27页
Simulation-of-GPRS-MS-BS-Interface-Using-Ns-network-SimulatorGPRS-MS-BS接口使用NS网络仿真器的仿真课件.ppt_第4页
第4页 / 共27页
Simulation-of-GPRS-MS-BS-Interface-Using-Ns-network-SimulatorGPRS-MS-BS接口使用NS网络仿真器的仿真课件.ppt_第5页
第5页 / 共27页
点击查看更多>>
资源描述

1、Simulation of GPRS MS-BS Interface Using ns-Network SimulatorDual Degree PresentationbyRicha Jain(96D07007)Department of Electrical Engineering,Indian Institute of Technolgy,Mumbai,India.Outline Introduction to GPRSAbout ns-Network SimulatorScope of the ProjectImplementation detailsExperimentsConclu

2、ding remarks.The General Packet Radio ServicePacket switched radio transmission Suited for bursty applications(eg Internet)Data rates upto 170 kbpsRe-uses GSM resourcesLower call set-up times;cheaperGPRS ArchitectureGPRS Protocol StackAbout nsPublic domainEvent driven simulatorSplit language OTcl an

3、d C+Nodes and links;routing algorithms;queuing schemesProtocols TCP,UDP,IPTraffic generators CBR,Exponential,ParetoBasic mobility support.A simple ns scriptset ns new Simulator#Creating two nodesset n0$ns node;set n1$ns node#Creating a link btwn the nodes;prop delay=10ms;Drop tail.$ns duplex-link$n0

4、$n1 1Mb 10ms DropTail#Nodes themselves dont send/rx data.Create an agent to do soset cbr0 new Agent/CBR$ns attach-agent$n0$cbr0#create sinkset null0 new Agent/Null$ns attach-agent$n1$null0#connect the two agents$ns connect$cbr0$null0#Tell cbr0 when to start and stop$ns at 0.5$cbr0 start$ns at 4.5$cb

5、r0 stop“$ns run Wireless FeaturesMobile node(ad-hoc node)Air interfaceRadio propagation modelAdhoc routing protocolsMobile IPStructure of a wireless node in nsSample script for a wireless simulation#Set up hierarchical routing.#Specify topology.#Create God#Create a Base Station$ns_ node-config-adhoc

6、Routing DSR -llType LL -macType 802.11 -ifqType DropTail -ifqLen 100 -antType OmniAntenna -propType TwoRayGround -phyType WirelessPhy -topoInstance$topo -wiredRouting ON -agentTrace ON -routerTrace ON -macTrace ON -movementTrace OFF -channel$chan_ Sample script for a wireless simulationset BS(0)$ns_

7、 node 1.0.0$BS(0)random-motion 0$BS(0)set X_ 1.0$BS(0)set Y_ 2.0#create mobilenodes in the same domain as BS(0)$ns_ node-config-wiredRouting OFFset node_(0)$ns_ node 1.0.1$node_(0)base-station AddrParams addr2id$BS(0)node-addr#create and attach Agents TCP/UDP/CBR :#include movement.$ns_at 10.0“$node

8、(0)setdest 200.0 150.0 15.0 :Scope of the projectWe simulate the network stack for the MS-BS interaction and focus on the handling of radio resources.GPRS Air interfaceTDMAUplink-downlink skew of 3 slotsPhysical channel=a slot on a frequency.Logical channels Broadcast/Control/Data.Multiplexing logic

9、al channels onto physical channelsTransmission burstsA radio block(RLC PDU)01234567012345670123200bytesTDMAframesTransmission over the air interface(in GPRS)Features of our GPRS simulatorThe Set-upA single cellThe wireless node now has LL,RLC,MAC for GPRS.Supports traffic in either direction:MS to B

10、S or BS to MSBS can transmit/receive on multiple frequenciesGPRS simAir Interface/ChannelsSeparate uplink/downlink frequencies.TDMA structure with 8 slots per frame.Uplink-downlink skew of 3 slots.User defined options:-number of frequencies-number of GPRS slots per frameSignaling channel slot0,on up

11、link/downlink frequency 0.GPRS simTransmission and reception over the air-interfaceRLC PDU size set to 50 bytes=50 bytes transmitted per slot.Propagation delay set to 0.Timers model transmission and reception.A radio:switched ON during transmission/reception,OFF otherwise.GPRS simSignaling for Call

12、Set-Up and Handling Resource Request Messagefrom MS to BSon the Random Access channel(slot0,freq0)lock IFQwait only one TDMA frame for reply Resource Reply Messagefrom BS to MS on allotted channelupdate vlr_ tableswait till MS receives reply before transmittingGPRS simSignaling.Resource Release Mess

13、agefrom MS to BSon the dedicated slotclear entrieslater requests will be treated on par with fresh requestsGPRS simResource HandlingSlot Allocation first free slot is alloted.allocation symmetric on uplink and downlink.Slot ReleaseMS initiates message on expiry of slot_release_timer.BS deletes vlr_

14、entries on receipt of message.timer value based on experiments.GPRS simDealing with Exceptions1.Collisions1.happen only on the Random Access channel.2.BS drops all colliding requests.3.each MS waits one TDMA frame,then backs off for a random interval.2.Slot level errors1.error model introduced.2.use

15、rs may include/not;user defined rate.3.Multiple ARP requests1.secondary requests dropped.GPRS simExperimentsStudying the average packet delayScenarioObservationsInferencesGPRS simAverage packet delay for various data ratesGPRS simAverage packet delay for various data ratesGPRS simAverage packet dela

16、y vs data generation ratesGPRS simSimulations Resource release timerScenarioObservationsInferencesInteraction of LL/RLC and TCPs ARQGPRS vs GSM capacity analysisGPRS simSummarizing.A simulator for the GPRS MS-BS interface was developed.Features of the simulator were tested.Experiments on the average packet delay,slot release timer etc were performed.

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 办公、行业 > 医疗、心理类
版权提示 | 免责声明

1,本文(Simulation-of-GPRS-MS-BS-Interface-Using-Ns-network-SimulatorGPRS-MS-BS接口使用NS网络仿真器的仿真课件.ppt)为本站会员(晟晟文业)主动上传,163文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
2,用户下载本文档,所消耗的文币(积分)将全额增加到上传者的账号。
3, 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(发送邮件至3464097650@qq.com或直接QQ联系客服),我们立即给予删除!


侵权处理QQ:3464097650--上传资料QQ:3464097650

【声明】本站为“文档C2C交易模式”,即用户上传的文档直接卖给(下载)用户,本站只是网络空间服务平台,本站所有原创文档下载所得归上传人所有,如您发现上传作品侵犯了您的版权,请立刻联系我们并提供证据,我们将在3个工作日内予以改正。


163文库-Www.163Wenku.Com |网站地图|