Abstract

The accuracy of the magnetic core model is important to the analysis and design of the flux-gate sensor. The Jiles-Atherton model (J-A model) is the mostly used model to describe the hysteresis characteristics of the flux-gate core. But the parameters of J-A model are difficult to identify. In this paper, Fruit Fly Optimization Algorithm (FOA) is proposed to identify the parameters of the J-A model. In order to enhance the performance of the identification, a Modified Fruit Fly Optimization Algorithm (MFOA) is applied to extract the parameters of the flux-gate core. The effectiveness of MFOA is verified through five typical test functions. The influence of variation factor on the performance of MFOA is discussed. The impact of variation factor on parameters extraction of hysteresis loop is studied. It is shown that MFOA with appropriate selection of variation factor will get better performance in the accuracy, stability, and simulation time compared to those of PSO and FOA.

1. Introduction

Flux-gate sensor is the best vector magnetic sensor with integrated performance [1]. The magnetic property of iron core material is an important factor that influences the characteristics of flux-gate. The accuracy of the mathematical model of the iron core material affects the accuracy of the flux-gate analysis. Jiles-Atherton model (J-A model) [2] is based on the physical process of hysteresis and has the merits of less parameters and simplicity in expression, which makes it mostly used in practice. But the parameters are sensitive to the hysteresis loop, so they are difficult to be determined.

Many methods have been proposed to determine the J-A model parameters, such as Genetic Algorithm (GA) [3], Particle Swarm Optimization (PSO) [4], Artificial Neural Network (ANN) [5], and Shuffled Frog Leaping Algorithm (SFLA) [6].

Literature [7] has proposed using Fruit Fly Optimization Algorithm (FOA) and Modified Fruit Fly Optimization Algorithm (MFOA) to identify the J-A model parameters and shows good performance. But it has not verified the effectiveness of the algorithm and analyzed the influence of the variation factor on the performance of the MFOA. So the main contributions of this paper are as follows: (1) proposing using dynamic variable step size to modify FOA; (2) discussing the effectiveness of MFOA by tests on five typical functions; (3) analyzing the influence of variation factor on the performance of MFOA; (4) applying the MFOA to extract the parameters of hysteresis loop and analyze the simulation results compared with PSO and FOA.

2. J-A Hysteresis Model

J-A hysteresis model is a mathematical model for describing the nonlinear characteristics of magnetic cores, which was proposed by Jiles and Atherton in 1986 [2]. J-A model is generated from the physical process of the magnetization which is divided into irreversible magnetization component caused by domain wall displacement and reversible magnetization component caused by domain wall bending. According to (1), the relationship between and the magnetic field strength can be described as (2):

Here, is the anhysteretic magnetization. is effective magnetic field. is for and for . The five parameters that need to be identified are as follows: pinning factor k, reversible magnetization coefficient , coupling factor between magnetic domains , form factor , and saturation magnetization .

3. MFOA and Its Performance

3.1. MFOA

Fruit Fly Optimization Algorithm (FOA) was put forward by Pan in 2012, which is described in detail in literature [8]. FOA uses fruit fly group collaboration mechanism and information sharing mechanism to search for the optimal solution, which causes it to have good ability of global optimization. Also the algorithm has the merits of simplicity, less parameters, small amount of calculation, and high precision, which makes it widely used in practical problems [911]. But when it encounters complex high dimension optimization problems, FOA may fall into local convergence with slow search speed, low efficiency, and poor stability.

In early stage of search, the fruit fly uses smell to search for food, which can help them to search for the position with greater concentration of fruit. In the later stage of search, it has certain blindness and gambling to determine the position of fruit fly, which results in a waste of resources, low efficiency, and poor accuracy.

In order to solve this problem, the dynamic variable step size is proposed. The direction of the movement of the fruit fly is determined by

Here, is the distance between the optimal position of fruit fly for the th iteration and the origin. Parameter is variation factor which is in the range of according to different optimization problems.

3.2. Simulation Experiments and Results Analysis

In order to verify the effectiveness and advantages of the MFOA, five functions are used to test the algorithm in this paper. Functions and are the single-peak functions, and functions are multipeak functions. The five test functions are shown in Section 3.2.1. The simulation results are compared with those of the PSO algorithm and the original FOA.

3.2.1. Test Functions

(1)(2)(3)(4)(5)

3.2.2. Simulation Experiments and Results Analysis

In simulations, the dimension of the five test functions is 30, and maximum number of iterations is 3000, variation factor of MFOA is 2, and the inertia factor and the acceleration constants of PSO are , , and , respectively.

The optimal value, the average value of 20 times, variance, and running time are shown in Table 1.

From Table 1, the following can be seen: (1) running time: the running time of PSO algorithm is the shortest, and the running time of MFOA is the longest which is about 6 times that of PSO and about 3 times that of FOA; (2) the precision of the algorithm: MFOA has the highest accuracy which is far higher than the FOA and PSO algorithm; (3) variance: the variance values of MFOA for the five test functions are all , which states that MFOA has the best stability, FOA for single-peak function also shows instability, and PSO for multipeak function is unstable. During operations, PSO algorithm and FOA are easy to fall into local convergence, especially for multipeak function .

The optimization process of the five test functions for three algorithms is shown in Figures 15. Figure 1 shows function value with iterations for function with partially enlarged detail. In order to see the process clearly, Figures 24 are the partially enlarged detail figures. From Figures 15, it can be seen that MFOA has best convergence precision and stability. The optimization precision and stability of PSO algorithm are higher than those of FOA expect but much lower than MFOA; PSO and FOA methods show instability and low precision for complex multipeak function .

In the iterative process, the location search of fruit flies using dynamic variable step size makes fruit flies search in a wider range and improves the diversity and development of fruit flies’ positions, which can help the algorithm escape from local optimal and improve the precision of the algorithm.

So MFOA has high convergence precision and strong ability to jump out of local extreme value. To ensure the capability of algorithm to jump out of the extreme, fruit flies are needed to search the best position in a wider range, so the simulation time for 3000 iterations of MFOA is longer than that of FOA.

The factors that influence the performance of MFOA are population size, the maximum number of iterations, and the variation factor . In this paper, simulations have been performed to study the influence of the parameter . For each test function, the MFOA method is used to find the optimal solutions at = [0.1, 0.3, 0.5, 0.7, 0.9, 1, 1.1, 1.3, 1.5, 2] and the algorithm runs for 20 times for each . The curves of average optimal value with for five test functions are shown in Figure 6, the curves of variance with are shown in Figure 7, and the curves of simulation time with are depicted in Figure 8.

From Figure 6, the following is found: (1) the optimal values decrease with the increase of h; (2) when , the algorithm has poor precision, and when h > 1, the algorithm has better precision; (3) the bigger value is, the better the precision is; (4) when achieves some value, the optimal value changes little.

From Figure 7, the following is shown: (1) the variance decreases with the increase of ; (2) when , the algorithm has better stability; (3) the bigger value is, the better the stability is; (4) when achieves some value, the variance tends to .

From Figure 8, it can be seen that when , the simulation time is almost the same, but when , the simulation time is increasing quickly with .

From the analysis above, the following is stated: (1) when , the algorithm has better precision, better stability, and better convergence rate; (2) bigger has better precision and stability, but the simulation time increases at the same time when .

4. Parameters Extraction of J-A Model

The fitness function in this paper is as follows:

Here, is the calculated value of and is experimental data at .

4.1. Diagram

Figure 9 is the diagram of the parameters extraction of J-A model applying MFOA.

4.2. Parameters Extraction of J-A Model
4.2.1. The Influence of Factor on the Extraction Result

From Section 3.2.2, it can be seen that the factor influences the performance of the MFOA. Therefore, the influence of the factor on the extraction performance has been discussed in this section. Here, h = [0.1, 0.3, 0.5, 0.7, 0.9, 1.1, 1.3, 1.5, 2, 3, 4, 5, 6, 7, 8, 9, 10]. Figures 1012 show the curves of fitness value, variance, and simulation time with , respectively.

From Figure 10, the following can be found: (1) when , the fitness value decreases with the increase of ; (2) when , the fitness value increases; (3) when , the fitness value (0.005 T) is the best. From Figure 11, the following can be seen: (1) when , , and , the variances are the smallest, which are , , and , respectively; (2) when , the variance is increased with the increase of . Figure 12 shows the following: (1) when , the simulation time increases with the increase of ; (2) when , the simulation time changes in a small way, which is about 130 s. So it is stated that when , the MFOA has good extraction performance in accuracy, stability, and simulation time.

4.2.2. Parameters Setting

MFOA, FOA, and PSO are used to identify the parameters of J-A model according to the experimental hysteresis loop of the nonoriented steel V3250-50A taken from literature [3]. The parameters of PSO algorithm are set according to literature [12]: swarm size 100, inertial factor 0.75, and acceleration constants and . The swarm size of FOA and MFOA is also set to 100. The variation factor of MFOA is 0.9 according to Section 4.2.1. The maximum iterations for three methods are all 50.

4.2.3. Simulation Results and Analysis

The parameters of J-A model obtained by three methods are as follows:(1)MFOA: = 1.2426 × 106, , , , .(2)FOA: = 1.2446 × 106, , , , .(3)PSO: = 1.2312 × 106, , , , .

Figure 13 depicts the hysteresis loops according to the parameters obtained. The errors between calculated data and measured data for three methods are shown in Figure 14, which gives the part when . The blue dot line (obtained by PSO) shows the error is small when the hysteresis loop is becoming saturated, and the biggest error −0.205 T is obtained at  A/m. The green line (obtained by FOA) shows the biggest error is −0.1507 T at  A/m and the error is bigger than that of MFOA and PSO when is becoming saturated. The red line (obtained by MFOA) shows the biggest error is 0.09 T at  A/m and the error is bigger than that of PSO when is becoming saturated.

Table 2 shows convergence values of fitness function (the best, worst, and mean), variance, and simulation time. From Table 2, it can be observed that the fitness value achieved by MFOA is better than the minimum fitness values achieved by PSO and FOA. The precision of MFOA is the best of the three methods. The variance of the convergence values for 20 times obtained by MFOA is which is the smallest of the three methods. The smaller the variance is, the better the stability of the algorithm is. So the stability of MFOA is much better than that of FOA and PSO. The simulation time for PSO is much longer than that of FOA and MFOA.

5. Conclusions

In this paper, a modified FOA is proposed and the effects of the variation factor of MFOA are studied through five test functions. The results show that the variation factor of MFOA has important influence on the accuracy, stability, and simulation time of the algorithm. The reasonable selection of can improve the comprehensive performance of the algorithm. FOA and MFOA are applied to optimize the parameters of J-A model. The simulation results show that MFOA with reasonable selection of is better than PSO and FOA in precision and stability.

In this paper, the parameters of J-A model are extracted from static hysteresis loop. But the hysteresis loop varies with the changes of temperature and the frequency of the excitation magnetic field. So more work should be done on the following: (1) the improvement of J-A model with temperature and frequency; (2) parameters extraction of the improved J-A model.

Conflicts of Interest

The authors declare no conflicts of interest.

Authors’ Contributions

Yunbo Shi and Wenjie Zhao proposed the new method to extract the parameters of J-A model; Wenjuan Jiang wrote simulation programs, performed data analysis, and wrote the paper. All the authors were involved in the paper preparing.

Acknowledgments

This work was supported by the National Natural Science Foundation of China (no. 61501149 and no. 31401569), the Science and Technology Development Plan of Jilin Province (no. 20150520135JH), and the Science and Technology plan of Jilin City (2015640100).