Permanent magnet synchronous motor parameter online identification method, identification device and electronic equipment thereof
By using a gradient correction parameter estimation algorithm and a super-helical sliding mode observer in the parameter identification of permanent magnet synchronous motors, the gain parameter α of the identification system is adaptively adjusted, which solves the problems of large computational load and slow convergence speed, and achieves efficient parameter identification.
Patent Information
- Application Number
- CN202311449999.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-10-31
AI Technical Summary
Existing methods for identifying parameters of permanent magnet synchronous motors involve large computational loads and slow convergence speeds, leading to a decline in system control performance.
A gradient correction parameter estimation algorithm is used to construct a discrete identification model of the moment of inertia. An adjustable identification system gain parameter α is introduced, and the load torque is determined by combining a super-helical sliding mode observer. The convergence speed and accuracy are improved by adaptively adjusting the parameter α.
This reduces the computational load, improves the convergence speed and accuracy of parameter identification, and enhances the system's control performance.
Smart Images

Figure CN117240156B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of motor control technology, and more specifically, relates to an online parameter identification method, identification device, and electronic equipment for permanent magnet synchronous motors. Background Technology
[0002] With the increasing demand for high precision and high performance in industrial control, permanent magnet synchronous motors (PMSMs), as actuators, offer advantages such as high power density and high control accuracy, and are widely used in CNC machine tools, industrial robots, and radar and various weapon servo systems. Currently, industrial control of PMSMs primarily involves pre-setting the motor's electrical and mechanical parameters in the control system and employing vector control based on proportional-integral (PI) regulators. However, in practical applications, if the motor and drive system are from different manufacturers, operating conditions change, or the motor material degrades, significant deviations can occur between the actual and set parameters, drastically reducing the system's control performance. Therefore, to meet the demands of high-precision control, rapid and accurate identification of system parameters is of paramount importance.
[0003] The parameters in a motor drive system mainly include electrical and mechanical parameters. Mechanical parameters primarily include moment of inertia, coefficient of friction, and load torque, and are mainly used to optimize speed loop performance. Existing methods for mechanical parameter identification mainly include model reference adaptive methods, recursive least squares methods, and Kalman filtering methods. However, these methods involve large computational loads and slow convergence speeds. Summary of the Invention
[0004] In view of the above-mentioned defects or improvement needs of the existing technology, the present invention provides an online parameter identification method, identification device and electronic equipment for permanent magnet synchronous motors, the purpose of which is to reduce the amount of calculation and improve the convergence speed of parameter identification.
[0005] To achieve the above objectives, according to one aspect of the present invention, an online parameter identification method for a permanent magnet synchronous motor is provided, including online identification of the moment of inertia, specifically including:
[0006] Step S11: Obtain the discretized identification model of moment of inertia constructed using the gradient correction parameter estimation algorithm. The discretized identification model of moment of inertia introduces an adjustable identification system gain parameter α, which is a coefficient of the system input value in the gradient correction parameter estimation algorithm.
[0007] Step S12: Obtain the rotational inertia identification value based on the current rotational inertia discretization identification model. After obtaining the rotational inertia identification value at consecutive sampling times m+1, calculate and store the difference ΔJ between the rotational inertia identification value at the first sampling time and the m+1th sampling time, where m≥2.
[0008] Step S13: Update the adjustable identification system gain parameter α to The updated discretized identification model of the moment of inertia is obtained, where α max and α min ΔJ is the set maximum and minimum adaptive gain. max The maximum value of the stored difference ΔJ is used; proceed to step S12.
[0009] In one embodiment, in step S11, the discretization identification model of the moment of inertia is:
[0010]
[0011] y(k)=w r (k)-2w r (k-1)+w r (k-2)
[0012]
[0013] In the formula, T is the sampling period. Let be the identified value of the moment of inertia at the k-th sampling time, λ be a fixed identification system gain parameter, and T be... e (k), w r (k) represents the electromagnetic torque and the mechanical angular velocity of the motor at the kth sampling time.
[0014] In one embodiment, the minimum value α of the adaptive gain min The set interval is [0, 1], and the maximum value of the adaptive gain α max The set range is [10, 50].
[0015] In one embodiment, the value range of m is [10, 100].
[0016] In one embodiment, the method further includes: after obtaining the moment of inertia identification value, determining the load torque identification value based on the superhelical sliding mode observer;
[0017] The identification value of the load torque is determined based on the superhelical sliding mode observer, including:
[0018] Step S21: Substitute the identified moment of inertia value into the superhelical sliding mode observer, wherein the superhelical sliding mode observer is:
[0019]
[0020]
[0021] In the formula, T is the identification value for the moment of inertia. e Where B is the electromagnetic torque, and W is the coefficient of mechanical friction. r The mechanical angular velocity of the motor. This refers to the observed value of the mechanical angular velocity of the motor; for The first derivative of , where u and g are the sliding mode gain and feedback gain, respectively, and both are less than 0. The observed values of the system disturbance. for The first derivative of , where a is the set slope. For the defined boundary layer;
[0022] Step S22, based on the observed values of the system disturbance output by the superspiral sliding mode observer. Obtain the identification value of the load torque at the corresponding sampling time.
[0023] In one embodiment, the electromagnetic torque T e The calculation formula is:
[0024] T e =5P0ψi q
[0025] In the formula, i q P0 is the q-axis stator current, P0 is the number of motor pole pairs, and ψ is the permanent magnet flux linkage.
[0026] According to another aspect of the present invention, an online parameter identification device for a permanent magnet synchronous motor is provided, comprising:
[0027] The model building unit is used to construct an initial discretized identification model of rotational inertia using a gradient correction parameter estimation algorithm. The discretized identification model of rotational inertia includes an adjustable identification system gain parameter α.
[0028] The moment of inertia identification unit is used to obtain the moment of inertia identification value at each sampling time based on the current moment of inertia discretization identification model.
[0029] The model update unit is used to calculate and store the difference ΔJ between the identified moment of inertia at the first and mth sampling times after acquiring the identified moment of inertia values at m consecutive sampling times, and simultaneously update the adjustable identification system gain parameter α. The updated discretized identification model of the moment of inertia is obtained, where α max and α min ΔJ is the set maximum and minimum adaptive gain. max This is the maximum value of the stored difference ΔJ.
[0030] In one embodiment, it further includes:
[0031] The load torque identification unit is used to determine the identified value of the load torque based on the superspiral sliding mode observer after obtaining the identified value of the moment of inertia.
[0032] The superhelical sliding mode observer is:
[0033]
[0034]
[0035] In the formula, T is the identification value for the moment of inertia. e Where B is the electromagnetic torque, and W is the coefficient of mechanical friction. r The mechanical angular velocity of the motor. This refers to the observed value of the mechanical angular velocity of the motor; for The first derivative of , where u and g are the sliding mode gain and feedback gain, respectively, and both are less than 0. The observed values of the system disturbance. for The first derivative of , where a is the set slope. This is the boundary layer that is defined.
[0036] According to another aspect of the present invention, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method described above.
[0037] According to another aspect of the present invention, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described above.
[0038] In summary, compared with the prior art, the above-described technical solutions conceived by this invention can achieve the following beneficial effects:
[0039] This invention proposes an online parameter identification method for permanent magnet synchronous motors. When identifying the moment of inertia, an initial discretized identification model of the moment of inertia is constructed using a gradient correction parameter estimation algorithm. An adjustable identification system gain parameter α is introduced. During the identification process, based on a set parameter update algorithm, the adjustable identification system gain parameter α is adaptively adjusted according to the parameter identification results. When the difference between two identified values is large, it indicates that the current convergence is insufficient. Based on the parameter update algorithm, the adjustable identification system gain parameter α is adaptively increased to improve the convergence speed. When the difference between two identified values is small, it indicates that the current convergence has reached a certain level. Based on the parameter update algorithm, the adjustable identification system gain parameter α is adaptively decreased to improve the identification accuracy. Furthermore, based on this parameter update algorithm, the adjustment of the adjustable identification system gain parameter α is always within the set range [α]. min α max Within this range, the entire adjustment process becomes controllable. Simultaneously, during parameter adjustment, the adjustment step size is set to span m samples to reduce computational load and avoid adjustment deviations caused by errors in a single identification result. In summary, the parameter identification method of this invention balances computational load and adaptive effect, improving the accuracy and speed of system moment of inertia identification while reducing system computational load.
[0040] Furthermore, in one embodiment of the present invention, a minimum value α of the adaptive gain is set. min The set interval is [0, 1], and the maximum value of the adaptive gain α max The set range is [10, 50]. Within this range, both the accuracy of the identification results and the speed of the identification process can be taken into account.
[0041] Furthermore, in one embodiment of the present invention, the value range of m is set to [10, 100]. Within this range, the computational load caused by the change of system gain parameter is reduced, while ensuring the adaptive effect within a reasonable range is also guaranteed.
[0042] Furthermore, in one embodiment of the present invention, the identification value of the load torque is further determined by a designed super-helical sliding mode observer. The method is simple, and the design of the super-helical sliding mode observer takes into account system disturbances and introduces a novel saturation function sat(x), which weakens the chattering phenomenon caused by the discontinuity of the sign function, resulting in a large number of high-order harmonics in the system, and improves the observation accuracy of the observer. Attached Figure Description
[0043] Figure 1 This is a flowchart of the steps for identifying the moment of inertia in one embodiment of the present invention;
[0044] Figure 2 This is a flowchart of the load torque identification steps in one embodiment of the present invention;
[0045] Figure 3(a) is a simulation result of rotational inertia identification in one embodiment of the present invention;
[0046] Figure 3(b) is a magnified view of a portion of Figure 3(a);
[0047] Figure 4(a) is a simulation result diagram of the identification of the change in rotational inertia in one embodiment of the present invention;
[0048] Figure 4(b) is a magnified view of a portion of Figure 4(a);
[0049] Figure 5(a) is a simulation result of external load torque identification in one embodiment of the present invention;
[0050] Figure 5(b) is a magnified view of a portion of Figure 5(a);
[0051] Figure 6 The figure shows the simulation results of the rotational speed under no-load torque observation.
[0052] Figure 7 The figure shows the simulation results of the rotational speed when load torque observation is added. Detailed Implementation
[0053] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention. Furthermore, the technical features involved in the various embodiments of this invention described below can be combined with each other as long as they do not conflict with each other.
[0054] Example 1
[0055] like Figure 1 The diagram shows the steps of the online parameter identification method for permanent magnet synchronous motors, which include the following steps:
[0056] Step S11: Obtain the discretized identification model of moment of inertia constructed using the gradient correction parameter estimation algorithm. The discretized identification model of moment of inertia introduces an adjustable identification system gain parameter α, which is the coefficient of the system input value in the gradient correction parameter estimation algorithm.
[0057] The gradient correction parameter estimation algorithm has a specific formula form, namely:
[0058]
[0059] In the formula, Here, y(k) represents the parameter identification value, and y(k) represents the system output value. α and λ are the system input values, and α and λ are the identification system gain parameters.
[0060] This step requires constructing a rotational inertia identification model with the same formula form as above. The specific process for constructing the model can be as follows:
[0061] First, the motor operation equations are discretized.
[0062] The motor's operating equation is:
[0063]
[0064] In the formula, T e T is the electromagnetic torque. L Where B is the load torque, J is the coefficient of friction, and w is the moment of inertia. r This refers to the mechanical angular velocity of the motor. For w r The first derivative.
[0065] Among them, the mechanical angular velocity w of the motor r Electromagnetic torque T can be directly measured. e It can be calculated.
[0066] Therefore, it is understandable that before building the model, it is necessary to obtain the mechanical parameters and some electrical parameters of the permanent magnet synchronous motor drive system. Specifically, the mechanical angular velocity w of the motor can be obtained through an encoder. r and the mechanical angular position θ of the motor r The current sensor obtains the three-phase stator current i a i b i c The obtained three-phase stator current is then transformed using Clarke and Park transformations to obtain the current feedback quantity i in the two-phase rotating dq coordinate system. d and i q Based on q-axis stator current i q Calculate electromagnetic torque T e The calculation formula is:
[0067] T e =1.5P0ψi q (3)
[0068] In the formula, P0 is the number of pole pairs of the motor; ψ is the flux linkage of the permanent magnet.
[0069] Discretizing it yields:
[0070]
[0071] In the formula, T is the sampling period, and the friction coefficient B is negligible;
[0072] Secondly, the discretized equations of motion are rewritten as difference equations.
[0073] The difference equation at the current moment is in the following form:
[0074]
[0075] The difference equation from the previous time step is in the following form:
[0076]
[0077] Finally, by subtracting the difference equations at the two time points, the inertia identification model of the permanent magnet synchronous motor is obtained.
[0078] Since the system's sampling period is very small, the load torque at the two consecutive moments can be considered constant. The resulting model after subtraction is:
[0079]
[0080] Let: System output value y(k) = w r (k)-2w r (k-1)+w r (k-2), system input value Substituting these values into the formula of the gradient correction parameter estimation algorithm, we can obtain a rotational inertia identification model with the same formula form as the gradient correction parameter estimation algorithm, specifically:
[0081]
[0082] In the formula, This is the identified value of the moment of inertia. Based on this model, the identified value of the moment of inertia for the current k-th sample can be obtained directly.
[0083] Step S12: Obtain the rotational inertia identification value based on the current rotational inertia discretization identification model. After obtaining the rotational inertia identification value at m consecutive sampling times, calculate and store the difference ΔJ between the rotational inertia identification value at the 1st sampling time and the (m+1)th sampling time, where m≥2.
[0084] Step S13: Update the adjustable identification system gain parameter α to The updated discretized identification model of the moment of inertia is obtained, where α max and α min ΔJ is the set maximum and minimum adaptive gain. max The maximum value of the stored difference ΔJ is used; proceed to step S12.
[0085] Specifically, once the rotational inertia identification model is determined, it can be directly used to identify the rotational inertia.
[0086] During the identification process, the adjustable identification system gain parameter α is continuously and adaptively adjusted based on the identification results to update the model. Specifically, the model is updated after every m+1 identifications, and identification continues based on the updated model. Understandably, if an interruption command is received during the identification process, the identification process is immediately terminated.
[0087] For example, after the last model update, and after continuously acquiring the identified values of rotational inertia for m+1 sampling times from the km-th sampling time to the k-th sampling time, the parameter α needs to be updated. At this point, the identified value of rotational inertia at the km-th sampling time is first calculated. The identified value of the moment of inertia at the k-th sampling time The difference:
[0088]
[0089] Based on this difference ΔJ(k), the adjustable identification system gain parameter is updated at the k-th sampling time as follows:
[0090]
[0091] In the formula, ΔJ max It is the largest of all the differences that have been stored previously.
[0092] After the adjustable identification system gain parameters are updated, an updated discretized identification model of the moment of inertia is obtained, and subsequent parameter identification is performed based on this updated model.
[0093] In this invention, a gradient correction parameter estimation algorithm is used to construct the model, and an adjustable identification system gain parameter α is introduced. During identification, based on a set parameter update algorithm, the adjustable identification system gain parameter α can be adaptively adjusted according to the parameter identification results. When the difference between two identification values is large, it indicates that the current convergence is insufficient. Based on the parameter update algorithm, the adjustable identification system gain parameter α is adaptively increased to improve the convergence speed. When the difference between two identification values is small, it indicates that the current convergence has reached a certain level. Based on the parameter update algorithm, the adjustable identification system gain parameter α is adaptively decreased to improve the identification accuracy. Furthermore, based on this parameter update algorithm, the adjustment of the adjustable identification system gain parameter α is always within the set range [α]. min α max Within this range, the entire adjustment process becomes controllable. Simultaneously, during parameter adjustment, the adjustment step size is set to span m samples to reduce computational load and avoid adjustment deviations caused by errors in a single identification result. In summary, the parameter identification method of this invention balances computational load and adaptive effect, improving the accuracy and speed of system moment of inertia identification while reducing system computational load.
[0094] In one embodiment, the parameters can be optimized. Specifically, the minimum value α of the adaptive gain. min The set interval is [0, 1], and the maximum value of the adaptive gain α max The set range is [10, 50]. The value range of m is [10, 100].
[0095] Example 2
[0096] Based on Example 1, Example 2 also proposes a method for determining the load torque identification value based on the moment of inertia identification value in Example 1.
[0097] This method introduces a specially designed superhelical sliding mode observer. The design process of the superhelical sliding mode observer will be introduced below.
[0098] 1. Establish a mathematical model of a permanent magnet synchronous motor in a two-phase rotating dq coordinate system:
[0099]
[0100] i q The q-axis stator current; w r This refers to the mechanical angular velocity of the motor. For w r First derivative; P0 is the number of pole pairs of the motor; ψ is the flux linkage of the permanent magnet; J is the moment of inertia; B is the coefficient of friction; T e T is the electromagnetic torque. L The load torque is given. This model includes the motion equation (2) of the permanent magnet synchronous motor and the calculation formula (3) for the electromagnetic torque.
[0101] 2. The equations of motion considering systematic errors are as follows:
[0102]
[0103] In the formula, For w r The first derivative; J0 is a rough estimate of the moment of inertia J, J = J0 + ΔJ, where ΔJ is the deviation between the actual moment of inertia and the rough estimate; d is the system disturbance value, including parameter estimation deviation and external load disturbance, expressed as
[0104] 3. Based on the motion equations in the mathematical model of the permanent magnet synchronous motor, the extended state equations are established as follows:
[0105]
[0106] In the formula, It is the first derivative of d.
[0107] 4. Using the speed w of the permanent magnet synchronous motorr The superhelical sliding mode observer constructed with the system disturbance value d as the observation object is as follows:
[0108]
[0109] In the formula, and These are the mechanical angular velocities w of the motor. r And the observed values of the system disturbance value d; and They are respectively and The first derivative; the sliding surface is designed as u and g are the sliding mode gain and feedback gain, respectively; sat(x) is a novel saturation function, whose expression is:
[0110]
[0111] In the formula, a is the slope. The boundary layer is defined. Inside the boundary layer, a hyperbolic tangent function with smooth and continuous characteristics is applied, while outside the boundary layer, a linear proportional function is applied. This approach can significantly reduce the chattering phenomenon caused by the discontinuity of the sign function, which results in a large number of high-order harmonics in the system.
[0112] 5. Determine the range of values for the sliding mode gain u in the sliding mode observer using the Lyapunov stability direct criterion.
[0113] First, subtract the extended state equation from the super-helical sliding mode observer to obtain the load torque estimation error and the speed estimation error, and their relationship is as follows:
[0114]
[0115] In the formula, Mechanical angular velocity observation value and actual value w r The difference; For system disturbance observations The difference between the actual value d and the actual value d; and These are the first derivatives of e1 and e2, respectively.
[0116] Consider the Lyapunov function Then the derivative of V with respect to time t is:
[0117]
[0118] According to the properties of the sat(x) function, within the boundary layer, sat(x) has the same sign as x and |sat(x)|≤1.
[0119] Furthermore, the error equation can be used to... The function can be rewritten in the following form:
[0120]
[0121] According to Lyapunov's direct stability criterion, to ensure system stability, it is necessary to make... Since this holds true, the sliding mode gain u must satisfy the following condition:
[0122]
[0123] Therefore, the sliding mode gain u must be less than 0.
[0124] Meanwhile, to ensure that the error of the system disturbance observation converges to 0, the feedback gain g needs to satisfy the condition g < 0.
[0125] By going through steps 1-5 above, we obtain the super-helical sliding mode observer, the specific form of which is shown in formula (14).
[0126] like Figure 2 As shown, this embodiment utilizes the super-helical sliding mode observer obtained above to identify the load torque. The specific process is as follows:
[0127] Step S21: Substitute the identified value of rotational inertia into the above-mentioned super-helical sliding mode observer.
[0128] Specifically, let the formula (14) The superhelical sliding mode observer, obtained after substituting the identified value of rotational inertia, takes the following form:
[0129]
[0130] Step S22: Observed values of system perturbation based on the output of the superhelical sliding mode observer Obtain the identification value of the load torque at the corresponding sampling time.
[0131] Based on the analysis above, the super-helical sliding mode observer can quickly identify the load torque after each identification of the moment of inertia.
[0132] Example 3
[0133] This embodiment designs an online parameter identification device for a permanent magnet synchronous motor, which specifically includes a model building unit, a moment of inertia identification unit, and a model updating unit.
[0134] The model building unit is used to construct an initial discretized identification model of the moment of inertia using a gradient correction parameter estimation algorithm. The discretized identification model of the moment of inertia includes an adjustable identification system gain parameter α.
[0135] The moment of inertia identification unit is used to obtain the moment of inertia identification value at each sampling time based on the current moment of inertia discretization identification model.
[0136] The model update unit is used to calculate and store the difference ΔJ between the identified moment of inertia at the first and mth sampling times after acquiring the identified moment of inertia values at m consecutive sampling times, and simultaneously update the adjustable identification system gain parameter α. The updated discretized identification model of the moment of inertia is obtained, where α max and α min ΔJ is the set maximum and minimum adaptive gain. max This is the maximum value of the stored difference ΔJ.
[0137] Based on the above-described online identification device, the online identification method in Embodiment 1 can be implemented to obtain the identification of the moment of inertia. The function of each unit is adapted to the process of the online identification method in Embodiment 1, and details can be found in the description of Embodiment 1, which will not be repeated here.
[0138] In one embodiment, the online identification device further includes a load torque identification unit, used to determine the identified value of the load torque based on the superspiral sliding mode observer after obtaining the identified value of the moment of inertia. Combined with this load torque identification unit, the online identification method in Embodiment 1 can be implemented to obtain the identified load torque. For details, please refer to the description in Embodiment 2, which will not be repeated here.
[0139] Example 4
[0140] The present invention also relates to an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method described above.
[0141] The electronic device can be a desktop computer, laptop, handheld computer, or cloud server, etc. The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The memory can be used to store computer programs and / or modules. The processor performs various functions of the electronic device by running or executing the computer programs and / or modules stored in the memory, and by accessing data stored in the memory.
[0142] Example 5
[0143] The present invention also relates to a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described above.
[0144] Specifically, the memory may include high-speed random access memory, as well as non-volatile memory, such as hard disks, RAM, plug-in hard disks, smart media cards (SMC), secure digital (SD) cards, flash cards, at least one disk storage device, flash memory device, or other volatile solid-state storage devices.
[0145] Example 6
[0146] To verify the effectiveness and superiority of the control method proposed in this invention, the following simulation experiments were conducted:
[0147] The moment of inertia of the permanent magnet synchronous motor selected for the experiment is 2.7 × 10⁻⁶. -4 kg·m 2 During the simulation experiment, the permanent magnet synchronous motor was given a speed of 1200 rpm, and a sine function was used to simulate the cogging torque disturbance. A load torque of 4 N·m was added 1 second after the motor started, and the rotational inertia and load torque of the motor were identified during this process.
[0148] The simulation results of moment of inertia identification are shown in Figures 3(a) and 3(b). Figures 3(a) and 3(b) show that when the motor load is low, changing the gain coefficient of the gradient correction affects the convergence speed of inertia identification; a larger gain coefficient results in faster convergence. However, when the motor load suddenly increases, a large gain coefficient leads to significant fluctuations in the identification results, affecting the identification accuracy. The adaptive gain method (corresponding to the dashed line of Adaptive) satisfies both the condition of fast convergence speed and high identification accuracy.
[0149] The variable moment of inertia identification is shown in Figures 4(a) and 4(b). The moment of inertia of the motor changes from 2.7 × 10⁻⁶ in 0.5 s. -4 kg·m 2 It becomes 5.7 × 10 -4 kg·m 2 When the gain coefficient is 10, it converges to the accurate value in 0.1s; when the gain coefficient is 1, it still cannot converge to the accurate value in 0.7s; while when the adaptive coefficient is used, it converges to the vicinity of the actual moment of inertia in 0.3s. The convergence accuracy is higher than that of the gain coefficient 10. It achieves higher accuracy identification while sacrificing some convergence speed.
[0150] The simulation results of load torque identification are shown in Figures 5(a) and 5(b). It can be seen that, under the condition of a small cogging torque disturbance in the motor, the designed load torque sliding mode observer can track the actual cogging torque T relatively accurately. cog Under sudden changes in motor load, the observed load torque value can quickly converge to the actual load torque, and the identification result has small fluctuations around the actual value. Therefore, it can be concluded that using this sliding mode observer to identify motor load torque has a fast convergence speed and high identification accuracy.
[0151] Figure 6 and Figure 7 A comparison chart showing the load torque identification results. Figure 6 The speed waveform observed under no-load torque is obtained from... Figure 6 It can be seen that due to the cogging torque in the system, the rotational speed fluctuates by ±8 r / min; Figure 7 To incorporate the speed waveform observed under load torque, the load torque observer compensated for the cogging torque, significantly reducing speed fluctuations to only ±2.5 r / min. This verifies the effectiveness of the designed super-helical sliding mode observer.
[0152] Those skilled in the art will readily understand that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for online identification of parameters of a permanent magnet synchronous motor, characterized in that, This includes online identification of moment of inertia, specifically: Step S11: Obtain the discretized identification model of the moment of inertia constructed using the gradient correction parameter estimation algorithm, wherein an adjustable identification system gain parameter is introduced into the discretized identification model of the moment of inertia. The adjustable identification system gain parameter These are the coefficients of the system input values in the gradient correction parameter estimation algorithm; Step S12: Obtain the rotational inertia identification value based on the current rotational inertia discretization identification model. After obtaining the rotational inertia identification value at m+1 consecutive sampling times, calculate the difference between the rotational inertia identification value at the 1st sampling time and the m+1th sampling time. And store it, m≥2; Step S13: Adjust the system gain parameters of the identification system. Updated to This yields an updated discretized identification model of the moment of inertia, where, and The maximum and minimum values of the adaptive gain are set. For the stored difference Find the maximum value; proceed to step S12. The method further includes: after obtaining the moment of inertia identification value, determining the load torque identification value based on the super-helical sliding mode observer; The identification value of the load torque is determined based on the superhelical sliding mode observer, including: Step S21: Substitute the identified moment of inertia value into the superhelical sliding mode observer, wherein the superhelical sliding mode observer is: ; ; In the formula, For the moment of inertia identification value, For electromagnetic torque, The coefficient of mechanical friction, The mechanical angular velocity of the motor. This refers to the observed value of the mechanical angular velocity of the motor; for The first derivative, and These are the sliding mode gain and the feedback gain, respectively, and both are less than 0. The observed values of the system disturbance. for The first derivative, For the set slope, For the defined boundary layer; Step S22, based on the observed values of the system disturbance output by the superspiral sliding mode observer. Obtain the identification value of the load torque at the corresponding sampling time. , .
2. The online parameter identification method for permanent magnet synchronous motors as described in claim 1, characterized in that, In step S11, the discretization identification model of the moment of inertia is as follows: ; ; ; In the formula, T is the sampling period. This is the identified value of the moment of inertia at the k-th sampling time. For fixed identification system gain parameters, , For the first k Electromagnetic torque and motor mechanical angular velocity at each sampling moment; Input values for the system.
3. The online parameter identification method for permanent magnet synchronous motors as described in claim 1, characterized in that, Minimum of adaptive gain The set interval is [0, 1], and the maximum value of the adaptive gain is... The set range is [10, 50].
4. The online parameter identification method for permanent magnet synchronous motors as described in claim 1, characterized in that, The value range of m is [10, 100].
5. The online parameter identification method for permanent magnet synchronous motors as described in claim 1, characterized in that, electromagnetic torque The calculation formula is: ; In the formula, This is the q-axis stator current. This represents the number of pole pairs of the motor. It is a permanent magnet flux linkage.
6. An online parameter identification device for a permanent magnet synchronous motor, characterized in that, include: The model building unit is used to construct an initial discretized identification model of the moment of inertia using a gradient correction parameter estimation algorithm. This discretized identification model includes adjustable identification system gain parameters. ; The moment of inertia identification unit is used to obtain the moment of inertia identification value at each sampling time based on the current moment of inertia discretization identification model. The model update unit is used to calculate the difference between the identified moment of inertia at the first sampling time and the identified moment of inertia at the m-th sampling time after acquiring the identified moment of inertia values at m consecutive sampling times. And store it, while simultaneously adjusting the identification system gain parameters. Updated to This yields an updated discretized identification model of the moment of inertia, where, and The maximum and minimum values of the adaptive gain are set. For the stored difference The maximum value; Also includes: The load torque identification unit is used to determine the identified value of the load torque based on the superspiral sliding mode observer after obtaining the identified value of the moment of inertia. ; The superhelical sliding mode observer is: ; ; In the formula, This is the identification value for the moment of inertia. For electromagnetic torque, The coefficient of mechanical friction, The mechanical angular velocity of the motor. This refers to the observed value of the mechanical angular velocity of the motor; for The first derivative, and These are the sliding mode gain and the feedback gain, respectively, and both are less than 0. The observed values of the system disturbance. for The first derivative, For the set slope, This is the boundary layer that is defined.
7. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
