Motor speed control method, system and device based on conditional disturbance compensation
Through the adaptive conditional interference compensation speed control method, combined with the generalized super-spiral expansion state observer and non-smooth-integrated controller, the problem of improving the robustness of permanent magnet synchronous motors is solved, and higher dynamic performance and speed regulation accuracy are achieved , while simplifying the control design.
Patent Information
- Application Number
- CN202311349221.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-18
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2043-10-18
AI Technical Summary
Based on dynamic performance and speed regulation accuracy, the robustness of permanent magnet synchronous motors is limited, and traditional self-immune control has limitations on interference processing, making it difficult to effectively improve its robustness.
Using the speed control method based on adaptive conditional interference compensation, by establishing a mathematical model of a permanent magnet synchronous motor, a generalized superspiral expansion state observer and an adaptive conditional interference compensation regulator are designed, and combined with a non-smooth-integrated controller, the Detailed analysis and processing of lumped disturbances.
It significantly improves the robustness of the permanent magnet synchronous motor, ensures its dynamic performance and speed regulation accuracy, avoids the high-frequency vibration phenomenon in traditional methods, and simplifies the controller design, so that the motor can respond to speed commands faster.
Smart Images

Figure CN117394729B_ABST
Abstract
Description
Technical field:
[0001] The present invention relates to the field of motor speed control, and in particular to a motor speed control method, system and device based on conditional interference compensation. Background technology:
[0002] Permanent magnet synchronous motor has the advantages of simple structure, high efficiency, high power density and high torque-to-current ratio, and has therefore become an indispensable part of power equipment, new energy vehicles, robots and other fields. However, since the permanent magnet synchronous motor itself has strong nonlinearity and is susceptible to interference, it is difficult to obtain satisfactory robustness. At present, the two-degree-of-freedom motor speed control algorithm represented by the self-disturbance rejection control has been used to improve the robustness of the permanent magnet synchronous motor, but due to its limitations in understanding and processing of interference, that is, it is believed that interference is always harmful and completely suppresses interference, resulting in limited improvement of the robustness of the permanent magnet synchronous motor and damage to the dynamic performance and speed regulation accuracy of the permanent magnet synchronous motor. Therefore, it is urgent to design a two-degree-of-freedom motor speed control algorithm and its corresponding system and device that can perform detailed analysis and appropriate processing of disturbances, so as to further improve the robustness of the permanent magnet synchronous motor on the basis of ensuring the dynamic performance and speed regulation accuracy of the permanent magnet synchronous motor. Summary of the invention:
[0003] In order to solve the above-mentioned deficiencies in the prior art, namely, the inability to significantly improve the robustness of the permanent magnet synchronous motor while ensuring the dynamic performance and speed regulation accuracy of the permanent magnet synchronous motor, the present invention proposes a permanent magnet synchronous motor speed regulation control method, system and device based on conditional interference compensation.
[0004] In a first aspect, the present invention provides a permanent magnet synchronous motor speed control method based on adaptive conditional interference compensation, the method comprising:
[0005] Step 1: Establish a mathematical model of the permanent magnet synchronous motor in dq rotating coordinates and define the required state variables;
[0006] Step 2, based on the mathematical model of the permanent magnet synchronous motor, a generalized super-helical sliding mode algorithm is used to design an extended state observer, namely, a generalized super-helical extended state observer, and a lumped disturbance estimate is calculated;
[0007] Step 3, using the disturbance estimation value of the generalized superhelical expansion state observer to design an adaptive conditional disturbance compensation regulator;
[0008] Step 4, design a "non-smooth-integral" controller using complementary non-smooth functions and integral terms;
[0009] Step five, combine the output of the adaptive conditional disturbance compensation regulator with the output of the "non-smooth-integral" controller to obtain the final composite controller.
[0010] Furthermore, in step 1, the mathematical model of the permanent magnet synchronous motor in the dq rotating coordinate is:
[0011]
[0012] Where ω is the rotor angular velocity in rad / s, n is the rotor angular velocity in rpm, J is the moment of inertia, and p is n represents the number of motor pole pairs, ψ f represents the rotor flux, i q represents the stator q-axis current, B represents the viscous friction coefficient, T e Represents electromagnetic torque, T L Represents the load torque. To facilitate the design of the speed control method, the model is further expressed as:
[0013]
[0014] in, is the q-axis stator current reference value, C1 is (1.5p n ψ f0 ) / J0, the total disturbance d is In addition, there are J = J0 + ΔJ and ψ f =ψ f0 +Δψ f ΔJ and Δψ f They are used to represent the moment of inertia J and the rotor flux ψ f The parameter uncertainty of J0 and ψ f0 are used to represent the moment of inertia J and rotor flux ψ respectively f The nominal value size.
[0015] Furthermore, in step 2, the generalized superhelical expansion state observer is specifically designed as follows:
[0016]
[0017] in, is the estimated value of the motor rotor speed, is the estimated angular acceleration of the motor rotor, is the estimated error of the motor rotor speed The function is specifically expressed as The observer parameters satisfy 0<λ<1, θ>1. In addition, k1, k2 and k3 are adjustable observer gains.
[0018] The innovation of the generalized superhelical extended state observer lies in the use of continuous generalized nonsmooth functions to completely replace the discontinuous sign functions commonly used in nonlinear extended state observers, which not only avoids high-frequency chattering but also improves the convergence speed of the observer.
[0019] Furthermore, in step 2, the estimated value of the motor rotor angular acceleration in the generalized super-helical extended state observer is used to indirectly obtain the lumped disturbance estimated value, that is:
[0020]
[0021] in, represents the lumped disturbance estimate, represents the estimated value of the motor rotor angular acceleration obtained by the generalized super-helical extended state observer, C1 is equal to (1.5p n ψf0) / J0, and p n is the number of pole pairs of the permanent magnet synchronous motor, ψ f0 is the maximum flux linkage ψ generated by the permanent magnet in one phase f is the nominal value of the moment of inertia J.
[0022] The advantages of this innovative approach are that it can simplify the parameter design of the generalized super-helical expanded state observer and at the same time enable the generalized super-helical expanded state observer to make a fast and accurate estimate of the motor rotor speed.
[0023] Furthermore, in step 3, a new adaptive gain is designed, which is:
[0024]
[0025] Among them, e ω Indicates the speed error of the motor rotor ω-ω r , is an adjustable parameter of the adaptive gain, and atan(·) represents the inverse tangent function.
[0026] The innovation of this adaptive gain lies in that it can analyze the availability of the lumped disturbance according to the speed error of the motor rotor and thus make real-time adjustments to the output of the adaptive conditional disturbance compensation regulator to achieve appropriate processing of the lumped disturbance, effectively suppress the high-frequency jitter phenomenon existing in the traditional conditional disturbance compensation regulator and ensure the speed regulation accuracy of the motor.
[0027] Further, in step 3, the adaptive conditional interference compensation regulator is specifically designed as follows:
[0028]
[0029] Where u1 represents the output of the adaptive conditional disturbance compensation regulator, τ(e ω ) is the adaptive gain is a nonlinear function, e ω is the speed error of the motor rotor ω-ω r , χ∈(0,1) represents a sufficiently small normal number.
[0030] The innovation of the adaptive conditional disturbance compensation regulator lies in: it can analyze the characteristics of the lumped disturbance and then properly process the lumped disturbance, that is, reasonably compensate for the harmful disturbance and reasonably utilize the beneficial disturbance, thereby significantly improving the robustness of the permanent magnet synchronous motor while ensuring the excellent dynamic performance and speed regulation accuracy of the permanent magnet synchronous motor.
[0031] Furthermore, in step 3, the nonlinear function is specifically designed as follows:
[0032]
[0033] Here, χ∈(0, 1) represents a sufficiently small normal number.
[0034] The innovation of this nonlinear function is that it can be used to calculate the speed error e of the motor rotor. ω . And the lumped disturbance estimate Calculate In addition, since the nonlinear function is continuous, the chattering problem caused by using a discontinuous switching function is effectively avoided.
[0035] Further, in step 4, the “non-smooth-integral” controller is specifically designed as follows:
[0036]
[0037] Among them, u2 represents the output of the "non-smooth-integral" controller, 0<η<1, r1 and r2 are the adjustable parameters of the controller.
[0038] The innovation of the "non-smooth integral" controller lies in the use of a pair of complementary continuous non-smooth functions to simultaneously process large speed errors and small speed errors. This not only enables the permanent magnet synchronous motor to respond faster to speed commands, that is, accelerates the convergence of speed errors, but also avoids the high-frequency jitter phenomenon caused by traditional non-continuous sign functions, thereby ensuring the speed regulation accuracy of the permanent magnet synchronous motor.
[0039] Furthermore, in step 5, the composite controller can be expressed as:
[0040]
[0041] In a second aspect, the present invention provides a permanent magnet synchronous motor speed control system based on adaptive conditional interference compensation, the system comprising:
[0042] The generalized super-helical extended state observer module is used to estimate the rotor speed of the permanent magnet synchronous motor and the lumped disturbances to which the permanent magnet synchronous motor is subjected in real time;
[0043] The adaptive conditional disturbance compensation regulator module includes three submodules, namely, a disturbance characteristic indicator, an interference processor and an adaptive gain module, which is used to realize a detailed analysis of the lumped disturbance and process the lumped disturbance according to the corresponding analysis results, that is, to appropriately compensate for harmful disturbances and appropriately utilize beneficial disturbances;
[0044] The "non-smooth-integral" controller module includes two complementary non-smooth functions and an integral term, which is used to control the rotor speed of the permanent magnet synchronous motor together with the adaptive conditional disturbance compensation regulator module;
[0045] The d-axis current PI module is used to calculate the d-axis given voltage u based on the d-axis current error d ;
[0046] The q-axis current PI module is used to calculate the q-axis given voltage u based on the q-axis current error q ;
[0047] Clark transformation module is used to transform the three-phase current collected by the sensor into the α-axis current i in the stationary α-β coordinate system. α and the β-axis current i β ;
[0048] The Park transformation module is used to transform the α-axis current i in the stationary α-β coordinate system α and the β-axis current i β Transformed into the d-axis current i in the rotating dq coordinate system d and q-axis current i q ;
[0049] The Park inverse transformation module is used to convert the d-axis given voltage u in the rotating dq coordinate system d and q-axis given voltage u q Transformed into the α-axis given voltage u in the stationary α-β coordinate system α and β-axis given voltage u β ;
[0050] Space vector pulse width modulation module, used to set the voltage u according to the α axis α , β-axis given voltage u βThe acquired DC bus voltage is used to perform pulse width modulation on the inverter, thereby achieving speed control of the permanent magnet synchronous motor.
[0051] In a third aspect, the present invention provides a permanent magnet synchronous motor speed control device based on adaptive conditional interference compensation, the device comprising:
[0052] The host computer is used to observe and record the working conditions of the permanent magnet synchronous motor;
[0053] A control unit, used to store and execute the control program corresponding to the present invention, collect data of relevant state variables required by the control program, and communicate with the host computer in real time;
[0054] A DC power supply, used for providing a DC bus voltage for the inverter;
[0055] An inverter is used to generate a corresponding space voltage vector according to a control instruction of a control unit, thereby driving a permanent magnet synchronous motor;
[0056] Permanent magnet synchronous motor, as the controlled object of the whole device;
[0057] The load unit is used to apply load torque to the permanent magnet synchronous motor.
[0058] The beneficial effects achieved by the present invention are:
[0059] 1. The adaptive conditional disturbance compensation regulator is used to analyze and properly process the lumped disturbance, achieving reasonable compensation for harmful disturbances and reasonable utilization of beneficial disturbances, thereby significantly improving the robustness of the permanent magnet synchronous motor and ensuring its excellent dynamic performance and speed regulation accuracy;
[0060] 2. The generalized super-helical extended state observer is used to estimate the speed and lumped disturbance of the permanent magnet synchronous motor, which achieves a faster and more accurate estimation of the motor speed and lumped disturbance, and thus improves the robustness of the permanent magnet synchronous motor;
[0061] 3. Using a "non-smooth-integral" controller to assist the permanent magnet synchronous motor in speed regulation not only simplifies the design of the permanent magnet synchronous motor speed controller, but also enables the permanent magnet synchronous motor to respond faster to the speed command, thereby improving the dynamic performance of the permanent magnet synchronous motor. Description of the drawings:
[0062] Attached Figure 1 It is a schematic diagram of the device composition of the present invention;
[0063] Attached Figure 2 It is a schematic diagram of the system structure of the present invention;
[0064] Attached Figure 3It is a schematic diagram of a generalized superhelical expansion state observer module of the present invention;
[0065] Attached Figure 4 It is a schematic diagram of the module of the adaptive conditional interference compensation regulator of the present invention;
[0066] Attached Figure 5 It is a schematic diagram of the "non-smooth-integral" controller module of the present invention;
[0067] Attached Figure 6 A flow chart for implementing the method of the present invention;
[0068] Attached Figure 7 This is a diagram of the motor rotor speed in the robustness test experiment of the present invention;
[0069] Attached Figure 8 This is the q-axis current diagram of the motor in the robustness test experiment of the present invention. Specific implementation method:
[0070] The present invention provides a permanent magnet synchronous motor speed control method, system and device based on adaptive conditional interference compensation. In order to make the purpose, technical solution and effect of the present invention clearer, the technical solution in the example of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. It should be noted that the described embodiments are only some embodiments of the present invention, not all embodiments. They are only used to explain the present invention, but not to limit the present invention.
[0071] An embodiment of a permanent magnet synchronous motor speed control device based on adaptive conditional interference compensation, which comprises: Figure 1 As shown, it will be used to specifically illustrate the present invention, including the following parts:
[0072] The host computer 110 implements the writing and debugging of the control program of the present invention, and communicates with the control unit in real time via Ethernet, thereby observing and recording the working condition of the permanent magnet synchronous motor;
[0073] The control unit 120 uses a Flash memory to store the control program of the present invention, uses a TMS320C28346 DSP processor to execute the control program of the present invention at an interrupt frequency of 10kHz, uses an ADC board to collect the stator three-phase current of the permanent magnet synchronous motor and the DC voltage of the DC power supply, uses an encoder board to process the pulse information of the encoder to obtain information such as the position and speed of the rotor, and communicates with the host computer in real time through Ethernet;
[0074] The DC power supply 130 provides an adjustable DC bus voltage of 200V for the inverter and is also provided with a 10A current overcurrent protection;
[0075] The inverter 140 uses an insulated gate bipolar transistor with a switching frequency of up to 10 kHz as a switch tube, and is used to generate a corresponding space voltage vector according to a control instruction of the control unit, thereby driving the permanent magnet synchronous motor;
[0076] The permanent magnet synchronous motor 150, as the controlled object of the whole device, is equipped with an incremental encoder for feedback of the rotor position and the rotor speed;
[0077] The load unit 160 is used to apply load torque to the permanent magnet synchronous motor.
[0078] The relevant parameters of the permanent magnet synchronous motor speed control device are: rated power is 1.5kW, stator winding resistance is 1.5Ω, stator winding inductance is 4.37mH, permanent magnet flux is 0.142wb, and rotor inertia is 1.94×10 -3 kg·m 2 , pole pair number is 4, and the control frequency is 10kHz.
[0079] Corresponding to the embodiment of the above device, an embodiment of a permanent magnet synchronous motor speed control system based on adaptive conditional interference compensation is as follows: Figure 2 As shown, it includes the following modules:
[0080] The generalized superhelical expansion state observer module 210, such as Figure 3 As shown, it is used to estimate the rotor speed of the permanent magnet synchronous motor and the lumped disturbance suffered by the permanent magnet synchronous motor;
[0081] The adaptive conditional disturbance compensation regulator module 220, such as Figure 4 As shown, it includes three submodules, namely, a disturbance characteristic indicator 410, an interference processor 420 and an adaptive gain 430, which are used to realize a detailed analysis of the lumped disturbance and to properly process the lumped disturbance according to the corresponding analysis results, that is, to properly compensate for harmful disturbances and to properly utilize beneficial disturbances;
[0082] "Non-smooth-integrating" controller module 230, such as Figure 5 As shown, it includes two complementary non-smooth functions 510 and an integral term 520, which are used to control the rotor speed of the permanent magnet synchronous motor together with the adaptive conditional disturbance compensation regulator module;
[0083] The d-axis current PI module performs a "proportional-integral" operation on the d-axis current error to obtain the d-axis given voltage u d ;
[0084] The q-axis current PI module performs a "proportional-integral" operation on the q-axis current error to obtain the q-axis given voltage u q ;
[0085] Clark transformation module transforms the three-phase current collected by the sensor into the α-axis current i in the stationary α-β coordinate system α and the β-axis current i β , the transformation follows the principle of constant amplitude;
[0086] The Park transformation module converts the α-axis current i in the stationary α-β coordinate system α and the β-axis current i β Transformed into the d-axis current i in the rotating dq coordinate system d and q-axis current i d , during the transformation, the polar axis of the permanent magnet synchronous motor rotor is aligned with the d-axis of the dq rotating coordinate system;
[0087] The Park inverse transformation module is used to convert the d-axis given voltage u in the rotating dq coordinate system d and q-axis given voltage u q Transformed into the α-axis given voltage u in the stationary α-β coordinate system α and β-axis given voltage u β ;
[0088] Space vector pulse width modulation module, according to the α axis given voltage u α , β-axis given voltage u β The acquired DC bus voltage is used to perform pulse width modulation on the inverter, thereby achieving speed control of the permanent magnet synchronous motor.
[0089] Corresponding to the embodiment of the above system, an embodiment of a permanent magnet synchronous motor speed control method based on adaptive conditional interference compensation is as follows: Figure 6 As shown, the following steps are included:
[0090] Step 610, establishing a mathematical model of the permanent magnet synchronous motor in dq rotating coordinates, and defining required state variables;
[0091] Specifically, in this example, the mathematical model of the permanent magnet synchronous motor is:
[0092]
[0093] Where ω is the rotor angular velocity in rad / s, n is the rotor angular velocity in rpm, J is the moment of inertia, and p is n represents the number of motor pole pairs, ψ f represents the rotor flux, i q represents the stator q-axis current, B represents the viscous friction coefficient, T e Represents electromagnetic torque, T L Indicates load torque.
[0094] Specifically, in this example, the mathematical model of the permanent magnet synchronous motor needs to be rewritten as:
[0095]
[0096] in, is the q-axis stator current reference value, C1 is (1.5p n ψ f0 ) / J0, the total disturbance d is In addition, there are J = J0 + ΔJ and ψ f =ψ f0 +Δψ f ΔJ and Δψ f They are used to represent the moment of inertia J and the rotor flux ψ f The parameter uncertainty of J0 and ψ f0 are used to represent the moment of inertia J and rotor flux ψ respectively f The nominal value size.
[0097] Step 620 (1), firstly, based on the mathematical model of the permanent magnet synchronous motor, a generalized super-helical sliding mode algorithm is used to design an extended state observer, namely, a generalized super-helical extended state observer;
[0098] Specifically, in this example, the generalized superhelical expansion state observer is:
[0099]
[0100] in, is the estimated speed, is the estimated angular acceleration, is the lumped disturbance estimate, is the speed estimation error The function is specifically expressed as The relevant specific parameter configurations are: λ=3 / 4, θ=1 / 2, k1=200, k2=500 and k3=0.01.
[0101] The innovation of the generalized superhelical extended state observer lies in the use of continuous generalized nonsmooth functions to completely replace the discontinuous sign functions commonly used in nonlinear extended state observers, which not only avoids high-frequency chattering but also improves the convergence speed of the observer.
[0102] Step 620(2) then uses the motor rotor angular acceleration estimate in the generalized super-helical extended state observer to indirectly obtain the lumped disturbance estimate, namely:
[0103]
[0104] in, represents the lumped disturbance estimate, represents the estimated value of the motor rotor angular acceleration obtained by the generalized super-helical extended state observer, C1 is equal to (1.5p n ψ f0 ) / J0, and p n is the number of pole pairs of the permanent magnet synchronous motor, ψ f0 is the maximum flux linkage ψ generated by the permanent magnet in one phase f is the nominal value of the moment of inertia J.
[0105] The advantages of this innovative approach are that it can simplify the parameter design of the generalized super-helical expanded state observer and at the same time enable the generalized super-helical expanded state observer to make a fast and accurate estimate of the motor rotor speed.
[0106] Step 630(1) first designs a new adaptive gain, which is:
[0107]
[0108] Among them, e ω Indicates the speed error of the motor rotor ω-ω r , is an adjustable parameter of the adaptive gain, and atan(·) represents the inverse tangent function.
[0109] The innovation of this adaptive gain lies in that it can analyze the availability of the lumped disturbance according to the speed error of the motor rotor and thus make real-time adjustments to the output of the adaptive conditional disturbance compensation regulator to achieve appropriate processing of the lumped disturbance, effectively suppress the high-frequency jitter phenomenon existing in the traditional conditional disturbance compensation regulator and ensure the speed regulation accuracy of the motor.
[0110] Step 630(2), then designing an adaptive conditional disturbance compensation regulator using the disturbance estimate of the generalized superhelical expansion state observer;
[0111] Specifically, in this example, the adaptive conditional interference compensation regulator is:
[0112]
[0113] Where u1 represents the output of the adaptive conditional disturbance compensation regulator, is the adaptive gain, is a nonlinear function, e ω is the speed error of the motor rotor ω-ω r , χ∈(0,1) represents a sufficiently small normal number.
[0114] The innovation of the adaptive conditional disturbance compensation regulator lies in: it can analyze the characteristics of the lumped disturbance and then properly process the lumped disturbance, that is, reasonably compensate for the harmful disturbance and reasonably utilize the beneficial disturbance, thereby significantly improving the robustness of the permanent magnet synchronous motor while ensuring the excellent dynamic performance and speed regulation accuracy of the permanent magnet synchronous motor.
[0115] Step 630(3), then design a nonlinear function for:
[0116]
[0117] In which, x∈(0, 1) represents a sufficiently small normal number.
[0118] The innovation of this nonlinear function is that it can be used to calculate the speed error e of the motor rotor. ω . And the lumped disturbance estimate Calculate In addition, since the nonlinear function is continuous, the chattering problem caused by using a discontinuous switching function is effectively avoided.
[0119] Step 640, designing a "non-smooth-integral" controller using a complementary non-smooth function and an integral term;
[0120] Specifically, in this example, the “non-smooth-integral” controller is:
[0121]
[0122] Among them, u2 represents the output of the "non-smooth-integral" controller, 0<η<1, r1 and r2 are adjustable parameters of the controller. The relevant specific parameter configurations are: r1=0.1, r2=0.1, η=1 / 2.
[0123] The innovation of the "non-smooth integral" controller lies in the use of a pair of complementary continuous non-smooth functions to simultaneously process large speed errors and small speed errors. This not only enables the permanent magnet synchronous motor to respond faster to speed commands, that is, accelerates the convergence of speed errors, but also avoids the high-frequency jitter phenomenon caused by traditional non-continuous sign functions, thereby ensuring the speed regulation accuracy of the permanent magnet synchronous motor.
[0124] Step 650, combining the output of the adaptive conditional disturbance compensation regulator with the output of the "non-smooth-integral" controller to obtain the final composite controller.
[0125] Specifically, in this example, the composite controller is:
[0126]
[0127] An embodiment of a permanent magnet synchronous motor speed control method, system and device based on adaptive conditional interference compensation has been specifically explained and illustrated, so that the technical solution of the present invention is clearer and easier for engineers to implement. Based on this example, the effect of the present invention is further demonstrated through experiments.
[0128] In order to verify that the present invention has excellent robustness, when the rotor speed of the permanent magnet synchronous motor is 600rpm, the load torque of the permanent magnet synchronous motor is suddenly changed by using a load unit to test the robustness of the embodiment. Figure 7-Figure 8 As shown, it is not difficult to see that the speed drop of this embodiment in the experiment is small and the speed recovery time is short, which can prove that the present invention has excellent robustness. In summary, the present invention achieves a significant improvement in the robustness of the permanent magnet synchronous motor while ensuring the excellent dynamic performance and speed regulation accuracy of the permanent magnet synchronous motor.
[0129] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0130] Although the present invention has been described according to various specific embodiments, those skilled in the art will appreciate that the present invention can be implemented with modifications within the spirit of the claims. Therefore, any obvious improvements, substitutions or modifications that can be made by those skilled in the art without departing from the essence of the present invention belong to the protection scope of the present invention.
Claims
1. A motor speed control method with conditional disturbance compensation, It is characterized in that The steps include: Step 1: Establish a mathematical model of the permanent magnet synchronous motor in dq rotating coordinates and define the required state variables; Step 2, based on the mathematical model of the permanent magnet synchronous motor, a generalized super-helical sliding mode algorithm is used to design an extended state observer, namely, a generalized super-helical extended state observer, and a lumped disturbance estimate is calculated; The generalized superhelical expansion state observer is: in, is the estimated value of the motor rotor speed, is the estimated angular acceleration of the motor rotor, is the estimated error of the motor rotor speed The function is specifically expressed as The observer parameters satisfy 0<λ<1,θ>1; in addition, k 1 , k 2 and k 3 is the adjustable observer gain; The estimated value of the motor rotor angular acceleration in the generalized super-helical extended state observer is used to indirectly obtain the estimated value of the lumped disturbance, that is: in, represents the lumped disturbance estimate, represents the estimated value of the motor rotor angular acceleration obtained by the generalized super-helical extended state observer, C 1 Equal to (1.5p n ψ f0 ) / J 0 , and p n is the number of pole pairs of the permanent magnet synchronous motor, ψ f0 is the maximum flux linkage ψ generated by the permanent magnet in one phase f The nominal value, J 0 is the nominal value of the moment of inertia J; Step 3: Design an adaptive conditional disturbance compensation regulator using the disturbance estimation value of the generalized superhelical expansion state observer; specifically: A new adaptive gain is designed, which is: Among them, e ω Indicates the speed error of the motor rotor ω-ω r , is an adjustable parameter of adaptive gain; The adaptive conditional disturbance compensation regulator is: Among them, u 1 represents the output of the adaptive conditional disturbance compensation regulator, τ(e ω ) is the adaptive gain e ω is the speed error of the motor rotor ω-ω r , atan(·) represents the inverse tangent function, is a nonlinear function; The nonlinear function is: Among them, χ∈(0,1) represents a sufficiently small normal number; Step 4: Design a "non-smooth-integral" controller using complementary non-smooth functions and integral terms; The "non-smooth-integral" controller is: Among them, u 2 represents the output of the "non-smooth-integral" controller, 0<η<1, r 1 and r 2 is the adjustable parameter of the controller; Step 5: Combine the output of the adaptive conditional disturbance compensation regulator with the output of the "non-smooth-integral" controller to obtain the final composite controller.
2. A motor speed control method with conditional interference compensation according to claim 1, It is characterized in that In step 5, the composite controller is:
3. A permanent magnet synchronous motor speed control system based on the motor speed control method with conditional interference compensation according to any one of claims 1 or 2, It is characterized in that Includes the following modules: The generalized super-helical extended state observer module is used to estimate the rotor speed of the permanent magnet synchronous motor and the lumped disturbances to which the permanent magnet synchronous motor is subjected; The adaptive conditional disturbance compensation regulator module is used to analyze the aggregate disturbance and process the aggregate disturbance according to the corresponding analysis results, that is, to compensate for harmful disturbances and utilize beneficial disturbances; The "non-smooth-integral" controller module is used to control the rotor speed of the permanent magnet synchronous motor together with the adaptive conditional disturbance compensation regulator module; The d-axis current PI module is used to calculate the d-axis given voltage u based on the d-axis current error d ; The q-axis current PI module is used to calculate the q-axis given voltage u based on the q-axis current error q ; Clark transformation module is used to transform the three-phase current collected by the sensor into the α-axis current i in the stationary α-β coordinate system. α and the β-axis current i β ; The Park transformation module is used to transform the α-axis current i in the stationary α-β coordinate system α and the β-axis current i β Transformed into the d-axis current i in the rotating dq coordinate system d and q-axis current i q ; The Park inverse transformation module is used to convert the d-axis given voltage u in the rotating dq coordinate system d and q-axis given voltage u q Transformed into the α-axis given voltage u in the stationary α-β coordinate system α and β axis given voltage u β ; Space vector pulse width modulation module, used to set the voltage u according to the α axis α , β-axis given voltage u β The acquired DC bus voltage is used to perform pulse width modulation on the inverter, thereby achieving speed control of the permanent magnet synchronous motor.
4. A permanent magnet synchronous motor speed control device based on the motor speed control method with conditional interference compensation according to any one of claims 1 or 2, It is characterized in that The device includes: The host computer is used to observe and record the working conditions of the permanent magnet synchronous motor; A control unit, used to store and execute the control program corresponding to the present invention, collect data of relevant state variables required by the control program, and communicate with the host computer in real time; A DC power supply, used for providing a DC bus voltage for the inverter; An inverter is used to generate a corresponding space voltage vector according to a control instruction of a control unit, thereby driving a permanent magnet synchronous motor; Permanent magnet synchronous motor, as the controlled object of the whole device; The load unit is used to apply load torque to the permanent magnet synchronous motor.
