2.2.1. Sensitive Analysis
As mentioned above, there are many design parameters in the PMTM. The sensitivity of each design parameter to different optimization objectives is different. When the number of design parameters is too large, the accuracy of the surrogate model can be decreased. In order to analyze the relationship between design parameters and optimization objectives, this paper uses orthogonal experiments to obtain data, and the Pearson correlational coefficient is used to perform the sensitivity analysis [
19,
20]. It can be calculated as:
where
Yi is the
ith optimization objective,
Xi is the design parameters, and
N is sample size.
Thus, the sensitivity of each parameter to the objectives is shown in
Figure 2. It can be noted that the sensitivity of each parameter to the objectives varies greatly, and T_MAG, GAP, H_MAG, W_T, and COIL have great influence on torque and effectiveness. SO, H_PS, OFFSET, and H_SO have little influence on torque and effectiveness, but they are sensitive to Cogging and THD.
According to the different sensitivities of design parameters to the optimization objectives, the design parameters are divided into two levels, as shown in the following
Table 2 and
Table 3. The design parameters can be divided into different levels according to the sensitivity of the parameters to the optimization objectives. Because the primary requirement for the motor is to ensure the output torque, the optimized parameters in the first level are sensitive to efficiency and output torque. The parameters of the second level are sensitive to cogging torque and THD. The reason for this arrangement is also that the accuracy of the surrogate model of cogging torque and THD is slightly lower. In the second-level optimization, model is not used, and the finite element method is used to obtain the relationship between the optimization objective and the parameters. Thus, a double level optimization method is proposed in this paper, and the flowchart of the multi-objective optimization is shown in
Figure 3.
2.2.2. Optimization of First Level
Motor optimization is a non-linear problem. There is a non-linear relationship between design parameters and motor performance. Traditional statistical methods cannot guarantee the accuracy of the proxy model. In this paper, SVM is introduced for the optimization of PMTM, and the model can be obtained by SVM.
The initial application of SVM is in the field of sample classification. When some sample points cannot be linearly separated in low-dimensional space, they are mapped to high-dimensional space through a kernel function to achieve the purpose of linear separability of samples. Due to the kernel function, SVM has a strong data-fitting ability. In the paper, SVM is used to fit the data and the relationship between the design parameters and the optimization objective can be obtained. The SVM formula is expressed as [
25]:
where
ωi is the regression parameter vector,
K(
x) is kernel function.
n is the number of support vector,
xi is support vector,
x is predicted vector,
b* is the Bias factor. The structure of SVM is shown in
Figure 4.
The core of the SVM is the kernel function, and the main types of kernel functions of SVM are linear kernel function, polynomial kernel function, Gaussian radial basis kernel function, exponential radial basis kernel function, and multilayer perceptron kernel function respectively, which are shown as [
27]:
where
p,
r,
γ, and
σ are the parameters of kernel function. The Gaussian radial basis kernel function has the best generalization performance, so in this paper it is selected as the kernel function in SVM.
The parameters of first level are sensitive to torque and efficiency, and some of the parameters such as length of air gap, has an influence on cogging and THD. For these parameters, the mathematical model can be obtained by using SVM. First, orthogonal experiment is used for the complete collection of sample data of training set, and then SVM is used to obtain SVM model of the optimization objectives, which can be represented as:
where
x is the parameter of the first level, T
rated(
x) is output torque of the SVM model,
Efficiency(
x) is the efficiency of the SVM model, THD(
x) is the THD of back EMF SVM model, and Cogging(
x) is the cogging torque of the SVM model.
After obtaining the SVM model, the usability of the model needs to be verified. The finite element method is used to obtain 15 sets of test data, which are compared with the data of the SVM model, and the 15 sets of data are shown in
Table 4.
The formula of mean square error and determining factor is expressed as:
where
MSE is the mean square error,
R2 is the determining factor,
l is the number of samples in the test set,
is the true value of the
ith sample, and
is the predicted value of the
ith sample. The value of MSE and
R2 can be used to judge the accuracy of SVM models. According to the above formula, MSE and R
2 can be calculated and be shown in the following
Table 5.
It can be seen from the data in the table that the accuracy of SVM model of output torque and efficiency is very high, these SVM models are almost consistent with the finite element models. However, the accuracy of SVM model of THD and cogging torque is relatively poor. Due to the existence of slots, the change trend of the air gap permeability can become more diverse, and the high-precision model cannot be fitted when the amount of data is insufficient.
The data of the finite element model is compared with the data of the SVM model, and the results are shown in
Figure 5,
Figure 6,
Figure 7 and
Figure 8. The x-axis in these figures is the serial number of 15 sets of data. It can be noted that there are differences between the finite element model and the SVM model in individual values, but the trend of the predicted value is consistent with the trend of the actual value. In engineering, the values of optimization objective serve as a reference, and the design parameters are focused on, so these models are available. In this paper, the parameters that have a strong influence on cogging torque and THD, but the parameters that have little influence on torque and efficiency are placed in the optimization of the second level.
After getting four SVM models, according to the actual needs of performance, a multi-objective optimization mathematical model can be established, and can be represented as:
where X is the parameter,
f1(X) is the fitness function of torque,
f2(X) is the fitness function of cogging torque,
f3(X) is the fitness function of THD,
f4(X) is the fitness function of efficiency. Trated(X), THD(X), Cogging(X), and Efficiency(X) are the SVM model of four optimization objectives respectively.
In this paper, particle swarm algorithm is used to optimize the multi-objective optimization mathematical model. The PSO algorithm is expressed as follows:
where
ω is the weight of inertia,
c1 and
c2 are self-learning factor and social learning factor,
r1 and
r2 are two random numbers respectively,
ωmax and
ωmin are the maximum and minimum values of the inertia weight respectively,
k and
kmax are the current number of iterations and maximum number of iterations respectively.
In the particle swarm algorithm, the inertia weight is a quantity that reflects the inheritance of the particle to the velocity. Although the convergence speed of ordinary particle swarm algorithm is fast, it is easy to fall into the local optimum. Changing the value of the inertia weight in the iterative process is beneficial to improve the optimization ability of the algorithm. In the improved particle swarm algorithm, the maximum and minimum inertia weights are introduced to achieve the above effects. In the early iteration of the algorithm, the inertia weight is larger, and the particle speed of the particle swarm is faster, so the algorithm’s global search ability is stronger. The inertia weight is higher in the later iteration of the algorithm, and the particle speed of the particle swarm is slower, so the local search ability of the algorithm is stronger. It balances the global search and local search in the process of the whole algorithm, and the values of the relevant parameters of the particle swarm are shown in the following
Table 6.
According to obtaining the multi-objective model and the search algorithm, the program of motor optimization of the first level can be written. The pareto front of the multi-objective optimization is obtained, as is shown in
Figure 9. According to the requirements and processing conditions, the values of the parameters of the first level are determined. The optimization result of first level is shown in
Table 7.