1 Introduction

The empirical fact of using different kinds of optimization techniques is that it gives superior solution to solve various kinds of problems, improve the results and reduces the error. Artificial Neural Networks (ANN), Particle Swarm Optimization (PSO), Genetic Algorithm (GA), Ant Colony Optimization (ACO), BAT Algorithm (BA) and Bacterial Foraging Optimization (BFO) etc. are the fundamental techniques used for optimization [1,2,3,4,5,6,7,8,9,10].

Fractals have distinct properties from other type of antennas. Idea of fractal came from the occurrence of natural processes like phenomenon of cloud formation, mountains, branches of tree, coastlines etc. [11, 12]. Also, these antennas were adopted due to their multiband and wideband applications [12,13,14]. Hilbert Curve, Koch Snowflake, Sierpinski Gasket, Minkowski Island, Sierpinski Carpet and the hybrid combination of Sierpinski and Koch etc. are the basic structures that exhibit properties of fractal antenna [15,16,17,18,19,20,21].

Basically, Swastika is the holistic symbol of auspiciousness related to Hindu religion and other communities also. It is made up from two straight lines which cross each other like plus sign and all the tips are bent at the angle of 90 degree [22].

The applications of S-band exist in the range from 2 to 4 GHz for short waves of microwave band. It has utilities in satellite communication, weather radar, microwave ovens, WLAN, ISM band, Bluetooth and WiMAX etc.

In this paper, Genetic Algorithm (GA) and Bat Algorithm (BA) are used for the optimization of Swastika Slotted Fractal Antenna (SSFA) which are nature inspired metaheuristic algorithms. The comparison of both techniques showed that Bat Algorithm (BA) gave better results than Genetic Algorithm (GA) for the Swastika slotted fractal geometry.

The first section of this paper gives brief description of optimization techniques, fractal geometries, importance of Swastika symbol and S-band applications. Second section illustrates the geometry and comparison of different iteration stages of Swastika Slotted Fractal Antenna (SSFA). Genetic Algorithm (GA) and Bat Algorithm (BA) with their results of comparison are investigated in the third section. Simulated and experimental results are discussed in the fourth section, subsequently followed by conclusion.

2 Different Iteration Stages of SSFA with Comparison

The main parameters which are inevitable requirement for the design of SSFA are given in Table 1. SSFA is designed and simulated with the help of Zeland IE3D Software [23] up to the iteration factor two. Both length, L and width, W of square patch is 36 mm. The metal portion of square patch is reduced by inserting a slot of Swastika symbol in it (Fig. 1).

Table 1 Values of parameters for the design of SSFA
Fig. 1
figure 1

SSFA with (a) 0th iteration (b) 1st iteration (c) 2nd iteration and (d) front view

In the next iteration stages, similar pattern of Swastika slot is imitated in all the four quadrants by iteration factor (IF) as given below

$${\text{New}}\;{\text{width}}\;{\text{of}}\;{\text{Swastika}}\;{\text{slot}} = a_{1} \times {\text{Previous}}\;{\text{width}}\;{\text{of}}\;{\text{Swastika}}\;{\text{slot}}$$
(1)

where, a 1 (iteration factor) = 1/3.

$${\text{New}}\;{\text{length}}\;{\text{of}}\;{\text{Swastika}}\;{\text{slot}} = a_{2} \times {\text{Previous}}\;{\text{length}}\;{\text{of}}\;{\text{Swastika}}\;{\text{slot}}$$
(2)

where, a 2 (iteration factor) = 1/2.

Figure 2 depicts the comparison of return loss for zeroth, first and second iteration stage of SSFA. From the observation of this graph, important point to be noticed is that the number of resonant frequencies are increased and shifted towards the left as the iteration increased due to the insertion of Swastika shaped slot in the square patch. Also, the return loss values improved from zeroth to second iteration stage. Thus, geometry of second iteration stage has been chosen for the simulation and fabrication purpose.

Fig. 2
figure 2

Comparison of return loss for zeroth, first and second iteration stage of SSFA

3 GA and BA with Comparison Results

Artificial Neural Network (ANN) is used to train the prepared data set of 104 samples with the help of MATLAB Software. Feed points are the input parameter with return loss and resonant frequencies being the output parameters (Table 2).

Table 2 Values of various parameters of ANN for SSFA

3.1 Genetic Algorithm (GA) for SSFA

Genetic Algorithm (GA) is applied with help of GA tool in MATLAB to get the optimized values of feed point. ANN is provided as fitness function to GA. GA comprises of creation of initial population, evaluation, selection, cross-over, mutation and replacement.

The obtained optimized values of feed point are 12.556 along x-axis and −14.25 along y-axis. Figure 3 shows the variation of fitness value with respect to number of generations for mean fitness and best fitness.

Fig. 3
figure 3

Fitness value v/s generation for SSFA

3.2 Bat Algorithm (BA) for SSFA

In 2010, BAT Algorithm (BA) was firstly coined by Xin-She Yang. The enthusiastic fact about this algorithm is that it is derived from the echolocation property of microbats [24,25,26]. Bats are one and the only mammals with wings which has unique feature of echolocation. Figure 4 illustrates the full mechanism behind the Bat algorithm. Fundamental step of this algorithm includes the initialization of bat population with random value of velocity, v i at position, x i . Fitness of each bat is evaluated and current best value to be found. When bats are on their mission of food search or prey, they continuously vary their loudness, A i , frequency, f i and pulse rate, r i . The new solution is generated by updating the values of velocity, v i at position, x i if maximum number of iterations becomes greater than iteration, t.

$$f_{i} = f_{min} + \left( {f_{max} - f_{min} } \right)\beta$$
(3)
$$v_{i}^{t} = v_{i}^{t - 1} + \left( {x_{i}^{t - 1} {-}x_{*} } \right)f_{i}$$
(4)
$$x_{i}^{t} = x_{i}^{t - 1} + v_{i}^{t}$$
(5)

where β is the random vector and x * is the current best solution .

Fig. 4
figure 4

Flow chart of BAT Algorithm (BA)

Otherwise, randomness is compared with the pulse emission rate, r i . The new solution is generated with random flying if randomness is greater than pulse emission rate, r i . Otherwise, best solution is to be selected and local solution is generated accordingly. Sorting of solutions and finding the current best value has to be done if best results are obtained, otherwise, the value of loudness, A i is decreased, and the value of pulse emission rate, r i is increased.

$$A_{i}^{t + 1} = \alpha \, A_{i}^{t}$$
(6)
$$r_{i}^{t + 1} = r_{i}^{0} \left[ {1 - exp\left( { - \gamma t} \right)} \right]$$
(7)

where α and γ are constants.

The process is to be terminated if target is met with good optimized results. Bat algorithm gives efficient results as compared to the other optimization techniques. This algorithm has tremendous applications to solve the inverse problems, in data mining, clustering, fuzzy logic and image processing etc. Table 3 highlights the value of important parameters used in the Bat algorithm for SSFA. The obtained optimized values of feed point are 13.9593 along x-axis and 6.3495 along y-axis. The convergence curve for SSFA is shown in Fig. 5 which ends at 2000 generations.

Table 3 Values of different parameters of BA for SSFA
Fig. 5
figure 5

Graph of convergence curve for SSFA

Figure 6 depicts the comparison of return loss between Genetic Algorithm (GA) and Bat Algorithm (BA) for SSFA (Table 4).

Fig. 6
figure 6

Comparison graph of return loss for Genetic Algorithm (GA) and Bat Algorithm (BA) of SSFA

Table 4 Comparison between GA and BA for SSFA

This graph clearly indicates that return loss for BA is more negative as compare to GA. Hence, with help of BA, superior results are obtained than GA.

4 Simulated and Measured Results With BA

4.1 Optimized Simulation Results of SSFA

The geometry of second iteration stage of SSFA is resonated at 2.39, 2.75, 2.89 and 3.79 GHz with corresponding values of S-parameter (S 11 ) are −13.22, −20.62, −27.43 and −11.62 dB respectively. The total bandwidth of SSFA is 215.98 MHz (Fig. 7).

Fig. 7
figure 7

Simulated optimized S-parameter (S11) graph after applying BA

Voltage Standing Wave Ratio (VSWR) is another important parameter which states that how well matching takes place between the antenna and transmission line. Here, VSWR is 1.52 at 2.39 GHz, 1.21 at 2.75 GHz, 1.09 at 2.89 GHz and 1.71 at 3.79 GHz (Fig. 8).

Fig. 8
figure 8

Simulated optimized VSWR graph after applying BA

Figure 9 indicates that total field directivity of optimized SSFA is 6.79, 4.60, 7.83 and 7.53 dBi at resonant frequencies 2.39, 2.75, 2.89 and 3.79 GHz respectively.

Fig. 9
figure 9

Simulated optimized total field directivity graph after applying BA

4.2 Fabrication and Optimized Measured Results of SSFA

After obtaining the simulated results, optimized SSFA for second iteration is fabricated by using FR4 as its substrate material. Simple co-axial feeding technique is adopted to excite SSFA by using SMA connector. To perform testing of fabricated SSFA, Rohde & Schwarz ZVL Vector Network Analyzer (VNA) is used (Figs. 10, 11, 12 and 13).

Fig. 10
figure 10

Fabricated SSFA (a) front view and (b) back view

Fig. 11
figure 11

Rohde & Schwarz ZVL Vector Network Analyzer for testing SSFA

Fig. 12
figure 12

Measured optimized S-parameter (S11) graph for SSFA

Fig. 13
figure 13

Measured optimized VSWR graph for SSFA

Fabricated optimized SSFA has values of S-parameter (S 11 ) and VSWR as −16.78, −18.87, −28.66, −11.48 dB and 1.33, 1.27, 1.08, 1.73 at resonant frequencies 2.49, 2.70, 2.96 and 3.96 GHz respectively.

The comparison between optimized simulated and experimental results of SSFA as shown in Table 5 reveal the existence of slight variations between both results due to the imperfection during fabrication or environmental changes. But overall, they are in good agreement with each other.

Table 5 Comparison between optimized simulated and experimental results of SSFA

5 Conclusion

Two optimization methods for the optimization of Swastika Slotted Fractal Antenna are reported in this paper which employed its utilities for S-band. On investigation of the results of Genetic Algorithm and Bat Algorithm, it is realized that BA gives more efficient results as compared to GA. Also, BA is less time consuming than other algorithms. SSFA resonates at 2.49, 2.70, 2.96 and 3.96 GHz experimentally. Insertion of Swastika slot in the square patch results in the metal reduction by 39.09%. Simple co-axial feeding technique is used in this research work, but other techniques can also be applied. Also, the frequency is shifted towards left as iteration stage increased from zeroth to second. Overall, the proposed antenna is good candidate for the multiband operations. Different kinds of optimization methods can be applied to same patch of SSFA and iteration stage can also be increased in future. More metal can be evicted by increasing the size of Swastika slot. Structure of SSFA can be modified by making it an array.