Wireless Hacks Free Open Book

Wireless Hacks

Previous Section Next Section

Hack 81 Calculating the Link Budget

figs/expert.giffigs/hack81.gif

Figure out whether a long distance link is even possible before you buy any equipment.

How far will it go? That's a very good question. It depends on all sorts of factors, including the power output and sensitivity of your card, quality of your cable, connectors and antenna, intervening clutter and noise, and even weather patterns (on long distance links). While it's impossible to precisely take all of these variables into account, you can make a good estimate before buying any hardware. The following describes a simple way to build an estimate, referred to as the link budget.

First, figure out how much loss the signal will incur in the space between the two sites. This is called the path loss. One common formula for estimating path loss at 2.4 GHz is:

 L = 20 log(d) + 20 log(f) + 36.6

where L is the loss in dB, d is the distance in miles, and f is the frequency in Megahertz.

So, suppose you wanted to set up a five-mile link between two points, using channel 6 (2.437 GHz):

L = 20 log(5) + 20 log(2437) + 36.6 
L = (20 * 0.69) + (20 * 3.38) + 36.6 
L = 13.8 + 67.6 + 36.6 
L = 118

At five miles, with no obstacles in between, you will lose 118 db of signal between the two points. Our link must tolerate that much loss (plus a bit extra to account for weather and miscellaneous interference) or it will be unreliable.

If you don't want to bother calculating path loss on your own, you can use Table 6-1 to get a rough estimate. This table was computed with the above formula and rounded up.

Table 6-1. Approximate free space path loss at 2.412GHz

Distance (in miles)

Loss (in dB) @ 2.412GHz (ch. 1)

0.5

98

1

104

2

110

3

114

4

116

5

118

7

121

10

124

15

128

20

130

25

132

30

134

Now that you have the free space path loss, add up all of your gains (radios + antennas + amplifiers) and subtract your losses (cable length, connectors, lightning arrestors, and miscellaneous other losses). Let's assume you are using Orinoco Silver cards (15 dBm) and no amplifiers, with a 12 dBi sector on one side, and a 15 dBi yagi on the other. I assume you're using 1 meter of LMR 400 and a lightning arrestor on each side, allowing a 0.25 dB loss for each connector, and 1 dB for each pigtail. Since all of the units are in dB, we can use simple addition and subtraction:

Site A:
Radio - Pigtail - Arrestor - Connector - Cable - Connector + Antenna
 15   -    1    -   1.25   -    .25    -  .22  -    .25    +    12  =  24.03
Plus Site B:
 15   -    1    -   1.25   -    .25    -  .22  -    .25    +    15  =  27.03
Equals: 51.06 total gain

Now, subtract the path loss from that total:

51.06  - 118 = -66.94

There you have the perceived signal level at either end of the link: -66.94 dBm. But is it enough for communications? Look up the receiver sensitivity specs for the Orinoco Silver card to see how much signal it needs. You can look it up in the radio card documentation, or consult the handy table in [Hack #65].

Consulting the table, it appears that the Orinoco Silver has a receive sensitivity of -82 dBm at 11 Mbps. As we are providing a signal of -66.94 dBm, we have a "fudge factor" of 15.06 db (82 - 66.94 = 15.06). Theoretically, this usually works at 11 Mbps (in good weather), and should have no problem at all syncing at 5.5 Mbps. The radios should automatically sense when the link becomes unreliable, and re-sync at the fastest possible speed.

Typically, a margin of error of 20 db or so is safe enough to account for normal intervening weather patterns. Using more powerful radios (such as the Cisco 350 at 20 dBm, or the EnGenius/Senao at 23 dBm), more sensitive radios (again, like the Cisco 350 or EnGenius/Senao), or higher-gain antennas would help shore up this connection to 11 Mbps. Using higher-gain cards in conjunction with high-gain dishes makes it possible to extend your range well beyond 25 miles, but be sure to observe the FCC limits on power and gain.

Online tools like Green Bay Professional Packet Radio's Wireless Network Link Analysis can give you a good ballpark estimate on what it will take to make your link possible. Check out their excellent resources at http://www.gbonline.com/~multiplx/cgi-bin/wireless.main.cgi.

    Previous Section Next Section
    Index: [SYMBOL][A][B][C][D][E][F][G][H][I][J][L][M][N][O][P][Q][R][S][T][U][V][W][X][Z]


         Main Menu
    Main Page
    Table of content
    Copyright
    Credits
    Foreword
    Preface
    Chapter 1. The Standards
    Chapter 2. Bluetooth and Mobile Data
    Chapter 3. Network Monitoring
    Chapter 4. Hardware Hacks
    Chapter 5. Do-It-Yourself Antennas
    Chapter 6. Long Distance Links
    6.1 Hacks #80-85
    Hack 80 Establishing Line of Sight
    Hack 81 Calculating the Link Budget
    Hack 82 Aligning Antennas at Long Distances
    Hack 83 Slow Down to Speed Up
    Hack 84 Taking Advantage of Antenna Polarization
    Hack 85 Map the Wireless Landscape with NoCat Maps
    Chapter 7. Wireless Security
    Appendix A. Deep Dish Parabolic Reflector Template
    Colophon
    Index


    More Books
    PHP Hacks
    Processing Xml With Java - A Guide To Sax, Dom, Jdom, Jaxp, And Trax
    The Koran (Holy Qur'an)
    Macromedia Flash 8 Bible
    Search Engine Optimization for Dummies
    YouTube Traffic
    PHP 5 for Dummies
    Harry Potter and The Chamber of Secrets
    Harry Potter and the Sorcerer's Stone
    The Pilgrim's Progress
    Wireless Hacks
    Flash Hacks. 100 Industrial-Strength Tips & Tools
    PayPal Hacks. 100 Industrial-Strength Tips and Tools
    Amazon Hacks
    Pdf Hacks
    The Da Vinci Code
    Google Hacks
    The Holy Bible
    Windows XP For Dummies
    Harry Potter and the Half-Blood Prince
    Seo Book
    Upgrading and Repairing Networks
    Macromedia Dreamweaver 8 UNLEASHED
    Windows XP Annoyances
    Windows XP Hacks
    Microsoft Windows XP Power Toolkit
    Teach Yourself MS Office In 24Hours
    iPod & iTunes Missing Manual
    PC Hacks 100 Industrial-Strength Tips and Tools
    PC Overclocking, Optimization, and Tuning - 2th Edition
    PC Hardware In A Nutshell 3rd Edition
    PC Hardware in a Nutshell, 2nd Edition
    Upgrading and Repairing PCs
    Google for Dummies
    MySQL Cookbook
    Teach Yourself Macromedia Flash 8 In 24 Hours
    PHP CookBook
    Sams Teach Yourself JavaScript in 24 Hours
    PHP5 Manual
    Free Games Paper Airplanes
    500 Juegos Gratis 500 Giochi Gratis 500 Jeux Gratuits 500 Jogos Gratis 500 Kostenlose Spiele