A method and system for controlling the speed and current of a permanent magnet synchronous motor with self-disturbance rejection

By calculating the calibration value error and total disturbance in the permanent magnet synchronous motor, and using the expanded state observer and new observer to optimize the output, the problem of non-derivative terms in traditional active disturbance rejection control is solved, and the accuracy and robustness of the observer are improved. properties, achieving better interference suppression effect.

CN117439463BActive Publication Date: 2024-10-01NANJING TECH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311169688.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-12
Publication Date
2024-10-01
Estimated Expiration
2043-09-12

AI Technical Summary

Technical Problem

The equation of the state expansion observer in traditional active disturbance rejection control has non-derivative terms, which results in a large error with the system equation, affects the performance of the controller, and fails to effectively compensate for the disturbance of the observer.

Method used

By calculating the calibration value error and total disturbance of the permanent magnet synchronous motor, the second-order equation is converted into a first-order equation using the expanded state observer, and a new observer with a derivative form is introduced to estimate the state variable, optimize the observer error, and correct output, thereby improving controller performance.

Benefits of technology

It enhances the accuracy and robustness of the observer, improves the interference suppression effect in the case of speed changes and load mutations, and improves the performance of the controller.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117439463B_ABST
    Figure CN117439463B_ABST
Patent Text Reader

Abstract

The present invention discloses a self-disturbance-resistant speed and current single-loop control method and system for a permanent magnet synchronous motor, and relates to the field of permanent magnet synchronous motor control. The method includes calculating the calibration value error and the total disturbance, and listing the second-order equation form; using an extended state observer to expand the state quantity of the second-order equation, and determining the gain parameter of the extended state observer to estimate the state variable; introducing a new observer with a derivative form to estimate the state variable of the extended state observer, and further optimizing the observer error to correct the output of the observer; and calculating the control rate of the controller by comparing the corrected observer output and the given value. Compared with the traditional extended state observer, the new extended state observer of the method of the present invention solves the non-derivative term problem of the traditional extended state observer, and also compensates for the observed disturbance of the observer, thereby enhancing the accuracy of the observer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of permanent magnet synchronous motor control, and in particular to a self-disturbance-resistant speed and current single-loop control method and system for a permanent magnet synchronous motor. Background Art

[0002] With the improvement of the manufacturing process of rare earth permanent magnet materials, and the characteristics of high efficiency, small size and simple structure, the development of permanent magnet synchronous motors has been greatly improved, especially in the fields of wind power generation, new energy vehicles, rail transportation, etc. The control system of permanent magnet synchronous motors is crucial to their application scenarios. The control system of permanent magnet synchronous motors contains multiple variables, and there are complex electromagnetic relationships and coupling relationships between the variables. At present, the control of permanent magnet synchronous motors mostly adopts vector control and direct torque control, and on this basis, a variety of control methods are derived. But in essence, the control quantity of permanent magnet synchronous motors is nothing more than three, namely speed, d-axis current and q-axis current, that is, three controllers usually need to be designed. At present, in actual engineering applications, most proportional-integral (PI) controllers are used, but PI controllers lack robustness, that is, they cannot cope with external disturbances well. With the development of modern control theory, more and more advanced control methods are applied to the three controllers of permanent magnet synchronous motors, such as sliding mode control, adaptive control, and anti-disturbance control. In essence, the output of the speed controller is given by the q-axis current controller, and the equations for the speed and q-axis current can be established through equations, so that one speed / q-axis current controller can solve the two speed and q-axis current controllers.

[0003] The active disturbance rejection control was proposed by Han Jingqing. It is a technology that can estimate and compensate for the unmodeled dynamic and position external disturbance effects of the system by attributing them to the "total disturbance" of the system. It is particularly suitable for nonlinear systems with system parameter changes and external disturbances. The motor motion equation between the speed and q-axis current of the permanent magnet synchronous motor is a second-order equation. It is also a nonlinear system with parameter changes and external disturbances. Therefore, the active disturbance rejection control technology can be used. In the traditional second-order active disturbance rejection controller, due to the existence of non-derivative terms in the equation of the state expansion observer, there is a large error with the system equation, which affects the performance of the controller. At the same time, there is no further compensation for the disturbance of the observer, which makes the observation accuracy problematic. Summary of the invention

[0004] In view of the problem that the equation of the state extended observer in the existing traditional active disturbance rejection control has non-derivative terms, resulting in a large error with the system equation, the present invention is proposed.

[0005] Therefore, the problem to be solved by the present invention is how to solve the problem of non-derivative terms in the equation of the state expansion observer in the traditional ADRC, and at the same time compensate for the expanded disturbance so that the performance of the observer is guaranteed, thereby improving the performance of the controller.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0007] In the first aspect, an embodiment of the present invention provides a self-disturbance-resistant speed and current single-loop control method for a permanent magnet synchronous motor, which includes calculating a calibration value error and a total disturbance through a permanent magnet synchronous motor shaft current equation, a permanent magnet synchronous motor motion equation, and an electromagnetic torque equation, and listing the second-order equation form; using an extended state observer to expand the state quantity of the second-order equation, and converting the second-order equation into a set of first-order equations by selecting appropriate state variables, and determining the gain parameters of the extended state observer to estimate the state variables; introducing a new observer in a derivative form to estimate the state variables of the extended state observer, and further optimizing the observer error to correct the output of the observer; calculating the control rate of the controller by comparing the corrected observer output and a given value; according to the control rate of the controller, applying voltage and current to the permanent magnet synchronous stator winding through power electronic devices to achieve the required speed and q-axis current control rate.

[0008] As a preferred solution of the self-disturbance rejection speed and current single-loop control method of the permanent magnet synchronous motor of the present invention, the specific formula of the dq axis current equation of the permanent magnet synchronous motor is as follows:

[0009]

[0010] Where, R is the stator resistance of the motor, u d and u q are the voltages of the stator d-axis and q-axis respectively, i d and i q are the stator d-axis and q-axis currents, L d and L q are the stator d-axis and q-axis inductances, ω e is the motor electrical angular velocity, ψ f is the permanent magnet flux.

[0011] The specific formula of the motion equation of the permanent magnet synchronous motor is as follows:

[0012]

[0013] Among them, T e is the electromagnetic torque, T L is the load torque, J is the moment of inertia of the motor, B is the friction coefficient of the motor, p is the number of pole pairs of the motor, ω e is the motor electrical angular velocity.

[0014] The specific formula of the electromagnetic torque equation is as follows:

[0015]

[0016] Among them, T e is the electromagnetic torque, p is the number of pole pairs of the motor, ψ f is the permanent magnet flux, i d and i q are the stator d-axis and q-axis currents, L d and L q are the stator d-axis and q-axis inductances respectively.

[0017] As a preferred solution of the self-disturbance rejection speed and current single-loop control method of the permanent magnet synchronous motor of the present invention, the specific formula for determining the gain parameter of the extended state observer to estimate the state variable is as follows:

[0018]

[0019] Among them, u q is the voltage of the stator q axis, b is the system input coefficient, d ω is the disturbance quantity, and the specific formula is as follows:

[0020]

[0021]

[0022] Where, R is the stator resistance of the motor, i d and i q are the stator d-axis and q-axis currents, L d and L q are the stator d-axis and q-axis inductances, ω e is the motor electrical angular velocity, ψ f is the permanent magnet flux, T e is the electromagnetic torque, T L is the load torque, J is the moment of inertia of the motor, B is the friction coefficient of the motor, and p is the number of pole pairs of the motor.

[0023] The specific formula for listing the second-order equation form is as follows:

[0024]

[0025]

[0026] Among them, b0 is the initial value of the system input coefficient, which is calculated using the relevant parameters of the motor calibration, f is the total disturbance, and u q is the voltage of the stator q axis, x1=ωe ,ω e is the motor electrical angular velocity.

[0027] As a preferred solution of the self-disturbance rejection speed and current single-loop control method of the permanent magnet synchronous motor of the present invention, the specific formula for expanding the state quantity of the second-order equation using the extended state observer is as follows:

[0028]

[0029] in: u q is the current of the stator q axis, x3=f.

[0030] As a preferred solution of the self-disturbance rejection speed and current single-loop control method of the permanent magnet synchronous motor of the present invention, the specific formula using the extended state observer is as follows:

[0031]

[0032]

[0033]

[0034] Among them, z e1 、z e2 and z e3 is the observation quantity of the extended state observer, l1, l2 and l3 are the gains of the observer, b0 is the initial value of the system input coefficient, x1=ω e ,ω e is the motor electrical angular velocity, u q is the voltage of the stator q axis.

[0035] As a preferred solution of the self-disturbance rejection speed and current single-loop control method of the permanent magnet synchronous motor of the present invention, the specific formula for introducing the new observer in the derivative form is as follows:

[0036]

[0037]

[0038]

[0039]

[0040] Among them, z1, z2 and z3 are the observations of the new observer, l1 and l2 are the gains of the observer, is the observed value of f, b0 is the initial value of the system input coefficient, x1=ω e ,ω e is the motor electrical angular velocity, uq is the voltage of the stator q axis, e1=x1-z1, e2=x2-z2,

[0041] As a preferred solution of the self-disturbance rejection speed and current single-loop control method of the permanent magnet synchronous motor of the present invention, the specific formula of the control rate according to the controller is as follows:

[0042]

[0043] Among them, k p and k d are the controller parameters that need to be designed, z1 and z2 are the observation quantities of the new observer, k d =2ω c ,ω c is the controller bandwidth, r is the speed setting value, b0 is the initial value of the system input coefficient, is the observed value of f.

[0044] In the second aspect, an embodiment of the present invention provides a self-disturbance-resistant speed and current single-loop control system for a permanent magnet synchronous motor, which includes: a calibration value error and total disturbance calculation module, which calculates the calibration value error and total disturbance based on the permanent magnet synchronous motor shaft current equation, motion equation and electromagnetic torque equation; an extended state observer module, which expands the second-order equation for state quantity, determines the gain parameter of the extended state observer to estimate the state variable; a new extended state observer module, which introduces a new observer in the form of a derivative to estimate the state variable of the extended state observer, and further optimizes the observation error to correct the output of the observer; a controller module, which calculates the control rate of the controller; a power electronic device module, which applies voltage to the stator winding of the permanent magnet synchronous motor through a power electronic device to achieve the required speed and q-axis current control. In the third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, wherein: when the computer program instructions are executed by the processor, the steps of the self-disturbance-resistant speed and current single-loop control method for the permanent magnet synchronous motor as described in the first aspect of the present invention are implemented.

[0045] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program instructions are executed by a processor, the steps of the self-disturbance-resistant speed and current single-loop control method of the permanent magnet synchronous motor as described in the first aspect of the present invention are implemented.

[0046] The beneficial effects of the present invention are as follows: compared with the traditional expanded state observer, the new extended state observer of the method of the present invention solves the non-derivative term problem of the traditional expanded state observer, and also compensates for the observed disturbance of the observer, thereby enhancing the accuracy of the observer. It can be seen from the speed response that under given speed changes and load mutations, the method of the present invention has good robustness, and in terms of interference suppression, it has an enhanced effect compared with the traditional expanded state observer. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0048] Figure 1 This is a control block diagram of the method proposed in the present invention for the self-disturbance rejection speed and current single-loop control method of a permanent magnet synchronous motor in Example 1.

[0049] Figure 2 This is a structural block diagram of a permanent magnet synchronous motor drive system of the permanent magnet synchronous motor self-disturbance rejection speed and current single-loop control method in Example 1.

[0050] Figure 3 This is the PI speed waveform of the self-disturbance rejection speed and current single-loop control method of the permanent magnet synchronous motor in Example 2.

[0051] Figure 4 This is the traditional auto-disturbance rejection speed waveform of the auto-disturbance rejection speed and current single-loop control method of the permanent magnet synchronous motor in Example 2.

[0052] Figure 5 This is the speed waveform of the self-disturbance rejection speed and current single-loop control method of the permanent magnet synchronous motor in Example 2. DETAILED DESCRIPTION

[0053] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.

[0054] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0055] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0056] Example 1

[0057] Reference Figure 1-2 , which is the first embodiment of the present invention, and provides a single-loop control method for self-disturbance rejection speed and current of a permanent magnet synchronous motor, comprising:

[0058] S1: Calculate the calibration value error and total disturbance through the permanent magnet synchronous motor shaft current equation, the permanent magnet synchronous motor motion equation and the electromagnetic torque equation, and list the second-order equation form.

[0059] Specifically, the specific formula of the permanent magnet synchronous motor dq axis current equation is as follows:

[0060]

[0061] Where, R is the stator resistance of the motor, u d and u q are the voltages of the stator d-axis and q-axis respectively, i d and i q are the stator d-axis and q-axis currents, L d and L q are the stator d-axis and q-axis inductances, ω e is the motor electrical angular velocity, ψ f is the permanent magnet flux.

[0062] Furthermore, the specific formula of the motion equation of the permanent magnet synchronous motor is as follows:

[0063]

[0064] Among them, T e is the electromagnetic torque, T L is the load torque, J is the moment of inertia of the motor, B is the friction coefficient of the motor, p is the number of pole pairs of the motor, ω e is the motor electrical angular velocity.

[0065] Furthermore, the specific formula of the electromagnetic torque equation is as follows:

[0066]

[0067] Among them, T e is the electromagnetic torque, p is the number of pole pairs of the motor, ψ f is the permanent magnet flux, i d and iq are the stator d-axis and q-axis currents, L d and L q are the stator d-axis and q-axis inductances respectively.

[0068] Specifically, the specific formula of the derivative equation obtained by combining the motion equation of the permanent magnet synchronous motor and the electromagnetic torque equation is as follows:

[0069]

[0070] Where, R is the stator resistance of the motor, i d and i q are the stator d-axis and q-axis currents, L d and L q is the stator d-axis and q-axis inductance, ω e is the motor electrical angular velocity, ψ f is the permanent magnet flux, T L is the load torque, J is the moment of inertia of the motor, B is the friction coefficient of the motor, and p is the number of pole pairs of the motor.

[0071] S2: Expand the state quantity of the second-order equation using an extended state observer, transform the second-order equation into an expanded state observer equation by selecting appropriate state variables, and determine the gain parameters of the expanded state observer to estimate the state variables.

[0072] Furthermore, the q-axis current equation of the permanent magnet synchronous motor is substituted into the derivative equation obtained by combining the motion equation and the electromagnetic torque equation of the permanent magnet synchronous motor, and the specific formula for determining the gain parameter of the extended state observer to estimate the state variable is obtained as follows:

[0073]

[0074] Among them, u q is the voltage of the stator q axis, b is the system input coefficient, d ω is the disturbance quantity, and the specific formula is as follows:

[0075]

[0076]

[0077] Where, R is the stator resistance of the motor, i d and i q are the stator d-axis and q-axis currents, L d and L q is the stator d-axis and q-axis inductance, ω e is the motor electrical angular velocity, ψ f is the permanent magnet flux, T e is the electromagnetic torque, T Lis the load torque, J is the moment of inertia of the motor, B is the friction coefficient of the motor, and p is the number of pole pairs of the motor.

[0078] Specifically, since the motor parameters will change during operation, that is, there will be an error with the calibration value, so the parameter b will change, so the specific formula is as follows:

[0079]

[0080] f=(Δbu q +d ω )

[0081] Among them, b0 is the initial value of the system input coefficient, which is calculated using the relevant parameters of the motor calibration, △b is the change in the parameter, f is the total disturbance, and u q is the voltage of the stator q axis, ω e is the motor electrical angular velocity.

[0082] Furthermore, the specific formula of the second-order equation is listed as follows:

[0083]

[0084]

[0085] Among them, b0 is the initial value of the system input coefficient, which is calculated using the relevant parameters of the motor calibration, f is the total disturbance, and u q is the voltage of the stator q axis, x1=ω e ,ω e is the motor electrical angular velocity.

[0086] S3: A new observer with derivative form is introduced to estimate the state variables of the extended state observer, and the observer error is further optimized to correct the output of the observer.

[0087] Specifically, an extended state observer is needed in the active disturbance rejection control. At this time, the state quantity of the second-order equation needs to be expanded. Usually, the disturbance quantity is used as the expansion quantity. Let x3 = f, and the specific formula for expanding the state quantity of the second-order equation using the extended state observer is as follows:

[0088]

[0089] in: u q is the voltage of the stator q axis.

[0090] Furthermore, an extended state observer is constructed by expanding the state quantity of the second-order equation using an extended state observer, that is, the specific formula of the extended state observer is as follows:

[0091]

[0092]

[0093]

[0094] Among them, z e1 、z e2 and z e3 is the observation quantity of the extended state observer, l1, l2 and l3 are the gains of the observer, b0 is the initial value of the system input coefficient, x1=ω e ,ω e is the motor electrical angular velocity, u q is the voltage of the stator q axis.

[0095] Furthermore, the parameters should be selected to make the observer system stable while also ensuring that z e1 、z e2 and z e3 They converge to x1, x2 and x3 respectively. The formula expansion state observer expands the state quantity of the second-order equation and subtracts the formula expansion state observer to obtain the specific formula as follows:

[0096]

[0097] in,

[0098] Specifically, to ensure system stability, the parameters of l1, l2 and l3 are usually selected so that the roots of the characteristic root equation of A1 are on the negative real axis. The specific formula of the characteristic root equation is as follows:

[0099] α1(s)=s 3 +l1s 2 +l2s+l3=(s+ω o ) 3

[0100] Where l1=3ω o , l2=3ω o 2 , l2=ω o 3 ,ω o is the bandwidth of the observer.

[0101] Preferably, by selecting ω o The value of determines the gain parameter of the extended state observer, the bandwidth ω of the observer o Determines the tracking speed of the observer, ω o The larger the value, the faster the observer estimates the disturbance, but ω oIf it is too large, the permanent magnet synchronous motor may cause mechanical vibration during high-speed operation, and the mechanical vibration will be converted into sound, generating unbearable noise and motor output oscillation.

[0102] S4: Calculate the control rate of the controller by comparing the corrected observer output and the given value.

[0103] Specifically, by comparing the state expansion formula for the second-order equation using the extended state observer and the extended state observer formula, it is found that x1 and x2 in the state expansion formula for the second-order equation using the extended state observer are in derivative form, while z in the extended state observer formula is e1 and z e2 It is not a derivative form. In addition, the formula for expanding the state quantity of the second-order equation using the extended state observer can be obtained:

[0104]

[0105]

[0106] Among them, it indicates that e e2 Not just e e1 The derivative of e3 It's not just e e1 The second derivative of , and is disturbed by other terms.

[0107] Specifically, in order to solve the problem of cumulative error, a new observer with a derivative form is proposed as follows:

[0108]

[0109]

[0110]

[0111] Among them, z1 and z2 are the observations of the new observer, l1 and l2 are the gains of the observer, is the observed value of f, b0 is the initial value, u q is the voltage of the stator q axis, e1=x1-z1, e2=x2-z2.

[0112] Furthermore, the original perturbation formula of the system is obtained by subtracting the new observer formula in the derivative form from the second-order equation form:

[0113]

[0114]

[0115] Furthermore, it can be seen that e2 is the derivative of e1, and the cumulative error problem of the observer is solved. However, the estimation error in the original disturbance formula of the system is still related to the original disturbance estimate of the system. To solve this problem, a compensation function is added to the new observer. The specific formula is as follows:

[0116]

[0117]

[0118]

[0119] Among them, z1 and z2 are the observations of the new observer, l1 and l2 are the gains of the observer, is the observed value of f, is the compensation function, b0 is the initial value of the system input coefficient, u q is the voltage of the stator q axis, e1=x1-z1, e2=x2-z2.

[0120] Specifically, the second-order equation of the expanded state quantity minus the formula for adding the compensation function in the new observer can be obtained as follows:

[0121]

[0122]

[0123] Furthermore, when When f is close enough, the estimation error of the second-order equation form minus the formula of adding compensation function in the new observer will be greatly reduced, because is the estimated value of f, so a low-pass filter can be designed to obtain the specific formula of the compensation function as follows:

[0124]

[0125] Where λ is the filter coefficient, usually 2πf c , f c is the cutoff frequency of the filter.

[0126] Specifically, the formula for obtaining the compensation function by using a low-pass filter can be obtained:

[0127]

[0128] Furthermore, the specific formula of introducing a new observer with a derivative form is as follows:

[0129]

[0130]

[0131]

[0132]

[0133] Among them, z1, z2 and z3 are the observations of the new observer, l1 and l2 are the gains of the observer, is the observed value of f, b0 is the initial value of the system input coefficient, x1=ω e ,ω e is the motor electrical angular velocity, u q is the voltage of the stator q axis, e1=x1-z1, e2=x2-z2,

[0134] Specifically, the second-order equation formula of the expanded state quantity is subtracted from the formula of the new observer in derivative form to obtain:

[0135]

[0136] in,

[0137] Furthermore, to ensure the stability of the system, the parameters of l1, l2 and λ are usually selected so that the roots of the characteristic root equation of A2 are on the negative real axis. The characteristic root equation is as follows:

[0138] α2(s)=s 3 +l1s 2 +(λl1+l2)s+λl2

[0139] In which, let l1=2ξω n , l2=ω n 2 , then the specific formula of the characteristic root equation is as follows:

[0140] α2(s)=s 3 +2ξω n s 2 +(2λξω n +ω n 2 )s+λω n 2

[0141] Where ξ is the damping ratio, ω n is the observer bandwidth, s is the characteristic root, and λ is the filter coefficient.

[0142] Furthermore, the damping ratio is usually selected around 1, λ is the filter coefficient, and the low-pass filter cutoff frequency represented by it is proportional to the convergence speed of the compensation disturbance function. ω can be selected according to the maximum interference frequency and the minimum noise frequency. n , with denoted by the observer bandwidth.

[0143] S5: According to the control rate of the controller, voltage and current are applied to the permanent magnet synchronous stator winding through the power electronic device to achieve the required speed and q-axis current control rate.

[0144] Specifically, the core of the ADRC lies in how to estimate f in real time and eliminate it, so that the differential equation of x2 in the second-order equation form presents a linear integrator series standard form similar to the following formula:

[0145]

[0146] That is, the specific formula of the linear state error feedback control law is as follows:

[0147]

[0148] Among them, u q is the voltage of the stator q axis, f is the total disturbance, and b0 is the initial value of the system input coefficient.

[0149] Furthermore, since the observer can estimate disturbance and compensation in real time, the integrator is no longer needed, and the linear state error feedback control law can be further simplified to the specific formula of the proportional-differential combination design as follows:

[0150] u q0 =k p (r-z1)-k d z2

[0151] Among them, k p and k d are the controller parameters that need to be designed, z1 and z2 are the observations of the new observer, and u q0 is the linear state error feedback control law.

[0152] Furthermore, according to the designed controller output signal, the specific formula of the control rate is as follows:

[0153]

[0154] Among them, k p and k d are the controller parameters that need to be designed, z1 and z2 are the observation quantities of the new observer, k d =2ω c ,ω c is the controller bandwidth, r is the speed setting value, b0 is the initial value of the system input coefficient, is the observed value of f.

[0155] It should be noted that the method of this embodiment needs to obtain the speed setting and speed feedback. Through this method, the control law of the q-axis voltage can be obtained. In addition, the control law of the d-axis voltage still adopts the traditional proportional integral control. On the basis of obtaining the control law of the dq-axis voltage, the α-β-axis voltage is obtained by Ipark transformation, and then the PWM signal is obtained by SVPWM pulse width modulation, and the PWM is given to the three-phase full-bridge inverter, and then the output three-phase voltage of the inverter is given to the stator winding of the permanent magnet synchronous motor to drive the motor.

[0156] Furthermore, the present embodiment also provides a self-disturbance rejection speed and current single-loop control system for a permanent magnet synchronous motor, including the present embodiment also provides a computer device, which is suitable for the self-disturbance rejection speed and current single-loop control method of a permanent magnet synchronous motor, including a memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the self-disturbance rejection speed and current single-loop control method of the permanent magnet synchronous motor proposed in the above embodiment.

[0157] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0158] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the following steps are implemented: calculating the calibration value error and the total disturbance through the permanent magnet synchronous motor shaft current equation, the permanent magnet synchronous motor motion equation and the electromagnetic torque equation, and listing the second-order equation form; using an extended state observer to expand the state quantity of the second-order equation, and converting the second-order equation into a set of first-order equations by selecting appropriate state variables, and determining the gain parameters of the extended state observer to estimate the state variables; introducing a new observer in a derivative form to estimate the error of the extended state observer and correct the output of the observer; calculating the output signal of the controller by comparing the corrected observer output with the target value; according to the output signal of the controller, applying voltage and current to the permanent magnet synchronous motor through power electronic devices to achieve the required speed and q-axis current control rate.

[0159] In summary, compared with the traditional expanded state observer, the new extended state observer of the method of the present invention solves the non-derivative term problem of the traditional expanded state observer, and also compensates for the observed disturbance of the observer, thereby enhancing the accuracy of the observer. It can be seen from the speed response that under given speed changes and load mutations, the method of the present invention has good robustness, and has an enhanced effect in interference suppression compared with the traditional expanded state observer.

[0160] Example 2

[0161] Reference Figure 3 to Figure 5 , which is the second embodiment of the present invention, and this embodiment provides a self-disturbance rejection speed and current single-loop control method for a permanent magnet synchronous motor. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.

[0162] Specifically, by verifying on the MATLAB / Simulink simulation platform and comparing with the traditional extended state observer in the traditional speed-current dual-loop proportional-integral control and the speed-current single-loop control, the simulation conditions are set as follows: at startup, the given speed is 600rpm, and after 4s, the given speed is 2400rpm. At startup, the load torque is 0.028Nm, and after 5s, the load torque is 0.28Nm. The speed waveforms under the three conditions are shown.

[0163] Further, such as Figure 3 As shown, under the traditional speed-current dual-loop proportional-integral control, when the given speed changes, the speed response has a large overshoot of about 60rpm, and when the load changes suddenly, the speed has a large pulsation of about 120rpm.

[0164] Furthermore, when the traditional extended state observer is applied in the single-loop control of speed and current, Figure 4As shown, when the given speed changes, the overshoot of the speed response is about 40rpm, and when the load changes suddenly, the speed pulsation is about 24rpm.

[0165] Preferably, Figure 5 As shown, under the control method of the present invention, when a given speed changes, the speed response has basically no overshoot, and when the load changes suddenly, the speed pulsation is about 4rpm.

[0166] Specifically, compared with the traditional speed-current dual-loop proportional-integral control, the method of this embodiment can not only replace the two controllers of PI with one controller, but also has a greatly improved speed response compared with PI, and has better robustness for given speed changes and load mutations.

[0167] Furthermore, compared with the traditional extended state observer, the method of this embodiment solves the non-derivative term problem of traditional self-disturbance rejection, and also compensates for the observed disturbance, thereby enhancing the accuracy of the observer. It can be seen from the speed response that under given speed changes and load mutations, the method of this embodiment has good robustness.

[0168] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A single-loop control method for self-disturbance rejection of speed and current of a permanent magnet synchronous motor, characterized in that: include, The calibration value error and total disturbance are calculated through the permanent magnet synchronous motor shaft current equation, the permanent magnet synchronous motor motion equation and the electromagnetic torque equation, and the second-order equation form is listed; The second-order equation is expanded by using an extended state observer, and the second-order equation is transformed into an extended state observer equation by selecting appropriate state variables, and a gain parameter of the extended state observer is determined to estimate the state variables; A new observer with derivative form is introduced to estimate the state variables of the extended state observer, and the observer error is further optimized to correct the output of the observer. The control rate of the controller is calculated by comparing the corrected observer output and the given value; According to the control rate of the controller, voltage and current are applied to the permanent magnet synchronous stator winding through the power electronic device to achieve the required speed and q-axis current control rate; The specific formula of the permanent magnet synchronous motor dq axis current equation is as follows: Where, R is the stator resistance of the motor, u d and u q are the voltages of the stator d-axis and q-axis respectively, i d and i q are the stator d-axis and q-axis currents, L d and L q are the stator d-axis and q-axis inductances, ω e is the motor electrical angular velocity, ψ f is the permanent magnet flux; The specific formula of the motion equation of the permanent magnet synchronous motor is as follows: Among them, T e is the electromagnetic torque, T L is the load torque, J is the moment of inertia of the motor, B is the friction coefficient of the motor, p is the number of pole pairs of the motor, ω e is the motor electrical angular velocity; The specific formula of the electromagnetic torque equation is as follows: Among them, T e is the electromagnetic torque, p is the number of pole pairs of the motor, ψ f is the permanent magnet flux, i d and i q are the stator d-axis and q-axis currents, L d and L q are the stator d-axis and q-axis inductances respectively; The specific formula for determining the gain parameter of the extended state observer to estimate the state variable is as follows: Among them, u q is the voltage of the stator q axis, b is the system input coefficient, d ω is the disturbance quantity, and the specific formula is as follows: Where, R is the stator resistance of the motor, i d and i q are the stator d-axis and q-axis currents, L d and L q are the stator d-axis and q-axis inductances, ω e is the motor electrical angular velocity, ψ f is the permanent magnet flux, T e is the electromagnetic torque, T L is the load torque, J is the moment of inertia of the motor, B is the friction coefficient of the motor, and p is the number of pole pairs of the motor; Since the motor parameters change during operation, that is, there is an error with the calibration value, so the parameter b will change. The specific formula is as follows: f=(Δbu q +d ω ) Among them, b0 is the initial value of the system input coefficient, which is calculated using the relevant parameters of the motor calibration, △b is the change in the parameter, f is the total disturbance, and u q is the voltage of the stator q axis, ω e is the motor electrical angular velocity; The specific formula for listing the second-order equation form is as follows: Among them, b0 is the initial value of the system input coefficient, which is calculated using the relevant parameters of the motor calibration, f is the total disturbance, and u q is the voltage of the stator q axis; The specific formula for expanding the state quantity of the second-order equation using the extended state observer is as follows: in, u q is the current of the stator q axis; The specific formula of using the extended state observer is as follows: Among them, z e1 、z e2 and z e3 is the observation quantity of the extended state observer, l1, l2 and l3 are the gains of the observer, b0 is the initial value of the system input coefficient, u q is the voltage of the stator q axis; The specific formula for introducing the new observer in derivative form is as follows: Among them, z1, z2 and z3 are the observations of the new observer, l1 and l2 are the gains of the observer, is the observed value of f, b0 is the initial value, x1=ω e ,ω e is the motor electrical angular velocity, u q is the voltage of the stator q axis; The specific formula of the control rate according to the controller is as follows: Among them, k p and k d are the controller parameters that need to be designed, z1 and z2 are the observed quantities of the new observer, r is the speed given value, b0 is the initial value of the system input coefficient, is the observed value of f.

2. A permanent magnet synchronous motor self-disturbance rejection speed current single-loop control system, based on the permanent magnet synchronous motor self-disturbance rejection speed current single-loop control method according to claim 1, characterized in that: include, The total disturbance calculation module calculates the calibration value error and the total disturbance based on the permanent magnet synchronous motor shaft current equation, motion equation and electromagnetic torque equation; An extended state observer module expands the state quantity of the second-order equation and determines the gain parameter of the extended state observer to estimate the state variable; New extended state observer module, which introduces a new observer in derivative form to estimate the state variables of the extended state observer and further optimizes the observation error to correct the output of the observer; A controller module calculates the control rate of the controller; Power electronics module, through which voltage is applied to the stator winding of the permanent magnet synchronous motor to achieve the required speed and q-axis current control.

3. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the self-disturbance rejection speed and current single-loop control method of the permanent magnet synchronous motor described in claim 1 are implemented.

4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, the steps of the self-disturbance rejection speed and current single-loop control method of the permanent magnet synchronous motor described in claim 1 are implemented.