peculiarities of radio devices

Similar documents
6 Radio and RF. 6.1 Introduction. Wavelength (m) Frequency (Hz) Unit 6: RF and Antennas 1. Radio waves. X-rays. Microwaves. Light

Link Budget Calculation

Colubris Networks. Antenna Guide

Industrial Wireless Systems

Outline / Wireless Networks and Applications Lecture 3: Physical Layer Signals, Modulation, Multiplexing. Cartoon View 1 A Wave of Energy

CSNT 180 Wireless Networking. Chapter 4 Radio Frequency (RF) Fundamentals for Wireless LAN Technology

Project = An Adventure : Wireless Networks. Lecture 4: More Physical Layer. What is an Antenna? Outline. Page 1

This Antenna Basics reference guide includes basic information about antenna types, how antennas work, gain, and some installation examples.

Planning a Microwave Radio Link

Module contents. Antenna systems. RF propagation. RF prop. 1

Basic Radio Physics. Developed by Sebastian Buettrich. ItrainOnline MMTK 1

Radio Network Planning for Outdoor WLAN-Systems

Antenna Basics. Antennas. A guide to effective antenna use

Study of Factors which affect the Calculation of Co- Channel Interference in a Radio Link

The LoRa Protocol. Overview. Interference Immunity. Technical Brief AN205 Rev A0

Announcements : Wireless Networks Lecture 3: Physical Layer. Bird s Eye View. Outline. Page 1

Vehicle Networks. Wireless communication basics. Univ.-Prof. Dr. Thomas Strang, Dipl.-Inform. Matthias Röckl

EECS 473 Advanced Embedded Systems. Lecture 14 Wireless in the real world

RoamAbout Outdoor Antenna Site Preparation Guide

IT-24 RigExpert. 2.4 GHz ISM Band Universal Tester. User s manual

Using the epmp Link Budget Tool

Intro to Radio Propagation,Antennas and Link Budget

The better WLAN Radio Network by an optimal Antenna System

Announcement : Wireless Networks Lecture 3: Physical Layer. A Reminder about Prerequisites. Outline. Page 1

Antenna Performance. Antenna Performance... 3 Gain... 4 Radio Power and the FCC... 6 Link Margin Calculations... 7 The Banner Way... 8 Glossary...

Co-existence. DECT/CAT-iq vs. other wireless technologies from a HW perspective

Planning Your Wireless Transportation Infrastructure. Presented By: Jeremy Hiebert

Reading and working through Learn Networking Basics before this document will help you with some of the concepts used in wireless networks.

Basic radio physics. Sebastian Büttrich, NSRC/ITU/wire.less.dk edit: June

The Physics of Radio By John White

Welcome to EnGenius Versatile Wireless Networking Applications and Configurations - Part 1 Outdoor Wireless Networking Products

UNIVERSITY OF BOLTON CREATIVE TECHNOLOGIES COMPUTER NETWORKS AND SECURITY SEMESTER ONE EXAMINATIONS 2015/2016 WIRELESS NETWORKS AND SECURITY

Unit 3 - Wireless Propagation and Cellular Concepts

Wireless System Characteristics

Telecom Training. Why EnGenius Phones are Unique RSSI Signal Tool. Presented by Daniel Koczwara

August, Antennas 101: A Course in RF Basics

CS263: Wireless Communications and Sensor Networks

Wireless systems. includes issues of

Amateur Radio License. Propagation and Antennas

Exercise 1: RF Stage, Mixer, and IF Filter

Lecture Fundamentals of Data and signals

White paper. Long range metering systems : VHF or UHF?

Does The Radio Even Matter? - Transceiver Characterization Testing Framework

RVRUSA - DATA DE REFERENCIA PARA INGENIEROS

UNDER STANDING RADIO FREQUENCY Badger Meter, Inc.

TESTING OF FIXED BROADBAND WIRELESS SYSTEMS AT 5.8 GHZ

CS-435 spring semester Network Technology & Programming Laboratory. Stefanos Papadakis & Manolis Spanakis

NXDN Signal and Interference Contour Requirements An Empirical Study

Field Intensity Units

K.NARSING RAO(08R31A0425) DEPT OF ELECTRONICS & COMMUNICATION ENGINEERING (NOVH).

Wireless LAN RF Design Fundamentals

Motorola Wireless Broadband Technical Brief OFDM & NLOS

Contents. ITS323: Introduction to Data Communications CSS331: Fundamentals of Data Communications. Transmission Media and Spectrum.

ITS323: Introduction to Data Communications CSS331: Fundamentals of Data Communications

Multipath fading effects on short range indoor RF links. White paper

The Basics of Signal Attenuation

Direct Link Communication II: Wireless Media. Current Trend

advancing information transport systems

Range Considerations for RF Networks

E-BAND WIRELESS TECHNOLOGY OVERVIEW

WiFi Installations : Frequently Asked Questions

Antennas and Propagation Chapters T4, G7, G8 Antenna Fundamentals, More Antenna Types, Feed lines and Measurements, Propagation

Cellular Expert Radio Links module features

Cisco Aironet Antennas and Accessories

The Evolution of WiFi

4/29/2012. General Class Element 3 Course Presentation. Ant Antennas as. Subelement G9. 4 Exam Questions, 4 Groups

Copyright Teletronics International, Inc. Patent Pending

Contents. Telecom Service Chae Y. Lee. Data Signal Transmission Transmission Impairments Channel Capacity

EMC Evaluation at Green Bank: Emissions and Shield Effectiveness

Industrial Wireless: Solving Wiring Issues by Unplugging

E-716-A Mobile Communications Systems. Lecture #2 Basic Concepts of Wireless Transmission (p1) Instructor: Dr. Ahmad El-Banna

Wireless Point to Point Quick Reference Sheet

Cellular Expert Professional module features

FM Transmission Systems Course

360 inches (915 cm) 240 inches (610 cm) 120 inches (305 cm) 240 inches is the recommended pole length, 360 inches is the recommended free space area

03_57_104_final.fm Page 97 Tuesday, December 4, :17 PM. Problems Problems

Take These Ten Steps to Ensure Wireless Success

ZigBee Propagation Testing

In this unit we will see how WiFi networks work

AW900xTR USER S MANUAL 900 MHz Outdoor Wireless Ethernet Radio

Ave output power ANT 1(dBm) Ave output power ANT 2 (dbm)

RAPTORXR. Broadband TV White Space (TVWS) Backhaul Digital Radio System

ECC Recommendation (16)04


Antenna Fundamentals Basics antenna theory and concepts

OFDMA and MIMO Notes

Antennas and Propagation

Point to point Radiocommunication

1 Propagation in free space and the aperture antenna

Topic 5: Radio wave propagation and safety issues

RADIO LINKS. Functionality chart

Outline / Wireless Networks and Applications Lecture 5: Physical Layer Signal Propagation and Modulation

Structure of the Lecture

Radio Frequency Exposure Test Report

Wireless 101 Siemens Industry Inc All rights reserved. usa.siemens.com/industry

Data Communication. Chapter 3 Data Transmission

Technician License Course Chapter 4. Lesson Plan Module 9 Antenna Fundamentals, Feed Lines & SWR

Institute of Electrical and Electronics Engineers (IEEE) CHARACTERISTICS OF IEEE SYSTEMS IN MHz

CPSC Network Programming. How do computers really communicate?

TSEK02: Radio Electronics Lecture 6: Propagation and Noise. Ted Johansson, EKS, ISY

Transcription:

Rudi van Drunen peculiarities of radio devices Rudi van Drunen is a senior UNIX systems consultant with Competa IT B.V. in The Netherlands. He also has his own consulting company, Xlexit Technology, doing low-level hardware-oriented jobs. rudi-usenix@xlexit.com In this article I will describe the peculiarities of using Radio Frequency (RF) devices in your systems. Most prominently, the WiFi subsystem in your laptop or access point will be covered, but I will also be touching upon Bluetooth and 3G (Cellular) devices. Radio Systems All wireless systems depend on radio waves to transmit and receive data. Radio wave frequency and the way data is encoded in radio waves differ from technology to technology. F i g u r e 1 : R a d i o S y s t e m s : A : H a l f D u p l e x ; B: Full Duplex As illustrated in Figure 1, some radio systems switch between receiving and transmitting (halfduplex systems), and some radio systems are able to receive and transmit at the same time (full-duplex systems) using the same antenna. Full-duplex systems are often more complex, since designers need to prevent the high-power transmitter signal from getting into the sensitive receiver front end. The high-power signals, even if they are on another frequency, can make the receiver deaf or can even destroy the sensitive input amplifier electronics (we re talking about nano Volts sensitivity). Full-duplex systems usually get more throughput than half-duplex systems. In the data encoding/decoding process we move from digital to analog technology; radio waves are all in the analog domain. Part of the encoding and 64 ; LOGIN : VO L. 35, N O. 1

decoding is traditionally done in hardware using discrete electronics and integrated circuits by functional blocks known as modulators and demodulators, but as digital signal processors get more common and powerful, one can do this completely in software as well, resulting in software defined radio as shown in Figure 2. (More info on software defined radio can be found in [1].) Figure 2: Software Defined Radio (SDR) Almost all modern chipsets that provide WiFi, Bluetooth, or 3G capabilities nowadays are more or less software defined radios. By having the software doing the modulation/demodulation, it is much easier to adhere to newer protocols with the same hardware through simple firmware updates. Also calibration, which can be a tedious process in analog systems, can be skipped or replaced by simple software routines that calculate the different parameters to be used in the modulation and demodulation algorithms. Wavelength The radio waves, traveling at the speed of light (c = 300,000 Km/s through vacuum or air) have a specific wavelength (λ), which relates to the frequency the system operates at as f = c / λ. A typical WiFi system operating at 2.4 GHz has a wavelength of 12.5 cm (4.9 in). (See the first article in this series for more about wavelengths [2].) Antennas The last (or the first) part of a radio system is always the antenna. This device translates the electrical energy into electromagnetic (radio) waves, or the other way around. We can look at an antenna as a piece of wire ( the element ) that can be brought into resonance, and often as a reflector to reflect and direct the radio waves. When the wire comes (partly) into resonance, at a particular frequency, it starts to efficiently transmit or receive radio waves. The frequency at which the wire element gets efficient (the resonance frequency) is dependent on its size (there is a relation to the wavelength), shape, and material. All different frequencies need different antennas. The frequency a system operates on differs from standard to standard. Table 1 shows the commonly used frequencies (some technologies can and are designed for operation in multiple frequency bands) in everyday data communication use. ;LOGIN: February 2010 Peculiarities of Radio Devices 65

Technology 1st frequency band 2nd frequency band WiFi 2.4 GHz 5 GHz Bluetooth 2.4 GHz WiMax 2.5 GHz 3.5 GHz 3G (UMTS) 1.8 GHz 1.9 GHz ZigBee 900 MHz 2.4 GHz Table 1: Frequencies Used by Different Technologies Next to the typical frequency an antenna is designed for there is the gain an antenna provides. The gain of an antenna works both in the transmitting mode and in the receiving mode and is highly dependent on the size and shape of the antenna. It you have an omni-directional antenna, then the gain versus direction in the x-y (horizontal) plane is the same in all directions, whereas a directional antenna has a distinct direction in which the gain is at its largest. Figure 3 shows a simulation of two different antennas and their gain characteristics. A: OMNI-DIRECTIONAL b: DIRECTIONAL Figure 3: Simulated Radiation Patterns Omni-directional antennas are often used by access points where you want to cover as large an area as possible. You want the clients to be able to connect from all directions. If for some reason you need a segment of the donut shape as coverage area, there are special sector antennas for this purpose. Mobile operators providing 3G service often use sector antennas with different opening angles (60, 90, or 120 degrees). By using different sectors they can shape the coverage area to their needs or use more transmitters in their base station, each serving a particular direction. The sector antenna is just a special case of the omni-directional antenna used to cover an area for clients. Directional antennas, on the other hand, have a very small coverage angle: they often have opening angles of less than 10 degrees. Typical use of a directional antenna is in making point-to-point connections where the location of the other antenna is static and exactly known. A special, mixed form of omni and directional antennas can be found in an active antenna that is able to direct a particular signal to a particular client within the 360 degrees of the omni antenna. This antenna requires pretty complex RF electronics to do phase shifts of the signals and uses multiple elements to transmit. This so-called phased-array antenna is often used by WiMax providers in their base-stations. 66 ;LOGIN: VOL. 35, NO. 1

Figure 4 shows the actual real-life pictures of two antennas with their characteristics. A : 8 d B i O m n i - D i r e c t i o n a l B : 1 2 d B i D i r e c t i o n a l P a n e l Figure 4: Pictures and Diagrams of an Omni (A) Antenna and a Directional (B) Antenna (Source: www.gandalf.nl) The db In Figure 5 we introduce a new unit of measurement, the db (decibel). The db is not an absolute unit but denotes the relationship between two signals. When talking about power levels in W(atts), the ratio of two signals can be expressed in db by calculating the 10-base Logarithm (log 10) of the ratio between the actual level to a reference level, multiplied by 10 (since 10 db (decibel) equals 1 B (Bell). If you want to express a twofold increment in power, moving from 100 mw to 200 mw, for example, the db increase equals 10log 10 ( 200mW ) = 3dB 100mW So if an antenna amplifies a signal 100 times in a particular direction, it has a 20 db attenuation in that direction. Often when talking about antennas we use the word gain, which is synonymous with attenuation. For antennas, we compare the gain of an antenna with a hypothetical isotropic radiator which radiates uniformly in all directions, and express the gain in dbi, whereas if we talk about (absolute) power levels we denote it by dbm. With dbm, we compare to 1 mw of power, so 100mW corresponds to 10log 10 ( 100mW ) = 20dBm 1mW Now let s put all this theory into action. We all know about WiFi systems and their peculiarities. To be able to make a point-to-point connection (building to building) using WiFi, we need to select equipment such as antennas, cabling, and access points/client devices in such a way that the connection is reliable but also within the limits defined by the FCC or its European Counterpart, ETSI, in maximum RF power output. Here we will show how to lay out such a system that will perform while operating within limits. ;LOGIN: February 2010 Peculiarities of Radio Devices 67

An Example Having set up many point-to-point links in a wireless community network [3], I will show the theory in action on designing a 3 Km (a little less than 2 miles) link connecting two hops in the network. This example is shown in Figure 5. Here all components that add or reduce gain in the RF path are shown. The system we are designing uses 802.11b technology on an 11 Mb link rate. The connection is using the 2.4 GHz band. 802.11b technology has proven to be far better performing in outside environments than 802.11g due to the more robust RF modulation. Making the calculations, we start off with calculating the loss that is imposed on the radio signal while traveling through free space: Figure 5. A Building-to-Building Outdoor WiFi Setup The signal loss through air (free space loss) is defined as: Loss[dB] = 92.5 + 20 log f [GHz] + 20 log d [Km] with f the operating frequency in GHz and d the distance in kilometers. In this case we have a loss of 92.5 + 7.6 + 9.5 = 109.6 db. We have access point and client devices that output 30 mw = 10 log10 (30 mw/1mw) = 14.8 dbm of RF energy and need a signal strength of 90 dbm for maintaining a good connection. All cabling and connectors in the system on each side have a loss of 1.2 dbi, recalling that we have cabling and connectors on both ends. Now we can calculate the needed antenna gain. We need 90 dbm on the input of the device for a good connection. Allowing some margin, we define the minimum input signal as 85 dbm. This signal must come from the 14.8 dbm transmitter, going through a set of cabling twice, which gives a total of 2.4 dbi gain, and the free space, which gives 109.6 db gain. So the antennas must add another 14.8 109.6 2.4 (-85) = 12 dbi, which can be accomplished using two antennas that have a gain in the desired direction of 6 dbi. It is important to use the antennas in a symmetrical setup that is, both sides having the same gain, as both devices send and receive; otherwise the power in front of the largest antenna will exceed maximum. So a 6 dbi antenna for each side would do the job. To get some headroom, it is wise to select 7 dbi antennas, which gives you another 2 dbi extra margin. In a rainy climate, you might need some extra gain to cope with the extra loss you get from wet air. To check if we are within limits defined by the regulatory body, we have to calculate the output power of the antenna (the 68 ;LOGIN: VOL. 35, NO. 1

field strength in front of the radiator), which in this case is 14.8 dbm (AP) + 7 dbi (antenna) 2.5 dbi (cabling set) = 19.3 dbm = 85 mw of RF output power, which is allowed both in Europe and in the USA for the 802.11b band. Another thing to take into account when designing a point-to-point WiFi link is that for the above free space loss calculation the RF beam needs to be unobstructed, so a line of sight is needed and the Fresnel zone must be clear. The Fresnel zone is an ellipsoid between the transmitter and receiver in which the radio waves live (see Figure 6). The maximum radius of this Fresnel zone can be calculated by the following formula: r[m] = d[km] 4* f[ghz] For the 3 Km link, the maximum radius of the ellipsoid would be about 17.32* 3/(4*2.4) = 9.6meters = 31 ft. Figure 6: The Fresnel Zone Large objects covering (part of) the Fresnel zone will increase the free space loss, and therefore larger antenna gain might be needed. It is wise to have the Fresnel zone less than 10% occupied with trees or buildings. A larger percentage of occupation will seriously increase the free space loss. If you make very long distance point-to-point connections, it is important not only to look at the Fresnel zone but also to take the curvature of the Earth into account. The Earth s curvature may result in partial coverage of the Fresnel zone when the antennas are not mounted high enough. Range-Limiting Factors There are a number of factors that limit the range of a wireless datacom system. multipath As with any waves, radio waves can be reflected by surfaces such as walls. These reflected waves, which are weaker than the direct wave, are received slightly after the primary signal (see Figure 7). ;LOGIN: February 2010 Peculiarities of Radio Devices 69

Figure 7: Multipath Interference This causes interference and distortion of the resulting signal. This effect, commonly known as multipath interference, can distort the signal and make decoding/demodulating the RF signal particularly difficult for the hardware. Reflections can be of a different nature, as shown in Figure 8. Figure 8: Different Ways Reflection Works In some cases, a strong enough signal that is received out of phase with the direct signal can essentially create a blank, a spot where no signal is available, while only a few feet away you may have a strong signal. This is called a multipath null. Using omni-directional antennas you will create large amounts of multipath interference, as the RF radiation is transmitted in all directions. Using directional antennas makes this less of a problem, as most RF energy is transmitted in one distinct direction. attenuation An RF signal is reduced in strength once it passes through different materials. This effect is known as attenuation. The degree of reduction as related to material is shown in Table 2. Material Attentuation Attentuation @2.4 GHz @5 GHz Solid wood door 6 dbi 10 dbi Steel fire exit/door 13 dbi 24 dbi Concrete wall 18 19 dbi 30 dbi Interior wall 6 9 dbi 4 dbi Single pane window 7 dbi 6 dbi Cubicle wall 6 dbi 2 dbi Table 2: Attentuation of Various Materials for WiFi Signals 70 ;LOGIN: VOL. 35, NO. 1

Table 2 shows that materials such as concrete walls or floors have much more attenuation than cubicle walls. In designing a radio network it is important to determine the number and material of the obstacles the signal must travel through. This has to be included in calculations of free space loss. signal-to-noise ratio The relation of the target signal of the radio system to other signals in the same frequency band is called the signal-to-noise ratio (SNR) and is expressed in db as: SNR [db] = Signal strength [dbm] Noise floor [dbm] (see Figure 9). The more noise there is, the more difficult it becomes for the front-end electronics (or software) to filter the desired signal from the noise. Often the data rate the system is working on will drop if the SNR decreases. The more complex the modulation (encoding) of the RF signal is, the higher the bandwidth the system is capable of, and the higher the minimum SNR needs to be to get reliable communications. Noise can be generated by different pieces of equipment. For 2.4 GHz, noise coming from stray microwave radiation, video transmitters, or ham radio operators is notoriously bad. Other sources of noise are X10 home automation equipment and cordless telephones. Figure 9: Signal-to-Noise Ratio An example here is the operation of Bluetooth and WiFi at the same time. The SNR of one system will decrease when the other system is turned on and the antennas are located close together. The Bluetooth RF signal is noise to the WiFi subsystem and vice versa. Other WiFi signals from adjacent channels are also noise to a client. Since the spectrum width of WiFi signals overlap, it is important for performance to use channels that are at least three apart. general These effects are applicable to all RF systems. WiFi (IEEE 802.11), Bluetooth (IEEE 802.15), ZigBee (IEEE 802.15.4), and 3G communication systems all use RF in roughly the same frequency space (2.5 GHz), and all have the same characteristics in the lowest layer. However, the higher layers of the different protocols differ quite extensively, and effects on the RF layer may be less profound for the user, since the other layers have the ability to correct errors introduced on the RF layer. An example here is that WiFi 802.11 a/b/g systems often use diverse techniques to overcome problems due to ;LOGIN: February 2010 Peculiarities of Radio Devices 71

multipath interference or multipath nulls. Here two antennas are used and the strongest signal is fed into the demodulator. Conclusion Building a reliable RF link is not straightforward. Radio frequency signals have their own special ways of traveling from the transmitter to the receiver and have to be handled carefully. Taking everything into account, RF signals are an easy and convenient way to transmit data. Because the medium is shared, however, you need to be aware of eavesdropping and use protocols or settings that match your security policy. acknowledgments I want to thank Rik Farrow for his comments on this article. It is always nice to have comments from people outside the field, since engineers get dragged into the heavy stuff too easily. My employer, Competa IT, also deserves to be mentioned here for the freedom I get to write these articles. [1] http://www.sdrforum.org/pages/aboutsdrtech/whatissdr.asp. [2] http://usenix.org/publications/login/2009-04/pdfs/vandrunen.pdf. [3] http://www.usenix.org/event/usenix03/tech/freenix03/full_papers/ vandrunen/vandrunen_html/index.html. 72 ;LOGIN: VOL. 35, NO. 1