6.2 Antenna Characteristicsand Placement

   

While I am not a radio frequency (RF) engineer, I have had a lot of practical experience setting up 802.11b networks. There isn't nearly enough room here for a full examination of the nuances of radio frequency communications. For more authoritative sources, be sure to check out the great resources in the Appendixes. Radio is an entire field of study unto itself.

Antenna selection has a tremendous impact on the range and usability of your wireless network. Ironically, the design of almost every external 802.11b card puts the antenna in the worst possible orientation: sideways and very close to the laptop (or desktop). In this position, the radiation pattern is almost straight up and down! Not only does this drive half of your signal into the table, it leaves your poor, underpowered radio susceptible to interference from the computer itself. Fortunately, laptop manufacturers have responded to this problem, and are now following Apple's lead in building antennas into their screens and cases.

You will see a tremendous difference in signal strength by attaching a small omnidirectional external antenna to your client card and orienting it properly. Which way is proper? That depends on your environment. If you are having trouble pulling in a signal, try every possible position with your signal strength meter open . I've put mine on top of my monitor, below the desk, sideways, on the table behind me, and even slung over my shoulder. The best orientation of your antenna is the position in which it receives the best signal ”don't be afraid to move it around.

If you use a PCMCIA radio and are without an external antenna, you can watch the wonders of RF by opening up your strength meter and tilting your laptop sideways. Watch that signal bar grow. Go for the green! Learn to type sideways! Better yet, redesign your network to extend your range, and always pack a spare external antenna.

Before looking at adding antennas to your network, make sure your card can take an external antenna. Many low-priced cards don't include external connectors anymore. You will have trouble finding a connector to fit the ones that do, as every manufacturer provides its own "proprietary" connector (see Figure 6-6). Check out your friendly local radio supplier for proprietary-to-standard adapters, although they tend to be conveniently overpriced.

Figure 6-6. The infamous Lucent Pigtail adapter, list price $80
figs/wcn2_0606.gif

Of course, if you have good tools and moderate soldering skills, you may have luck making your own adapter, similar to the one shown in Figure 6-7.

Figure 6-7. A do-it-yourself adapter: $3
figs/wcn2_0607.gif

The hack-it-in approach is really only practical for a fixed, point-to-point link, as there is no strain relief on the joint. As time marches on, bulk discounts for proprietary-to-standard pigtails are becoming more common. You shouldn't have to spend more than $15-$20 per adapter, particularly if you can buy in quantity. Remember to buy the shortest cable you can use to minimize signal loss in the cable (see the discussion later in this chapter on choosing cable).

Pigtails are manufacturer- (and even model number-) specific, so be sure that you are getting the correct pigtail for the card you intend to use it with. Interesting exceptions to this are the Cisco, Engenius/Senao, and ZCom cards, all of which use an MMCX connector. Also, because PCMCIA cards have limited space for connectors, the pigtail plugs tend to be tiny and very fragile. One good tug can ruin your pigtail, connector, or both. You have been warned ! (Not that I would personally know how easy they are to break. Not even at 2:00 A.M. after too much espresso and too many hours staring at the video screen, trying to make a deadline. No sir.)

However you attach your antenna to your radio, always look for a way to position your equipment so it can see the antenna at the other end. This is called having Line of Sight ( LOS ) to the other node. While it helps on short links (such as from your laptop to your access point), it is absolutely critical on long-distance, point-to-point links. The ideal path between two antennas would be on towers well above any ground clutter, with a valley in between, pointed directly at each other. This is hardly ever the case, but try to get as close to this ideal as possible.

For outdoor applications, trees are probably going to be your single biggest signal killer (followed by metal, wet masonry, and other 2.4GHz gear, not necessarily in that order). When choosing a place to locate your antenna, consider how changes in the environment will affect your link. Remember, what looks like the perfect place in the winter may be completely obscured by leaves in the spring! Walk around the space you have available, and try to find the best possible place for the antenna. Don't just assume that the highest point is the place to install it. After trying every spot on my roof (in vain) to find line of sight to O'Reilly, I got down and sat on my front porch in frustration. It was then that I noticed that I could see the building, about half a mile away, with nothing in between. Setting the antenna on a tripod on my porch, I instantly got a solid signal. Lesson learned: the "right" place for the antenna is different in every installation.

6.2.1 Antennas

Antennas do not give you more signal than you started with (that's what amplifiers are for). What they do is focus the available signal in a particular direction, like turning the focus head of a flashlight. It doesn't make the bulb any brighter, it just focuses what you have into a tighter space. Focusing a flashlight gives you a brighter beam that covers a smaller total area, and, likewise, more directional antennas give you a stronger perceived signal in a smaller area. All antennas are somewhat directional, and the measure of their directionality is referred to as gain . Typically, the higher the gain, the better the range (in the direction that the antenna radiates best in).

There are four different general types of antennas suitable for 2.4GHz use. Each works well for its own application, and no single antenna works best for every application. Plan ahead of time what your goals are, and configure your network to meet those goals. The following sections describe the most common types of antennas, listed in rough order of increasing directionality.

6.2.1.1 Omni

Omnidirectional antennas, or omnis (shown in Figure 6-8), radiate outward in all horizontal directions roughly equally. Imagine putting an enormous donut around the center pole of an omni. That is what the radiation pattern looks like. These are good for covering a large area where you don't know which direction your clients might come from. The downside is that they also receive noise from every direction, so they typically aren't as efficient as more directional antennas.

Figure 6-8. Omnis range from tiny extenders to building-mounted poles
figs/wcn2_0608.gif

They look like tall, thin poles ( anywhere from a few inches to several feet long) and tend to be expensive. The longer they are, the more elements they have (and usually more gain, and a higher price). Omni antennas are mounted vertically, like a popsicle stick reaching skyward. They gain in the horizontal, at the expense of the vertical. This means that the worst place to be in relation to an omni is directly beneath (or above) it. The vertical response improves dramatically as you move away from the antenna.

6.2.1.2 Sector (or sectoral)

Picture an omni with a mirror behind it, and you'll have the radiation pattern of a sector antenna. Sectors radiate best in one direction, with a beam as wide as 180 degrees (or even less). They excel in point-to-multipoint applications, where several clients access the wireless network from the same general direction.

Sector antennas (shown in Figure 6-9) come in a variety of packages, from flattened omnis (tall, thin, and rectangular) to small, flat squares or circles. Some are only eight inches across and mount flat against a vertical wall or on a swivel mount. They can also be ceiling mounted to provide access to a single room, such as a meeting area, classroom, or trade show floor. As with omnis, cost is usually proportional to gain.

Figure 6-9. Sector antennas tend to be flat and thin
figs/wcn2_0609.gif
6.2.1.3 Yagi

A yagi looks like an old television aerial . It is either a flat piece of metal with a bunch of horizontal cross pieces or a long pipe with a bunch of washers along its length (see Figure 6-10). The typical beam width can vary from 15 degrees to as much as 60, depending on the type of antenna. As with omnis, adding more elements means more gain, a longer antenna, and higher cost.

Figure 6-10. Yagis come in various shapes , but all have multiple elements
figs/wcn2_0610.gif

Some yagis are simply bare, like a flat Christmas tree pointed vaguely in the direction of communications. Others are mounted in long, horizontal PVC cans. They can work well in point-to-point or point-to-multipoint applications, and usually they can achieve higher gain than sectors.

6.2.1.4 Parabolic dish

In some ways, a dish is the opposite of an omni. Rather than trying to cover the entire area, a dish focuses on a very tight space (see Figure 6-11). Dishes typically have the highest gain and most directionality of any antenna. They are ideal for a point-to-point link, and nearly useless for anything else.

Figure 6-11. A 24db parabolic dish
figs/wcn2_0611.gif

Dishes can be solid or mesh, as small as 18" across or as big as you like (a 30- foot dish is possible, but probably not very convenient ). A dish that can send an 802.11b signal more than 20 miles can be as small as a few feet across. In terms of gain for the buck, dishes are probably the cheapest type of antenna. Some people have been successful in converting old satellite and DSS dishes into 2.4GHz dishes; see Chapter 7 for details. Generally speaking, the difference between a mesh reflector and a solid reflector has little to do with gain, but when mounting your dish, remember that solid dishes tend to pick up more load from the wind.

6.2.1.5 Waveguides and "cantennas"

An increasingly popular antenna design is the waveguide . These so-called "cantennas" are easy for home-brew designers to build and offer very high gain for relatively little effort. Waveguides resemble plumbing ”they are boxes or cans with nothing in them but a tiny radiator. Figure 6-12 shows an ambitious design made from extruded and milled aluminum.

Figure 6-12. A 16dBi, horizontally polarized waveguide that acts like an omni
figs/wcn2_0612.gif

The Pringles can and coffee can antennas are examples of simple (but effective) home-brew waveguide antennas. I'll describe how to build your own in Chapter 7.

One other property of antennas worth mentioning here is polarization . The polarization of an antenna refers to the direction that the electrical part of the electromagnetic wave travels in. Both horizontal and vertical polarizations are common, but in some exotic antennas, circular (clockwise or counterclockwise) polarization is possible. The polarization of the antenna on each end of a link must match, or the radios will have trouble talking to each other. Omnis and sectors are generally vertically polarized, although horizontally polarized variations do exist. Yagis and dishes can be mounted vertically or horizontally, depending on the application. On a point-to-point link, try both to see which incurs the lowest noise. The polarization of a dish is indicated by the position of the receiving element, not the rear reflector (an oval dish that goes "up and down" is probably mounted in horizontal polarization and, therefore, won't be able to talk very well to a vertically polarized omni).

You can also use polarization to your advantage. For example, you can run two parallel links on the same channel, one with vertical and one with horizontal polarization. If separated by a few feet, two dishes can operate quite happily on the same channel without interfering with each other, and provide twice the bandwidth on the same frequency. This setup would require four antennas, four radios, and Ethernet channel bonding on each end, but is entirely possible.

6.2.1.6 Cabling

Not all coaxial cable is appropriate for 2.4GHz use. The same piece of cable that delivers high-quality video and audio to your TV is nearly useless for connecting microwave antennas. Choosing the proper type and length of cable is just as important as choosing the right antenna for the job. A 12db sector antenna is useless if you lose 18db in the cable that connects it to the radio. While all cable introduces some loss as signal travels through it, some types of cable do better than others at 2.4GHz.

LMR is a kind of coax cable made by Times Microwave Systems (http://www.timesmicrowave.com) and is possibly the most popular type of cable used for extending 802.11b networks. LMR uses a braided outer shield and solid center conductor, and comes in various sizes.

Heliax is another kind of microwave cabling made by Andrew Corporation (http://www.andrew.com). It is made of a semirigid corrugated outer shell (a sort of flexible copper tubing), rather than the braided strands found in coax. The center conductor can be either solid or a corrugated tube inner conductor. It is designed to handle loads much greater than (legal) 802.11b installations, it is very expensive, and difficult to work with. It is also extremely low loss. The foam dielectric type part numbers start with LDF. [1]

[1] Don't mess with air dielectric unless you enjoy the challenge of keeping your feed lines pressurized with nitrogen. Air dielectric cable at 802.11b power levels is like the proverbial elephant gun to kill the mosquito.

In addition to Times Microwave's and Andrew's offerings, Belden, Inc. (http://www.belden.com) also makes a very common piece of cable that works well in the 2.4GHz range. You'll frequently see references to 9913; this is Belden 9913.

Generally speaking, the thicker and better-built the cable, the lower the loss and the higher the cost (see Table 6-1). Cable in excess of half an inch or so in thickness is difficult to work with and you may have trouble finding connectors for it. Whenever possible, order the specific length you need, with the proper connectors preinstalled , rather than trying to cut and crimp it yourself. A commercial outlet will usually have the tools and experience needed to make a well-built cable. The best cable in the world won't help you if your connector isn't properly installed.

Table 6-1. Attenuation, size , and approximate cost of microwave coax

Cable type

Diameter

Loss in db/100` at 2500MHz

Approximate price per foot

LMR-200

0.195"

16.9

$0.37

LMR-400

0.405"

6.8

$0.64

LMR-600

0.509"

4.4

$1.30

LMR-900

0.870"

3.0

$3.70

LMR-1200

1.200"

2.3

$5.50

Belden 9913

0.405"

8.2

$0.97

LDF1-50

0.250"

6.1

$1.66

LDF4-50A

0.500"

3.9

$3.91

LDF5-50A

0.875"

2.3

$2.27

LDF6-50

1.250"

1.7

$10.94

LDF7-50A

1.625"

1.4

$15.76

To sum up: use the best quality cable you can afford, at the shortest length possible. A couple of dB here and there really adds up when dealing with the very low power levels of 802.11b. If you want to put an antenna on the roof, look into weatherproof enclosures for your AP and mount it as close to the antenna as possible. Then run as much Ethernet cable as you need (up to 100 meters !).

6.2.2 Connectors

You have the radio, an antenna, and a length of cable. How do you connect them together? You need to use connectors that work well in the 2.4GHz range, fit the kind of cabling you're using, and mate with each other. Practically all common connectors have two halves , a male and a female (or pin and socket). A few of the more exotic types (such as the APC-7) are sexless, so any connector will match up with any other. Here are the most common connectors you are likely to encounter in the microwave bestiary.

The BNC is a small, cheap connector using a quick-connect half turn (the same connector found on 10base2 Ethernet). The BNC shown in Figure 6-13 isn't well suited for 2.4GHz use, but it is mentioned here because, with the death of 10base2, the connectors are frequently sold for pennies per pound . Don't be tempted.

Figure 6-13. BNC: Bayonet Navy Connector (or Bayonet Neill Concelman, depending on who you ask)
figs/wcn2_0613.gif

The TNC (see Figure 6-14) is a threaded version of the BNC. The fine threads help eliminate leakage at microwave frequencies. TNCs work well all the way through 12GHz and are usually used with smaller (and higher-loss) cable.

Figure 6-14. TNC (threaded BNC)
figs/wcn2_0614.gif

An N connector is a larger, threaded connector found on many commercial 2.4GHz antennas (see Figure 6-15). It is larger much than the TNC. It works very well on thicker cable (such as LMR-400) and operates well up to 10GHz. The N is probably the most commonly encountered connector when dealing with 802.11b-compatible gear.

Figure 6-15. N connector
figs/wcn2_0615.gif

The so-called UHF connector looks like a coarse-thread version of the N (see Figure 6-16). It's not usable for 2.4GHz, but it is sometimes confused with the N. According to the ARRL Microwave manual, it's a PL-259 (which mates with the SO-239 socket). It's not designed to work at microwave frequencies. You should avoid it.

Figure 6-16. The so-called "UHF" connector
figs/wcn2_0616.gif

The SMA connector (Figure 6-17) is a very popular, small, threaded connector that works great through 18GHz. Their small size precludes using them with large, low-loss cable without using a pigtail.

Figure 6-17. SMA: Sub-Miniature connector, variation A
figs/wcn2_0617.gif

The SMB (Figure 6-18) is a quick-connect version of the SMC.

Figure 6-18. SMB: Sub-Miniature connector, variation B
figs/wcn2_0618.gif

The SMC (see Figure 6-19) is a very small version of the SMA. It is designed to work well through 10GHz, but accepts only very small cables.

Figure 6-19. SMC: Sub-Miniature connector, variation C (tiny!)
figs/wcn2_0619.gif

The APC-7 (see Figure 6-20) is a 7mm sexless connector, usable through 18GHz. It is a high-grade connector manufactured by Amphenol, and it is expensive, fairly rare, and very low loss.

Figure 6-20. APC-7: Amphenol Precision connector, 7mm
figs/wcn2_0620.gif

Remember that each connector in the system introduces some loss. Avoid adapters and unnecessary connectors whenever possible. Also, commercially built cables tend to be of higher quality than cables you terminate yourself (unless you're really good and have the right tools). Whenever possible, try to buy a pre-made cable with the proper connectors already attached, at the shortest length you can stand. 802.11b gear doesn't put out much power, and every little bit helps extend your range and reliability. It's very easy to make a bad cable, and bad cables can cause no end of trouble.

When matching cables to your equipment, you may encounter connectors of reverse gender (male and female swapped, with same threads), reverse threading (lefthand instead of righthand thread), or even reverse gender reverse threading (both). Make sure you know what you're getting before ordering parts online!

On outdoor installations, proper lightning protection is vital . Gas tube lightning arrestors (shown in Figure 6-21) can provide a high degree of protection (both to your equipment and against fire) from lightning strikes to your antenna. They cost anywhere from $30-$100, and can provide multi-strike protection when properly installed. Most gas tube arrestors I've seen have female N connectors on either end, so be sure to factor that in when considering your hardware installation.

Figure 6-21. A gas tube lightning arrestor
figs/wcn2_0621.gif

Lightning arrestors won't actually do anything at all unless they are properly grounded. A gas tube is effectively a grounding shunt, making an alternate path for the lightning to travel. Generally, wide copper strap is used to connect to the earth instead of wire, as strap has much lower impedance. Keep your grounding strap as short as possible, and connect it from the gas tube directly to a good grounding rod (no, grounding to the water pipe isn't nearly good enough). If you have more than one antenna, run separate ground straps back to your grounding rod. You want to make it as easy as possible for lightning to find its way back to the earth through your grounding rod, not through your equipment.

There is a wealth of information available online about lightning protection. Check out the following links to get started:

http://www.polyphaser.com/ppc_pen_home.asp
http://lightning-protection-institute.com/

Be sure to read up on proper installation and, when in doubt, call in a professional. It is much cheaper to prevent lightning damage than to clean up after it.

6.2.3 Calculating Range

How far will your signal 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 take all of these variables precisely into account, you can make a good estimate before buying any hardware. Here's a simple way to build an estimate (frequently referred to as your 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.4GHz 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 .

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

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 118dbof 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.

Next, 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 (15dBm), no amplifiers, with a 12dBisector on one side, and a 15dBiyagi on the other. We'll assume you're using one meter of LMR-400 and a lightning arrestor on each side, allowing 0.25dBloss for each connector, and 1dBfor 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

This is the perceived signal level at either end of the link: -66.94dBm. But is it enough for communications? Table 6-2 gives the receiver sensitivity specifications for several radio cards.

Table 6-2. Receiver sensitivity matrix for some common radio cards

Radio card

11Mbps

5.5Mbps

2Mbps

1Mbps

Orinoco (Silver or Gold)

-82 dBm

-87 dBm

-91 dBm

-94 dBm

Cisco 340

-83 dBm

-87 dBm

-88 dBm

-90 dBm

Cisco 350

-85 dBm

-89 dBm

-91 dBm

-94 dBm

D-Link DWL-520

-80 dBm

-83 dBm

-86 dBm

-89 dBm

EnGenius / Senao 2511CD

-89 dBm

-91 dBm

-93 dBm

-95 dBm

Linksys WPC11

-76 dBm

-80 dBm

-80 dBm

-80 dBm

Netgear MA101

-84 dBm

-87 dBm

-89 dBm

-91 dBm

The Orinoco Silver card has a receive sensitivity of -82 dBm @ 11Mbps. As we are generating a signal of -66.94dBm, we have a "fudge factor" of 15.06db (82 - 66.94 = 15.06). Theoretically, this will usually work at 11Mbps (in good weather), and should have no problem syncing at 5.5Mbps. The radios should automatically sense when the link becomes unreliable and resync at the fastest possible speed.

Typically, a margin of error of 20db or so is safe enough to account for normal intervening weather patterns. Using more powerful and sensitive radios (such as the Cisco 350 at 20dBm, or the EnGenius/Senao at 23dBm) and higher-gain antennas would help shore up this connection to 11Mbps. 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. See Tim Pozar's paper in Appendix A for more information.

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; simply fill in a couple of blanks on a web form. Check out their excellent resources at http://www.qsl.net/n9zia/wireless.

If you need radio sensitivity data for a card not included in Table 6-2, look through the documentation provided by your manufacturer. You could also try the table available at http://www.freenetworks.org/moin/index.cgi/ReceiveSensitivity.

6.2.4 Power Amps and the Law

Frequently, when people think of extending range, they immediately think of using amplifiers (I suppose it's only natural; you have an amplifier for your home stereo, why not an amplifier for your network?). Good amplifiers that work in the microwave range have several nontrivial technical obstacles to overcome :

  • Amplifiers blindly amplify everything that they're tuned to, both signal and noise. A greater signal won't help you if the noise in the band is increased as well, as the signal will just get lost (like shouting to your friends at a concert).

  • 802.11b radio communications are half duplex: they send or receive, but never both at the same time. An amplifier attached to the antenna line must automatically detect when the radio is sending and quickly switch the amp on. When it's finished, it has to quickly cut it off again. Any latency in this switching could actually impair communication or, worse , damage the radio card. Such amplifiers exist, but are not cheap.

  • Amplifiers can help a bit on receive by adding some pre-emphasis, but they are really meant for transmitting. This means that if you have an amp only on one end of a link, the other end may be able to hear you, but you may not hear them. To make amps effective, you'll need them on both ends of the link.

  • All amplifiers require power to operate. This means adding a DC injector to your antenna feed line or using an external adapter. This further drives up the cost of your node and makes yet another device that you have to provide power for.

As a result, amplifiers that work well with 802.11b gear are expensive ($400+) and difficult to come by. But do you really need them? Using standard gear and high-gain antennas, you can extend a point-to-point link to 25+ miles, without amplifiers. Your money is probably better spent on high- quality directional antennas and cabling, and possibly even adding another node for further saturation.

As far as U.S. federal law is concerned , you'll have to read Part 15 and draw your own conclusions. Hire a lawyer if you're really paranoid . BAWUG member Tim Pozar has put together an excellent paper on interpreting the Part 15 rules; see Appendix A for his excellent work.

In short, the amount of power you can legally run (and the gain of your antenna) is limited, depending on how you use it. Fixed point-to-point links are allotted the most power, while omnidirectional point-to-multipoint configurations are the most restricted. Unless you use amplifiers, you aren't likely to run into the FCC limits, because standard client cards don't put out nearly enough power. But don't just take my word for it, because I am not a lawyer. (Besides, the person responsible for making sure that your rig is legal is you, the operator!)

I do believe that the intent behind the rules is to limit interference in the band, which is something we should all fight to make happen. Noise is everyone's enemy. To that end, try to use the least amount of power necessary to keep your link going, and use the most directional antennas that will work for your application. Be a good neighbor, and you may find that you enjoy your neighborhood more.

   


Building Wireless Community Community Networks
Building Wireless Community Networks, 2nd Edition
ISBN: 0596005024
EAN: 2147483647
Year: 2003
Pages: 111

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