




已阅读5页,还剩30页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
B-MAC: Versatile Low Power Media Access for Wireless Sensor Networks,SenSys 04,Reminder: Proposal Presentation on Monday, March 5,Prepare powerpoint slides to motivate your project and show the overall approach to tackling the problemCome at least 10 minutes before the class begins Give your slides to the tech staffLean how to use the presentation tool etc.Teams & presentation order:Mike & Vic (+ Brian)Chris & YanDahee & ChaoSurabhMehmet,Design goals of B-MAC,Low power operationEffective collisionSimple implementation, small code & RAM sizeEfficient channel utilization at low & high data ratesReconfigurable by network protocolsTolerant to changing RF/Networking conditionsScalable to large numbers of nodes,Small, configurable MAC,Export control to higher services to support wide variety of WSN workloadsWSNs are supposed to support various applicationsS-MAC (discussed in the previous class) is more than a link layer protocolDrawbacks of S-MACScalability: A node may have to remember many schedules and wake up accordinglyMAC layer may not be the best place for sleep scheduling & synchronization,Adaptive, reconfigurable MAC,Adaptive bidirectional interface for WSN applicationsReconfigure the MAC protocol based on the current workloadIdentify the best parameters for an arbitrary low power WSN applications at compile or run time & estimate the applications lifetime,B-MAC Design,Really simpleCSMA via CCA (Clear Channel Assessment) & backoffLow power listening via PreambleAcknowledgmentEnable/disable anything above and allow to build anything on top of the configured B-MAC!,B-MAC Interfaces,Clear Channel Assessment,Effective collision avoidanceFind out whether the channel is idleIf too pessimistic: waste bandwidthIf too optimistic: more collisionsKey observationAmbient noise may change significantly depending on the environmentPacket reception has fairly constant channel energySoftware approach to estimating the noise floor,Take a signal sample when the channel is assumed to be freeRight after a packet is transmitted or when no valid data is receivedTake exponential moving average (EMA) of the median signal strengthWorks as a low pass filterSmoothed idle signal level Sm(t) = a * S(t) + (1 - a) * Sm(t-1)Sm(t): EMA at time t S(t-1): Signal strength of ambient noise at t Sm(t-1): EMA at time t-1 It contrasts to common threshold-based methods in which only a single sample is takenResilient to time-varying ambient noise,CCA vs. Threshold techniques,Idle,Threshold: waste channel utilization CCA: Fully utilize the channel since a valid packet could have no outlier significantly below the noise floor,CCA dynamically adjusts threshold,CCA finds channelbusy/idle status withhigh accuracy,CCA can be turned on/offIf turned off, a schedule-based protocol, e.g., S-MAC, can be implemented atop B-MACIf turned on, initial channel backoff when sending a messageB-MAC does not set the backoff time, but signals an event to the higher service that sent the packet The higer level service may return an initial backoff time or ignore the event If ignored, use a short random delay,Low Power Listening: Preamble Sampling,Sender,Receiver,Preamble,Send data,Preamble sampling,Active to receive a message,S,R,|Preamble| Sampling period,Preamble is not a packet but a physical layer RF pulseMinimize overhead,Optional link layer ACK,If enabled, ACK is sent immediately after receiving a unicast packetOverall, B-MAC is easier to implement than S-MACNo RTS/CTSIs this always good? or ?We know RTS/CTS can reduce hidden/exposed node problem You may have to implement RTS/CTS on your own. Simple but not very friendlyNo synchronizationNo need for a schedule table in S-MACBut periodic sleep & wake-up is a good approach to energy saving,Modeling Lifetime,Monitoring applicationsE = Esleep + Elisten + Ed + Erx + EtxGiven #nodes in the neighborhood, BMAC can estimate the network lifetimeLifetime tl = 1/E * Cbatt * V * 60 * 60,Derivation of Lifetime,Ed = td * cdata * V where td = tdata * rEtx = ttx * ctxb * V where ttx = r * (Lpreamble + Lpacket) * ttxbErx = trx * crxb * V where trx n * r * (Lpreamble + Lpacket) * trxbr * sum_i=1n ( children (i) + 1 )Lpreamble ti / trxb,Derivation of Lifetime (Contd),Esample = 17.3 uJElisten Esample * 1/titlisten = (tr_init + tr_on + trx/tx + tsr) * 1/titsleep = 1 trx ttx td tlistenEsleep = tsleep * csleep * VLifetime tl = 1/E * Cbatt * V * 60 * 60,Network Parameters,Scientists may determine the physical location of the nodes & ideal sampling rateCompute the parameters to get the best lifetime that B-MAC can achieveBest LPL check interval is the lowest line at a given network density in the following graph,If n = 20, 50ms checkinterval is optimal,If n=60, 25ms is best,Experiments,Compare BMAC to S-MAC & T-MACT-MAC is similar to S-MAC, but a receiver goes to sleep if it does not receive any messageB-MAC & S-MAC: implemented in TinyOSTMAC: simulated in Matlab,TinyOS Implementation,B-MAC does not need timestamp,Packet transmission time vs. Checking frequency,More frequent checking of the radioShorter transmission timeMore energy consumption,LPL check interval,Channel utilization,Place n nodes equidistant from a receiver Increase n to increase load BMAC relies on higher level services to send data according to the traffic pattern Consider hidden node problem too For example, after a packet is sent to the parent, nodes in the same cell wait for a certain amount of time for the parent to forward the packet up the tree Always work? More difficulty for developing sensing applications?,Energy per byte,End-to-end latency,Contention-Free Protocols,Classic Protocols,TDMA (Time Division Multiple Access)A node can sleep when it is not its turn to send or receiveFDMA (Frequency Division Multiple Access)CDMA (Code Division Multiple Access)No node within two hops can use the same slot to avoid the hidden node problem,Optimal channel assignment,Achieve contention-free communication using the minimum number of channelsThe problem of assigning a minimum number of channels for an arbitrary graph is NP-hardDevelop efficient heuristicsCentralized approaches do not scale,Stationary MAC and Startup,Local synchronization onlyStarting phaseHandshaking on a common control channelEach link utilizes a unique random frequency or CDMA frequency hopping codeAssume there are sufficiently many frequencies or codesPeriodically use the slot,BFS/DFS-based scheduling,Breadth-first or depth-first traversals of a data gathering treeEvery single node is given a slotBFS might provide more chances for aggregationDFS may transmit individual data more quicklyGlobal synchronization required,Reservation-based synchornized MAC (ReSync),TDMA is not flexible enough to allow the traffic from each node to change over timeReSync provides more flexibilityEach node maintains an epoch based on its local time (or can be synchronized with nearby neighbors)Select a regular time in each epoch to send a short intent messageProbability of collisions is low since the intent is very shortListen long enough to learn when the neighbor is sending the intentThe intended receiver wakes up at the corresponding time to receive the messageNo RTS/CTSData transmissions are scheduled randomly,Traffic-adaptive medium access (TRAMA),Distributed TDMA for flexible & dynamic scheduling of time slotsDivide time epochs into a set of short signaling slots followed by a set of longer transmission slotsKey componentsNeighbor protocol (NP)Schedule exchange protocol (SEP)Adaptive election algorithm (AEP),Neighbor Protocol,Nodes exchange one-hop neighbor info during the random access signaling slotsEnsure the slots are long enough to allow all nodes to get consistent two-hop neighbor info,Schedule exchange protocol,Each node publishes its schedule during the last winning slot in each epoch
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年储能行业上市公司ESG信息披露质量对比分析报告
- 2025年工业互联网平台边缘计算硬件架构的边缘计算设备技术创新报告
- 2025年浙江国家公务员申论考试真题及答案-地市级
- 会计专业考试高级会计实务试卷及答案指导(2025年)
- 2025-2030年风力发电技术创新与市场前景规划报告
- Unit5 Our new home(教学设计)-2024-2025学年译林版(三起)英语四年级上册
- 2025年职场安全基础题及答案
- 国际产品验收标准协议
- 江西省重点中学盟校2025年生物高三上期末达标测试试题
- 第8课 风车转转转教学设计-2025-2026学年小学美术赣美版一年级下册-赣美版
- 问题性皮肤培训课件
- 2025年工业区污水处理厂可行性研究报告
- 特色农产品电商直播基地建设项目可行性研究报告
- 2024-2025学年人教版数学八年级下册期末复习卷(含解析)
- 致密油藏中CO2驱油机理研究
- 2025年高校教师岗前培训高等教育心理学知识竞赛考试题库50题及答案
- 电动港机装卸机械司机(高级技师)职业技能鉴定理论考试题(附答案)
- 无人机打药合同协议书
- 《肥胖症诊疗指南(2024年版)》解读课件
- 2025CSCO结直肠癌诊疗指南解读
- 电力隐患培训课件
评论
0/150
提交评论