Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
SUBMITTED BY: smail YILDIZ Gksenin BOZDA SUPERVISOR: Asst. Prof. Dr. A.Sevin AYDINLIK BECHTELER
Fall, 2010 2011
1
CONTENTS
ABSTRACT............... 3
A)INTRODUCTION
B)MEASUREMENT SYSTEM 6 1.SETTING UP LABVIEW 9 2.BUILDING VIs. a)Turn Table Control SubVIs. b)Signal Generator SubVIs. c)Spectrum Analyzer SubVIs.
15 15 19 20
3.SETTING UP HARDWARE. 22
24 27 27
D)CONCLUSION.
33
E)REFERENCES. 34
ABSTRACT
The ambition of the project is developing an automated antenna pattern measurement and gain calculation system. Hardware components of the system are used in remote mode and they are controlled by a computer program written in LabView. All of the antenna measurements are done in a anechoic chamber. Finally, antenna patterns are got on polar diagrams and gains are calculated automatically.
A)INTRODUCTION
As a result of the growth in wireless communications, the design and testing of antennas takes on renewed importance. Two important performance characteristics of antennas are their radiation pattern and their gain. The pattern is plotted to describe how power radiation varies with direction around the antenna and the gain is simply defined as the product of the directivity by efficiency. The ambition of this thesis project is developing an automated antenna pattern measurement and gain calculation system. Hardware requirements of the system are a signal generator, a spectrum analyzer, a turn table with controller and a laptop. All hardware components are used in remote mode and connection of them with laptop is supplied by GPIB (General Purpose Interface Bus) cables. Remote applications and the other automation process are managed and controlled by software solution of the system, LabView.
1.LABVIEW PROGRAMMING
Laboratory Virtual Instrument Engineering Workbench, a product of National Instruments, is a powerful software system that accommodates data acquisition, instrument control, data processing and data presentation. LabVIEW that can run on PC under Windows, Sun SPAR stations as well as on Apple Macintosh computers, uses graphical programming language (G language), departing from the traditional high level languages such as the C language, Basic or Pascal. All LabVIEW graphical programs , called Virtual Instruments or simply VIs, consist of a Front Panel and a Block Diagram. Front Panel contains various controls and indicators while the Block Diagram includes a variety of functions. The functions (icons) are wired inside the Block Diagram where the wires represent the flow of data. The execution of a VI is data dependant which means that a node inside the Block Diagram will execute only if the data is available at each input terminal of that node. By contrast, the execution of a traditional program, such as the C language program, follows the order in which the instructions are written. LabVIEW incorporates data acquisition, analysis and presentation into one system. For acquiring data and controlling instruments, LabVIEW supports IEEE-488 (GPIB) and RS-232 protocols as well as other D/A and A/D and digital I/O interface boards. The Analysis Library offers the user a comprehensive array of resources for signal processing, filtering, statistical analysis, linear algebra operations and many others. LabVIEW also supports the TCP/IP protocol for exchanging data between the server and the client.
B) MEASUREMENT SYSTEM
Our measuremet system is based on LabView programing. It supplies us to configure and control the neccessary devices and process the collected data. The measurement are done measurements in a anechoic chamber that is a room to design for stopping reflections of either sound or electromagnetic waves. Figure 1 is general hardware structure of the system.
Signal generator generates the signal with desired power and frequency for transmission signal and this signal is sent by the transmitted antenna. The receiver antenna is placed on a turn table and it is connected to spectrum analyzer. This receiving sub system provides us to observe the radiated signal between 0 and 360 degree with desired steps or ranges. For each d step, we get the data of radiated signal from spectrum analyzer. Then, the collected data is written in a text file. At the same time, this is sourced to draw pattern of antenna on p plot diagram. Maximum power value is selected among the data to calculate the gain. All of this operations are managed with the LabView program set on a laptop.
Figure 2 (LabView Front Panel User Interface) Figure 2 is Front Panel of the software and it is used as a user interface. User selects the visa address of each device and determines speed, d start-stop degrees, step size for turn table; signal type, frequency, power for signal generator; reference level, center and span frequencies for stop spectrum analyzer. After determining all configurations program is run. While program is running user can observe radiated signal for each rum signals step on the black boxes. As soon as program finishes, antenna pattern is drawn on the white box.
7
Figure 3 (Labview Build Diagram) Figure 3 is Block Diagram of the software and it is called VI. All configuration, control, arithmetic and logic operations are done in the diagram. We have 5 main subVIs and they also have their own several subVIs. 3 of main subVIs are used to configure the necessary devices and two of them in the loop are used to other operations such as turning the table, getting data and measurement. Additional these VIs, a Additionally, for loop is used to draw normalized polar diagram and a math node is used for gain calculation.
8
1.SETTING UP LABVIEW
a) Install LabView 8.0
LabView 8.0 has three CDs and we use two of them for installation. The first CD has LabView main program, the second CD has MAX (Measurement and Automation) program and the other one has some drivers. Installation steps are shown below. drivers.
Figure 4
Figure 6
Figure 7
10
Figure 9
11
Figure 10 Firstly, we have to install the driver of our converter (Agilent 82357A, shown in above). In this project, we use Agilents converter so we have to install Agilent 14.1 driver.
Figure 11
12
Figure 12
Figure 13 After installing Agilent driver, now we can connect the converter between PC and instrument. When we plug the instrument, a window appears on the Agilent program and we enter the GPIB address of instrument. Then, we see the instrument on the left side of Agilents program. To detect this instrument with MAX, we also fallow these steps.
13
Figure 14 As we see above, MAX is opened and Tools/NI-Visa/Visa Options/Passports is selected and /Passports NI-VISATulip.dll NI-VISA Passport for Tulip is checked at the right of the window. After VISA restarting the MAX, we get a new tab Soft Front Panel/VA-Agilent Visa Assistant Utility Agilent under Tools tab.
Figure 15
14
When we selected VA-Agilent Visa Assistant Utility, a window that helps us to configure the Agilent instrument appears. We select Browse button and choose this path C:\\Program Files\Agilent\IO Libraries Suite IO Suite\Bin\iocfg32.exe
Figure 16 Left side of VI includes controls and the right side includes indicators/connection nodes. We choose the GPIB address of turntable for VISA session control. Start ,Stop and Step size are entered by user in degree and user enters the turning speed of turntable in a ran from 1 range to 8. When we look at the right side, we see a VISA resource name out, this indicator shows us which visa address is used in the vi. TF (True-False) case helps us determining the False) rotation direction of turntable (clockwise or counter clockwise). Start, stop and step size clockwise). buffers show the values of initially determined.
15
Figure 17 (inner part of turntable configuration VI, it has also four different subVIs) e
16
17
Turntable control VI This VI has two different version but it includes only one subVI. One of the versions is used for counter clockwise direction and the other one is used for clock direction clockwise.
Note: All of the string commands can be found between the pages 35 and 43 in the service manual of Innco Systems.
18
Figure 23
19
Figure 25 (We can adjust center and span frequency, amplitude scale and reference lev We level)
20
Figure 27
Figure 28
NOTE: All of the necessary drivers for the used devices can be found on the web site of National Instruments at the LabVIEW developer zone. ments
21
3. SETTING UP HARDWARE
Connection between laboratory instruments is supplied with GPIB cables. An USB GPIB is used to connect laptop to instruments. Signal generator, spectrum analyzer and turntable controller are connected to each other. Usb side of usb gpib is connected to laptop and the other side is connected to one of the instruments. Almost 5 meters coaxial cable and many connectors are used. Coaxial cables are supplied connection between instruments and antennas. Connectors are used to connection between different types of inputs. Signal generator is connected to transmitter antenna, spectrum analyzer is connected to receiver antenna, turntable controller is connected to turntable with its own cable.
Fig.30 (Connector)
Fig.31 (Connector)
22
23
C) MEASUREMENT
A major difficulty encountered when trying to measure antenna patterns is a phenomenon called multipath distortion, in which unwanted reflections of the transmitted signal arrive at the antenna under test and interfere with the direct signal. The multipath distortion signal distorts the measured antenna pattern. Another characteristic of multipath distortion is that all the reflected signals arrive at the test antenna with a time delayed from the direct signal. However, we can reduce multipath distortion effects by using a large, open outdoor test site for the antenna range or by taking measurements inside an anechoic chamber. An anechoic chamber has walls that absorb RF radiation, reducing the reflected signals. We chose LabVIEW software for digital data collection and display control on the antenna range. We can apply LabVIEW signal-processing techniques to the pattern measurement data to reduce the range multipath distortion effects. To mitigate the multipath distortion effects, we used time-domain processing of the received signals.For the measurement, we used far field
technique where the antenna under test (AUT) is place in the far field of a range antenna.
d=
=
f=
= 5.83GHz
= =
3 108 9 =0.3m 1 10
) = 20log(
. .
) = 42dB
For 2GHz:
= =
) = 20log(
. .
) = 48dB
For 3GHz:
= =
=0.1m
) = 20log(
= 51.5dB
All of the used antennas are linearly polarized so it provides to analyze the antenna as a radiation pattern.
E - Plane
H - Plane
Frequency Range: Antenna Factor: Gain (dBi): Maximum Continuous Power: 3dB Beam width (E-Field): Field): 3dB Beam width (H-Field): Field): Impedance:
25
Frequency Range: Antenna Factor: Gain: Maximum Continuous Power: uous 3dB Beam width (E-Field): Field): 3dB Beam width (H-Field): Field): Impedance:
H - Plane
E - Plane
26
For 1GHz:
For 1.5GHz:
For 2GHz:
For 2.5GHz:
27
For 3GHz:
For 4GHz:
E-Plane Measurements: "For a linearly polarized antenna, the plane containing the electric field vector and the direction of maximum radiation". For base station antenna, the E-plane usually coincides with the vertical plane.
For 1GHz:
For 1.5GHz:
28
For 2GHz:
For 2.5GHz:
For 3GHz:
For 4GHz:
E-Plane
29
H-Plane
Original Pattern
30
1GHz for Horn Antenna: (13+6+RX Gain)=( 23.33)+(6.7+42) Gain)=(-23.33)+(6.7+42) RX Gain=6.37dBi 2GHz for Horn Antenna: (13+6+RX Gain)=( 28.83)+(9.06+48) Gain)=(-28.83)+(9.06+48) RX Gain=9.23dBi 3GHz for Horn Antenna: (13+6+RX Gain)=( 37.33)+(15.84+51.5) RX Gain=11.0 Gain)=(-37.33)+(15.84+51.5) Gain=11.01dBi Frequency Calculated Gain
1GHz 2GHz 3GHz 6.37 9.23 11.01
Original Gain
7.3 8.6 10
The Second Way: The key idea of this way is calculating the gain comparatively or relatively. We use two antennas, one of them is ref reference that its gain is known before, the others gain is desiring to find. The formula shown below helps us to understand the way and o calculate the gain.
= 9.02dBi
. . . .
= 3.54dBi
1GHz for Log Periodic Antenna: Gain =7.3 Frequency Calculated Gain(dBi)
300GHz 1GHz 3.54 6.78
As a result of several measurements and calculations, it is clear that the second way is more accurate because losses are ignored.
32
D) CONCLUSION
The importance and utilization area of antennas are getting increased and as a result of this situation, characterization problem of antenna is being critical day by day. So many systems are designed by researchers at universities and so many systems are produced commercially by companies to solve this critical problem. In this thesis project, we developed an antenna characterized system. LabView provide a highly effective and efficient solution for our system. The pattern and directivity of antenna is measured almost same as the original values. The gain is calculated by two different methods and the results of these calculations are almost same as the originals, too. As a conclusion, the initial ambitions of the our thesis project are reached. Measurements and calculations are acceptable and reliable.
33
E) REFERENCES
Books
1. Bishop, Robert H. , Labview Student Edition 6i, National Instruments 2. LabVIEW Getting Started, National Instruments, April 2003 3. Jeffrey Travis, Jim Kring, LabVIEW for Everyone: Graphical Programming Made Easy and Fun, Printice-Hall Third Edition 4. David M. Pozar, Microwave Engineering, John Willey & Sons Second Edition
Papers
1. S. Burgos., S. Pivnenkot, 0. Breinbjergt, M. Sierra-Castafier, Comparative Investigation of Four Antenna Gain Determination Techniques (pdf) 2. Leonard Skaloff, DeVry College of Technology, GPIB Instrument Control (pdf) 3. Innco Systems, Operating and Service Manual (pdf) 4. Tips on Using agilent GPIB Solutions in National Instruments LabVIEW Environment, Agilent Technologies 2009 USA (pdf)
34
35