锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚亚洲欧洲精品,成人三级毛片,久久成人在线http://www.aygfsteel.com/illidan/category/38840.htmlIllidan's Marix::Wireless Componentzh-cnMon, 06 Apr 2009 14:42:26 GMTMon, 06 Apr 2009 14:42:26 GMT60鑷敱絀洪棿璺崯鍦╪s2涓殑搴旂敤http://www.aygfsteel.com/illidan/archive/2009/04/06/264142.html浼婅惤涓?/dc:creator>浼婅惤涓?/author>Mon, 06 Apr 2009 12:01:00 GMThttp://www.aygfsteel.com/illidan/archive/2009/04/06/264142.htmlhttp://www.aygfsteel.com/illidan/comments/264142.htmlhttp://www.aygfsteel.com/illidan/archive/2009/04/06/264142.html#Feedback0http://www.aygfsteel.com/illidan/comments/commentRss/264142.htmlhttp://www.aygfsteel.com/illidan/services/trackbacks/264142.html
<浼婅惤涓?gt; 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]

  



]]>
主站蜘蛛池模板: 呼伦贝尔市| 百色市| 阿克陶县| 大渡口区| 长沙市| 鸡泽县| 双流县| 信宜市| 黔南| 泽州县| 武冈市| 迭部县| 新郑市| 资中县| 丹凤县| 乃东县| 雷波县| 高唐县| 嵊州市| 乌兰浩特市| 辰溪县| 齐河县| 新营市| 扬州市| 岢岚县| 石泉县| 吉水县| 哈巴河县| 韶山市| 苗栗县| 樟树市| 彭阳县| 枞阳县| 六盘水市| 泽州县| 抚顺市| 绥芬河市| 南漳县| 邵阳县| 永川市| 丘北县|