MATLAB-CST Interfacing For A Micro-Strip Patch Antenna
MATLAB-CST Interfacing For A Micro-Strip Patch Antenna
Indian Journal of Science and Technology, Vol 10(44), DOI: 10.17485/ijst/2017/v10i44/120576, November 2017 ISSN (Online) : 0974-5645
Abstract
Objectives: To present an overview on interfacing of MATLAB and commercial electromagnetic software packages (such
as CST microwave studio). Methods/Statistical Analysis: This type of interfacing requires a scripting language interface
termed as VBA script. An example for the design of an inset microstrip patch antenna is demonstrated in this paper using
VBA. The controlling of CST microwave studio is done using MATLAB which calls microstrip patch antenna design along
with its performance parameters such as S11 parameter, VSWR, power requirement, radiation pattern, return losses etc.
Findings: The interface created between CST and MATLAB worked well and antenna parameters can be called in MATLAB
to operate on them. Improvements: Further optimization algorithm can be performed on this in order to get optimized
real time performance of antenna.
Keywords: CST Microwave Studio (MWS), MATLAB, Microstrip Patch Antenna, PSO, VBA
Automotive industry, Ultra Wide band systems, Military • Effective dielectric constant:
and commercial applications such as Radar and satellite −.5
∈eff = ∈r + r 1 +
communication5,7. + 1 ∈ − 1 12h
2 2 W
at h = 4.5 mm
• Length Extension:
W
+ .264
∈eff +.3 h
∆L=.412h
∈ +.258 W
eff + .8
h
• Length of Rectangular Microstrip Patch:
c
L=
2 fr ∈eff
• Length and Width of Ground Plane:
Lg=2L
Wg=2W
Figure 1. Top view of inset microstrip patch antenna8.
The paper is organized as follows: The Section 1 3. Antenna Design Specifications
describes us the brief introduction about MATLAB-
CST interfacing using an inset microstrip patch antenna. Before we describe our technical contributions, we first
Section 2 describes the various mathematical formulas introduce the notations and terms adopted throughout
employed to calculate the dimensions of patch antenna. this paper. The parameters such as resonant frequency
In Section 3 the antenna design specifications (both (fr), dielectric constant (єr), substrate thickness (h) are
known and calculated antenna parameters) are depicted. employed to calculate the geometrical dimensions of
In Section 4 we describe the VBA interfacing architecture substrate and ground plane of the antenna. Some of the
which helps us to get familiar with VBA editor, different known antenna parameters are given in Table 1.
files generated during MATLAB-CST interfacing to get
the simulated results. The last section concludes the paper Table 1. Known antenna parameters
along with its future scopes. S.NO Antenna parameters Data
1 Resonant frequency (fr) 1.8 GHz
2. Mathematical Formulation 2 Dielectric constant (єr) 4.3
to Calculate Dimensions of 3 Substrate thickness (h) 4.5 mm
Microstrip Patch Antenna
To calculate the dimensions of ground plane and patch Using above stated mathematical formulas and antenna
of the antenna (that is length and width), the following parameters, the geometrical dimensions of substrate,
mathematical formulas are inured8–10. patch and ground plane of antenna are calculated8 as pre-
• Width of the patch: sented in Table 2. In order to meet the antenna design
criteria these calculated geometrical dimensions are
−.5 applied. Figure 2 shows the side view of patch antenna.
c ∈r + 1 The patch of the antenna is fed by a 50Ω microstrip feed
W=
2 fr 2 line.
2 Vol 10 (44) | November 2017 | www.indjst.org Indian Journal of Science and Technology
Garima, Aarti Bansal and Surbhi Sharma
Table 2. Calculated parameters tions written in a scripting language in the form of a text
S. NO Antenna parameter Data (mm) file. CST is accessed by MATLAB as shown in Figure 4.
In order to do interfacing between MATLAB and
1 Patch length (L) 38
CST, the concept of client and server comes into picture.
2 Patch Width (W) 51 Both the software can act as server and client depending
3 Ground plane length(Lg) 76 upon the application. Here we are controlling CST using
MATLAB so, CST will act as server and MATLAB as cli-
4 Ground plane Width(Wg) 102
ent1,2. CST offers Command Line option for invoking
VBA via external programs (Windows, MATLAB etc).
The above method becomes inconvenient when multiple
commands are to be executed. Our method comprises a
single command line:
Vol 10 (44) | November 2017 | www.indjst.org Indian Journal of Science and Technology 3
MATLAB-CST Interfacing for a Micro-strip Patch Antenna
! (“c:\program files(x86)\CST STUDIO SUITE 2015\CST Table 3. Different files used in interfacing and their
DESIGN ENVIRONMENT.exe-m\c:\test1.bas”) extensions1,2
File name Contents
The auxiliary script is written in real time and using the test1.m MATLAB m file
user input its internal content is determined.
test.txt ASCII file with variable values
test1.bas VBA program
test1.mod Microwave Studio model files
test1^a1(1)1(1).sig File containing s11 data
! (solver.’start’)
! save
! release
4 Vol 10 (44) | November 2017 | www.indjst.org Indian Journal of Science and Technology
Garima, Aarti Bansal and Surbhi Sharma
fulfilled by the amalgamation of existing full wave elec- 6. Peixerio C. Microstrip patch antenna. A historical per-
tromagnetic solvers with different optimization schemes. spective of the development. Portugal: Inatituto de
The optimization is necessary as it offers more reliable Telecommunicacoes Technical University of Lisbon; 2011.
results and higher chance of finding good solution when p. 684–8. Crossref.
applied to a given designed problem in electromagnetic. A 7. Nisha AS. Hybrid coupled feed circularly polarized patch
antenna for military application. Indian Journal of Science
number of different algorithms have exploded every year
and Technology. 2015; 8(29):63684–7.
to fulfill the high demand for robust optimization tech-
8. Balanis CA. Antenna theory analysis and design. NewYork:
niques. When the optimization is applied in real time (that John Wiley and Sons; 1997.
is invoking CST using MATLAB) generates global opti- 9. Ramna, Sappal AS. Design of rectangular microstrip
mum run for the given problem. In future we will employ patch antenna using Particle Swarm Optimization.
the PSO[6] (Practical Swarm Optimization) on the above International Journal of Advance Research in Computer
example of the microstrip patch antenna as PSO is high and Communication Engineering. 2013 Jul; 2(7):2918–20.
performance evolutionary algorithm capable of searching 10. Saurabh AK, Kumar S, Srivastava DK. Design and band-
the solution space very differently and exploring new ter- width enhancement of rectangular microstrip patch
ritory in multi model problems. Through Optimization antenna using double H-slot technique for broadband
algorithms goals can be easily achieved. applications. International Journal of Advanced Research
in Computer and Communication Engineering. 2013;
2(12):4570–4.
6. References 11. Haupt RL. Using MATLAB to control commercial com-
putational electromagnetics software. ACES Journal. 2008;
1. MATLAB Version R2016a. 2016. www.mathworks.com
23(1):98–103.
2. CST Microwave Studio. Version 2014. 2016. www.cst.com
12. Behera SK, Choukiker Y. Design and optimization of
3. Yaqeen S, Mezaal. New compact microstrip patch antenna:
dual band microstrip antenna using Particle Swarm
Design and simulation results. Indian Journal of Science
Optimization technique. U Springer Science and Business
and Technology. 2016 Mar; 9(12):85950–6.
Media, LLC; 2010 Sep. p. 1346–54.
4. Anusuya A, Janetstephy J, Jegan G. Survey on various
13. Rahmat-Samit Y. Natured inspired optimization technique
design of microchip patch antenna. American Journal of
in communication antenna design. Proceeding of IEEE.
Engineering Research. 2014; 3(11):109–17.
2012 Jul; 100(7):2132–44. Crossref.
5. Mosig JR. Microstrip antenna papers in IEEE Transactions
on Antennas and Propagation. IEEE Antennas and
Propagation Magazine. 2012; 54(1):264–8. Crossref.
Vol 10 (44) | November 2017 | www.indjst.org Indian Journal of Science and Technology 5