﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-伊落丹矩阵_Radio-随笔分类-Digital Communications</title><link>http://www.blogjava.net/illidan/category/38686.html</link><description>Trinity, log me out!</description><language>zh-cn</language><lastBuildDate>Wed, 14 Apr 2010 21:46:45 GMT</lastBuildDate><pubDate>Wed, 14 Apr 2010 21:46:45 GMT</pubDate><ttl>60</ttl><item><title>Charging and rate control for elastic traffic</title><link>http://www.blogjava.net/illidan/archive/2010/04/14/318238.html</link><dc:creator>伊落丹</dc:creator><author>伊落丹</author><pubDate>Wed, 14 Apr 2010 02:41:00 GMT</pubDate><guid>http://www.blogjava.net/illidan/archive/2010/04/14/318238.html</guid><wfw:comment>http://www.blogjava.net/illidan/comments/318238.html</wfw:comment><comments>http://www.blogjava.net/illidan/archive/2010/04/14/318238.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/illidan/comments/commentRss/318238.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/illidan/services/trackbacks/318238.html</trackback:ping><description><![CDATA[A mathemastic explation for elastic traffic.
<img src ="http://www.blogjava.net/illidan/aggbug/318238.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/illidan/" target="_blank">伊落丹</a> 2010-04-14 10:41 <a href="http://www.blogjava.net/illidan/archive/2010/04/14/318238.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>自由空间路损在ns2中的应用</title><link>http://www.blogjava.net/illidan/archive/2009/04/06/264142.html</link><dc:creator>伊落丹</dc:creator><author>伊落丹</author><pubDate>Mon, 06 Apr 2009 12:01:00 GMT</pubDate><guid>http://www.blogjava.net/illidan/archive/2009/04/06/264142.html</guid><wfw:comment>http://www.blogjava.net/illidan/comments/264142.html</wfw:comment><comments>http://www.blogjava.net/illidan/archive/2009/04/06/264142.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/illidan/comments/commentRss/264142.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/illidan/services/trackbacks/264142.html</trackback:ping><description><![CDATA[Free Space Path-loss as in ns2<br />
<br />
&lt;伊落丹&gt; illidan.modeler [at] gmail.com <br />
Northern Capital, <a href="http://www.battle.net/war3/neutral/pandarenbrewmaster.shtml" target="_blank">Republic of Pandaren</a><br />
<div><a target="_blank" href="https://docs.google.com/File?id=dhvjwfr_237c9xjszd7_b"><img class="blogimg" src="https://docs.google.com/File?id=dhvjwfr_237c9xjszd7_b" height="21" width="187" border="0"  alt="" /></a></div>
<br />
<div>Of the Net, by the Net, for the Net<br />
<br />
</div>
<br />
Free space
path-loss is a major factor when considering the attenuation of EM
signal strength. Basically it's defined by the following equation:<br />
<font class="contentwithhtml"><br />
<table class="zeroBorder" bgcolor="#eeeed0" cellpadding="2">
    <tbody>
        <tr>
            <td>
            <pre class="prettyprint">Pt/Pr = (4*Pi*d*f/c)^2</pre>
            </td>
        </tr>
    </tbody>
</table>
</font><br />
Pt: transmitted power<br />
Pr: received power<br />
d: the distance between transmitter and receiver<br />
f: the signal frequency<br />
c: light speed<br />
<br />
<br />
Recast the equation in dB form, we get<br />
<font class="contentwithhtml"><br />
<table class="zeroBorder" bgcolor="#eeeed0" cellpadding="2">
    <tbody>
        <tr>
            <td>
            <pre class="prettyprint">FSPL (dB) = -147.56 + 20*log10(d) + 20*log10(f)</pre>
            </td>
        </tr>
    </tbody>
</table>
</font><br />
Take the FSPL of a IEEE 802.11 WLAN signal for example. The relation between FSPL and distance is depicted below:
<div id="crer" style="text-align: left;"><img src="https://docs.google.com/File?id=dhvjwfr_323mn43swdp_b" height="324" width="430"  alt="" /></div>
<br />
where the transmission power is about 10 mW, without considering antenna gain and other attenuation.<br />
<br />
In ns2, path loss, which is an effect of the physical layer, is handled by class <strong>WirelessPhy</strong> (mac/wirelss-phy.{h,cc}). <strong>WirelessPhy</strong> calculates the path loss in its method sendUp(), by calling FreeSpace::Pr(PacketStamp *t, PacketStamp *r, WirelessPhy *ifp). <strong>FreeSpace</strong> and its parent <strong>Propagation</strong> are defined in mobile/propagation.{h, cc}.<br />
<br />
The code snipit carrying out the call to FreeSpace's method is given below (wireless-phy.cc):<font class="contentwithhtml"><br />
<table class="zeroBorder" bgcolor="#eeeed0" cellpadding="2">
    <tbody>
        <tr>
            <td>
            <pre class="prettyprint"> if(propagation_) {<br />
            &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;s.stamp((MobileNode*)node(), ant_, 0, lambda_);<br />
            &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Pr = propagation_-&gt;Pr(&amp;p-&gt;txinfo_, &amp;s, this);<br />
            &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;if (Pr &lt; CSThresh_) {<br />
            &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;pkt_recvd = 0;<br />
            &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;goto DONE;<br />
            &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;}</pre>
            </td>
        </tr>
    </tbody>
</table>
</font><br />
The real meat of the path loss calculation is <strong>Propagation</strong>'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().)<br />
<br />
For a description of path loss and link budget analysis, turn to sub-section 5.2 of [Sklar 2001].<br />
<br />
<a title="References" href="../archive/2009/04/03/263644.html" id="wqwz">References</a> <br />
1. [Book] [Sklar 2001]<br />
<br />
&nbsp;&nbsp; <br />
<br />
<img src ="http://www.blogjava.net/illidan/aggbug/264142.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/illidan/" target="_blank">伊落丹</a> 2009-04-06 20:01 <a href="http://www.blogjava.net/illidan/archive/2009/04/06/264142.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Notes::small-scale fading</title><link>http://www.blogjava.net/illidan/archive/2009/04/04/263847.html</link><dc:creator>伊落丹</dc:creator><author>伊落丹</author><pubDate>Fri, 03 Apr 2009 16:46:00 GMT</pubDate><guid>http://www.blogjava.net/illidan/archive/2009/04/04/263847.html</guid><wfw:comment>http://www.blogjava.net/illidan/comments/263847.html</wfw:comment><comments>http://www.blogjava.net/illidan/archive/2009/04/04/263847.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/illidan/comments/commentRss/263847.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/illidan/services/trackbacks/263847.html</trackback:ping><description><![CDATA[<div id="art" width="100%" style="margin: 15px;">
Notes::small-scale fading<br />
<br />
&lt;伊落丹&gt; illidan.modeler [at] gmail.com <br />
Northern Capital, <a href="http://www.battle.net/war3/neutral/pandarenbrewmaster.shtml" target="_blank">Republic of Pandaren</a><br />
<div forimg="1"><a target="_blank" href="https://docs.google.com/File?id=dhvjwfr_237c9xjszd7_b"><img class="blogimg" small="1" src="https://docs.google.com/File?id=dhvjwfr_237c9xjszd7_b" alt="" height="21" width="187" border="0" /></a></div>
<br />
<br />
Of the Net, by the Net, for the Net<br />
<span style="font-weight: bold;"><br />
What</span><br />
<strong>Fading</strong> is the distortion that a carrier-modulated telecommunication signal experiences over certain propagation media.<br />
<br />
Propagation
models that characterize the rapid fluctions of the received signal
strength over very short travel distances (a few wavelengths) or short
time duration (on the order of seconds) are called <span style="font-style: italic;">small-scale</span> or <span style="font-style: italic;">fading</span> models. (Page&nbsp; 106 of [3])<br />
<br />
<span style="font-weight: bold;">Why</span><br style="font-weight: bold;" />
In wireless systems, fading is due to multipath propagation and is sometimes referred to as <strong><a href="http://en.wikipedia.org/wiki/Multipath" title="Multipath">multipath</a> induced fading</strong>. [1]<br />
<br />
<span style="font-weight: bold;">How</span><br />
The effects of fading can be combated by using <a href="http://en.wikipedia.org/wiki/Diversity_scheme" title="Diversity scheme">diversity</a>
to transmit the signal over multiple channels that experience
independent fading and coherently combining them at the receiver.<br />
<br />
<span style="font-weight: bold;">Miscellaneous</span><br />
The <strong>coherence time</strong> is a measure of the minimum time required for
the magnitude change of the channel to become decorrelated from its
previous value.<br />
<br />
There's a <span style="text-decoration: underline;">good summary</span> of large-scale and small-scall fadings on Page 40 and 41 of [5].<br />
<br />
<br />
<span style="font-weight: bold;"><a title="References" href="http://www.blogjava.net/illidan/archive/2009/04/03/263644.html">References</a></span><br />
<ol>
    <li>Web <a href="http://en.wikipedia.org/wiki/Fading">http://en.wikipedia.org/wiki/Fading</a></li>
    <li><a href="http://www.ylesstech.com/terminology.php?letter=all&amp;id=15">Web http://www.ylesstech.com/terminology.php?letter=all&amp;id=15</a><br />
    </li>
    <li>[Rappaport 2001]</li>
    <li>[Goldsmith 2005]</li>
    <li>[Tse 2005]&nbsp;</li>
</ol>
</div>
<img src ="http://www.blogjava.net/illidan/aggbug/263847.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/illidan/" target="_blank">伊落丹</a> 2009-04-04 00:46 <a href="http://www.blogjava.net/illidan/archive/2009/04/04/263847.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>傅里叶分析::周期.连续</title><link>http://www.blogjava.net/illidan/archive/2009/03/30/262953.html</link><dc:creator>伊落丹</dc:creator><author>伊落丹</author><pubDate>Mon, 30 Mar 2009 10:22:00 GMT</pubDate><guid>http://www.blogjava.net/illidan/archive/2009/03/30/262953.html</guid><wfw:comment>http://www.blogjava.net/illidan/comments/262953.html</wfw:comment><comments>http://www.blogjava.net/illidan/archive/2009/03/30/262953.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/illidan/comments/commentRss/262953.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/illidan/services/trackbacks/262953.html</trackback:ping><description><![CDATA[<br />
<br />
<p><br />
</p>
<table class="wikitable">
    <tbody>
        <tr>
            <th rowspan="2">Name</th>
            <th colspan="2">Time domain</th>
            <th colspan="2">Frequency domain</th>
        </tr>
        <tr>
            <td align="center">Domain property</td>
            <td align="center">Function property</td>
            <td align="center">Domain property</td>
            <td align="center">Function property</td>
        </tr>
        <tr>
            <td>(Continuous) <a href="http://en.wikipedia.org/wiki/Fourier_transform" title="Fourier transform">Fourier transform</a></td>
            <td align="center">Continuous</td>
            <td align="center">Aperiodic</td>
            <td align="center">Continuous</td>
            <td align="center">Aperiodic</td>
        </tr>
        <tr>
            <td><a href="http://en.wikipedia.org/wiki/Discrete-time_Fourier_transform" title="Discrete-time Fourier transform">Discrete-time Fourier transform</a></td>
            <td align="center">Discrete</td>
            <td align="center">Aperiodic</td>
            <td align="center">Continuous</td>
            <td align="center">Periodic (<em>&#402;</em><sub><em>s</em></sub>)</td>
        </tr>
        <tr>
            <td><a href="http://en.wikipedia.org/wiki/Fourier_series" title="Fourier series">Fourier series</a></td>
            <td align="center">Continuous</td>
            <td align="center">Periodic (<span class="texhtml">&#964;</span>)</td>
            <td align="center">Discrete</td>
            <td align="center">Aperiodic</td>
        </tr>
        <tr>
            <td><a href="http://en.wikipedia.org/wiki/Discrete_Fourier_transform" title="Discrete Fourier transform">Discrete Fourier transform</a></td>
            <td align="center">Discrete</td>
            <td align="center">Periodic (<em>N</em>)<sup id="cite_ref-0" class="reference"><a href="http://en.wikipedia.org/wiki/Fourier_analysis#cite_note-0" title=""><span>[</span>1<span>]</span></a></sup></td>
            <td align="center">Discrete</td>
            <td align="center">Periodic (<em>N</em>)</td>
        </tr>
    </tbody>
</table>
<p><a style="width: 20px; height: 20px; text-indent: 20px; background-repeat: no-repeat; background-image: url(/CuteSoft_Client/CuteEditor/Load.ashx?type=image&amp;file=anchor.gif);" name="Fourier_transforms_on_arbitrary_locally_compact_abelian_topological_groups" id="Fourier_transforms_on_arbitrary_locally_compact_abelian_topological_groups"></a></p>
<h3><span class="mw-headline"><a href="http://en.wikipedia.org/wiki/Fourier_analysis">http://en.wikipedia.org/wiki/Fourier_analysis</a><br />
</span></h3>
As on 09-03-30<br />
<br />
<br />
<br />
<img src ="http://www.blogjava.net/illidan/aggbug/262953.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/illidan/" target="_blank">伊落丹</a> 2009-03-30 18:22 <a href="http://www.blogjava.net/illidan/archive/2009/03/30/262953.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>