Research Article

Optimized Model Torque Prediction Control Strategy for BLDCM Torque Error and Speed Error Reduction System

Table 1

Pseudocode of IWOA.

(1) Setting the population size to produce an initialized whale population
(2) Calculate the fitness of each individual in the population ; and record the current optimal individual and position;
(3) While (t < ) do
(4)  For i = 1 to N do
(5)   Calculate the value of the convergence factor a
(6)    Updating the values of other parameters
(7)    If do
    If () do
(8)      Update the position of each individual;
(9)     Else if () do
(10)      Randomly select an individual in the group
(11)      Update the location of each individual
(12)     End
(13)     Else if do
(14)      Update the location of each individual
(15)     End
(16)    End
(17)  For the optimal individual in the current population add a stochastic convergence factor strategy
(18)  Calculating individual fitness in a population
(19)  Update the current optimal individual and position
(20)  t = t + 1
(21) End