Intelligent control method, device, equipment and storage medium of permanent magnet synchronous motor
By establishing a motor model and optimizing control parameters, combining proportional integral controller and self-immune control strategy, the problem of difficult to quickly adjust parameters in traditional control methods is solved, efficient and stable control under complex conditions is achieved, and the flexibility of the motor is improved. and robustness.
Patent Information
- Application Number
- CN202410960533.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-07-17
AI Technical Summary
Traditional permanent magnet synchronous motor control methods are difficult to adjust control parameters quickly and accurately, resulting in limited response speed and efficiency, especially in the face of complex or changing working conditions and external disturbances, which are difficult to maintain efficient and stable operation.
By establishing a motor model, performing small signal analysis to obtain linear transfer function and frequency response data, building multivariate cost functions and using optimization algorithms to optimize control parameters, combining proportional integral controllers and self-immune control strategies, a hybrid control strategy is generated. And adjust the control strategy based on real-time data to achieve intelligent control.
It significantly improves the flexibility and robustness of motor control, and enables more stable and efficient operation in high-variability and high-interference environments.
Smart Images

Figure CN118508796B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence, and in particular to an intelligent control method, device, equipment and storage medium for a permanent magnet synchronous motor. Background Art
[0002] Permanent Magnet Synchronous Motor (PMSM) is widely used in industrial automation, electric vehicles, aerospace and other fields due to its high efficiency, high reliability and compact structure. However, with the complexity of application scenarios, the control requirements for permanent magnet synchronous motors are becoming higher and higher. Not only are the motors required to have fast response capabilities and stable operating conditions, but they are also required to achieve efficient and energy-saving intelligent control under different working conditions. Traditional control methods for permanent magnet synchronous motors still show many shortcomings in situations where high precision and high stability are required. First, traditional control strategies often rely on the accuracy of the motor model, but in actual operation, the dynamic parameters of the motor, such as inductance, resistance, torque and speed, are affected by many factors. The changes in these parameters make it difficult for control strategies based on fixed models to adapt to complex or changing working conditions. In addition, when the motor encounters external disturbances such as load fluctuations or grid quality problems, it is difficult for traditional control methods to quickly and accurately adjust the control parameters, thereby affecting the response speed and efficiency of the overall control. Summary of the invention
[0003] The main purpose of the present invention is to solve the technical problem that the existing traditional control method is difficult to quickly and accurately adjust the control parameters, thereby affecting the response speed and efficiency of the overall control.
[0004] A first aspect of the present invention provides an intelligent control method for a permanent magnet synchronous motor, the intelligent control method for a permanent magnet synchronous motor comprising:
[0005] Modeling the target motor to establish a motor model of the target motor, wherein the motor model is used to describe the dynamic behavior of motor parameters of the target motor, and the motor parameters include at least inductance, resistance, torque and speed parameters;
[0006] Performing small signal analysis on the target motor according to the motor model, analyzing the frequency response characteristics of the target motor under a small disturbance, and obtaining a linearized transfer function and frequency response data of the target motor;
[0007] According to the linearized transfer function and frequency response data of the target motor, a multivariable cost function is constructed, and a preset optimization algorithm is used to globally optimize the multivariable cost function to obtain control parameters of the target motor;
[0008] According to the control parameters, a proportional-integral controller is configured, and the proportional-integral controller is combined with a preset active disturbance rejection control strategy to generate a hybrid control strategy;
[0009] The real-time operation data and external disturbance data of the target motor are acquired, and the strategy parameters of the hybrid control strategy are adjusted according to the real-time operation data and the external disturbance, and the adjusted hybrid control strategy is obtained and implemented to realize intelligent control of the target motor.
[0010] Optionally, in a first implementation of the first aspect of the present invention, performing small signal analysis on the target motor according to the motor model, analyzing the frequency response characteristics of the target motor under a small disturbance, and obtaining the linearized transfer function and frequency response data of the target motor includes:
[0011] Selecting a small signal analysis tool and a small disturbance simulation strategy corresponding to the target motor according to the motor model;
[0012] Applying a small electrical or mechanical disturbance to the motor model of the target motor according to the simulation strategy, and collecting response data of the motor under the disturbance, wherein the response data at least includes a change in any one of voltage, current, speed and torque;
[0013] Analyzing the response data, extracting key frequency components in the motor model according to the response data, and quantitatively describing frequency response data of the target motor according to the key frequency components;
[0014] The frequency response data is processed to construct a linear transfer function of the target motor.
[0015] Optionally, in a second implementation of the first aspect of the present invention, a multivariable cost function is constructed according to the linearized transfer function and frequency response data of the target motor, and a preset optimization algorithm is used to perform global optimization on the multivariable cost function to obtain the control parameters of the target motor, including:
[0016] Evaluating the performance parameters of the target motor under a preset disturbance condition according to the linearized transfer function and frequency response data of the target motor;
[0017] Constructing a multivariable cost function of the target motor according to the performance parameters, and assigning weights to the variables in the multivariable cost function to obtain a weight value of each variable in the multivariable cost function;
[0018] The multivariable cost function is iteratively optimized according to the weight value of each variable in the multivariable cost function using a preset optimization algorithm to obtain an optimal solution of the multivariable cost function, and the control parameters of the target motor are determined according to the optimal solution.
[0019] Optionally, in a third implementation of the first aspect of the present invention, the optimization algorithm is a genetic algorithm, and the use of a preset optimization algorithm to iteratively optimize the multivariable cost function according to the weight value of each variable in the multivariable cost function to obtain an optimal solution of the multivariable cost function, and determining the control parameters of the target motor according to the optimal solution includes:
[0020] Initializing an initial population of the genetic algorithm and using the initial population as a target population, wherein each individual in the initial population represents a control parameter of a target motor;
[0021] Calculating the fitness value of each individual in the target population according to the weight value of each variable in the multivariate cost function by the genetic algorithm;
[0022] Performing a selection operation on each individual in the target population according to the fitness value to obtain an optimized population, and performing crossover and mutation operations on the optimized population;
[0023] The optimized population after performing the crossover and mutation operations is updated as the target population, and the step of calculating the fitness value of each individual in the target population according to the weight value of each variable in the multivariate cost function by the genetic algorithm is returned until the iteration termination condition is met;
[0024] When the iteration termination condition is met, the individual with the highest total fitness value in the target population is decoded as the optimal solution to obtain the control parameters of the target motor.
[0025] Optionally, in a fourth implementation manner of the first aspect of the present invention, configuring a proportional-integral controller according to the control parameters, and combining the proportional-integral controller with a preset active disturbance rejection control to generate a hybrid control strategy includes:
[0026] Determine a proportional coefficient and an integral coefficient of the proportional-integral controller according to the control parameter, and configure the proportional-integral controller according to the proportional coefficient and the integral coefficient;
[0027] Initializing a preset active disturbance rejection control strategy, and simulating corresponding integration effects when the active disturbance rejection control strategy and the proportional integral controller are integrated through preset multiple integration structures;
[0028] An optimal integration structure is selected according to the integration effect, and the active disturbance rejection control strategy and the proportional integral controller are integrated according to the optimal integration structure to generate a hybrid control strategy.
[0029] Optionally, in a fifth implementation of the first aspect of the present invention, the multiple integration structures include a parallel integration structure and a serial integration structure;
[0030] The initialization of the preset active disturbance rejection control strategy and the simulation of the integration effect of the active disturbance rejection control strategy and the proportional integral controller through the preset multiple integration structures include:
[0031] Initializing a preset active disturbance rejection control strategy, and respectively determining the first output and the second output of the active disturbance rejection control strategy and the proportional integral controller through a parallel integration structure among the multiple integration structures, and performing weighted calculation on the first output and the second output to obtain an integration effect corresponding to the parallel integration structure;
[0032] Determine the third output of the proportional-integral controller through a serial integration structure among the multiple integration structures, and use the third output as an input of the active disturbance rejection control strategy to obtain a fourth output, and obtain the integration effect corresponding to the serial integration structure according to the fourth output;
[0033] The integration effect corresponding to the parallel integration structure and the integration effect corresponding to the serial integration structure are compared to obtain a comparison result, an optimal integration structure is selected according to the comparison result, and the active disturbance rejection control strategy and the proportional integral controller are integrated according to the optimal integration structure to generate a hybrid control strategy.
[0034] Optionally, in a sixth implementation of the first aspect of the present invention, the acquiring real-time operation data and external disturbance data of the target motor, and adjusting the strategy parameters of the hybrid control strategy according to the real-time operation data and the external disturbance, and obtaining and implementing the adjusted hybrid control strategy to realize intelligent control of the target motor includes:
[0035] Acquiring real-time operation data and external disturbance data of the target motor, and analyzing and processing the real-time operation data and external disturbance data to obtain key performance indicators and disturbance indicators;
[0036] Determining and adjusting the strategy parameters to be adjusted in the hybrid control strategy according to the key performance indicators and the disturbance indicators;
[0037] The adjusted strategy parameters are applied to the hybrid control strategy, the configurations of the proportional-integral controller and the anti-disturbance rejection control strategy in the hybrid control strategy are updated to obtain the adjusted hybrid control strategy, and the adjusted hybrid control strategy is applied to realize intelligent control of the target motor.
[0038] A second aspect of the present invention provides an intelligent control device for a permanent magnet synchronous motor, the intelligent control device for a permanent magnet synchronous motor comprising:
[0039] A modeling module, used for modeling a target motor and establishing a motor model of the target motor, wherein the motor model is used for describing the dynamic behavior of motor parameters of the target motor, and the motor parameters at least include inductance, resistance, torque and speed parameters;
[0040] A small signal analysis module, used to perform small signal analysis on the target motor according to the motor model, analyze the frequency response characteristics of the target motor under small disturbances, and obtain the linearized transfer function and frequency response data of the target motor;
[0041] A function optimization module, used to construct a multivariable cost function according to the linearized transfer function and frequency response data of the target motor, and globally optimize the multivariable cost function using a preset optimization algorithm to obtain control parameters of the target motor;
[0042] A hybrid module, configured to configure a proportional-integral controller according to the control parameters, and combine the proportional-integral controller with a preset active disturbance rejection control strategy to generate a hybrid control strategy;
[0043] An adjustment module is used to obtain real-time operation data and external disturbance data of the target motor, and adjust the strategy parameters of the hybrid control strategy according to the real-time operation data and external disturbance, obtain and implement the adjusted hybrid control strategy to achieve intelligent control of the target motor.
[0044] The third aspect of the present invention provides an intelligent control device for a permanent magnet synchronous motor, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected through lines; the at least one processor calls the instructions in the memory so that the intelligent control device of the permanent magnet synchronous motor executes the steps of the above-mentioned intelligent control method of the permanent magnet synchronous motor.
[0045] A fourth aspect of the present invention provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the steps of the above-mentioned intelligent control method of the permanent magnet synchronous motor.
[0046] The above-mentioned intelligent control method, device, equipment and storage medium of the permanent magnet synchronous motor can more accurately describe the behavior of the motor in actual operation by establishing a detailed motor model of the target motor and performing small signal analysis. By analyzing the obtained frequency response data and linearized transfer function, a multivariable cost function suitable for specific working conditions can be constructed, and the preset optimization algorithm can be used to globally optimize it and finely adjust the motor control parameters. In addition, the proportional integral controller is combined with the preset self-disturbance rejection control strategy to form a hybrid control strategy, so that the control system can not only be optimized in theory, but also self-adjust and optimize according to the real-time operating data and external disturbances of the motor. This method can significantly improve the flexibility and robustness of motor control, especially in industrial environments with high changes and high interference, and can achieve more stable and efficient motor operation.
[0047] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0048] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 Schematic diagram of a first embodiment of an intelligent control method for a permanent magnet synchronous motor according to an embodiment of the present invention;
[0050] Figure 2 Schematic diagram of an embodiment of an intelligent control device for a permanent magnet synchronous motor in an embodiment of the present invention;
[0051] Figure 3 Schematic diagram of an embodiment of an intelligent control device for a permanent magnet synchronous motor in an embodiment of the present invention. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are 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.
[0053] The terms "including" and "having" and any variations thereof mentioned in the embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device end including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or device ends.
[0054] To facilitate understanding of this embodiment, firstly, an intelligent control method for a permanent magnet synchronous motor disclosed in an embodiment of the present invention is described in detail. Figure 1 As shown, the method comprises the following steps:
[0055] 101. Modeling a target motor to establish a motor model of the target motor, wherein the motor model is used to describe the dynamic behavior of motor parameters of the target motor, and the motor parameters at least include inductance, resistance, torque and speed parameters;
[0056] In one embodiment of the present invention, the mathematical model of the motor is usually established by defining the basic equations of the motor. For example, for a simple DC motor, Kirchhoff's voltage law and Newton's second law can be used to describe the electrical and mechanical behavior of the motor. The dynamic equation of the motor can be expressed as: is the voltage across the motor, is the resistance of the motor, is the current, is the inductor, is the time derivative of the current, representing the rate of change of the current, and This equation not only reveals the electrical characteristics of the motor, but also connects the relationship between electrical input and mechanical output.
[0057]
[0058] Next, the mechanical power of the motor can be described by the following torque equation:
[0059]
[0060] here, is the torque produced by the motor, is the moment of inertia, is the rate of change of angular velocity, is the damping coefficient, and is the angular velocity. This equation describes the behavior of the motor under mechanical load and is the key to connecting the electrical input and mechanical motion. With these two equations, a closed-loop motor model can be constructed that can be used to simulate and predict the response of the motor under different operating conditions. For example, if you want to consider a variable frequency drive motor system, you can control the speed of the motor by changing the frequency of the input voltage, which requires the analysis of the frequency modulation characteristics of the above model.
[0061] 102. Perform small signal analysis on the target motor according to the motor model, analyze the frequency response characteristics of the target motor under small disturbances, and obtain the linearized transfer function and frequency response data of the target motor;
[0062] In one embodiment of the present invention, performing small signal analysis on the target motor according to the motor model, analyzing the frequency response characteristics of the target motor under small disturbances, and obtaining the linearized transfer function and frequency response data of the target motor includes: selecting a small signal analysis tool corresponding to the target motor and a simulation strategy for small disturbances according to the motor model; applying a small electrical or mechanical disturbance to the motor model of the target motor according to the simulation strategy, and collecting response data of the motor under the disturbance, wherein the response data includes at least changes in any one of voltage, current, speed and torque; analyzing the response data, extracting key frequency components in the motor model according to the response data, and quantitatively describing the frequency response data of the target motor according to the key frequency components; performing data processing on the frequency response data to construct a linearized transfer function of the target motor.
[0063] Specifically, first of all, based on the established motor model, choosing the right small signal analysis tool is the primary task. These tools, such as Simulink and Control System Toolbox in Matlab, provide a set of powerful analysis and simulation tools that can simulate the response of the motor to electrical or mechanical disturbances. Next, a simulation strategy is designed to impose small electrical or mechanical disturbances, such as slight voltage changes or load disturbances. These disturbances are carefully designed not to cause the system to enter the nonlinear operating region, but to remain within a range that can be linearized for analysis. After the disturbance is applied, the system's response data, including changes in voltage, current, speed, and torque, will be recorded in real time. The acquisition of these data is usually completed using high-precision sensors and data acquisition systems to ensure that the data is accurate and has high time resolution, sufficient to capture rapid dynamic changes. After data acquisition, the next step is data analysis, which usually involves frequency domain analysis, the purpose of which is to extract key frequency components from the response data. Using Fourier transform or Laplace transform is a common method for analyzing frequency response. For example, the response data in the time domain can be Convert to frequency domain representation ,in is the complex frequency parameter
[0064] ;
[0065] Here, represents the Laplace transform, It's time. is a complex frequency parameter used to analyze the response of the system at different frequencies. Through this conversion, we can clearly see the behavior of the motor at a specific frequency, such as resonant frequency and damping characteristics. This information is very important because it is directly related to the stability and efficiency of the motor control system. After analyzing the frequency response data, the next step is to construct the linearized transfer function of the target motor. Transfer function is the output and input The proportional relationship is expressed in the form of:
[0066] ;
[0067] in, and are the Laplace transforms of the system output and input, respectively. The construction of the transfer function is based on the measured input and output data and is obtained through system identification methods such as the least squares method.
[0068] 103. Construct a multivariable cost function according to the linearized transfer function and frequency response data of the target motor, and use a preset optimization algorithm to globally optimize the multivariable cost function to obtain control parameters of the target motor;
[0069] In one embodiment of the present invention, a multivariable cost function is constructed according to the linearized transfer function and frequency response data of the target motor, and a preset optimization algorithm is used to globally optimize the multivariable cost function to obtain the control parameters of the target motor, including: evaluating the performance parameters of the target motor under preset disturbance conditions according to the linearized transfer function and frequency response data of the target motor; constructing the multivariable cost function of the target motor according to the performance parameters, and weighting the variables in the multivariable cost function to obtain the weight value of each variable in the multivariable cost function; using a preset optimization algorithm to iteratively optimize the multivariable cost function according to the weight value of each variable in the multivariable cost function to obtain the optimal solution of the multivariable cost function, and determining the control parameters of the target motor according to the optimal solution.
[0070] Specifically, the linearized transfer function provides a way to measure the change in the output of a system when it is subjected to an input disturbance. This function is obtained by analyzing the response of the motor under small signal disturbances, and can show the stability and response speed of the motor at different frequencies. For example, the amplitude and phase of the transfer function can be used to determine the resonant frequency and damping ratio of the system, which are key parameters for evaluating the dynamic stability of the motor. Next, a multivariate cost function is constructed based on the performance parameters obtained from the transfer function (such as response time, overshoot, stability, etc.). This cost function usually includes multiple performance indicators, each of which has a different impact on the overall performance of the motor. For example, a cost function can be expressed as:
[0071] ;
[0072] in is the system setup time, is the overshoot is the damping ratio, are the weights of these indicators. The weight assignment reflects the importance of different performance indicators in a specific application. For example, in a high-precision control application, overshoot and settling time may be assigned higher weights. Once the cost function is constructed, a preset optimization algorithm, such as a genetic algorithm or particle swarm optimization, can be used to iteratively optimize the cost function. These algorithms can effectively search for the global optimal solution of the cost function by simulating the mechanism of natural selection or group behavior. During the optimization process, the algorithm continuously evaluates the value of the cost function and adjusts the control parameters based on these values until a parameter combination that minimizes the cost function is found. For example, if the particle swarm optimization algorithm is used, each particle represents a set of possible control parameters. The algorithm adjusts the position and velocity of the particles based on the cost function value of each set of parameters to move them toward areas with lower cost function values. Iterations continue until a stopping condition is met, such as reaching a predetermined number of iterations or the cost function value is below a certain threshold. Through the above process, the optimal solution for the motor control parameters can be obtained, which will be used to adjust the settings of the motor controller to ensure that the motor can perform optimally under various operating conditions.
[0073] Furthermore, the optimization algorithm is a genetic algorithm, and the preset optimization algorithm is used to iteratively optimize the multivariable cost function according to the weight value of each variable in the multivariable cost function to obtain the optimal solution of the multivariable cost function, and the control parameters of the target motor are determined according to the optimal solution, including: initializing the initial population of the genetic algorithm and taking the initial population as the target population, wherein each individual in the initial population represents a control parameter of a target motor; calculating the fitness value of each individual in the target population according to the weight value of each variable in the multivariable cost function through the genetic algorithm; performing selection operations on each individual in the target population according to the fitness value to obtain an optimized population, and performing crossover and mutation operations on the optimized population; updating the optimized population after performing the crossover and mutation operations as the target population, and returning to the step of calculating the fitness value of each individual in the target population according to the weight value of each variable in the multivariable cost function through the genetic algorithm until the iteration termination condition is met; when the iteration termination condition is met, decoding the individual with the highest total fitness value in the target population as the optimal solution to obtain the control parameters of the target motor.
[0074] Specifically, the implementation of the genetic algorithm requires initializing a population consisting of multiple individuals, each of which represents a set of potential motor control parameters. These parameters may include the speed control coefficient, torque control coefficient, etc. of the motor. Each individual can be represented by a coded string, usually represented by binary code or real numbers. For example, a simple binary code may represent the control parameters of an individual as follows: 010101100011010101100011, where each bit represents a feature of the parameter. The initial values of these parameters are usually randomly generated to ensure the diversity of the population. Once the population is initialized, the genetic algorithm will evaluate the performance of each individual according to the fitness function. The fitness function is designed based on the multivariate cost function of the motor, which is directly related to the key indicators of the motor performance, such as efficiency, response time and stability. Subsequently, the algorithm determines which individuals will be retained for reproduction through selection operations. Roulette wheel selection or tournament selection is usually used. These methods can select based on the fitness value of the individual, and individuals with high fitness have a greater chance of being selected. After selection, crossover and mutation operations are performed, which is the core innovation process of genetic algorithms. The crossover operation allows two individuals to exchange some of their genes, which is similar to the genetic process of organisms and can enhance the diversity of the population. For example, if a single-point crossover is used, a crossover point is randomly selected, and then the gene sequences of the two individuals after this point are exchanged. The mutation operation randomly changes certain genes of the individual to introduce new gene mutations and further explore new solution spaces. The mutation rate is usually set low to avoid excessively disturbing the excellent solutions that have been obtained. This iterative process is repeated until the iteration termination condition is met, such as reaching the maximum number of iterations or the improvement of the solution is less than a certain threshold. Finally, the individual with the highest fitness is selected from the population as the optimal solution, which is then decoded into actual control parameters and applied to the motor control system.
[0075] 104. According to the control parameters, configure a proportional-integral controller, and combine the proportional-integral controller with a preset active disturbance rejection control strategy to generate a hybrid control strategy;
[0076] In one embodiment of the present invention, configuring a proportional-integral controller according to the control parameters, and combining the proportional-integral controller with a preset active disturbance rejection control to generate a hybrid control strategy includes:
[0077] The proportional coefficient and the integral coefficient of the proportional-integral controller are determined according to the control parameters, and the proportional-integral controller is configured according to the proportional coefficient and the integral coefficient; a preset auto-disturbance rejection control strategy is initialized, and the corresponding integration effect when the auto-disturbance rejection control strategy and the proportional-integral controller are integrated is simulated through a plurality of preset integration structures; an optimal integration structure is selected according to the integration effect, and the auto-disturbance rejection control strategy and the proportional-integral controller are integrated according to the optimal integration structure to generate a hybrid control strategy.
[0078] Specifically, based on the control parameters obtained by the previous optimization algorithm, the proportional (P) and integral (I) coefficients of the PI controller need to be determined. These coefficients directly affect the regulation performance of the controller, where the proportional coefficient P determines the speed at which the controller responds to disturbances, while the integral coefficient I is related to the system's ability to eliminate steady-state errors. The specific coefficient setting can be preliminarily determined by standard control system design methods such as the Ziegler-Nichols method, and then adjusted through simulation and actual testing. The transfer function of the proportional-integral controller is usually expressed as:
[0079] ;
[0080] here, and are the proportional and integral coefficients, respectively, is a complex variable in Laplace transform. This formula expresses the behavior of the PI controller in the frequency domain and is the basis for subsequent integration and optimization. Secondly, initializing the ADRC strategy includes setting its core components, such as the extended state observer (ESO) and the nonlinear state error feedback law. The purpose of ESO is to estimate the system state and disturbance in real time, while the feedback law is used to perform control actions based on the estimated state. The design of ADRC needs to consider the dynamic characteristics of the system and optimize the performance by adjusting the bandwidth parameters of the observer and the gain of the feedback law. The general form of ADRC can be expressed as:
[0081] ;
[0082] here, is the control input, is the desired control input, and is the control gain, is the estimated state error, is the estimated unknown disturbance. The key to accurately setting these parameters is to optimize through experimental data. Next, simulating the integration effect of the ADRC strategy and the proportional-integral controller through a variety of integrated structures is a key step in achieving the optimal control strategy. This usually includes the exploration of parallel, serial or hybrid structures, each of which has its own unique advantages and limitations. Through simulation, the control performance under different integrated structures can be evaluated, such as response speed, anti-disturbance performance and stability.
[0083] Furthermore, the multiple integration structures include parallel integration structures and serial integration structures; the initialization of the preset auto-disturbance rejection control strategy, and simulating the corresponding integration effect when the auto-disturbance rejection control strategy and the proportional-integral controller are integrated through the preset multiple integration structures include: initializing the preset auto-disturbance rejection control strategy, and determining the first output and the second output of the auto-disturbance rejection control strategy and the proportional-integral controller respectively through the parallel integration structure among the multiple integration structures, and performing weighted calculation on the first output and the second output to obtain the integration effect corresponding to the parallel integration structure; determining the third output of the proportional-integral controller through the serial integration structure among the multiple integration structures, and using the third output as the input of the auto-disturbance rejection control strategy to obtain the fourth output, and obtaining the integration effect corresponding to the serial integration structure according to the fourth output; comparing the integration effect corresponding to the parallel integration structure with the integration effect corresponding to the serial integration structure to obtain a comparison result, selecting the optimal integration structure according to the comparison result, and integrating the auto-disturbance rejection control strategy and the proportional-integral controller according to the optimal integration structure to generate a hybrid control strategy.
[0084] Specifically, first, in the parallel integration structure, the proportional-integral controller (PI) and the active disturbance rejection controller (ADRC) process the input signal independently and generate their own outputs. The proportional-integral controller is set according to the set proportional coefficient. and the integral coefficient Produces the first output
[0085] ;
[0086] here, is the system error, i.e., the difference between the desired output and the actual output. Similarly, the ADRC outputs a second output according to its design parameters and state estimation , which is intended to compensate for detected system disturbances. In a parallel configuration, these two outputs, the first output and the second output, are combined into the final control signal This is achieved by weighted summation:
[0087] ;
[0088] in, and is a weighting factor that is adjusted to optimize the overall control effect according to the specific needs of the system. For the series integration structure, the situation is slightly different. In this structure, the output of the proportional-integral controller , i.e. the third output, is directly used as the input of the active disturbance rejection control strategy. This means that the ADRC processes the signal from the PI controller and further adjusts and optimizes it based on it, outputting the fourth output ,This is the enhanced control signal after considering the regulation effect of PI:
[0089] ;
[0090] here, Represents the operation process of the ADRC algorithm, which accepts the output of the PI as input and generates the final control signal after processing.
[0091] 105. Acquire real-time operation data and external disturbance data of the target motor, adjust strategy parameters of the hybrid control strategy according to the real-time operation data and the external disturbance, obtain and implement the adjusted hybrid control strategy to achieve intelligent control of the target motor.
[0092] In one embodiment of the present invention, the real-time operation data and external disturbance data of the target motor are obtained, and the strategy parameters of the hybrid control strategy are adjusted according to the real-time operation data and the external disturbance, and the adjusted hybrid control strategy is obtained and implemented to realize the intelligent control of the target motor, including: obtaining the real-time operation data and the external disturbance data of the target motor, and analyzing and processing the real-time operation data and the external disturbance data to obtain key performance indicators and disturbance indicators; determining and adjusting the strategy parameters to be adjusted in the hybrid control strategy according to the key performance indicators and the disturbance indicators; applying the adjusted strategy parameters to the hybrid control strategy, updating the configuration of the proportional-integral controller and the anti-disturbance control strategy in the hybrid control strategy, obtaining the adjusted hybrid control strategy, and implementing the adjusted hybrid control strategy to realize the intelligent control of the target motor.
[0093] Specifically, the first step to achieve this process is to continuously obtain the real-time operating data of the target motor, such as speed, torque, current and voltage, etc., and external disturbance data that may affect the performance of the motor, such as power grid fluctuations, temperature changes or mechanical vibrations, through various sensors and monitoring devices. The acquisition of these data requires not only high-precision measurement tools, but also real-time data processing systems to support rapid data processing and analysis. Next, the collected real-time operating data and external disturbance data are analyzed and processed. This step is to use advanced data analysis techniques such as Fourier transform to analyze frequency response or use machine learning algorithms to identify abnormal patterns and trends. The purpose of data analysis is to extract key performance indicators, such as system stability, response time and efficiency, as well as disturbance indicators, such as the frequency and amplitude of disturbances. According to the key performance indicators and disturbance indicators obtained, determine and adjust the strategy parameters that need to be adjusted in the hybrid control strategy, which may include the proportional and integral coefficients of the PI controller, or the state estimator parameters in the ADRC strategy. The purpose of adjustment is to ensure that the control strategy can maximize the offset of the impact of external disturbances while maintaining or improving the performance level of the motor.
[0094] The adjusted strategy parameters are reapplied to the hybrid control strategy, which includes updating the configuration of the PI controller and the ADRC strategy. The reconfigured control strategy needs to be tested in a simulation environment to ensure that its theoretical effectiveness can be converted into performance improvements in actual operation. Once verified, these adjustments will be formally implemented in the control system to achieve intelligent control of permanent magnet synchronous motors.
[0095] In this embodiment, by establishing a detailed motor model of the target motor and performing small signal analysis, the behavior of the motor in actual operation can be more accurately described. By analyzing the obtained frequency response data and linearized transfer function, a multivariable cost function suitable for specific working conditions can be constructed, and a preset optimization algorithm can be used to globally optimize it and fine-tune the motor control parameters. In addition, a proportional-integral controller is combined with a preset self-disturbance rejection control strategy to form a hybrid control strategy, so that the control system can not only be optimized in theory, but also self-adjust and optimize according to the real-time operating data of the motor and external disturbances. This method can significantly improve the flexibility and robustness of motor control, especially in high-variability and high-interference industrial environments, and can achieve more stable and efficient motor operation.
[0096] The above describes the intelligent control method of the permanent magnet synchronous motor in the embodiment of the present invention. The following describes the intelligent control device of the permanent magnet synchronous motor in the embodiment of the present invention. Figure 2 , an embodiment of the intelligent control device of the permanent magnet synchronous motor in the embodiment of the present invention includes:
[0097] A modeling module 201 is used to perform modeling processing on a target motor and establish a motor model of the target motor, wherein the motor model is used to describe the dynamic behavior of motor parameters of the target motor, and the motor parameters at least include inductance, resistance, torque and speed parameters;
[0098] A small signal analysis module 202 is used to perform small signal analysis on the target motor according to the motor model, analyze the frequency response characteristics of the target motor under a small disturbance, and obtain a linearized transfer function and frequency response data of the target motor;
[0099] The function optimization module 203 is used to construct a multivariable cost function according to the linearized transfer function and frequency response data of the target motor, and globally optimize the multivariable cost function using a preset optimization algorithm to obtain the control parameters of the target motor;
[0100] A hybrid module 204, configured to configure a proportional-integral controller according to the control parameters, and combine the proportional-integral controller with a preset active disturbance rejection control strategy to generate a hybrid control strategy;
[0101] The adjustment module 205 is used to obtain the real-time operation data and external disturbance data of the target motor, and adjust the strategy parameters of the hybrid control strategy according to the real-time operation data and external disturbance, obtain and implement the adjusted hybrid control strategy to achieve intelligent control of the target motor.
[0102] In an embodiment of the present invention, the intelligent control device of the permanent magnet synchronous motor runs the intelligent control method of the permanent magnet synchronous motor. The intelligent control device of the permanent magnet synchronous motor can more accurately describe the behavior of the motor in actual operation by establishing a detailed motor model of the target motor and performing small signal analysis. By analyzing the obtained frequency response data and linearized transfer function, a multivariable cost function suitable for specific working conditions can be constructed, and a preset optimization algorithm is used to perform global optimization on it, and the motor control parameters are finely adjusted. In addition, a proportional integral controller is combined with a preset self-disturbance rejection control strategy to form a hybrid control strategy, so that the control system can not only be optimized in theory, but also can be self-regulated and optimized according to the real-time operation data of the motor and external disturbances. This method can significantly improve the flexibility and robustness of motor control, especially in industrial environments with high changes and high interference, and can achieve more stable and efficient motor operation.
[0103] above Figure 2 The intelligent control device of the permanent magnet synchronous motor in the embodiment of the present invention is described in detail from the perspective of modular functional entity. The intelligent control device of the permanent magnet synchronous motor in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0104] Figure 3 : is a structural schematic diagram of an intelligent control device for a permanent magnet synchronous motor provided by an embodiment of the present invention. The intelligent control device 300 for the permanent magnet synchronous motor may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 310 (for example, one or more processors) and a memory 320, and one or more storage media 330 (for example, one or more mass storage device terminals) storing application programs 333 or data 332. Among them, the memory 320 and the storage medium 330 may be short-term storage or permanent storage. The program stored in the storage medium 330 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the intelligent control device 300 for the permanent magnet synchronous motor. Furthermore, the processor 310 may be configured to communicate with the storage medium 330, and execute a series of instruction operations in the storage medium 330 on the intelligent control device 300 for the permanent magnet synchronous motor to implement the steps of the above-mentioned intelligent control method for the permanent magnet synchronous motor.
[0105] The intelligent control device 300 of the permanent magnet synchronous motor may further include one or more power supplies 340, one or more wired or wireless network interfaces 350, one or more input and output interfaces 360, and / or one or more operating systems 331, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 3 The structure of the intelligent control device for the permanent magnet synchronous motor shown does not constitute a limitation on the intelligent control device for the permanent magnet synchronous motor provided by the present invention, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0106] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the intelligent control method of the permanent magnet synchronous motor.
[0107] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device, or unit can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.
[0108] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0109] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An intelligent control method for a permanent magnet synchronous motor, characterized in that: The intelligent control method of the permanent magnet synchronous motor comprises: Modeling the target motor to establish a motor model of the target motor, wherein the motor model is used to describe the dynamic behavior of motor parameters of the target motor, and the motor parameters include at least inductance, resistance, torque and speed parameters; Performing small signal analysis on the target motor according to the motor model, analyzing the frequency response characteristics of the target motor under a small disturbance, and obtaining a linearized transfer function and frequency response data of the target motor; According to the linearized transfer function and frequency response data of the target motor, a multivariable cost function is constructed, and a preset optimization algorithm is used to globally optimize the multivariable cost function to obtain control parameters of the target motor; According to the control parameters, a proportional-integral controller is configured, and the proportional-integral controller is combined with a preset auto-disturbance rejection control strategy to generate a hybrid control strategy; the configuration of the proportional-integral controller according to the control parameters, and the combination of the proportional-integral controller with a preset auto-disturbance rejection control to generate a hybrid control strategy includes: determining a proportional coefficient and an integral coefficient of the proportional-integral controller according to the control parameters, and configuring the proportional-integral controller according to the proportional coefficient and the integral coefficient; initializing a preset auto-disturbance rejection control strategy, and simulating the corresponding integration effect when the auto-disturbance rejection control strategy and the proportional-integral controller are integrated through a plurality of preset integration structures; selecting an optimal integration structure according to the integration effect, and integrating the auto-disturbance rejection control strategy and the proportional-integral controller according to the optimal integration structure to generate a hybrid control strategy; The real-time operation data and external disturbance data of the target motor are acquired, and the strategy parameters of the hybrid control strategy are adjusted according to the real-time operation data and the external disturbance, and the adjusted hybrid control strategy is obtained and implemented to realize intelligent control of the target motor.
2. The intelligent control method of a permanent magnet synchronous motor according to claim 1, characterized in that: The performing small signal analysis on the target motor according to the motor model, analyzing the frequency response characteristics of the target motor under a small disturbance, and obtaining the linearized transfer function and frequency response data of the target motor includes: Selecting a small signal analysis tool and a small disturbance simulation strategy corresponding to the target motor according to the motor model; Applying a small electrical or mechanical disturbance to the motor model of the target motor according to the simulation strategy, and collecting response data of the motor under the disturbance, wherein the response data at least includes a change in any one of voltage, current, speed and torque; Analyzing the response data, extracting key frequency components in the motor model according to the response data, and quantitatively describing frequency response data of the target motor according to the key frequency components; The frequency response data is processed to construct a linear transfer function of the target motor.
3. The intelligent control method of a permanent magnet synchronous motor according to claim 1, characterized in that: The multivariable cost function is constructed according to the linearized transfer function and frequency response data of the target motor, and the multivariable cost function is globally optimized using a preset optimization algorithm to obtain the control parameters of the target motor, including: Evaluating the performance parameters of the target motor under a preset disturbance condition according to the linearized transfer function and frequency response data of the target motor; Constructing a multivariable cost function of the target motor according to the performance parameters, and assigning weights to the variables in the multivariable cost function to obtain a weight value of each variable in the multivariable cost function; The multivariable cost function is iteratively optimized according to the weight value of each variable in the multivariable cost function using a preset optimization algorithm to obtain an optimal solution of the multivariable cost function, and the control parameters of the target motor are determined according to the optimal solution.
4. The intelligent control method of a permanent magnet synchronous motor according to claim 3, characterized in that: The optimization algorithm is a genetic algorithm. The preset optimization algorithm is used to iteratively optimize the multivariable cost function according to the weight value of each variable in the multivariable cost function to obtain the optimal solution of the multivariable cost function, and the control parameters of the target motor are determined according to the optimal solution. Initializing an initial population of the genetic algorithm and using the initial population as a target population, wherein each individual in the initial population represents a control parameter of a target motor; Calculating the fitness value of each individual in the target population according to the weight value of each variable in the multivariate cost function by the genetic algorithm; Performing a selection operation on each individual in the target population according to the fitness value to obtain an optimized population, and performing crossover and mutation operations on the optimized population; The optimized population after performing the crossover and mutation operations is updated as the target population, and the step of calculating the fitness value of each individual in the target population according to the weight value of each variable in the multivariate cost function by the genetic algorithm is returned until the iteration termination condition is met; When the iteration termination condition is met, the individual with the highest total fitness value in the target population is decoded as the optimal solution to obtain the control parameters of the target motor.
5. The intelligent control method of a permanent magnet synchronous motor according to claim 1, characterized in that: The multiple integration structures include a parallel integration structure and a serial integration structure; The initialization of the preset active disturbance rejection control strategy and the simulation of the integration effect of the active disturbance rejection control strategy and the proportional integral controller through the preset multiple integration structures include: Initializing a preset active disturbance rejection control strategy, and respectively determining the first output and the second output of the active disturbance rejection control strategy and the proportional integral controller through a parallel integration structure among the multiple integration structures, and performing weighted calculation on the first output and the second output to obtain an integration effect corresponding to the parallel integration structure; Determine the third output of the proportional-integral controller through a serial integration structure among the multiple integration structures, and use the third output as an input of the active disturbance rejection control strategy to obtain a fourth output, and obtain the integration effect corresponding to the serial integration structure according to the fourth output; The integration effect corresponding to the parallel integration structure and the integration effect corresponding to the serial integration structure are compared to obtain a comparison result, an optimal integration structure is selected according to the comparison result, and the active disturbance rejection control strategy and the proportional integral controller are integrated according to the optimal integration structure to generate a hybrid control strategy.
6. The intelligent control method of a permanent magnet synchronous motor according to claim 1, characterized in that: The step of acquiring the real-time operation data and external disturbance data of the target motor, adjusting the strategy parameters of the hybrid control strategy according to the real-time operation data and the external disturbance, obtaining and implementing the adjusted hybrid control strategy to realize the intelligent control of the target motor includes: Acquiring real-time operation data and external disturbance data of the target motor, and analyzing and processing the real-time operation data and external disturbance data to obtain key performance indicators and disturbance indicators; Determining and adjusting the strategy parameters to be adjusted in the hybrid control strategy according to the key performance indicators and the disturbance indicators; The adjusted strategy parameters are applied to the hybrid control strategy, the configurations of the proportional-integral controller and the anti-disturbance rejection control strategy in the hybrid control strategy are updated to obtain the adjusted hybrid control strategy, and the adjusted hybrid control strategy is implemented to realize intelligent control of the target motor.
7. An intelligent control device for a permanent magnet synchronous motor, characterized in that: The intelligent control device of the permanent magnet synchronous motor comprises: A modeling module, used for modeling a target motor and establishing a motor model of the target motor, wherein the motor model is used for describing the dynamic behavior of motor parameters of the target motor, and the motor parameters at least include inductance, resistance, torque and speed parameters; A small signal analysis module, used to perform small signal analysis on the target motor according to the motor model, analyze the frequency response characteristics of the target motor under small disturbances, and obtain the linearized transfer function and frequency response data of the target motor; A function optimization module, used to construct a multivariable cost function according to the linearized transfer function and frequency response data of the target motor, and globally optimize the multivariable cost function using a preset optimization algorithm to obtain control parameters of the target motor; A hybrid module, configured to configure a proportional-integral controller according to the control parameters, and combine the proportional-integral controller with a preset auto-disturbance rejection control strategy to generate a hybrid control strategy; the configuring the proportional-integral controller according to the control parameters, and combining the proportional-integral controller with a preset auto-disturbance rejection control strategy to generate a hybrid control strategy includes: determining a proportional coefficient and an integral coefficient of the proportional-integral controller according to the control parameters, and configuring the proportional-integral controller according to the proportional coefficient and the integral coefficient; initializing a preset auto-disturbance rejection control strategy, and simulating a corresponding integration effect when the auto-disturbance rejection control strategy and the proportional-integral controller are integrated through a plurality of preset integration structures; selecting an optimal integration structure according to the integration effect, and integrating the auto-disturbance rejection control strategy and the proportional-integral controller according to the optimal integration structure to generate a hybrid control strategy; An adjustment module is used to obtain real-time operation data and external disturbance data of the target motor, and adjust the strategy parameters of the hybrid control strategy according to the real-time operation data and external disturbance, obtain and implement the adjusted hybrid control strategy to achieve intelligent control of the target motor.
8. An intelligent control device for a permanent magnet synchronous motor, characterized in that: The intelligent control device of the permanent magnet synchronous motor comprises: a memory and at least one processor, wherein the memory stores instructions; The at least one processor calls the instructions in the memory so that the intelligent control device of the permanent magnet synchronous motor executes the steps of the intelligent control method of the permanent magnet synchronous motor as described in any one of claims 1-6.
9. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the steps of the intelligent control method of the permanent magnet synchronous motor as described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Active disturbance rejection control method of direct-driven permanent magnet synchronization wind power system
CN103138672A
Brush direct current motor control method
CN116208035A
Isolated current control method suitable for non-salient pole multi-phase permanent magnet synchronous motor
CN116388623A
Fractional order control method for fractional order phase-shifted full-bridge converter of power electronic transformer
CN117335667A
Motor drive
US20210288601A1
