Hack 97. Calculate the Link Budget

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

How far will your link 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. This hack 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 7-1 to get a rough estimate. This table was computed with the previous formula and rounded up.

Table 7-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 (radio power + antennas + amplifier) and subtract your losses (cable length, connectors, lightning arrestors, and miscellaneous other losses). Be sure to only add the radio and amplifier power on one end of the link, but do include antenna gain from both sides of the link.

Let's assume you are using Senao 200mW Prism 2 cards (23 dBm) and no amplifiers, with a 12 dBi sector on one side, and a 15 dBi yagi on the other. We'll also 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
	23	 -	 1	-	1.25 -	.25	 - .22 - .25 + 12 = 32.03
	Plus Site B:
	*	 -	 1 - 1.25 - .25 - .22 - .25 + 15 = 12.03 
	Equals: 44.06 total gain

Now, subtract the path loss from that total:

	44.06 - 118 = -73.94

There you have the perceived signal level at either end of the link: -73.94 dBm. But is it enough for communications? Look up the receiver sensitivity specs for the radio card to see how much signal it needs. You can look it up in the radio card manufacturer's documentation.

Consulting the documentation, it appears that the Senao card has a receive sensitivity of -89 dBm at 11 Mbps. As we are providing a signal of -73.94 dBm, we have a fudge factor of 15.06 dB (8973.94 = 15.06). Theoretically, this link should usually work 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. Depending on your situation, you might want to consider locking the cards in at a lower speed to avoid any transient network problems if the cards have trouble re-syncing.

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 new300 mW and 400 mW Atheros cards), more sensitive radios, or higher-gain antennas would help shore up this connection. 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 such as 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://my.athenet.net/~multiplx/cgi-bin/wireless.main.cgi.


Bluetooth, Mobile Phones, and GPS

Network Discovery and Monitoring

Wireless Security

Hardware Hacks

Software Hacks

Do-It-Yourself Antennas

Wireless Network Design

Appendix A. Wireless Standards

Appendix B. Wireless Hardware Guide



Wireless Hacks
Wireless Hacks: Tips & Tools for Building, Extending, and Securing Your Network
ISBN: 0596101449
EAN: 2147483647
Year: 2004
Pages: 178

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net