Permanent magnet synchronous motor current constraint speed regulation method based on control barrier function

By constructing a current-constrained composite controller for controlling obstacle function and Lyapunov function in a permanent magnet synchronous motor, the problem of difficulty in limiting the q-axis current and multi-source interference in the non-cascade structure is solved, and high-precision speed tracking and strict Current constraints, suitable for real-time computing environments.

CN119030386AActive Publication Date: 2024-11-26HUAZHONG UNIV OF SCI & TECH

Patent Information

Application Number
CN202411129713.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-11-26
Estimated Expiration
2044-08-16

AI Technical Summary

Technical Problem

Under the non-cascade control structure of permanent magnet synchronous motor, the q-axis current is difficult to limit, and multi-source interference leads to undesirable speed regulation effects, and the prior art calculations are complex or difficult to achieve real-time response.

Method used

By establishing a control model of a permanent magnet synchronous motor, using an interference observer to estimate matching and non-match interference, constructing a control obstacle function and controlling Liyapunov function, forming a current constraint composite controller, eliminating the influence of multi-source interference, and achieving high-precision speed tracking and strict current constraints.

Benefits of technology

It realizes strict constraints on current and high-precision speed tracking under non-cascade control structures, avoids the problems of complex computing and difficult response in the prior art, and is suitable for real-time computing environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030386A_ABST
    Figure CN119030386A_ABST
Patent Text Reader

Abstract

The invention discloses a permanent magnet synchronous motor current constraint speed regulation method based on a control barrier function, which belongs to the field of motor control, and comprises the following steps of: estimating matched and non-matched multi-source interference in a system through an interference observer, and then constructing the control barrier function as motor current constraint based on interference estimation information; constructing a control Lyapunov function as a constraint to ensure the stability of a motor closed-loop speed regulation system, constructing a current constraint composite controller, and taking the current constraint composite controller as a current constraint controller under a non-cascade control structure to realize the rotating speed control of the permanent magnet synchronous motor servo system under the disturbance influence; the influence of multi-source interference on rotating speed tracking and current constraint is eliminated by using a compound control method based on the interference observer, and strict current constraint is ensured while high-precision rotating speed tracking is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of motor control, and more specifically, relates to a permanent magnet synchronous motor current constraint speed regulation method based on a control obstacle function. Background Art

[0002] Permanent magnet synchronous motors have the characteristics of high air gap magnetic density, small torque pulsation, high efficiency and simple structure. They are in the mainstream in small and medium power AC speed control systems such as industrial robot control, CNC machine tools, aerospace and military weapon follow-up systems. With the development of power electronics technology and current control theory, more and more scholars have begun to study the speed control problem of permanent magnet synchronous motors under non-cascade structure. Compared with the traditional cascade control structure, the non-cascade structure that combines the speed loop and the current loop into a second-order system has many advantages such as simple parameter adjustment, direct control quantity and large control bandwidth.

[0003] Although the non-series speed regulation of permanent magnet synchronous motor has the above advantages in its control structure, it also brings two challenges to the control. First, the control reference value of the q-axis current under the cascade structure is determined by the output of the speed loop and is limited by the saturation function. However, under the non-series speed regulation structure, the q-axis current becomes an intermediate state, so it cannot be limited by the same method. Excessive current may cause damage to electronic devices and motors in the circuit. Secondly, there are multi-source fast-changing interferences such as cogging torque, flux harmonics, parameter uncertainty, unmodeled dynamics, and unknown load torque in the permanent magnet synchronous motor system. These interferences cannot be directly compensated because they are not in the same channel as the control input, resulting in unsatisfactory speed regulation effects.

[0004] In response to the above two challenges, scholars at home and abroad have conducted a lot of research. The literature "S. Zhou, S. Sui, and S. Tong. Adaptive neural networks optimal control of permanent magnet synchronous motor system with state constraints. Neurocomputing [J], 2022, 504: 132-140" is based on the backstepping design idea, and introduces the barrier Lyapunov function in each step of the backstepping design to restrict the state. However, when the backstepping method iteratively solves the controller, it is necessary to continuously derive the intermediate virtual control quantity. This makes the calculation process complicated and the amount of calculation expands, so it is difficult to achieve the ideal control effect. The reference "J.Liu, J.Yang, S.Li, and X.Wang. Single-loop robust model predictive speed regulation of PMSM based on exogenous signal preview. IEEE Transactions on Industrial Electronics [J], 2023, 70 (12): 12719-12729" adopts the model predictive control method and adds the information of the state to be constrained when solving the controller, so as to obtain a control input that satisfies the constraints. Unfortunately, this control method may face the challenge of conflicting requirements for fast system response and the heavy computational burden brought by online optimization, so it is difficult to implement in some application environments that require real-time computing. The reference "T.Guo, Z.Sun, X.Wang, S.Li, and K.Zhang. A simple current-constrained controller for permanent-magnet synchronous motor. IEEE Transactions on Industrial Informatics [J], 2019, 15 (3): 1486-1495" proposes a current constraint control scheme that takes into account both overcurrent protection and speed dynamic response, that is, on the basis of the traditional proportional differential feedback controller, the barrier function design idea is introduced. This scheme adds a current constraint penalty term in the feedback controller to constrain the current, thereby achieving overcurrent protection; however, when the q-axis current is closer to the limit value, the penalty gain becomes larger, resulting in a larger control input, which is difficult to achieve in actual application; in addition, this scheme uses a nonlinear penalty term, which only applies the current equivalent value of the load torque. This is true when the current limit value c is less than the current limit value c. Summary of the invention

[0005] In view of the above defects or improvement needs of the prior art, the present invention provides a permanent magnet synchronous motor current constraint speed control method based on a control barrier function for a permanent magnet synchronous motor system under a non-cascade control structure, which can eliminate the influence of multi-source fast-changing interference on speed tracking and current constraint, and ensure strict current constraint while achieving high-precision speed tracking.

[0006] To achieve the above object, according to a first aspect of the present invention, a permanent magnet synchronous motor current constraint speed regulation method based on a control barrier function is provided, comprising:

[0007] S1, with the desired mechanical angular velocity ω of the motor rotor r , motor mechanical angular velocity ω and motor q-axis current i q As the state quantity, a control model of permanent magnet synchronous motor servo system is established;

[0008] S2, using the interference observer to estimate the matching interference d of the system q and non-matching interference d ω ;

[0009] S3, according to the control model and d q The estimated value ζ2 is used to construct a control obstacle function as the motor current constraint; according to the control model and d ω The estimated value z2 of is constructed, and the control Lyapunov function is used as a constraint to ensure the stability of the system, so as to establish a current constraint composite controller;

[0010] S4, controlling the permanent magnet synchronous motor servo system based on the current constraint composite controller;

[0011] Wherein, the current constraint composite controller is:

[0012]

[0013] u∈u max

[0014] in, is the control model of the system, x1=ω r -ω, u=u q -R s i q -ω e L s i d -ω e ψ f , K m =1.5n p ψ f, n p is the polar logarithm, ψ f is the permanent magnet flux, J is the moment of inertia, B is the viscous friction coefficient, u q is the q-axis voltage of the stator winding, R s is the stator resistance, i d is the motor d-axis stator current, ω e is the electrical angular velocity of the rotor, L s is the stator inductance, and is the control barrier function; To control the Lyapunov function, δ is the relaxation factor, β c is the control barrier function gain, and are the upper and lower bounds of the current constraint, c is the current limit value, η, φ and β are positive numbers; ε2 is d q The estimated error term is is the Lyapunov function, is a positive definite matrix, α is the control Lyapunov function gain, is a positive number, u max is the maximum value of the control input u.

[0015] According to a second aspect of the present invention, there is provided an electronic device, comprising: a computer-readable storage medium and a processor;

[0016] The computer-readable storage medium is used to store executable instructions;

[0017] The processor is used to read the executable instructions stored in the computer-readable storage medium and execute the method as described in the first aspect.

[0018] According to a third aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to cause a processor to execute the method as described in the first aspect.

[0019] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects compared with the prior art:

[0020] 1. The method provided by the present invention estimates the matched and unmatched multi-source interference in the system through an interference observer, and then constructs a control obstacle function as a motor current constraint based on the interference estimation information, and constructs a control Lyapunov function as a constraint to ensure the stability of the motor speed regulation closed-loop system, thereby ensuring high-precision speed regulation, and constructs a current constraint composite controller based on the above constraints, and uses it as a current constraint controller under a non-cascade control structure to achieve speed control of a permanent magnet synchronous motor servo system under the influence of disturbances; the present invention utilizes a composite control method based on an interference observer to eliminate the influence of multi-source interference on speed tracking and current constraints, and ensures strict current constraints while achieving high-precision speed tracking.

[0021] 2. The existing method of realizing current constraint control through nonlinear penalty term only applies the current equivalent value of load torque. Compared with this method, the method provided by the present invention realizes strict current constraint by controlling the barrier function technology. Specifically, the control input set for realizing the current constraint by controlling the barrier function is:

[0022]

[0023] ; The control input set to achieve the stability of the closed-loop system by controlling the Lyapunov function is: The final calculated composite control input is the intersection of the two u∈{K u1 ∩K u2 Therefore, no matter whether the current equivalent value of the applied load torque is greater than the motor current constraint value, the present invention can ensure strict current constraint. That is, the present invention can not only ensure The current constraint is less than the current limit value c, and when the applied load torque makes , the present invention can still ensure current constraint. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A flow chart of a permanent magnet synchronous motor current constraint speed regulation method based on a control barrier function provided in an embodiment of the present invention.

[0025] Figure 2 It is the block diagram of permanent magnet synchronous motor servo system based on vector control; DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0027] The embodiment of the present invention provides a permanent magnet synchronous motor current constraint speed regulation method based on the control obstacle function, such as Figure 1 As shown, including:

[0028] S1, with the desired mechanical angular velocity ω of the motor rotor r , motor mechanical angular velocity ω and motor q-axis current i q As the state quantity, a control model of permanent magnet synchronous motor servo system is established.

[0029] Specifically, according to the mathematical model of the permanent magnet synchronous motor, the desired mechanical angular velocity ω of the motor rotor is r , motor mechanical angular velocity ω, motor q-axis current i q As the state quantity, a control model of permanent magnet synchronous motor servo system is established.

[0030] The mathematical model of the permanent magnet synchronous motor servo system is:

[0031]

[0032] Among them, u d and u q They are the stator winding d-axis and q-axis voltages, i d and i q is the stator current of the d and q axes, L s is the stator inductance, R s is the stator resistance, ω e is the electrical angular velocity of the rotor, ψ f is the permanent magnet flux, J is the moment of inertia, B is the viscous friction coefficient; T L is the load torque; K m =1.5n p ψ f ;n p is the extreme logarithm.

[0033] The control model of the system is:

[0034]

[0035] in, x1=ω r -ω, u=u q -Rs i q -ω e L s i d -ω e ψ f , d q is the matching interference in the system, d ω It is the non-matching interference in the system.

[0036] S2, using the interference observer to estimate the matching interference d of the system q and non-matching interference d ω .

[0037] It can be understood that in step S2, the method for estimating the matching interference d q and non-matching interference d ω The disturbance observer may adopt any existing disturbance observer, for example, a generalized proportional integral observer GPIO, an extended state observer ESO, a disturbance observer DOB, etc. The embodiment of the present invention does not make a unique limitation to this.

[0038] As an example, preferably, a generalized proportional integral observer GPIO is used as a disturbance observer to estimate the matching disturbance d of the system. q :

[0039]

[0040] Among them, ζ1 is the estimated value of x2, ζ2...ζ n+1 They are matched interference d q and the estimates of its derivatives, p1…p n+1 is the observer gain of the GPIO.

[0041] The generalized proportional integral observer (GPIO) is used as a disturbance observer to estimate the unmatched disturbance d of the system. ω :

[0042]

[0043] Among them, z1 is the estimated value of x1, z2...z n+1 are the non-matching interference d ω and the estimated values ​​of its derivatives, l1…l n+1 is the observer gain of the GPIO.

[0044] S3, according to the control model and d q The estimated value ζ2 is used to construct a control obstacle function as the motor current constraint; according to the control model and d ω The estimated value z2 is used to construct the control Lyapunov function as a constraint to ensure system stability in order to establish a current constrained composite controller.

[0045] Specifically, based on the matching interference d q and non-matching interference d ω The estimated information of is constructed by controlling the Lyapunov function and the control barrier function technology, and the quadratic programming method is used to solve it to obtain the optimal control input u.

[0046] The current constraint composite controller is:

[0047]

[0048] u∈u max

[0049] in, and is the control obstacle function, i.e., the motor current constraint; is the control Lyapunov function, which is used as a constraint to ensure the stability of the system; δ is the relaxation factor; β c is the control barrier function gain, β c The larger it is, the stronger the current restraint capability is, and vice versa; and are the upper and lower bounds of the current constraint, c is the current limit value; η, φ and β are positive numbers (the specific values ​​can be set according to the actual situation, for example, Figure 1 As shown, η and φ can be taken as 1 / 2); ε2 is the matching interference d q The estimated error term of ; is the Lyapunov function, is a positive definite matrix; α controls the gain of the Lyapunov function. The larger the α is, the faster the closed-loop system converges, and vice versa. is a positive number; u max is the maximum value of the control input.

[0050] S4, controlling the permanent magnet synchronous motor servo system based on the current constraint composite controller.

[0051] Specifically, solve the current constraint composite controller established by S3 to obtain the optimal control input u, and then use u q =u+R s i q +ω e L s i d +ω e ψ f Get the actual optimal control input u d , to control the permanent magnet synchronous motor servo system.

[0052] like Figure 2As shown, S4 includes:

[0053] S4.1, Setting As the setting signal of the d-axis current controller; the collected motor current signal i a ,i b Perform Clarke transformation and Park transformation to obtain the current value i in the dq coordinate system d and i q , respectively i d ,i q As the feedback signal of the d-axis current controller (i.e., PI controller) and the q-axis current controller (i.e., current constraint composite controller), the output u of the dq-axis current controller is obtained through the control of the d-axis current controller and the q-axis current controller. d and u q ;

[0054] S4.2, output u of dq axis current controller d and u q Perform Park inverse transformation to obtain the reference value u of the stator phase voltage in the αβ coordinate system α and u β ;

[0055] S4.3, according to u α and u β Use space vector pulse width modulation technology to generate PWM control signal;

[0056] S4.4, the controllable switch device IGBT is controlled by the PWM control signal to invert the required three-phase AC power to drive the motor to operate, and the actual speed of the motor is obtained.

[0057] Preferably, in the permanent magnet synchronous motor servo system, a photoelectric encoder is used to collect the speed signal of the PMSM servo motor, and a Hall current sensor is used to collect the current signal of the motor.

[0058] An embodiment of the present invention provides an electronic device, characterized by comprising: a computer-readable storage medium and a processor;

[0059] The computer-readable storage medium is used to store executable instructions;

[0060] The processor is used to read the executable instructions stored in the computer-readable storage medium and execute the method described in any of the above embodiments.

[0061] An embodiment of the present invention provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to execute the method described in any of the above embodiments.

[0062] It will be easily understood by those skilled in the art that the above description is only 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 in the protection scope of the present invention.

Claims

1. A current-constrained speed control method for permanent magnet synchronous motor based on control obstacle function, It is characterized in that include: S1, with the desired mechanical angular velocity ω of the motor rotor r , motor mechanical angular velocity ω and motor q-axis current i q As the state quantity, a control model of permanent magnet synchronous motor servo system is established; S2, using the interference observer to estimate the matching interference d of the system q and non-matching interference d ω ; S3, according to the control model and d q The estimated value of 2 , construct a control obstacle function as the motor current constraint; according to the control model and d ω The estimated value z 2 , construct the control Lyapunov function as a constraint to ensure the system stability in order to establish a current constraint composite controller; S4, controlling the permanent magnet synchronous motor servo system based on the current constraint composite controller; Wherein, the current constraint composite controller is: in, is the control model of the system, x 1 =ω r -ω, u=u q -R s i q -ω e L s i d -ω e ψ f , K m =1.5n p ψ f , n p is the polar logarithm, ψ f is the permanent magnet flux, J is the moment of inertia, B is the viscous friction coefficient, u q is the q-axis voltage of the stator winding, R s is the stator resistance, i d is the motor d-axis stator current, ω e is the electrical angular velocity of the rotor, L s is the stator inductance, and is the control barrier function; To control the Lyapunov function, δ is the relaxation factor, β c is the control barrier function gain, and are the upper and lower bounds of the current constraint, c is the current limit value, η, φ and β are positive numbers; ε 2 Yes q The estimated error term is is the Lyapunov function, is a positive definite matrix, α is the control Lyapunov function gain, is a positive number, u max is the maximum value of the control input u.

2. The method according to claim 1, It is characterized in that The generalized proportional integral observer (GPIO) is used as a disturbance observer to estimate the matching disturbance d of the system. q : Among them, 1 is x 2 The estimated value of 2 …ζ n+1 They are matched interference d q and its derivative estimate, p 1 …p n+1 is the observer gain of the GPIO.

3. The method according to claim 1 or 2, It is characterized in that The generalized proportional integral observer (GPIO) is used as a disturbance observer to estimate the non-matching disturbance d of the system. ω : Among them, z 1 is x 1 The estimated value of z 2 …z n+1 are the non-matching interference d ω and its derivative estimates, l 1 ... n+1 is the observer gain of the GPIO.

4. The method according to claim 1, It is characterized in that Step S4 includes: S4.1, Setting As the setting signal of the d-axis current controller; the collected motor current signal is subjected to Clarke transformation and Park transformation operations to obtain the current value i in the dq coordinate system d and i q , respectively i d and i q As the feedback signal of the d-axis current controller and the q-axis current controller, the output u of the d-axis and q-axis current controllers is obtained through the control of the d-axis current controller and the q-axis current controller. d and u q ; Among them, the d-axis current controller is a PI controller, and the q-axis current controller is a current constraint composite controller; S4.2, for u d and u q Perform Park inverse transformation to obtain the reference value u of the stator phase voltage in the αβ coordinate system α and u β ; S4.3, according to u α and u β Use space vector pulse width modulation technology to generate PWM control signal; S4.4, the controllable switch device IGBT is controlled by the PWM control signal to invert the required three-phase AC power to drive the motor to operate, and the actual speed of the motor is obtained.

5. The method according to claim 1, It is characterized in that A photoelectric encoder is used to collect the speed signal of the permanent magnet synchronous motor servo motor, and a Hall current sensor is used to collect the current signal of the motor.

6. An electronic device, It is characterized in that include: A computer readable storage medium and a processor; The computer-readable storage medium is used to store executable instructions; The processor is used to read the executable instructions stored in the computer-readable storage medium and execute the method according to any one of claims 1 to 5.

7. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to execute the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Full-state specified performance PMSM time delay control method of adaptive neural learning

    CN114598217A

  • Speed regulation control method of permanent magnet synchronous motor system constrained by current and rotating speed

    CN116633216A

  • Permanent magnet synchronous motor speed prediction control method based on safety current limitation

    CN117749018A

Cited By

  • Green anti-interference control method and device for CMG framework servo system

    CN122131612A

  • Green anti-interference control method and device for cmg frame servo system

    CN122131612B