Permanent magnet synchronous motor parameter identification method based on event triggering

Through the parameter identification method based on event triggering and the improved artificial bee colony algorithm based on social identity theory, the problem of model inaccuracy caused by parameter changes of permanent magnet synchronous motors is solved, the computational burden is reduced, and the control performance and robustness are improved.

CN118763940APending Publication Date: 2024-10-11BEIJING INST OF TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410764745.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Changes in permanent magnet synchronous motor parameters lead to inaccurate prediction models of model predictive control, reducing control performance. Moreover, traditional parameter identification methods are computationally intensive and difficult to effectively reduce the computational burden of the system in practical applications.

Method used

The parameter identification method based on event triggering is adopted, and the synovial membrane disturbance observer is used for disturbance observation and feed-forward compensation. Parameter identification is only performed when the system state violates the event triggering conditions, and the artificial bee colony algorithm improved by the social identity theory is used for parameter identification. , reduce the computational burden and improve the identification accuracy.

Benefits of technology

It effectively reduces the computational burden of the system, ensures the accuracy of model parameters, enhances the robustness and adaptability of the system, improves control performance, and reduces the impact of parameter changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118763940A_ABST
    Figure CN118763940A_ABST
Patent Text Reader

Abstract

The invention provides a parameter identification method for a permanent magnet synchronous motor, and the method comprises the steps: obtaining the real values of stator current and voltage at a current moment under a two-phase rotating coordinate system according to the operation data of the permanent magnet synchronous motor; the stator current estimation value at the current moment is calculated by using the stator current and voltage true values at the previous moment and the previous parameter identification result; calculating a comprehensive error between a stator current estimation value and a real value at the current moment; if the comprehensive error exceeds the event triggering condition updated at the moment of the last triggering event, judging the triggering event, performing parameter identification on the permanent magnet synchronous motor, and updating the event triggering condition as follows; otherwise, keeping the last parameter identification result. According to the method, adverse effects caused by uncertainty of a model in finite set model prediction control and large calculation amount in an identification process can be effectively solved through an event triggering mechanism, and the control performance of a permanent magnet synchronous motor servo system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of motor control, and in particular to a parameter identification method of a permanent magnet synchronous motor. Background Art

[0002] With the rapid development of motor manufacturing and materials, the permanent magnet synchronous motor (PMSM) with permanent magnet as rotor stands out among many motors with its advantages of high efficiency, high power factor and simple structure, and is widely used in my country's manufacturing industry (such as transportation, metallurgy, aerospace, etc.). In response to this, many motor control algorithms have been proposed one after another. Model Predictive Control (MPC) uses system models to predict future changes in system state variables and selects the optimal operation according to pre-set rules. It has the characteristics of simple implementation, fast dynamic response, multi-objective control, and easy handling of nonlinear constraints. Therefore, it has received more and more attention and research in recent years.

[0003] The model predictive control algorithm relies on an accurate model of the system, but in actual applications, the motor parameters of the permanent magnet synchronous motor are not constant. For example, temperature rise will cause resistance changes, magnetic circuit saturation will affect the inductance of the motor, and permanent magnet demagnetization will cause permanent magnet flux parameters to change. These changes in motor parameters will inevitably lead to inaccurate MPC prediction models, thereby reducing control performance. Therefore, solving the uncertainty problem of permanent magnet synchronous motor parameters and improving the robustness of the control algorithm have always attracted the attention of scholars.

[0004] The online identification of permanent magnet synchronous motor parameters has always been a hot topic for many researchers at home and abroad. The main focus is on how to find the optimal parameter identification convergence algorithm to obtain higher identification accuracy, or to apply the parameter identification link in the field of related motor control algorithms to reduce the degree of influence of controller parameters on the change, thereby improving the motor control performance. Commonly used parameter identification methods include least squares and its derivative algorithms, model reference adaptive algorithms, extended Kalman filter algorithms, and artificial intelligence algorithms. In recent years, artificial intelligence algorithms have shown excellent optimization performance in the nonlinear model of PMSM, and have also received extensive attention from many scholars, including neural network methods, genetic algorithms, ant colony algorithms, particle swarm algorithms, etc. However, the problem of excessive computational complexity of intelligent algorithms has become an obstacle in practical applications. The introduction of event-triggered mechanism (ET) can overcome this problem and reduce the computational burden brought by intelligent algorithms.

[0005] In the traditional parameter identification strategy, the sampling and identification actions are repeatedly triggered and updated within a fixed time period. This trigger mechanism is called a time trigger mechanism. This trigger mechanism is helpful for system performance analysis, and in order to obtain the expected performance, the sampling and control actions are frequently updated. However, when the closed-loop system is in an ideal working condition or a stable state, the update of the system parameters does not need to be frequent and periodic; only when a major event occurs in the control process should the system parameter identification and the update of the system model parameters be triggered, which is an event-based trigger mechanism. Compared with the traditional time-triggered control scheme with a fixed sampling period, the significant feature of the event trigger mechanism is that the update time of the system model parameters depends on the measured value of the system state and the predetermined event trigger condition that is closely related to the performance. If the event trigger condition is violated, it means that the current system measurement value exceeds a certain threshold, then parameter identification should be performed and the system model parameters should be updated; otherwise, the previous system state will be maintained. Considering the event trigger caused by the possible disturbance signal, the unknown disturbance is observed by constructing a synovial disturbance observer and compensated by feedforward. This means that the identification algorithm only occupies computing resources when the measured value of the system state violates the event triggering condition, that is, the parameter mismatch exceeds expectations, which greatly reduces the computational burden of the system. Summary of the invention

[0006] In view of this, the present invention provides a parameter identification method for a permanent magnet synchronous motor, which can effectively solve the uncertainty of the model in the finite set model predictive control and the adverse effects caused by the large amount of calculation in the identification process, and improve the control performance of the permanent magnet synchronous motor servo system.

[0007] In order to solve the above technical problems, the present invention is implemented as follows.

[0008] A permanent magnet synchronous motor parameter identification method based on event triggering, comprising:

[0009] Step 1: During the operation of the permanent magnet synchronous motor based on model predictive control, disturbance observation is performed through a synovial disturbance observer, and feedforward compensation is performed to eliminate the change in motor performance caused by the disturbance;

[0010] Step 2: According to the operation data of the permanent magnet synchronous motor, the real value i of the stator current at the current time kTs in the two-phase rotating coordinate system is obtained. d (kT s ),i q (kT s ) and the true value of the stator voltage u d (kT s ),u q (kT s );Use the real value of stator current i at the last moment (k-1)Ts d ((k-1)Ts ),i q ((k-1)T s ), the true value of stator voltage u d ((k-1)T s ),u q ((k-1)T s ) and the last parameter identification result, calculate the estimated value of the stator current kTs at the current moment

[0011] Step 3: Calculate the current time kT s Stator current estimate With the true value i d (kT s ),i q (kT s )’s comprehensive error E;

[0012] Step 4: Determine whether the comprehensive error E exceeds the event trigger condition BC (k0T) updated at the last trigger event time k0. s ); if yes, then determine the trigger event, perform parameter identification on the permanent magnet synchronous motor, and recalculate using the new parameter identification results And use formula (1) to update the event trigger condition to BC(kT s ), execute step 5; otherwise, determine that the event is not triggered, keep the last parameter identification result, and repeat steps 1 to 4;

[0013]

[0014] In the formula, λ -1 is the adjustment factor, a is a positive constant, p is a positive constant; T s is the sampling period, ||·|| means taking the second norm;

[0015] Step 5: Update the permanent magnet synchronous motor model according to the identification results, and repeat steps 1 to 4.

[0016] Preferably, in step 2, the actual value i of the stator current at the current moment kTs in the two-phase rotating coordinate system is obtained according to the operating data of the permanent magnet synchronous motor. d (kT s ),i q (kT s ) and the true value of the stator voltage u d (kT s ),u q (kT s )for:

[0017] Get the data of the permanent magnet synchronous motor in the three-phase stationary coordinate system, including the input three-phase voltage u A ,uB ,u C , three-phase current i A ,i B ,i C and the rotor electrical angle θ e ; Through coordinate transformation, the data in the three-phase stationary coordinate system is converted into data in the two-phase rotating coordinate system, including the true value i of the stator current at the current time kTs d (kT s ),i q (kT s ) and the true value of the stator voltage u d (kT s ),u q (kT s );The coordinate transformation is:

[0018]

[0019] In the formula, f A ,f B ,f C represents the three-phase voltage or three-phase current before the coordinates change; f d ,f q Represents the true value of the stator current after coordinate transformation i d (kT s ),i q (kT s ) or the true value of the stator voltage u d (kT s ),u q (kT s );θ e is the rotor electrical angle.

[0020] Preferably, the current time kT s Stator current estimate The calculation formula is:

[0021]

[0022] In the formula, R s is the stator resistance, ω e is the rotor electrical angular velocity calculated based on the rotor electrical angle, and They are the estimated values ​​of permanent magnet flux linkage and stator inductance respectively, which are the parameter identification objects; in step 2, calculate When the identification parameters in formula (2) use the parameter identification results of the last trigger event; Step 4 recalculates When , the identification parameters in formula (2) adopt the parameter identification results of step 4.

[0023] Preferably, in step 3, the calculation of the current time kT s Stator current estimate With the true value i d (kT s ),i q (kT s ) is:

[0024]

[0025] Preferably, in step 4, the parameter identification of the permanent magnet synchronous motor is: taking the operation data of the permanent magnet synchronous motor as input, and identifying the motor parameters by using an artificial bee colony algorithm;

[0026] The input of the artificial bee colony algorithm is the true value of the stator current at the current moment i d (kT s ),i q (kT s ), the real value of the stator current at the previous moment i d ((k-1)T s ),i q ((k-1)T s ), the real value of the stator voltage at the previous moment u d ((k-1)T s ),u q ((k-1)T s ) and the rotor electrical angular velocity w e ; The output of the artificial bee colony algorithm is the estimated value of the permanent magnet flux and estimated stator inductance

[0027] Preferably, the artificial bee colony algorithm adopts an artificial bee colony algorithm improved by social identity theory; in the step of updating the nectar source, the artificial bee colony algorithm improved by social identity theory adds the consideration of the individual with the highest social trust, and improves the new nectar source confirmation formula; the improved new nectar source confirmation formula is:

[0028]

[0029] in, is the new nectar source selected by individual i, the leader bee, x id is the current nectar source selected by individual i, x jd The current nectar source selected for individual j, individual j is an individual other than individual i, x kd The current nectar source selected by individual k with the highest recognition, R k is the recognition degree of individual k; α is the acceleration coefficient, is a random number uniformly distributed between -1 and 1.

[0030] Preferably, in the improved new nectar source confirmation formula, the recognition degree R of individual k is k The social approval of individual k is used; the calculation method of social approval is:

[0031] For individual i, if the fitness of the new nectar source obtained by leading other individuals is better than the original nectar source, then individual i is recognized by another individual during this iteration, and the recognition obtained by individual i in this iteration is:

[0032]

[0033] Among them, N is the number of times individual i participated in leading in this iteration, and M is the number of times individual i was recognized in all the leadings he participated in in this iteration;

[0034] The social recognition of individual i in this iteration The recognition degree R of individual i in this iteration i Compared with the social recognition of individual i in the previous iteration The calculation formula is:

[0035]

[0036] Among them, γ is the weight coefficient;

[0037] When confirming a new nectar source, the recognition degree R of the individual k k Using the social approval of individual k

[0038] Preferably, the weight coefficient γ is 0.5.

[0039] Beneficial effects:

[0040] (1) The present invention proposes a parameter identification method based on event triggering. On the basis of parameter identification, an event triggering condition is set. Parameter identification is performed only when the operating data exceeds the event triggering condition during operation. The original model parameters are maintained at all other times. Event-triggered parameter identification reduces the computational burden of the system while ensuring the accuracy of the prediction model parameters.

[0041] Moreover, in order to cooperate with the use of the event trigger condition, the present invention takes into account that the disturbances during the operation of the motor are mainly caused by changes in the internal mechanical parameters of the motor and changes in the external load. In order to avoid this part causing the trigger condition, a disturbance observer is used to observe the external disturbance in real time, and the observation value is compensated to the input.

[0042] (2) The present invention performs online parameter identification based on operating data during the operation of the motor, ensuring that system parameters are updated in a timely manner when conditions change during operation due to temperature rise, magnetic circuit saturation, etc., thereby avoiding the impact of model inaccuracy on system control and enhancing the robustness of the system, making it more reliable and adaptable to a variety of operating conditions.

[0043] (3) With motor operation data including voltage, current, and electrical angular velocity as input and motor prediction model parameters as output, the motor parameter identification problem is transformed into an optimization problem. The artificial bee colony algorithm is used to replace the traditional parameter identification algorithm, which simplifies the implementation process of parameter identification and enhances the global search capability for solutions.

[0044] (4) Inspired by the theory of social identity and considering that a bee colony is also a social group, the present invention proposes an artificial bee colony algorithm improved by the social identity theory. On the basis of the original artificial bee colony algorithm, the information of the individual with the highest degree of trust is added, and the information exchange and guidance of the dominant individuals of the artificial bee colony are strengthened. Compared with the original artificial bee colony algorithm in which each individual is independent of each other and the process of finding a solution (honey source) is a random movement, after the present invention adds the concept of trust, each individual can know the position of the individual with the highest degree of trust at present, and the entire group has a movement trend towards a better solution, which is equivalent to a leader leading the group to move. Based on the advantages of the artificial bee colony algorithm with a simple structure and strong global search ability, the local search ability of the algorithm is further strengthened, thereby accelerating the convergence speed of the solution. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 This is a flow chart of the permanent magnet synchronous motor parameter identification method based on event triggering of the present invention.

[0046] Figure 2 Schematic diagram of the artificial bee colony algorithm improved by the social identity theory of the present invention.

[0047] Figure 3 This is a schematic diagram of the control method of the present invention. DETAILED DESCRIPTION

[0048] The present invention is described in detail below with reference to the accompanying drawings and embodiments.

[0049] Considering that the research object of the present invention is a surface-mounted permanent magnet synchronous motor, its stator voltage equation, electromagnetic torque equation and mechanical motion equation in the synchronous rotating coordinate system can be expressed as

[0050]

[0051] Note: For surface mounted permanent magnet synchronous motors, the stator inductance satisfies L d =L q =L s .

[0052] Among them, u d ,u q Represent the d-axis and q-axis components of the stator voltage respectively, i d ,i q Represent the d-axis and q-axis components of the stator current, R s Represents the stator resistance, L s represents the stator inductance, ψ f represents the permanent magnet flux, ω e ,ω m Represents the rotor electrical angular velocity and mechanical angular velocity, P n represents the number of pole pairs, T e ,T L They represent electromagnetic torque and load torque respectively, J represents the moment of inertia, and B represents the damping coefficient.

[0053] The stator current and stator voltage are represented as the state x and input u of the system, respectively, that is, The state space equation of the permanent magnet synchronous motor can be transformed into

[0054]

[0055] The adjustable model is

[0056]

[0057] The state variables is the real value of the collected current, are the estimated and true values ​​of the current change rate, are the true values ​​of the parameters A, B, and F in the controlled object model and t i First, the triggering conditions for event trigger parameter identification are determined by inputting them into the ISS theory.

[0058] Defining Error

[0059]

[0060] At t∈[t i ,t i+1 ), differentiate e(t) and bring the state variables into the differential equation, we have

[0061]

[0062] By scaling up through the properties of differentials, we can further

[0063]

[0064] Among them, in the finite set model predictive torque control, exist a, b, c are all positive numbers and need to be selected according to the actual situation of the motor and different operating conditions. dc is the bus voltage,

[0065] Combining simulation and experimental debugging and identification, the permanent magnet synchronous motor parameter variation range used in this project is 0.5L s <L s <2L s ,0.5ψ f <ψ f <2ψ f ,therefore,

[0066] So there exists a bounded positive constant p such that

[0067]

[0068] make

[0069]

[0070] Rearranging the differential equation into the form of a first-order linear differential equation, we can get

[0071]

[0072] Solving the above equation, we can further obtain

[0073]

[0074] From this we can get

[0075]

[0076] Where n is the time t and t i The number of samples at a time, T s is the sampling time. Next, use the upper bound of ||e(t)|| to design the trigger condition.

[0077] According to the input-to-state stability (ISS) theory, if there is The control system has ||e||≤αγ for t>0 -1 ||x(t)||, then the system is input-state stable. Therefore When the system is input to the state stable, in order to more strictly ensure the stability of the system, n takes the minimum value 1, and further introduces the adjustment factor λ -1 Balance the regulation performance in the actual operation process. The range of the regulation factor is (0-1]. Adjust according to the required performance. When λ-1 The closer to 0, the faster the trigger, but the more computation is required. -1 The closer it is to 1, the slower the trigger is and the smaller the corresponding amount of calculation is.

[0078] The final trigger conditions are as follows:

[0079]

[0080] Transformed into discrete state expression:

[0081]

[0082] where k0T s The time point when the previous event was triggered.

[0083] The disturbances in the operation of the motor are mainly caused by changes in the internal mechanical parameters of the motor and changes in the external load. To avoid the triggering conditions caused by this part, a disturbance observer is used to observe the external disturbance in real time and compensate the observed value into the input.

[0084] The state equations constructed with the motor mechanical angular velocity and system disturbance as state variables are:

[0085]

[0086] Where d is the disturbance. According to this equation, the synovial state observer is constructed.

[0087]

[0088] in is the estimated value of the speed and disturbance, u smo is the synovial control function, g is the feedback coefficient, k smo For synovial gain.

[0089] make According to Lyapunov's stability theorem, the disturbance observer must meet the sliding mode arrival condition:

[0090]

[0091] Right now At this time, the state variable is stable on the sliding surface, then

[0092]

[0093] have Solving this equation we have

[0094] e d =e -gt (C+∫re gt dt)

[0095] Where C is a constant and t is time. Only g>0 is needed to ensure that the error converges to 0, and the convergence speed is related to g. After obtaining the disturbance observation value, it will be used as input through the feedforward coefficient to compensate for the disturbance.

[0096] When the state error exceeds the event triggering condition, the artificial bee colony algorithm improved by social identity theory (SIT-ABC) is used to identify the parameters. The method is as follows:

[0097] The state space equation of the adjustable model of the permanent magnet synchronous motor in the two-phase rotating coordinate system is converted into a discrete form

[0098]

[0099] The above formula can also be written as:

[0100]

[0101] Among them, kT s represents the current time, (k-1)T s ,(k+1)T s Indicates the previous moment and the next moment, T s represents the sampling period, k represents the kth period, R s is the stator resistance, ω e According to the rotor electrical angle θ e The rotor electrical angular velocity is calculated by derivation. The rotor electrical angular velocity ω at the previous moment is used in the above formula 2. e ((k-1)T s ), and They are respectively the estimated value of permanent magnet flux linkage and the estimated value of stator inductance obtained by parameter identification during the last trigger event;

[0102] The parameter identification problem is transformed into the following optimization problem:

[0103]

[0104] The voltage and current u at the two moments before and after d ((k-1)T s )、u q ((k-1)T s ),i d ((k-1)T s ),i q ((k-1)T s ),i d (kT s ),i q (kT s ) and the rotor electrical angular velocity ω eInput into the artificial bee colony algorithm and transform the problem into an optimization problem minf(x), where It is also the output of the artificial bee colony algorithm, i.e., the identification parameter. f(x) is also the fitness function in the artificial bee colony algorithm.

[0105] The present invention also improves the artificial bee colony algorithm. The artificial bee colony algorithm is simple in operation and has good exploration ability, but the local optimization ability is weak and the convergence speed is slow. Considering this problem, inspired by the social identity theory, an artificial bee colony algorithm improved by the social identity theory is proposed. As a high-level self-organizing and adaptive system, society has a self-learning function and widely exists complex information exchange and feedback mechanisms. Different individual opinions are propagated within the decision-making group under the influence of other individuals' information interaction, and there are phenomena of consistency, polarization and division with other opinions, thereby driving the evolution of group opinions. This information propagation mechanism can make up for the limitation that the new solution in the artificial bee colony algorithm is only based on its parent solution, which is also the reason for the slow convergence speed. The artificial bee colony is regarded as a social group, and each leading bee is regarded as a social member. A social recognition model of each leading bee is established. In the process of exploring the new solution, each individual will trust the leading bee individual with high recognition more, that is, the exploration trend of the entire group is guided by the leading bee with high recognition, so as to ensure a faster convergence speed.

[0106] The artificial bee colony algorithm improved by social identity theory is as follows: Figure 2 As shown:

[0107] 1. Initialization of honey source / leading bee, the initial value is

[0108] x id =D d +rand(0,1)(U d -D d )

[0109] In the above formula, x id is the parameter to be identified, i represents individual i; D d , U d are the lower and upper bounds of the parameter to be identified, respectively; d represents the dimension of the parameter to be identified, which is 2 here; rand(0,1) is a random number between 0 and 1. The initial social recognition R of each leader bee is 0. The social recognition R described here is a new definition introduced by the present invention, and the range of social recognition R is [0,1], where the higher the value, the higher the trust.

[0110] 2. Update nectar sources and calculate social recognition of leading bees.

[0111] The invention guides bees to search for a new nectar source around the nectar source. The invention adopts the idea of ​​extreme value guidance in the conventional nectar source determination formula. The consideration of the nectar source with the highest social recognition has been added.

[0112]

[0113] in, is the new nectar source selected by individual i, the leader bee, x id is the current nectar source selected by individual i, x jd The current nectar source selected for individual j, individual j is an individual other than individual i, x kd The current nectar source selected by individual k with the highest social recognition, R k is the social recognition of individual k; α is the acceleration coefficient, which is 1 here; is a random number uniformly distributed between [-1,1], which determines the degree of disturbance.

[0114] When the fitness of the new nectar source found is better than the original nectar source, the better nectar source is selected to replace the original nectar source. For individual i, if the fitness of the new nectar source obtained by leading other individuals is better than the original nectar source, then individual i is recognized by another individual during this iteration, and the recognition obtained by individual i in this iteration is:

[0115]

[0116] Where N is the number of times individual i participated in leading in this iteration, and M is the number of times individual i was recognized in all the leadings he participated in in this iteration.

[0117] The social recognition of individual i in this iteration The recognition degree R of individual i in this iteration i Compared with the social recognition of individual i in the previous iteration The calculation formula is:

[0118]

[0119] Where γ is the weight coefficient, which is 0.5 here.

[0120] When confirming a new nectar source, the recognition degree R of the individual k k Using the social approval of individual k

[0121] 3. The rule is to calculate the probability of a follower bee choosing a leader bee based on the roulette wheel.

[0122]

[0123] Among them, p i is the probability of individual i being selected, f i represents the fitness of individual i, and n represents the number of leading bees.

[0124] 4. Generate scout bees. During the search process, if a nectar source has not been updated to a better nectar source after reaching the threshold L after trial iterations, the nectar source will be abandoned. The scout bees will lead to find a new nectar source to expand the search area and avoid falling into the local optimum. New nectar source location:

[0125] x id =D d +rand(0,1)(U d -D d )(trial>L)

[0126] 5. Obtain a solution that meets the requirements or reach the maximum number of iterations.

[0127] According to the above analysis, if Figure 1 As shown, the permanent magnet synchronous motor parameter identification method based on event triggering provided by the present invention includes the following steps:

[0128] Step 1: During the operation of the permanent magnet synchronous motor based on model predictive control, disturbance observation is performed through a synovial disturbance observer, and feedforward compensation is performed to eliminate the change in motor performance caused by the disturbance.

[0129] Step 2: According to the operation data of the permanent magnet synchronous motor, the real value i of the stator current at the current time kTs in the two-phase rotating coordinate system is obtained. d (kT s ),i q (kT s ) and the true value of the stator voltage u d (kT s ),u q (kT s );Use the real value of stator current i at the last moment (k-1)Ts d ((k-1)T s ),i q ((k-1)T s ) and the true value of the stator voltage u d ((k-1)T s ),u q ((k-1)T s ), calculate the estimated value of stator current kTs at the current moment

[0130] This step includes the following sub-steps:

[0131] Step S21: Obtain data of the permanent magnet synchronous motor in the three-phase stationary coordinate system, including the input three-phase voltage u A ,u B ,u C , three-phase current iA ,i B ,i C and the rotor electrical angle θ e .

[0132] Step S22: Convert the data in the three-phase stationary coordinate system into the data in the two-phase rotating coordinate system through coordinate transformation, including the real value i of the stator current at the current time kTs d (kT s ),i q (kT s ) and the true value of the stator voltage u d (kT s ),u q (kT s );The coordinate transformation is:

[0133]

[0134] In the formula, f A ,f B ,f C represents the three-phase voltage or three-phase current before the coordinates change; f d ,f q Represents the true value of the stator current after coordinate transformation i d (kT s ),i q (kT s ) or the true value of the stator voltage u d (kT s ),u q (kT s );θ e is the rotor electrical angle.

[0135] Step S23: The following formula is used to calculate the current time kT s Stator current estimate

[0136]

[0137] In the formula, R s is the stator resistance, ω e is the rotor electrical angular velocity calculated based on the rotor electrical angle, and are the estimated values ​​of permanent magnet flux and stator inductance, respectively, which are the parameter identification objects. hour, and The permanent magnet flux linkage estimate and stator inductance estimate obtained by parameter identification during the last trigger event are used.

[0138] Step 3: Calculate the current time kTs Stator current estimate With the true value i d (kT s ),i q (kT s )’s comprehensive error E.

[0139] In this step, the calculation formula of the comprehensive error E is:

[0140]

[0141] Step 4: Determine whether the comprehensive error E exceeds the event trigger condition BC (k0T) updated when the last trigger event was triggered. s ); if yes, then determine the trigger event, perform parameter identification on the permanent magnet synchronous motor, and recalculate using the new parameter identification results And use formula (1) to update the event trigger condition to BC(kT s ), execute step 5; otherwise, determine that the event is not triggered, keep the last parameter identification result, and repeat steps 1 to 4;

[0142]

[0143] In the formula, λ -1 is the adjustment factor, a is a positive constant, p is a positive constant; T s is the sampling period, and ||·|| represents the binary norm. The calculation of formula (1) requires the use of Formula (2) is still used for calculation here, but the identification parameters in formula (2) are the new identification parameters obtained by re-identifying the parameters in step 4.

[0144] Next, the operating data of the permanent magnet synchronous motor is used as input, and the motor parameters are identified using the artificial bee colony algorithm. The input of the artificial bee colony algorithm is the true value of the stator current at the current moment i d (kT s ),i q (kT s ), the real value of the stator current at the previous moment i d ((k-1)T s ),i q ((k-1)T s ), the real value of the stator voltage at the previous moment u d ((k-1)T s ),u q ((k-1)T s ) and the rotor electrical angular velocity w e Here w e You can choose a steady-state electrical angular velocity, preferably the electrical angular velocity w calculated using the collected electrical angle at the last momente ((k-1)T s ), which is real-time data; the output of the artificial bee colony algorithm is the estimated value of the permanent magnet flux and estimated stator inductance

[0145] The artificial bee colony algorithm adopts the artificial bee colony algorithm improved by the aforementioned social identity theory. This algorithm mainly adds the consideration of the individual with the highest social trust in the step of nectar source update, and improves the new nectar source confirmation formula; the improved new nectar source confirmation formula is:

[0146]

[0147] in, is the new nectar source selected by individual i, the leader bee, x id is the current nectar source selected by individual i, x jd The current nectar source selected for individual j, individual j is an individual other than individual i, x kd The current nectar source selected by individual k with the highest recognition, R k is the recognition degree of individual k; α is the acceleration coefficient, is a random number uniformly distributed between -1 and 1.

[0148] Among them, R k Adopt social recognition. The social recognition of individual i in this iteration The recognition degree R of individual i in this iteration i Compared with the social recognition of individual i in the previous iteration Obtained by weighted calculation.

[0149] Step 5: Update the permanent magnet synchronous motor model according to the identification results, and repeat steps 1 to 4.

[0150] Figure 3 The present invention is shown in the position of the permanent magnet synchronous motor control system. Among them, steps S21 and S22 correspond to Figure 3 The coordinate transformation module in Figure 3 The ET-SIT-ABC module completes S23, steps 3-5, and its execution process is as follows Figure 1 , ASR is the speed controller, PI controller is commonly used, the sliding film observer SMO completes the disturbance observation and feedforward compensation in step one, the cost function and the prediction model complete the selection of the optimal vector in the model predictive control, and realizes the permanent magnet synchronous motor servo drive control.

[0151] The above specific embodiments only describe the design principle of the present invention. The shapes and names of the components in the description may be different and are not limited. Therefore, those skilled in the art in the field of the present invention may modify or replace the technical solutions recorded in the above embodiments; and these modifications and replacements do not deviate from the creative purpose and technical solutions of the present invention and should all fall within the protection scope of the present invention.

Claims

1. A method for identifying parameters of a permanent magnet synchronous motor based on event triggering, characterized in that: include: Step 1: During the operation of the permanent magnet synchronous motor based on model predictive control, disturbance observation is performed through a synovial disturbance observer, and feedforward compensation is performed to eliminate the change in motor performance caused by the disturbance; Step 2: According to the operation data of the permanent magnet synchronous motor, the real value i of the stator current at the current time kTs in the two-phase rotating coordinate system is obtained. d (kT s ),i q (kT s ) and the true value of the stator voltage u d (kT s ),u q (kT s );Use the real value of stator current i at the last moment (k-1)Ts d ((k-1)T s ),i q ((k-1)T s ), the true value of stator voltage u d ((k-1)T s ),u q ((k-1)T s ) and the last parameter identification result, calculate the estimated value of the stator current kTs at the current moment Step 3: Calculate the current time kT s Stator current estimate With the true value i d (kT s ),i q (kT s )’s comprehensive error E; Step 4: Determine whether the comprehensive error E exceeds the event trigger condition BC (k0T) updated at the last trigger event time k0. s ); if yes, then determine the trigger event, perform parameter identification on the permanent magnet synchronous motor, and recalculate using the new parameter identification results And use formula (1) to update the event trigger condition to BC(kT s ), execute step 5; otherwise, determine that the event is not triggered, keep the last parameter identification result, and repeat steps 1 to 4; In the formula, λ -1 is the adjustment factor, a is a positive constant, p is a positive constant; T s is the sampling period, ||·|| means taking the second norm; Step 5: Update the permanent magnet synchronous motor model according to the identification results, and repeat steps 1 to 4.

2. The method according to claim 1, characterized in that In step 2, the current time kT in the two-phase rotating coordinate system is obtained according to the operating data of the permanent magnet synchronous motor. s The true value of the stator current i d (kT s ),i q (kT s ) and the true value of the stator voltage u d (kT s ),u q (kT s )for: Get the data of the permanent magnet synchronous motor in the three-phase stationary coordinate system, including the input three-phase voltage u A ,u B ,u C , three-phase current i A ,i B ,i C and the rotor electrical angle θ e ; Through coordinate transformation, the data in the three-phase stationary coordinate system is converted into data in the two-phase rotating coordinate system, including the true value i of the stator current at the current time kTs d (kT s ),i q (kT s ) and the true value of the stator voltage u d (kT s ),u q (kT s );The coordinate transformation is: In the formula, f A ,f B ,f C represents the three-phase voltage or three-phase current before the coordinates change; f d ,f q Represents the true value of the stator current after coordinate transformation i d (kT s ),i q (kT s ) or the true value of the stator voltage u d (kT s ),u q (kT s );θ e is the rotor electrical angle.

3. The method according to claim 1, characterized in that Current time kT s Stator current estimate The calculation formula is: In the formula, R s is the stator resistance, ω e is the rotor electrical angular velocity calculated based on the rotor electrical angle, and They are the estimated values ​​of permanent magnet flux linkage and stator inductance respectively, which are the parameter identification objects; in step 2, calculate When the identification parameters in formula (2) use the parameter identification results of the last trigger event; Step 4 recalculates When , the identification parameters in formula (2) adopt the parameter identification results of step 4.

4. The method according to claim 1, characterized in that In step 3, the stator current estimate value kTs at the current moment is calculated With the true value i d (kT s ),i q (kT s ) is:

5. The method according to claim 1, characterized in that In step 4, the parameter identification of the permanent magnet synchronous motor is as follows: using the operation data of the permanent magnet synchronous motor as input, and using an artificial bee colony algorithm to identify the motor parameters; The input of the artificial bee colony algorithm is the true value of the stator current at the current moment i d (kT s ),i q (kT s ), the real value of the stator current at the previous moment i d ((k-1)T s ),i q ((k-1)T s ), the real value of the stator voltage at the previous moment u d ((k-1)T s ),u q ((k-1)T s ) and the rotor electrical angular velocity w e ; The output of the artificial bee colony algorithm is the estimated value of the permanent magnet flux and estimated stator inductance 6. The method according to claim 5, characterized in that The artificial bee colony algorithm adopts the artificial bee colony algorithm improved by social identity theory; in the step of updating the nectar source, the artificial bee colony algorithm improved by social identity theory adds the consideration of the individual with the highest social trust, and improves the new nectar source confirmation formula; the improved new nectar source confirmation formula is: in, is the new nectar source selected by individual i, the leader bee, x id is the current nectar source selected by individual i, x jd The current nectar source selected for individual j, individual j is an individual other than individual i, x kd The current nectar source selected by individual k with the highest recognition, R k is the recognition degree of individual k; α is the acceleration coefficient, is a random number uniformly distributed between -1 and 1.

7. The method according to claim 6, characterized in that In the improved new nectar source confirmation formula, the recognition degree R of individual k is k The social approval of individual k is used; the calculation method of social approval is: For individual i, if the fitness of the new nectar source obtained by leading other individuals is better than the original nectar source, then individual i is recognized by another individual during this iteration, and the recognition obtained by individual i in this iteration is: Among them, N is the number of times individual i participated in leading in this iteration, and M is the number of times individual i was recognized in all the leadings he participated in in this iteration; The social recognition of individual i in this iteration The recognition degree R of individual i in this iteration i Compared with the social recognition of individual i in the previous iteration The calculation formula is: Among them, γ is the weight coefficient; When confirming a new nectar source, the recognition degree R of the individual k k Using the social recognition R of individual k k n .

8. The method according to claim 7, characterized in that The weight coefficient γ is set to 0.5.

Citation Information

Cited By

  • High-precision parameter identification method for servo driver

    CN122639774A