QUOTE(dbamit @ May 10 2009, 05:14 AM) [snapback]82059[/snapback]
So is it possible connecting all PLCs by only using WLAN? Whatever u r saying abt this gain theory is hard to understand for me. Can u explain in Little detail or provide me some material or link. My project is in a refinery plant. There are so many obstacles in routes.
Yes, it is always POSSIBLE. Consider the ELF radio system used by the United States to communicate (albeit it VERY slowly) to submarines at the bottom of the Atlantic ocean (to send nuclear launch codes). Of course it helps when the transmitting antenna stretches across 2 states!
But, refineries are very tough. You shouldn't even consider wireless unless you do a good quality survey first to verify whether or not it will work. Chances are that you are going to have to mount your antennas up in the air above the pipe racks at a minimum. Certain radios can also do packet hopping...they will pass packets from radio to radio to the destination. These are also sometimes called "mesh" radios. This is still relatively new technology.
http://en.wikipedia.org/wiki/Wireless_mesh_networkFirst thing to remember is that when a wave is travelling through a substance, ANY substance except vacuum, it is slowly losing strength. This is absorption. Second, any time that it hits another substance, the wave is split. Part of it is reflected, and part is transmitted through the new substance. How much goes each way depends on the properties of BOTH substances. This dual-nature is most obvious when you think of seeing your reflection in water, and still looking at objects beneath the surface at the same time. Even more confusing, the properties are wavelength dependent. Here is the absorption vs. wavelength for air:
http://en.wikipedia.org/wiki/File:Atmosphe..._or_opacity.jpgAlso, the size of the object is very important. If the size is less than about 10% of the wavelength, then it is effectively transparent. There is a little bit of scattering going on (which is the reason that you see light beams when there is dust in the air) but that's about it. Between 10% and one wavelength, the properties go from pure transparency to the normal situation of partly reflecting/partly transmitting.
So at 5 GHz, the wavelength is just 6 cm. Any object thicker than about 0.6 cm starts to interact significantly with the radio wave. The wavelength at 900 MHz is now up to 33 cm, so a 2-3 cm thick slab of metal is still effectively transparent. Concrete is a little more complicated of course because it is so porous.
The best, least complicated situation of course is "line of sight", clear of obstructions even within the first couple Fresnel zones (http://en.wikipedia.org/wiki/Fresnel_zone).
Without that, what happens is that you typically see a "rich scattering" environment. Even if your antennas are not sufficiently high off the ground, you end up with two waves, a "space wave" (direct) and a "ground wave" (reflected). They have different path lengths and they cause an interference pattern which leds to "hot" and "cold" spots. It is still possible to communicate, and there are now multiantenna receivers that are designed to take advantage of scattering. However, it is important to be aware of this effect. Of course you might be able to simply put the antennas up on tall enough poles to eliminate the problem in many cases.
Radio calculations often involve very large numbers, so communications engineers always work in decibels. To convert to decibels, take the base 10 log of a number and multiply by 10. To convert back to "normal" numbers, divide by 10 and calculate 10^(number). More info here:
http://en.wikipedia.org/wiki/DecibelOnce you are in decibels, multiplying and dividing becomes addition and subtraction. One interesting calculation to consider is that 2 is equal to 3 dB. So every 3 dB is the same thing as doubling (or halving). 6 dB is quadrupling, and 10 dB is equal to increasing signal strength by 10 times. 20 dB is 100 times.
Here is the link budget which is used to calculate gains or losses in a line-of-sight scenario:
http://en.wikipedia.org/wiki/Link_budgetNote that there is a gain for an antenna. Why would this happen? Well, except for the theoretical "isotropic radiator" (perfectly spherical antenna), all antennas are directional to one degree or another...they do not receive equally well in all directions. As you narrow the range of directions that an antenna can receive in, it increases the signal strength in the direction that it does receive in.
Let's for instance imagine a big 3 meter satellite dish. They are highly directional. Any signal not directly in front of the dish even 100+ km out into space is invisible. They often have gains around 36 dB (signal strength is increased by nearly 4000 times!)
Now a satellite dish is quite directional, and it is pretty normal to see directional antennas with gains of between 10-30 dB. An omnidirectional antenna can also have a gain. It does this if you think three-dimensionally. It simply concentrates the signal into a plane or toroidal shaped region pointing out from the antenna, while signals received straight up or down are tuned out. The gains are more modest but 3-9 dB is pretty common.
So if you used a 6 dB omnidirectional antenna and a 20 dB directional antenna pointed at it, the signal strength would be increased by 6+20 = 26 dB. Converting this to decimal is 10^(26/10) = 400 times increased signal strength. Doubling the distance cuts the signal strength to 1/4 (waves spread out like a sphere...so the area on the sphere is what matters). So increasing the distance from 100 meters to 700 meters decreases signal strength by 17 dB, or 50 times. So the net result is an increase in signal strength of 8 times (9 dB).
In reality, there are just too many variables to consider. So most folks do a radio "survey". It's not too hard to do. If you have a wireless access point and your laptop will show you signal strengths (I recommend using netstumbler which is free software to do this), then you can do a very primitive survey. Set the access point up temporarily and start walking around with your laptop. It's not perfect and it's limited to the frequency that your access point & laptop support, but it should quickly give you some idea of what is possible/practical and what isn't. You can even get a better quality antenna to attach to your access point if you want to experiment further. Most industrial grade radios have some sort of signal strength (survey mode) built into them as well.