A multi-objective optimization method for motors based on improved artificial intelligence algorithm

By combining the improved machine learning algorithm with the NSGA-II algorithm, we build a motor surrogate model and optimize the NSGA-II algorithm, which solves the problems of long time and large errors caused by existing motor optimization methods relying on finite element software, and achieves a more efficient, More accurate multi-objective optimization of motors.

CN118194729BActive Publication Date: 2024-10-18NANJING UNIV OF INFORMATION SCI & TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410606864.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-16
Publication Date
2024-10-18
Estimated Expiration
2044-05-16

AI Technical Summary

Technical Problem

Existing motor optimization methods rely on finite element software, which results in long optimization times and difficulty in finding the global optimal solution. In addition, machine learning models have large errors in motor performance prediction results, making it difficult to meet different application needs.

Method used

An improved machine learning algorithm is combined with the NSGA-II algorithm to construct a motor agent model through CatBoost and LightGBM, and the Bernoulli mapping and piecewise exponential mutation method are used to improve the NSGA-II algorithm to reduce dependence on finite element software and shorten optimization. time, improving efficiency and accuracy.

Benefits of technology

While shortening the optimization time, it iteratively finds better motor performance parameters, reduces the average error of the prediction model, improves the search range and global optimization capabilities of the algorithm, and avoids local optimal solutions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118194729B_ABST
    Figure CN118194729B_ABST
Patent Text Reader

Abstract

The present invention is a motor multi-objective optimization method based on an improved artificial intelligence algorithm, belonging to the field of electromechanics, and the method includes: taking a surface-mounted vernier permanent magnet motor as the background, proposing an optimization target, namely, a torque and back electromotive force mathematical expression of the motor, selecting parameters to be optimized according to the mathematical expression and determining their range of variation; using finite element software to randomly generate a number of data sets consisting of optimization parameters and optimization targets; using an improved machine learning algorithm to obtain the optimization parameter-optimization target model of the motor; using the NSGA-II algorithm to iteratively optimize the optimization parameters; and using JMAG finite element software to evaluate the optimization results. The above scheme can greatly reduce the optimization time of the motor, and at the same time ensure that the performance of the optimized motor is significantly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electromechanics, and in particular to a motor combination multi-objective optimization method based on improved machine learning and a second-generation non-dominated sorting genetic algorithm. Background Art

[0002] Vigorously developing clean energy is an effective means to achieve the dual carbon goals. Among them, high-performance motors are an important tool for maximizing energy utilization. In addition to developing better-performing motors for different application scenarios, optimizing the motor’s own structure is also very important.

[0003] There are several existing motor optimization methods. The first method is to use finite element software to scan and optimize the motor parameters one by one. With the increase of optimization parameters, the optimization time and difficulty of this method will increase greatly, and it is difficult to obtain the optimal solution; the second method is to combine the optimization algorithm with the finite element software. Compared with the first method, this method can find a better solution in the global scope, but because it is overly dependent on finite element software, it takes a long time to find the global optimal solution, and there are fewer algorithms embedded in the software, which makes it difficult to meet the optimization needs in different situations; the third method is to introduce a machine learning algorithm, build a proxy model of the motor, and combine it with the optimization algorithm to further reduce the computing cost, but due to the special properties of the motor itself, the proxy model constructed by machine learning has a large error between the actual prediction results of the motor performance and the test results, and the prediction results of some parameters are poor. Summary of the invention

[0004] Technical problem: In view of the shortcomings and gaps in the prior art, the present invention proposes a multi-objective optimization method for a motor based on an improved artificial intelligence algorithm. It adopts an optimization strategy that combines improved machine learning with an optimization algorithm, reduces the traditional method's high dependence on finite element software, and greatly shortens the optimization time of the motor. At the same time, compared with the traditional optimization algorithm, the improved algorithm can iteratively find better results while ensuring efficiency.

[0005] Technical solution: The present invention discloses a motor multi-objective optimization method based on an improved artificial intelligence algorithm. A surface-mounted inner rotor vernier permanent magnet motor is used as an application object, a finite element simulation model of the motor is constructed, and the optimization target, namely, the torque and back electromotive force mathematical expressions of the motor, are derived; parameters to be optimized are selected according to the mathematical expressions and their variation ranges are determined; different level values ​​of each parameter to be optimized are determined and combined to generate sample data, and the sample data are simulated using finite element software to obtain a data set sample containing input and output; the motor sample data are trained and tested respectively by two machine learning algorithms, CatBoost and LightGBM, to construct two groups of motor proxy models, and the proxy models of the two groups of motors are weighted averaged to obtain the final motor proxy model; the NSGA-II algorithm is improved by using Bernoulli mapping and designed piecewise exponential variation method, and the improved NSGA-II algorithm is combined with the motor proxy model for optimization, and finally the optimization results are evaluated using finite element software.

[0006] The derived optimization target is the mathematical expression of the torque and back electromotive force of the motor. The magnetomotive force-permeability method is used to calculate the mathematical analytical expression of the output torque and back electromotive force of the motor, and the motor parameters that affect the average torque, torque pulsation and back electromotive force are selected as optimization objects.

[0007] The parameters that need to be optimized include the air gap length , Permanent magnet thickness , slotting rate , polar arc coefficient , stator tooth length ; The method for determining different level values ​​of each parameter that needs to be optimized and combining them to generate sample data is as follows: first, the average torque and torque pulsation back electromotive force of the motor are selected as optimization targets, and the variation range of the parameters that need to be optimized is determined through experience and motor size. Different level values ​​of each optimization parameter are selected to combine and generate samples, and finite element software is used for simulation under the same conditions to obtain a data set about the optimization parameters and the optimization targets; the optimal values ​​of the parameters that need to be optimized are substituted into the finite element simulation software for simulation to verify that under the optimized parameter combination, the motor can have the performance of high torque, low pulsation and high back electromotive force.

[0008] The motor sample data is trained and tested, firstly, the collected data set is imported to generate training samples and test samples, two groups of proxy models of the motor are generated by using CatBoost and LightGBM algorithms, the proxy models are tested by using the test samples, and the parameters are adjusted according to the test set error so that the training accuracy meets the design requirements, and two groups of optimal motor proxy models are generated and obtained.

[0009] The NSGA-II algorithm is improved by using Bernoulli mapping and a designed piecewise exponential mutation method, that is, the Bernoulli mapping method is used instead of the original random generation method to complete the initialization operation of iterative optimization to obtain a more uniform and diverse initial population; according to the optimization convergence characteristics of the motor, a piecewise exponential mutation method is designed to divide the iteration into three processes, and the offspring mutation probability of each process decreases exponentially from large to small, so as to increase the population diversity in the optimization process and reduce the probability of the convergence result falling into the local optimum.

[0010] The improved NSGA-II algorithm is combined with the motor proxy model for optimization to generate the Pareto front, and the optimal solution and its corresponding parameters are selected according to the design requirements. The optimal solution and its corresponding parameters are used to perform simulation in finite element software to evaluate the effect of the optimization scheme.

[0011] The steps of this method are as follows:

[0012] Step 1: Taking the surface-mounted vernier permanent magnet motor as the background, propose the optimization target, that is, the mathematical expression of the motor's torque and back electromotive force. According to the mathematical expression, select the parameters to be optimized and determine their range of variation.

[0013] Step 2: Determine the different levels of the parameters that need to be optimized and combine them to generate sample data, air gap length , Permanent magnet thickness , slotting rate , stator tooth length Select five horizontal values, polar arc coefficient Select three levels to generate Sample data are obtained by simulating the sample data using finite element software to obtain a data set sample including input and output;

[0014] Step 3: Use CatBoost and LightGBM machine learning algorithms to generate proxy models of the motor respectively, design CatBoost and LightGBM machine learning algorithms, import the collected data sets to generate training samples and test samples, use CatBoost and LightGBM algorithms to generate two groups of proxy models of the motor, use test samples to test the trained models, adjust parameters according to the test set error, so that the training accuracy meets the design requirements, and generate and obtain two groups of optimal motor proxy models;

[0015] Step 4: Combine the two groups of proxy models in step 3 into an improved proxy model.

[0016] Step 5: Improve the initialization and mutation operations of the NSGA-II algorithm.

[0017] Step 6: Use the improved NSGA-II algorithm in step 5 and the improved proxy model in step 4 to perform multi-objective optimization on the motor; bring the improved proxy model of the motor obtained in step 4 into the improved NSGA-II algorithm in step 5 as the objective function to predict the back electromotive force, average torque and torque ripple of the motor, select the appropriate population size and number of iterations, iteratively generate the Pareto frontier, and select the optimal parameter combination that meets the requirements;

[0018] Step 7: Use JMAG·Designer finite element software to evaluate the optimization results; input the optimal parameter combination obtained in step 6 into the JMAG·Designer finite element software, perform simulation evaluation on the optimization results, and verify that the performance of the optimized motor is significantly improved.

[0019] in,

[0020] The step 1 is specifically as follows:

[0021] Assuming that the air gap is uniformly distributed, without considering the effect of the slot structure on the air gap magnetic permeability, and only considering the 0th and 1st order components, the permanent magnet magnetomotive force F PM and air gap permeability Respectively expressed as:

[0022] F PM (θ,θ m )=F PM1 cosp r (θ-θ m )(1)

[0023] Λ(θ)=Λ0+Λ1cos(Z m θ)(2)

[0024] Where: θ and θ m Respectively represent the angular positions of the rotor and permanent magnet when the center line of the winding and the center line of the permanent magnet are used as the starting axis, p r is the number of permanent magnet pole pairs, Z m is the number of stator teeth, F PM1 is the fundamental amplitude of the permanent magnet magnetomotive force, expressed as:

[0025] (3)

[0026] In the formula, is the remanent magnetic density of the permanent magnet, is the magnetic permeability of the permanent magnet, is the thickness of the permanent magnet, and are the 0th and 1st order components of the air gap permeability, respectively, expressed as:

[0027] (4)

[0028] In the formula, is the vacuum permeability, is the slotting rate, where is the slot spacing, is the stator pole pitch, is the equivalent air gap length, where represents the air gap length, is the thickness of the permanent magnet, represents the permanent magnet recovery permeability, is the stator tooth pole arc coefficient;

[0029] The air gap flux density of the motor is expressed as:

[0030] (5)

[0031] In the formula, , They represent the 0th and 1st order components of the air gap flux density respectively. For the full-pitch winding, the stator flux of phase A is expressed as:

[0032] (6)

[0033] In the formula, is a non-negative integer, is the total number of series turns per phase, is the air gap radius, is the motor lamination length, is the slot angle, is the initial angular position of the A-phase winding, is the number of slots per pole and per phase, is the number of armature winding poles, then the A-phase electromotive force is expressed as:

[0034] (7)

[0035] Therefore, the back electromotive force of the motor is expressed as:

[0036] (8)

[0037] In the formula, is the fundamental winding factor, is the rotor mechanical angular velocity, is the phase angle of phase A, is the number of pole pairs of the armature winding; after simplification, the effective value of the back electromotive force of A is:

[0038] (9)

[0039] When a three-phase symmetrical current is passed through the winding, the electromagnetic torque of the rotor is expressed as:

[0040] (10)

[0041] In the formula, is the effective value of phase current of phase A;

[0042] According to equations (9) and (10), the air gap length is selected , Permanent magnet thickness , slotting rate , polar arc coefficient , stator tooth length as optimization parameters.

[0043] The step 4 is specifically as follows:

[0044] Assume that the proxy models generated by CatBoost and LightGBM are

[0045] (11)

[0046] (12)

[0047] In the formula, is the sample input vector, and Output vectors of the proxy models built for CatBoost and LightGBM respectively; the two proxy models are weighted as follows

[0048] (13)

[0049] In the formula, is a constant coefficient, and the final proxy model is obtained

[0050] (14).

[0051] The step 5 is specifically as follows:

[0052] The Bernoulli mapping in formula (15) is used to replace the random algorithm to initialize the samples, where: is a constant between 0 and 1. To ensure the uniformity of initialization, Keep more than three decimal places;

[0053] (15)

[0054] In the formula, Indicates The Bernoulli mapping coefficient of sample points, then The initialization function of the parameters is:

[0055] (16)

[0056] In the formula, and Respectively represent the maximum and minimum values ​​of the parameter range;

[0057] Aiming at the problem of falling into the local optimal solution, according to the convergence characteristics of motor optimization, the idea of ​​piecewise exponential mutation is adopted to improve the mutation method of the original algorithm. The number of iterations is divided into three stages with the same number of iterations. In stage one and stage two, only one of the two offspring generated in a certain time is mutated, and the mutation range decays exponentially with the increase of generations, so as to realize the global search in the initial stage of iteration, gradually converge at the end of iteration, prevent premature phenomenon and accelerate convergence speed; in stage three, the two offspring are mutated at the same time, and the mutation range still decays exponentially with the increase of generations, so as to find out whether there is a better solution in the final stage of iteration; due to the elite retention strategy of NSGA-II algorithm, the above piecewise exponential mutation will not lose the optimal solution; the piecewise exponential mutation function of a parameter is:

[0058] (17)

[0059] In the formula, is the current value of the parameter to be mutated, Represents a random number between -1 and 1. is the current iteration number, Total number of iterations.

[0060] Beneficial effects: Compared with the prior art, the present invention has the following significant advantages: the improved proxy model construction method is obtained by weighted averaging the proxy models constructed by CatBoost and LightGBM, respectively, which reduces the average error of the prediction model; the improved NSGA-II algorithm increases the diversity of the initial population and improves the search range of the algorithm; the improved segmented variation method based on the motor optimization convergence performance reduces the possibility of the algorithm falling into the local optimum, so that the algorithm can find the optimal solution in the global scope as much as possible while ensuring the optimization efficiency. The optimization strategy combining improved machine learning with optimization algorithms reduces the high dependence of traditional methods on finite element software and greatly shortens the optimization time of motors; at the same time, compared with traditional optimization algorithms, the improved algorithm can iteratively find better results while ensuring efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] The present invention will be further described below in conjunction with the accompanying drawings.

[0062] Figure 1 The present invention is an improved optimization algorithm flow chart of a motor multi-objective optimization method based on a support vector machine and a second-generation non-dominated sorting genetic algorithm.

[0063] Figure 2Schematic diagram of the motor tooth structure parameters in an embodiment of the present invention.

[0064] Figure 3 Schematic diagram of motor optimization parameters selected in the embodiment of the present invention. is the slot opening arc angle, is the arc angle of a single stator pole slot of the stator, is the stator tooth length, is the radian angle of the monopole permanent magnet, is the arc angle occupied by each pole of the rotor.

[0065] Figure 4 Schematic diagram of the Pareto front solution obtained in an embodiment of the present invention.

[0066] Figure 5 Schematic diagram of finite element simulation results of the torque waveform of the optimal solution selected in the embodiment of the present invention.

[0067] Figure 6 Schematic diagram of finite element simulation results of the A back electromotive force of the optimal solution selected in the embodiment of the present invention.

[0068] Figure 7 for Figure 3 The enlarged view of the "A" part. is the air gap length, is the thickness of the permanent magnet. DETAILED DESCRIPTION

[0069] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0070] The present invention proposes a motor combination multi-objective optimization method based on improved machine learning and second-generation non-dominated sorting genetic algorithm, including: taking a surface-mounted vernier permanent magnet motor as the research object, deriving the optimization target, i.e., the mathematical expression of the motor's torque and back electromotive force, selecting the parameters to be optimized according to the mathematical expression and determining their variation range; determining different level values ​​of each parameter and combining them to generate sample data, simulating the sample data using finite element software to obtain a data set sample containing input and output; training and testing the motor sample data using two machine learning algorithms, CatBoost and LightGBM, respectively, to construct two groups of motor proxy models, and weighted averaging the two groups of proxy models to obtain the final motor proxy model; improving the NSGA-II algorithm using Bernoulli mapping and designed piecewise exponential variation method, optimizing using the improved NSGA-II algorithm in combination with the motor proxy model, and finally evaluating the optimization results using finite element software. The algorithm flow of the present invention is as follows: Figure 1 The main steps are as follows:

[0071] Step 1: Taking the surface-mounted vernier permanent magnet motor as the background, derive the mathematical expressions of the optimization target, i.e., the torque and back electromotive force of the motor. Select the parameters to be optimized based on the mathematical expressions and determine their variation range.

[0072] Specifically, assuming that the air gap is uniformly distributed, without considering the effect of the slot structure on the air gap magnetic permeability, and only considering the 0th and 1st order components, the permanent magnet magnetomotive force is and air gap permeability Can be expressed as:

[0073] F PM (θ,θ m )=F PM1 cosp r (θ-θ m )(1)

[0074] Λ(θ)=Λ0+Λ1cos(Z m θ)(2)

[0075] In the formula, and They represent the angular positions of the rotor and permanent magnet respectively when the center line of the winding and the center line of the permanent magnet are used as the starting axis. is the fundamental amplitude of the permanent magnet magnetomotive force, and its expression is:

[0076] (3)

[0077] In the formula, is the remanent magnetic density of the permanent magnet, is the magnetic permeability of the permanent magnet, is the thickness of the permanent magnet. and are the 0th and 1st order components of the air gap permeability, respectively, which can be expressed as:

[0078] (4)

[0079] In the formula, is the vacuum permeability, is the slotting rate, , where represents the air gap length, represents the permanent magnet recovery permeability, , marked as Figure 2 shown.

[0080] The air gap flux density of the motor can be expressed as:

[0081] (5)

[0082] In the formula, and They represent the 0th and 1st order components of the air gap flux density respectively. For full-pitch windings, the stator flux of phase A can be expressed as:

[0083] (6)

[0084] In the formula, is a non-negative integer, is the total number of series turns per phase, is the air gap radius, is the motor lamination length, is the slot angle, is the initial angular position of phase A winding. Then the phase electromotive force can be expressed as:

[0085] (7)

[0086] Therefore, the back electromotive force of the motor can be expressed as:

[0087] (8)

[0088] In the formula, is the fundamental winding factor, is the rotor mechanical angular velocity, is the phase angle of phase A. After simplification, the effective value of the phase electromotive force of phase A is:

[0089] (9)

[0090] When a three-phase symmetrical current is passed through the winding, the electromagnetic torque of the rotor can be expressed as:

[0091] (10)

[0092] In the formula, is the effective value of phase A current.

[0093] According to the expressions of back electromotive force and torque in equations (9) and (10), combined with the motor structure, the air gap length is selected. , Permanent magnet thickness , slotting rate , polar arc coefficient , stator tooth length As the optimization parameters, the parameter ranges are , , , , Mark as Figure 3 shown.

[0094] Step 2: Determine different level values ​​of each parameter and combine them to generate sample data.

[0095] Specifically, the air gap length Select five levels of 0.4, 0.55, 0.7, 0.85, and 1, and the permanent magnet thickness Select five levels of 5, 7.5, 10, 12.5, and 15, and the slotting rate Select five horizontal values ​​of 0.3, 0.4, 0.5, 0.6, and 0.7, and the stator tooth length Select 15, 21.25, 27.5, 33.75, 40, polar arc coefficient Select three level values ​​of 0.85, 0.9, and 0.95 to generate Sample data are obtained by simulating the sample data using finite element software to obtain a data set sample containing input and output.

[0096] Step 3: Generate proxy models of the motors using CatBoost and LightGBM machine learning algorithms respectively.

[0097] Specifically, the machine learning algorithms of CatBoost and LightGBM are designed, the collected data sets are imported to generate training samples and test samples, the CatBoost and LightGBM algorithms are used to generate two groups of proxy models of the motor, the trained models are tested with the test samples, and the parameters are adjusted according to the test set error so that the training accuracy meets the design requirements, and two groups of optimal motor proxy models are generated and obtained.

[0098] Step 4: Combine the new proxy model using the two sets of proxy models in step 3.

[0099] Specifically, suppose the proxy models generated by CatBoost and LightGBM are

[0100] (11)

[0101] (12)

[0102] In the formula, is the sample input vector, and The output vectors of the proxy models built for CatBoost and LightGBM respectively. The two proxy models are weighted and can be expressed as:

[0103] (13)

[0104] In the formula, is a constant coefficient, and the final proxy model is obtained

[0105] (14).

[0106] Step 5: Improve the initialization and mutation operations of the NSGA-II algorithm.

[0107] Specifically, the Bernoulli mapping in formula (15) is used to replace the random algorithm to initialize the samples, where: is a constant between 0 and 1. To ensure the uniformity of initialization, Keep three or more decimal places.

[0108] (15)

[0109] In the formula, Indicates The Bernoulli mapping coefficient of sample points, then The initialization function of the parameters is:

[0110] (16)

[0111] In the formula, and Represents the maximum and minimum values ​​of the parameter range respectively.

[0112] In order to solve the problem of falling into the local optimal solution, according to the convergence characteristics of motor optimization, the idea of ​​piecewise exponential mutation is adopted to improve the mutation method of the original algorithm. The number of iterations is divided into three stages with the same number of iterations. In stage one and stage two, only one of the two offspring generated at a certain time is mutated, and the mutation range decays exponentially with the increase of generations, so as to realize the global search in the initial stage of iteration, gradually converge at the end of iteration, prevent premature phenomenon and accelerate convergence speed; in stage three, the two offspring are mutated at the same time, and the mutation range still decays exponentially with the increase of generations, so as to find out whether there is a better solution in the final stage of iteration. Due to the elite retention strategy of NSGA-II algorithm, the above piecewise exponential mutation will not lose the optimal solution. The piecewise exponential mutation function of a parameter is:

[0113] (17)

[0114] In the formula, is the current value of the parameter to be mutated, Represents a random number between -1 and 1. is the current iteration number, is the total number of iterations.

[0115] Step 6: Use the improved NSGA-II in step 5 and the improved proxy model in step 4 to perform multi-objective optimization for the motor.

[0116] Specifically, the motor proxy model obtained in step 4 is brought into the improved NSGA-II algorithm in step 5 as the objective function to predict the motor's back electromotive force, average torque and torque ripple. The population size is selected as 100 and the number of iterations is 500. The Pareto frontier is iteratively generated, and the optimal parameter combination that meets the requirements is selected from it. Figure 4 Program the Pareto front generated by this algorithm for Python.

[0117] Step 7: Use finite element software to evaluate the optimization results.

[0118] Specifically: Combine the optimal motor parameters obtained in step 6 Return to the finite element software to perform simulation evaluation on the optimization results. Figure 5 and Figure 6 These are the torque and back-EMF simulation waveforms of the selected parameters in the finite element software. The average torque is 305.04Nm, the torque ripple is only 1.12%, and the effective value of the back-EMF is 374.17V.

[0119] The basic principle, main features and advantages of the present invention are described above. Those skilled in the art should understand that the present invention is not limited by the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, and these changes and improvements all fall within the scope of the present invention to be protected.

Claims

1. A motor multi-objective optimization method based on an improved artificial intelligence algorithm, characterized in that: Taking the surface-mounted inner rotor vernier permanent magnet motor as the application object, a finite element simulation model of the motor is built, and the optimization target, i.e. the mathematical expression of the torque and back electromotive force of the motor, is derived; the parameters to be optimized are selected according to the mathematical expression and their variation range is determined; Determine the different level values ​​of each parameter that needs to be optimized and combine them to generate sample data, and use finite element software to simulate the sample data to obtain a data set sample containing input and output; use CatBoost and LightGBM machine learning algorithms to train and test the motor sample data respectively, build two groups of motor proxy models, and perform weighted averaging on the two groups of motor proxy models to obtain the final motor proxy model; The NSGA-II algorithm was improved by using Bernoulli mapping and designed piecewise exponential variation method. The improved NSGA-II algorithm was combined with the motor proxy model for optimization. Finally, the optimization results were evaluated using finite element software. The NSGA-II algorithm is improved by using Bernoulli mapping and a designed piecewise exponential mutation method, that is, the Bernoulli mapping method is used instead of the original random generation method to complete the initialization operation of iterative optimization, so as to obtain a more uniform and diverse initial population; according to the optimization convergence characteristics of the motor, a piecewise exponential mutation method is designed, and the iteration is divided into three processes, and the probability of offspring mutation in each process changes exponentially from large to small, so as to increase the population diversity in the optimization process and reduce the probability of the convergence result falling into the local optimum; The Bernoulli mapping in formula (15) is used to replace the random algorithm to initialize the samples. In the formula, λ is a constant between 0 and 1. To ensure the uniformity of initialization, λ retains more than three decimal places. In the formula, z k represents the Bernoulli mapping coefficient of the kth sample point, then the initialization function of the nth parameter is: x(i)=z n (bound max -bound min )+bound min (16) In the formula, bound max and bound min Respectively represent the maximum and minimum values ​​of the parameter range; Aiming at the problem of being trapped in the local optimal solution, according to the convergence characteristics of motor optimization, the idea of ​​piecewise exponential mutation is adopted to improve the mutation method of the original algorithm. The number of iterations is divided into three stages with the same number of iterations. In stage one and stage two, only one of the two offspring generated in a certain time is mutated, and the mutation range decays exponentially with the increase of generations, so as to realize the global search in the initial stage of iteration, gradually converge at the end of iteration, prevent premature phenomenon and accelerate convergence speed; in stage three, the two offspring are mutated at the same time, and the mutation range still decays exponentially with the increase of generations, so as to find out whether there is a better solution in the final stage of iteration; due to the elite retention strategy of NSGA-II algorithm, the above piecewise exponential mutation will not lose the optimal solution; the piecewise exponential mutation function of a parameter is: Where x(i) is the current value of the parameter to be mutated, r(-1,1) represents a random number between -1 and 1, gen is the current iteration number, and G is the total iteration number.

2. The motor multi-objective optimization method based on an improved artificial intelligence algorithm according to claim 1 is characterized in that: The derived optimization target is the mathematical expression of the torque and back electromotive force of the motor. The magnetomotive force-permeability method is used to calculate the mathematical analytical expression of the output torque and back electromotive force of the motor, and the motor parameters that affect the average torque, torque pulsation and back electromotive force are selected as optimization objects.

3. The motor multi-objective optimization method based on an improved artificial intelligence algorithm according to claim 1 is characterized in that: The parameters to be optimized include the air gap length g a , Permanent magnet thickness g m , slotting rate c0, pole arc coefficient α m , stator tooth length l c ; The method for determining different level values ​​of each parameter to be optimized and combining them to generate sample data is as follows: first, the average torque and torque pulsation back electromotive force of the motor are selected as optimization targets, the variation range of the parameters to be optimized is determined through experience and motor size, different level values ​​of each optimization parameter are selected to combine and generate samples, and finite element software is used to perform simulation under the same conditions to obtain a data set about the optimization parameters and the optimization targets; the optimal values ​​of the parameters to be optimized are substituted into the finite element simulation software for simulation to verify that under the optimized parameter combination, the motor can have the performance of high torque, low pulsation and high back electromotive force.

4. The motor multi-objective optimization method based on an improved artificial intelligence algorithm according to claim 1 is characterized in that: The motor sample data is trained and tested, firstly, the collected data set is imported to generate training samples and test samples, two groups of proxy models of the motor are generated by using CatBoost and LightGBM algorithms, the proxy models are tested by using the test samples, and the parameters are adjusted according to the test set error so that the training accuracy meets the design requirements, and two groups of optimal motor proxy models are generated and obtained.

5. The motor multi-objective optimization method based on an improved artificial intelligence algorithm according to claim 1 is characterized in that: The improved NSGA-II algorithm is combined with the motor proxy model for optimization to generate the Pareto front, and the optimal solution and its corresponding parameters are selected according to the design requirements. The optimal solution and its corresponding parameters are used to perform simulation in finite element software to evaluate the effect of the optimization scheme.

6. The motor multi-objective optimization method based on an improved artificial intelligence algorithm according to claim 1 is characterized in that: The steps of this method are as follows: Step 1: Taking the surface-mounted vernier permanent magnet motor as the background, propose the optimization target, that is, the mathematical expression of the motor's torque and back electromotive force. According to the mathematical expression, select the parameters to be optimized and determine their range of variation. Step 2: Determine the different levels of the parameters that need to be optimized and combine them to generate sample data, air gap length g a , Permanent magnet thickness g m , slotting rate c0, stator tooth length l c Select five horizontal values ​​respectively, the polar arc coefficient α m Select three level values ​​to generate 5×5×5×5×3=1875 sample data, and use finite element software to simulate the sample data to obtain a data set sample containing input and output; Step 3: Use CatBoost and LightGBM machine learning algorithms to generate proxy models of the motor respectively, design CatBoost and LightGBM machine learning algorithms, import the collected data sets to generate training samples and test samples, use CatBoost and LightGBM algorithms to generate two groups of proxy models of the motor, use test samples to test the trained models, adjust parameters according to the test set error, so that the training accuracy meets the design requirements, and generate and obtain two groups of optimal motor proxy models; Step 4: Combine the two groups of proxy models in step 3 into an improved proxy model. Step 5: Improve the initialization and mutation operations of the NSGA-II algorithm. Step 6: Use the improved NSGA-II algorithm in step 5 and the improved proxy model in step 4 to perform multi-objective optimization on the motor; bring the improved proxy model of the motor obtained in step 4 into the improved NSGA-II algorithm in step 5 as the objective function to predict the back electromotive force, average torque and torque ripple of the motor, select the appropriate population size and number of iterations, iteratively generate the Pareto frontier, and select the optimal parameter combination that meets the requirements; Step 7: Use JMAG·Designer finite element software to evaluate the optimization results; input the optimal parameter combination obtained in step 6 into the JMAG·Designer finite element software, perform simulation evaluation on the optimization results, and verify that the performance of the optimized motor is significantly improved.

7. The motor multi-objective optimization method based on an improved artificial intelligence algorithm according to claim 6 is characterized in that: The step 1 is specifically as follows: Assuming that the air gap is uniformly distributed, without considering the effect of the slot structure on the air gap magnetic permeability, and only considering the 0th and 1st order components, the permanent magnet magnetomotive force F PM and air gap permeability Λ are expressed as: F PM (θ,θ m )=F PM1 cosp r (θ-θ m (1) Λ(θ)=Λ0+Λ1cos(Z m i)(2) Where: θ and θ m Respectively represent the angular positions of the rotor and permanent magnet when the center line of the winding and the center line of the permanent magnet are used as the starting axis, p r is the number of permanent magnet pole pairs, Z m is the number of stator teeth, F PM1 is the fundamental amplitude of the permanent magnet magnetomotive force, expressed as: In the formula, B r is the remanent magnetic density of the permanent magnet, μ m is the magnetic permeability of the permanent magnet, g m is the thickness of the permanent magnet, Λ0 and Λ1 are the 0th and 1st order components of the air gap permeability, respectively, expressed as: Where μ0 is the vacuum magnetic permeability, is the slot ratio, where d1 is the slot spacing, d2 is the stator pole pitch, is the equivalent air gap length, where g a Indicates the air gap length, g m is the thickness of the permanent magnet, μ r represents the permanent magnet recovery permeability, is the stator tooth pole arc coefficient; The air gap flux density of the motor is expressed as: In the formula, B PM0 =F PM1 Λ0, B PM1 =F PM1 Λ1 represents the 0th and 1st order components of the air gap flux density. For the full-pitch winding, the stator flux of phase A is expressed as: In the formula, j is a non-negative integer, N s is the total number of series turns per phase, r g is the air gap radius, l stk is the motor lamination length, is the slot angle, θ a is the initial angular position of the A-phase winding, q is the number of slots per pole per phase, and p s is the number of armature winding poles, then the A-phase electromotive force is expressed as: Therefore, the back electromotive force of the motor is expressed as: In the formula, k w1 is the fundamental winding factor, ω m is the rotor mechanical angular velocity, θ a is the phase angle of phase A, p s is the number of pole pairs of the armature winding; after simplification, the effective value of the back electromotive force of A is: When a three-phase symmetrical current is passed through the winding, the electromagnetic torque of the rotor is expressed as: In the formula, I a is the effective value of phase current of phase A; According to equations (9) and (10), the air gap length g is selected a , Permanent magnet thickness g m , slotting rate c0, pole arc coefficient α m , stator tooth length l c as optimization parameters.

8. The motor multi-objective optimization method based on an improved artificial intelligence algorithm according to claim 6 is characterized in that: The step 4 is specifically as follows: Assume that the proxy models generated by CatBoost and LightGBM are y C =f C (x)(11) y L =f L (x)(12) In the formula, x is the sample input vector, y is C and L Output vectors of the proxy models built for CatBoost and LightGBM respectively; the two proxy models are weighted as follows yyy C +(1-α)y L (13) In the formula, α∈(0,1) is a constant coefficient, and the final proxy model is obtained y=f(x)(14).

Citation Information

Patent Citations

  • Reactive power optimization method and device for power distribution network, electronic equipment and storage medium

    CN112993979A

  • IGWO-SVR-based AC contactor control parameter optimization method

    CN117170244A