伊落丹矩陣_Radio

          Trinity, log me out!

          自由空間路損在ns2中的應用

          Free Space Path-loss as in ns2

          <伊落丹> illidan.modeler [at] gmail.com
          Northern Capital, Republic of Pandaren

          Of the Net, by the Net, for the Net


          Free space path-loss is a major factor when considering the attenuation of EM signal strength. Basically it's defined by the following equation:

          Pt/Pr = (4*Pi*d*f/c)^2

          Pt: transmitted power
          Pr: received power
          d: the distance between transmitter and receiver
          f: the signal frequency
          c: light speed


          Recast the equation in dB form, we get

          FSPL (dB) = -147.56 + 20*log10(d) + 20*log10(f)

          Take the FSPL of a IEEE 802.11 WLAN signal for example. The relation between FSPL and distance is depicted below:

          where the transmission power is about 10 mW, without considering antenna gain and other attenuation.

          In ns2, path loss, which is an effect of the physical layer, is handled by class WirelessPhy (mac/wirelss-phy.{h,cc}). WirelessPhy calculates the path loss in its method sendUp(), by calling FreeSpace::Pr(PacketStamp *t, PacketStamp *r, WirelessPhy *ifp). FreeSpace and its parent Propagation are defined in mobile/propagation.{h, cc}.

          The code snipit carrying out the call to FreeSpace's method is given below (wireless-phy.cc):
           if(propagation_) {
                  s.stamp((MobileNode*)node(), ant_, 0, lambda_);
                  Pr = propagation_->Pr(&p->txinfo_, &s, this);
                  if (Pr < CSThresh_) {
                      pkt_recvd = 0;
                      goto DONE;
                  }

          The real meat of the path loss calculation is Propagation's method Friis(), which not only deals with free-space path loss but also considers antenna gains. (Note: By my obervation, antenna gain is actually 0 dB by default, revealed in Antenna::getTxGain().)

          For a description of path loss and link budget analysis, turn to sub-section 5.2 of [Sklar 2001].

          References
          1. [Book] [Sklar 2001]

            

          posted on 2009-04-06 20:01 伊落丹 閱讀(387) 評論(0)  編輯  收藏 所屬分類: Digital Communicationsns2

          公告

          <伊落丹> illidan.modeler [at] gmail.com
          Northern Capital, Republic of Pandaren


          Of the Net, by the Net, for the Net

          導航

          <2009年4月>
          2930311234
          567891011
          12131415161718
          19202122232425
          262728293012
          3456789

          統計

          常用鏈接

          留言簿(2)

          隨筆分類(19)

          隨筆檔案(13)

          搜索

          積分與排名

          最新隨筆

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 双牌县| 行唐县| 松江区| 彭州市| 哈尔滨市| 肥东县| 巴林左旗| 鄂伦春自治旗| 中阳县| 曲阜市| 织金县| 太原市| 册亨县| 叙永县| 邛崃市| 墨竹工卡县| 长岭县| 河津市| 长宁区| 朔州市| 六盘水市| 唐山市| 长寿区| 婺源县| 唐海县| 韩城市| 安福县| 新安县| 清徐县| 高唐县| 高邑县| 黄梅县| 阿勒泰市| 盈江县| 万全县| 荥阳市| 榆中县| 娱乐| 图片| 柳河县| 政和县|