Sunday, December 22, 2024

Antenna Analysis and Design in MATLAB

Fig. 1: Antenna aperture (Courtesy: phys.hawaii.edu)
Fig. 1: Antenna aperture (Courtesy: phys.hawaii.edu)

Today, almost all applications are expected to be wireless, consume very little power and have high data retention capability. For this, selection of an effective media at the physical layer is important. Today, several wireless devices featuring ZigBee protocol, IR transceiver, RF transceiver and dish antennas are commonly used. Antenna plays a vital role in all these devices.

A good antenna design can result in a high degree of efficiency, better directivity and more beamwidth for long-distance transmission without much loss of information. Here is a program written in MATLAB for designing antenna arrays & antenna analysis.

Before delving into the MATLAB program, let’s go through the basics of some parameters required for antenna analysis & design, such as signal radiation pattern, sidelobes, efficiency, beamwidth and directivity.

- Advertisement -
Fig. 2: Antenna beamwidth (Courtesy: phys.hawaii.edu)
Fig. 2: Antenna beamwidth (Courtesy: phys.hawaii.edu)

Antenna basics

Fig. 3: Cell-tower antenna array (Courtesy: antennatheory.com)
Fig. 3: Cell-tower antenna array (Courtesy: antennatheory.com)

Fig. 1 shows the aperture of a typical antenna. Here BWΦ denotes the azimuth beamwidth and BWθ the elevation beamwidth. Beamwidth is normally measured at the half-power or -3dB point of the main lobe, unless otherwise specified.

According to the official website of the Antartic Impulsive Transient Antenna (ANITA, www.phys.hawaii.edu/~anita/new/papers/militaryHandbook/antennas.pdf), the gain or directivity of the antenna is the ratio of the radiation intensity in a given direction to the radiation intensity averaged over all directions. The difference between directivity and gain is that the directivity neglects antenna losses such as dielectric, resistance, polarisation and voltage standing wave ratio (VSWR) losses. Since these losses are usually quite small in most classes of antennas, directivity and gain are approximately equal, disregarding unwanted pattern characteristics.

- Advertisement -

However, antennas are different practically, and do not have ideal radiation distribution. Energy varies with angular displacement and losses occur due to sidelobes.

Fig. 4: Typical antenna radiation pattern with side lobes
Fig. 4: Typical antenna radiation pattern with side lobes

If you can measure the radiation pattern, and determine the beamwidth, you can use two or more ideal antenna models to approximate a real antenna pattern as shown in Fig. 2. Assuming the antenna pattern to be uniform, gain G is equal to the area of the isotropic sphere divided by the sector (cross-section) area as:

Antenna gain formula

Antenna efficiency is a factor that includes all reductions from the maximum gain. It can be expressed as a percentage or in dB. Several types of losses must be accounted for while determining the efficiency:

1. Illumination efficiency, which is the ratio of the directivity of the antenna to that of a uniformly illuminated antenna of the same aperture size

2. Phase-error loss or loss due to the aperture not being a uniform phase surface

3. Spillover loss (for reflector antennas), which reflects the energy spilling beyond the edge of the reflector into the back lobes of the antenna

4. Mismatch loss expressed as voltage standing wave ratio (VSWR), derived from the reflection at the feed port due to impedance mismatch—especially important for low-frequency antennas

5. RF losses between the antenna and the antenna feed port or measurement point

Effective capture area (Ae) is the product of the physical aperture area (A) and the aperture efficiency (η):

ZA2_2

Thus gain is a function of aperture efficiency.

The gain of an antenna with losses is given by:

93F_3

where ‘η’ is aperture efficiency, ‘A’ physical aperture area and ‘λ’ wavelength.

Note that the gain is proportional to the aperture area and inversely proportional to the square of the wavelength. So if the frequency is doubled, or the wavelength halved, the aperture could be decreased four times to maintain the same gain.

Radiation patterns of various antennas
According to ANITA’s website (www.phys.hawaii.edu/~anita/new/papers/militaryHandbook/freqphas.pdf), radiation patterns of the antennas presented in the previous section are for the most commonly used antenna geometries. The antenna should be viewed as a matching network that takes the power from a transmission line (50-ohm, for example) and matches it to the free space impedance of 377 ohms. The most critical parameter is the change of VSWR with frequency. The pattern usually does not vary much from acceptable to the start of unacceptable VSWRs (>2:1). For a given physical antenna geometric size, the actual radiation pattern varies with frequency.

Fig. 5: Cartesian plot
Fig. 5: Cartesian plot
Fig. 6: Polar plot
Fig. 6: Polar plot

Antenna arrays

According to AntennaTheory.com, an antenna array, often called a ‘phased array,’ is a set of two or more antennas, as shown in Fig. 3. The signals from the antennas are combined or processed in order to achieve improved performance over a single antenna.

It is generally noticed that the antenna array factors for arrays with uniform weights have unequal sidelobe levels (refer Fig. 4). Often, it is desirable to reduce the highest sidelobes at the expense of increasing number of lower sidelobes. The optimal sidelobe level for a specified beamwidth will occur when the sidelobes are all equal in magnitude.

Fig. 7: Yagi-Uda antenna
Fig. 7: Yagi-Uda antenna
Fig. 8: Eleven-element Yagi-Uda antenna
Fig. 8: Eleven-element Yagi-Uda antenna

There is a method for obtaining weights for uniformly spaced linear arrays steered to broadside (θd=90 degrees). It is a popular weighting method because the sidelobe level can be specified, and the minimum possible null-null beamwidth obtained.

Figs 5 and 6 show cartesian and polar plots of the antenna radiation pattern, respectively. Effective selection of lamda (λ) and the number of elements can reduce the sidelobe level of antenna.

Yagi-Uda antenna

B9Z_TableYagi-Uda antenna (refer Fig. 7) is the most common terrestrial TV antenna used on the rooftops. It is usually used at frequencies between 30 MHz and 3 GHz, or a wavelength range of 10 metres to 10 cm.

The design of the antenna depends on the number of elements used in the antenna. The lengths of rods in a Yagi-Uda are about a half wavelength each, and the spacing of the elements about one-third of a wavelength.

As shown in the table, you can estimate the approximate operating frequency of a Yagi-Uda antenna by looking at its length from afar. A Yagi-Uda antenna with eleven elements is shown in Fig. 8.

To obtain the radiation pattern of a Yagi-Uda antenna in MATLAB program, a table with theta (or θ) values for polar angles and corresponding amplitudes of radiation patterns is required. These values can be obtained using antenna trainer. The data table should be saved in text (.txt) format.

MATLAB program

MATLAB R2008b or higher versions can be used for the program. The step-by-step procedure for program testing follows:
1. Run MATLAB from Desktop
2. Open ‘Expt_A1_2D.m’ file from ‘File’ menu
3. Import ‘Polalist-yagi uda.txt’ file from ‘File’ menu by selecting “Import Data” option
4. Click ‘Next’ button
5. Click ‘Finish’ button
6. Compile and run the program from ‘Debug’ menu by clicking ‘Run’ option
7. Go to the main MATLAB window. The command window will prompt you to enter the offset value for theta
8. Enter value like 90, 80 or anything as per your requirement and then press ‘Enter’ key
9. You should get the directivity output plots in polar as well as in cartesian forms

On entering the appropriate value, the program gives a good directivity plot. Maximum directivity is 4.483 or 6.5157 dB.

Download source code: click here


28 COMMENTS

SHARE YOUR THOUGHTS & COMMENTS

EFY Prime

Unique DIY Projects

Truly Innovative Electronics

Electronics News

Latest DIY Videos

Electronics Components

Electronics Jobs

Calculators For Electronics