The invention discloses a PMSM
fuzzy PI controller optimization method based on an improved
artificial bee colony algorithm. The method comprises the following steps: constructing a
fuzzy PI controller to output a control quantity in real time; and an improved
artificial bee colony algorithm is adopted to optimize six-dimensional parameters. In the
algorithm, all individuals are initialized as worker bees, the first half iteration period is explored by using a traditional formula, and the second half iteration period is searched by using an improved formula integrated with
global optimal information; screening 30% of worker bees by combining fitness sorting with a roulette method, and converting the worker bees into observation bees for local exploration; the forgetting threshold Limit is dynamically adjusted along with the number of iterations and is adjusted along with the change of the
population fitness value, when the number of individual forgetting times exceeds the Limit, a reconnaissance bee is converted into a reconnaissance bee, and an improved formula integrated with
global optimal information is adopted for searching again. And calculating an individual fitness value through an improved
fitness function, transmitting the individual fitness value back to the
algorithm to perform
advantage and
disadvantage comparison of a solution, and outputting a
global optimal parameter after iterating to the maximum number of times. By improving the search strategy, the selection mechanism and the
fitness function of the
algorithm, efficient parameter optimization is realized, the control precision, the response speed and the robustness of the PMSM
fuzzy PI controller are remarkably improved, and the application prospect is good.