Permanent magnet synchronous motor control method
Through the combination of adaptive time-varying integral sliding mode controller and iterative learning sliding mode expansion disturbance observer, the problem of sensitivity to parameter changes and chattering in permanent magnet synchronous motor control is solved, the control accuracy and convergence performance are improved, and stronger control is achieved. dynamic and robust performance.
Patent Information
- Application Number
- CN202410937602.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-10-18
AI Technical Summary
Traditional PI control is sensitive to changes in permanent magnet synchronous motor parameters and is difficult to achieve ideal control effects. Sliding mode control has chattering problems when reaching the sliding mode surface, and the accuracy and limited time of the disturbance observer affect the control performance.
Construct an adaptive time-varying integral sliding mode controller and a sliding mode expansion disturbance observer based on iterative learning. By combining the time-varying integral sliding mode surface and the sliding mode expansion disturbance observer, the control strategy is optimized to improve the control accuracy and convergence performance of the system. .
It improves the fast convergence performance of the sliding mode controller, reduces system chattering, eliminates overshoot during startup and recovery, and improves the dynamic and robust performance of motor control.
Smart Images

Figure CN118801752A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of motor control, and in particular to a permanent magnet synchronous motor control method. Background Art
[0002] Permanent magnet synchronous motors can meet the requirements of high-performance systems due to their simple structure, high power density, strong controllability, strong mechanical properties, fast response speed, and wide speed regulation range. This makes them the preferred solution for motor drive systems and has been widely used in many engineering fields. However, there are problems such as parameter drift and external interference in motor control systems. Traditional PI control is sensitive to parameter changes and it is difficult to achieve ideal control effects. Therefore, the development of high-performance control technology has become the current mainstream research.
[0003] Sliding mode control is widely used in permanent magnet synchronous motor speed control systems due to its advantages such as insensitivity to system parameters, fast response and strong robustness. Sliding mode control consists of two stages: arrival stage and sliding stage. In the sliding stage, the state of the traditional linear sliding surface system can only achieve asymptotic convergence, the convergence speed is slow, and the control effect is not ideal. Adding integral terms and terminal terms improves its control quality. The existence of the integral term eliminates the steady-state error but is more likely to cause overshoot problems. In addition, in the process of reaching the sliding surface, the existence of the discontinuous switching function causes system jitter, affecting the control performance of the system.
[0004] During the operation of the system, changes in internal parameters and external loads will affect the performance of the system, and the size of the disturbance is unknown. In order to suppress the impact of this part of the disturbance, the disturbance observer is used to estimate the unknown disturbance of the system and compensate it to the controller to further improve the control performance of the system. The accuracy problem and finite time problem of the observer estimating the disturbance are still the focus of research. Therefore, improving the control accuracy and convergence performance of permanent magnet synchronous motors based on disturbance observers is still a major challenge. Summary of the invention
[0005] An embodiment of the present invention provides a permanent magnet synchronous motor control method, comprising:
[0006] Based on the mechanical motion equation of the permanent magnet synchronous motor, the motor speed error equation is constructed;
[0007] Based on the motor speed error equation, a time-varying integral sliding surface is constructed;
[0008] Based on the time-varying integral sliding mode surface, an adaptive time-varying integral sliding mode controller is constructed;
[0009] Based on the motor speed error equation, a sliding mode expansion disturbance observer based on iterative learning is constructed;
[0010] The permanent magnet synchronous motor is controlled based on an adaptive time-varying integral sliding mode controller and an iterative learning-based sliding mode expansion disturbance observer.
[0011] Preferably, the motor speed error equation is constructed based on the mechanical motion equation of the permanent magnet synchronous motor, including:
[0012] Obtain the mechanical equations of motion for a permanent magnet synchronous motor:
[0013]
[0014] Where ω represents the actual rotor angular velocity, represents the first-order derivative of ω, k t kt represents the torque constant, k t =1.5p n ψ f , p n is the number of magnetic pole pairs, ψ f Indicates the magnetic linkage value, i q represents the actual q-axis current, B is the viscous friction coefficient, J is the rotational inertia, T L Indicates load torque;
[0015] Substituting the actual q-axis current with the given q-axis current, an equivalent interference model is constructed:
[0016]
[0017] In the formula, d is the lumped uncertainty disturbance of the permanent magnet synchronous motor system, Represents the given q-axis current; the q-axis current motor is the desired control current of the motor in actual control;
[0018] The motor speed is set to N ref , the actual speed of the motor is N, and the integral of the speed error is taken as the state variable
[0019] The motor speed error equation is constructed as follows:
[0020]
[0021] In the formula, ξ 1 represents the integral of the speed error, ξ 2 Indicates the speed error ξ 1 The first derivative of ref represents the given speed of the motor, N represents the actual speed of the motor, ω re f represents the given rotor angular velocity; the rotor angular velocity is the desired speed of the motor.
[0022] Preferably, constructing a time-varying integral sliding surface based on the motor speed error equation includes:
[0023] The speed error of the motor speed error equation converges quickly to the state zero point, and the designed time-varying integral terminal sliding surface is:
[0024]
[0025] Where p>0,q>0; sgn() is the switching function; the state zero point refers to the error as a state variable, which converges to 0; add the adaptive time-varying integral initial state in the integrator:
[0026]
[0027] s 1 , r 1 ,s 2 , r 2 All are less than 0;
[0028] The time-varying integral sliding surface is constructed as follows:
[0029]
[0030] 0<λ<1.
[0031] Preferably, constructing an adaptive time-varying integral sliding mode controller based on a time-varying integral sliding mode surface includes:
[0032] The adaptive time-varying integral sliding mode controller is constructed as follows:
[0033]
[0034] α>1,k 0 >0,0 <p<1;
[0035] In the formula, |ξ 1 | α +k 0 The term makes the system speed up when it is far away from the sliding surface and slow down when it is close to the sliding surface; and the reaching law is switched by piecewise function. When the system moves near the sliding surface, it does not contain switching terms, and due to the power term e|s| p With the existence of sgn(s), the system can still converge to zero, reducing the jitter while ensuring the speed;
[0036] In order to verify the stability of the sliding surface, the Lyapunov equation V = 0.5s 2 , and we can get We can get:
[0037] When |s|>q,
[0038] When |s|≤q,
[0039] Λ=|ξ 1 | α +k 0 ;
[0040] Before the state variable reaches the sliding mode, It is always less than 0, which satisfies the stability condition and the system is stable.
[0041] Preferably, the construction of a sliding mode expansion disturbance observer based on iterative learning based on the motor speed error equation includes:
[0042] The constructed estimation equation is: represents the observed value of d;
[0043] Based on the equivalent interference model and its estimation equation, the observation error is obtained:
[0044]
[0045] The sliding surface of the observer designed based on the speed observation error is: The reaching law selects the adaptive switching control law u sw ;
[0046] The control term u of the observer to be designed smo =u sw -e ω , Lyapunov's theorem can be used to prove that this extended sliding mode disturbance observer is stable;
[0047] Iterative learning is introduced and the sliding mode disturbance observer based on iterative learning is constructed as follows:
[0048]
[0049] r>0, r is the learning gain, which affects the tracking accuracy and convergence speed; 0<η<1, e is the forgetting factor that attenuates the accumulation effect of non-periodic disturbances.
[0050] Preferably, the control of the permanent magnet synchronous motor by combining the time-varying integral sliding mode control and the sliding mode disturbance observer based on iterative learning comprises:
[0051] Based on the above method of combining the time-varying integral sliding mode control with the sliding mode disturbance observer based on iterative learning to control the permanent magnet synchronous motor, the equivalent control law and the switching control rate are updated as follows:
[0052]
[0053] Based on the updated control rate, the actual control output of the system is obtained:
[0054]
[0055] To analyze the stability of the time-varying integral sliding mode control under the iterative learning sliding mode disturbance observer, the Lyapunov function is constructed at the j-th iteration as follows:
[0056]
[0057] where, s j is the sliding mode surface after the j-th iteration of the introduced observer, and we can obtain:
[0058] When s < q:
[0059]
[0060] Therefore, the change of the first Lyapunov function between two iterations can be deduced as:
[0061]
[0062] The change of the second Lyapunov function between two consecutive iterations has the following form:
[0063]
[0064] The change of the third Lyapunov function between two consecutive iterations can have the following form:
[0065]
[0066] The change of the Lyapunov function between the j-th and (j - 1)-th iterations can be obtained:
[0067]
[0068] is very small, then the above formula satisfies
[0069]
[0070] Let the arrival rate coefficient e satisfy then △V j is semi-negative definite, and when s ≠ 0, △V j < 0, ensuring that the above controller can converge to zero;
[0071] When s > q, it can be similarly proved that it converges to zero.
[0072] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: the adaptive time-varying gain switching control law is used to control the adaptive time-varying integral sliding mode surface, which improves the fast convergence performance of the sliding mode controller while weakening the system jitter and eliminating the overshoot during system startup and recovery. A sliding mode expansion disturbance observer based on iterative learning is proposed to observe the uncertain disturbances to which the motor is subjected during operation, and finally the adaptive time-varying integral sliding mode is combined with the sliding mode expansion disturbance observer based on iterative learning to perform composite control on the permanent magnet synchronous motor. Compared with traditional PI and SMC control, the present invention has stronger dynamic performance and better robust performance.
[0073] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0074] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0076] Figure 1 The figure is a flow chart of a permanent magnet synchronous motor control method in one embodiment of the present invention;
[0077] Figure 2 The figure is a schematic diagram of the structure of an adaptive time-varying integral sliding mode control in an embodiment of the present invention;
[0078] Figure 3 FIG. 1 is a schematic diagram of the structure of a sliding mode expansion disturbance observer based on iterative learning in one embodiment of the present invention;
[0079] Figure 4 It is a schematic structural diagram of an adaptive time-varying integral sliding mode control based on disturbance compensation in one embodiment of the present invention;
[0080] Figure 5 The following is a simulation comparison diagram of the control method, PI and SMC in simulink in one embodiment of the present invention. DETAILED DESCRIPTION
[0081] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0082] The embodiment of the present invention provides a permanent magnet synchronous motor control method, such as Figure 1 As shown, including:
[0083] Based on the mechanical motion equation of the permanent magnet synchronous motor, the motor speed error equation is constructed;
[0084] Based on the motor speed error equation, a time-varying integral sliding surface is constructed;
[0085] Based on the time-varying integral sliding mode surface, an adaptive time-varying integral sliding mode controller is constructed;
[0086] Based on the motor speed error equation, a sliding mode expansion disturbance observer based on iterative learning is constructed;
[0087] The permanent magnet synchronous motor is controlled based on an adaptive time-varying integral sliding mode controller and an iterative learning-based sliding mode expansion disturbance observer.
[0088] The motor speed error equation is constructed based on the mechanical motion equation of the permanent magnet synchronous motor, including:
[0089] Obtain the mechanical equations of motion for a permanent magnet synchronous motor:
[0090]
[0091] Where ω represents the actual rotor angular velocity, represents the first-order derivative of ω, k t kt represents the torque constant, k t =1.5p n ψ f , p n is the number of magnetic pole pairs, ψ f Indicates the magnetic linkage value, i q represents the actual q-axis current, B is the viscous friction coefficient, J is the rotational inertia, T L Indicates load torque;
[0092] Substituting the actual q-axis current with the given q-axis current, an equivalent interference model is constructed:
[0093]
[0094] In the formula, d is the lumped uncertainty disturbance of the permanent magnet synchronous motor system, Represents the given q-axis current; the q-axis current motor is the desired control current of the motor in actual control;
[0095] The motor speed is set to N ref , the actual speed of the motor is N, and the integral of the speed error is taken as the state variable
[0096] The motor speed error equation is constructed as follows:
[0097]
[0098] In the formula, ξ 1 represents the integral of the speed error, ξ 2 Indicates the speed error ξ 1 The first derivative of ref represents the given speed of the motor, N represents the actual speed of the motor, ω re f represents the given rotor angular velocity; the rotor angular velocity is the desired speed of the motor.
[0099] The step of constructing a time-varying integral sliding surface based on the motor speed error equation includes:
[0100] The speed error of the motor speed error equation converges quickly to the state zero point, and the designed time-varying integral terminal sliding surface is:
[0101]
[0102] Where p>0,q>0; sgn() is the switching function; the state zero point refers to the error as a state variable, which converges to 0; add the adaptive time-varying integral initial state in the integrator:
[0103]
[0104] s 1 , r 1 ,s 2 , r 2 All are less than 0;
[0105] The time-varying integral sliding surface is constructed as follows:
[0106]
[0107] 0<λ<1.
[0108] The method of constructing an adaptive time-varying integral sliding mode controller based on a time-varying integral sliding mode surface includes:
[0109] like Figure 3 As shown, the adaptive time-varying integral sliding mode controller is constructed as follows:
[0110]
[0111] α>1,k 0 >0,0 <p<1;
[0112] In the formula, u represents the control rate, u eqrepresents the equivalent control rate, u sw represents the switching control rate. |ξ 1 | α +k 0 The term makes the system speed up when it is far away from the sliding surface and slow down when it is close to the sliding surface; and the reaching law is switched by the piecewise function. When the system moves near the sliding surface, it does not contain a switch term, and because of the power term e|s| p With the existence of sgn(s), the system can still converge to zero, reducing the jitter while ensuring the speed; in addition, the real controller of the system is as follows:
[0113]
[0114] In order to verify the stability of the sliding surface, the Lyapunov equation V = 0.5s 2 , and we can get We can get:
[0115] When |s|>q,
[0116] When |s|≤q,
[0117] Λ=|ξ 1 | α +k 0 ;
[0118] Before the state variable reaches the sliding mode, It is always less than 0, which satisfies the stability condition and the system is stable.
[0119] The method of constructing a sliding mode expansion disturbance observer based on iterative learning based on the motor speed error equation includes:
[0120] The constructed estimation equation is: represents the observed value of d;
[0121] Based on the equivalent interference model and its estimation equation, the observation error is obtained:
[0122]
[0123] The sliding surface of the observer designed based on the speed observation error is: The reaching law selects the adaptive switching control law u sw ;
[0124] The control term u of the observer to be designed smo =u sw -e ω , Lyapunov's theorem can be used to prove that this extended sliding mode disturbance observer is stable;
[0125] Introduce iterative learning and construct a sliding mode disturbance observer based on iterative learning as follows:
[0126]
[0127] r > 0, where r is the learning gain, which affects the tracking accuracy and convergence speed; 0 < η < 1, and e is the forgetting factor that attenuates the cumulative effect of non-periodic disturbances.
[0128] The control of the permanent magnet synchronous motor by combining time-varying integral sliding mode control and a sliding mode disturbance observer based on iterative learning includes:
[0129] As Figure 4 shown, combine time-varying integral sliding mode control and a sliding mode disturbance observer based on iterative learning to control the permanent magnet synchronous motor, and update the equivalent control law and switching control rate to
[0130]
[0131] Based on the updated control rate, obtain the actual control output of the system:
[0132]
[0133] To analyze the stability of time-varying integral sliding mode control under an iterative learning sliding mode disturbance observer, construct a Lyapunov function at the j-th iteration as follows:
[0134]
[0135] Among them, s j is the sliding mode surface after the j-th iteration of introducing the observer, and it can be obtained that:
[0136] When s < q:
[0137]
[0138] Therefore, the change of the first Lyapunov function between two iterations can be deduced as:
[0139]
[0140] The second Lyapunov function has the following form of change between two consecutive iterations:
[0141]
[0142] The third Lyapunov function has the following form of change between two consecutive iterations:
[0143]
[0144] The change of the Lyapunov function between the jth and j-1th iterations can be obtained:
[0145]
[0146] is very small, then the above formula satisfies:
[0147]
[0148] Let the arrival rate coefficient e satisfy Then △V j is semi-negative definite, and s≠0, △V j <0, ensuring that the above controller can converge to zero;
[0149] When s>q, it can be proved to converge to zero by the same logic.
[0150] like Figure 1 As shown, this example provides a permanent magnet synchronous motor control method, including:
[0151] Based on the mechanical motion equation of the permanent magnet synchronous motor, the motor error equation is constructed using the rotation speed;
[0152] According to the speed error equation, an adaptive time-varying integral initial state is added to construct a time-varying integral sliding surface;
[0153] Adopting an adaptive switching control law to control the sliding mode surface, and constructing an adaptive time-varying integral sliding mode controller;
[0154] According to the speed error equation, a sliding mode expansion disturbance observer based on iterative learning is constructed;
[0155] An adaptive integral sliding mode controller and an iterative learning-based sliding mode expansion disturbance observer are combined to control the permanent magnet synchronous motor.
[0156] The dynamic and steady-state performance of the sliding mode control is improved by introducing integral and terminal terms, and the initial state of the time-varying integral is added to eliminate the overshoot caused by the start-up and recovery of the integral. By introducing the adaptive switching control law, the approach speed is guaranteed while reducing the chattering problem of the sliding mode control. By designing an iterative learning-based sliding mode expansion disturbance observer to estimate the disturbances to which the system is subjected during operation, and compensating it to the adaptive time-varying integral sliding mode control, a composite control strategy is obtained. The simulation results are shown in Figure 5 As shown in the figure, the control strategy has fast convergence speed and strong robustness. The permanent magnet synchronous motor is controlled by this strategy, which improves the accuracy of motor control and fast convergence performance.
[0157] The present invention also makes the following design, specifically including:.
[0158] Step 1: Construct the speed error equation of the motor based on the mechanical motion equation of the permanent magnet synchronous motor. The steps are as follows:
[0159] The electromagnetic torque equation of the permanent magnet synchronous motor is designed as follows:
[0160]
[0161] Where ω represents the actual rotor angular velocity, represents the first-order derivative of ω, kt represents the torque constant, k t =1.5p n ψ f , p n is the number of magnetic pole pairs, ψ f Indicates the magnetic linkage value, i q represents the actual q-axis current, B is the viscous friction coefficient, J is the rotational inertia, T L Indicates load torque;
[0162] In order to simplify the design of the controller, the given q-axis current is used instead of the actual q-axis current, so (1) can be designed as:
[0163]
[0164] In the formula d is the lumped uncertainty disturbance of the permanent magnet synchronous motor system, Represents a given q-axis current.
[0165] The motor speed is set to N ref , the actual speed of the motor is N, and the integral of the speed is taken as the state variable
[0166]
[0167] Then the error equation of given speed and feedback speed can be constructed as follows:
[0168]
[0169] Among them, ξ 1 represents the integral of the speed error, ξ 2 Indicates the speed error ξ 1 The first derivative of ref represents the given speed of the motor, N represents the actual speed of the motor, ω ref represents the given rotor angular velocity.
[0170] Step 2: Integral terminal sliding mode with time-varying integral initial state, the steps are as follows:
[0171] In order to make the speed error constructed in step 1 converge quickly to the state zero point, the designed time-varying integral terminal sliding surface is:
[0172]
[0173] Where p>0,q>0; in order to eliminate the overshoot caused by the integration during startup and recovery, an adaptive time-varying integration initial state is added to the integrator.
[0174]
[0175] Adaptive time-varying integral terminal sliding surface:
[0176]
[0177] Step 3: Design an adaptive switching control law to control the above sliding surface. The controller based on equivalent control design has the following form:
[0178]
[0179] in,
[0180] |ξ 1 | α +k 0 The term makes the system state move away from the sliding surface faster and approach the sliding surface slower; and the reaching law is switched through the piecewise function. When the system moves near the sliding surface, due to the power term e|s| p With the existence of sgn(s), the system can still converge to zero, reducing the jitter while ensuring the speed.
[0181] In order to verify the stability of the sliding surface, the Lyapunov equation V = 0.5s 2 , and we can get Combining with (7), we can get:
[0182] When |s|>q,
[0183] When |s|≤q,
[0184] Before the state variable reaches the sliding mode, It is always less than 0, which satisfies the stability condition and the system is stable.
[0185] Step 4: Construct a sliding mode expansion disturbance observer based on iterative learning. Based on the equivalent disturbance model, construct its estimation equation as follows: shows the observed value of d;
[0186] Based on the equivalent interference model and its estimation equation, the observation error is obtained:
[0187]
[0188] The sliding mode surface of the observer designed based on the rotational speed observation error is: The reaching law selects the above adaptive switching control law u sw
[0189] The control term u of the observer to be designed smo = u sw - e ω , similar to Step 3, it can be proved that this extended sliding mode disturbance observer is stable by using the Lyapunov theorem
[0190] Introduce iterative learning, as Figure 3 shown, construct a sliding mode disturbance observer based on iterative learning as follows:
[0191]
[0192] Step 5: As Figure 4 shown, combine the time-varying integral sliding mode control and the sliding mode disturbance observer based on iterative learning to control the permanent magnet synchronous motor, and update the equivalent control law and the switching control rate to
[0193]
[0194] Based on the updated control rate, the actual control of the system is obtained, and its output is Equation (10):
[0195]
[0196] To analyze the stability of the time-varying integral sliding mode control under the iterative learning sliding mode disturbance observer, construct the Lyapunov function at the jth iteration as follows:
[0197]
[0198] where, s j is the sliding mode surface after the jth iteration of introducing the observer. Combining (5)(6)(7) gives:
[0199] When s < q:
[0200]
[0201] Therefore, the change of the first Lyapunov function between two iterations can be deduced as
[0202]
[0203] The second Lyapunov function The changes between two consecutive iterations have the following form:
[0204]
[0205] The third Lyapunov function The changes between two consecutive iterations can be of the following forms:
[0206]
[0207] Adding the above together, we can get the change in the Lyapunov function between the jth and j-1th iterations:
[0208]
[0209] Very small, the above formula satisfies:
[0210]
[0211] When the arrival rate meets Then △V j is semi-negative definite, and s≠0, △V j <0, ensuring that the above controller can converge to zero.
[0212] The same applies to s>q.
[0213] The permanent magnet synchronous motor control method further includes:
[0214] Construct a control simulation model for permanent magnet synchronous motor;
[0215] Detect abnormal motor events in control simulation models;
[0216] Perform feature description on the abnormal event of the motor to obtain a feature description vector;
[0217] Determine a plurality of control processing knowledge search rules corresponding to the feature description vector from a control processing knowledge search rule base;
[0218] When there is at least one control processing knowledge search rule whose rule credibility is greater than or equal to the credibility threshold, executing the control processing knowledge search rule whose rule credibility is greater than or equal to the credibility threshold to search for control processing knowledge;
[0219] When the rule credibility of all control processing knowledge search rules is less than the credibility threshold, the execution process of the control processing knowledge search rule with the largest rule credibility is analyzed to obtain the execution process sequence;
[0220] Execute the execution processes in sequence according to the sequence order of the execution processes in the execution process sequence;
[0221] When the i-th execution process in the execution process sequence is executed, based on the standard detection rules of the process types of the in-th and i+n-th execution processes in the execution process sequence, the i-th execution process execution scenario is subjected to standard detection. When a standard anomaly is detected, the i-th execution process is stopped from being executed.
[0222] When all execution processes in the execution process sequence are completed, the control processing knowledge is obtained;
[0223] Determine the event handling plan based on control processing knowledge;
[0224] Based on the event processing scheme, abnormal motor events are handled.
[0225] When constructing a control simulation model, the Simulink software can be used for simulation; detect motor abnormal events in the control simulation model, where motor abnormal events refer to abnormal events during motor operation; characterize motor abnormal events to obtain a characteristic description vector; there are multiple control processing knowledge search rules corresponding to different characteristic description vectors in the control processing knowledge search rule base, where the characteristic description vector reflects the characteristic situation of the motor abnormal event, and the control processing knowledge search rule indicates how to search for control processing knowledge to solve the motor abnormal event with the characteristic situation, and the control processing knowledge can be the control experience of permanent magnet synchronous motors, etc.; the control processing knowledge search rule is set with rule credibility, and the greater the rule credibility, the greater the credibility of the control processing knowledge obtained after the control processing knowledge search rule is executed; when there is at least one control processing knowledge search rule whose rule credibility is greater than or equal to the credibility threshold, the control processing knowledge search rule whose rule credibility is greater than or equal to the credibility threshold is directly executed to search for control processing knowledge; when the rule credibility of all control processing knowledge search rules is less than the credibility threshold, the control processing knowledge search rule with the highest rule credibility is searched The execution process is parsed according to the rule to obtain the execution process sequence; the execution process in the execution process sequence is the execution process to be experienced by the execution control processing knowledge search rule; when the i-th execution process in the execution process sequence is executed, based on the standard detection rules of the process types of the in-th and i+n-th execution processes in the execution process sequence, the i-th execution process execution scenario is subjected to standard detection, and when a standard abnormality is detected, the i-th execution process is stopped from being executed; the process type can be to crawl control processing knowledge from the sharing scenario of the control experience of the permanent magnet synchronous motor, and the corresponding standard detection rule is to verify whether the person who publishes the control experience of the permanent magnet synchronous motor is a professional in the motor field. To ensure comprehensiveness, based on the standard detection rules of the process types of the in-th and i+n-th execution processes in the execution process sequence, the i-th execution process execution scenario is subjected to standard detection; 1≤in≤N, N is the total number of execution processes in the execution process sequence; when all execution processes in the execution process sequence are executed, the control processing knowledge is obtained; based on the control processing knowledge, an event processing scheme is determined; based on the event processing scheme, the motor abnormal event is processed. The system's ability to handle abnormalities during motor control has been greatly improved.
[0226] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A permanent magnet synchronous motor control method, characterized in that: Including: Based on the mechanical motion equation of the permanent magnet synchronous motor, construct the motor speed error equation; Based on the motor speed error equation, construct a time-varying integral sliding mode surface; Based on the time-varying integral sliding mode surface, construct an adaptive time-varying integral sliding mode controller; Based on the motor speed error equation, construct a sliding mode extended disturbance observer based on iterative learning; Based on the adaptive time-varying integral sliding mode controller and the sliding mode extended disturbance observer based on iterative learning, control the permanent magnet synchronous motor.
2. The permanent magnet synchronous motor control method according to claim 1, characterized in that: The constructing of the motor speed error equation based on the mechanical motion equation of the permanent magnet synchronous motor includes: Obtain the mechanical motion equation of the permanent magnet synchronous motor: Where ω represents the actual rotor angular velocity, represents the first-order derivative of ω, k t kt represents the torque constant, k t =1.5p n ψ f , p n is the number of magnetic pole pairs, ψ f Indicates the magnetic linkage value, i q represents the actual q-axis current, B is the viscous friction coefficient, J is the rotational inertia, T L Indicates load torque; Use the given q-axis current to replace the actual q-axis current and construct an equivalent disturbance model: In the formula, d is the lumped uncertainty disturbance of the permanent magnet synchronous motor system, Represents the given q-axis current; the q-axis current motor is the desired control current of the motor in actual control; The motor speed is set to N ref , the actual speed of the motor is N, and the integral of the speed error is taken as the state variable The motor speed error equation is constructed as follows: Where ξ1 represents the integral of the speed error, ξ2 represents the first-order derivative of the speed error ξ1, and N ref represents the given speed of the motor, N represents the actual speed of the motor, ω ref Represents the given rotor angular velocity; the rotor angular velocity is the desired speed of the motor.
3. The permanent magnet synchronous motor control method according to claim 2, characterized in that: The constructing of the time-varying integral sliding mode surface based on the motor speed error equation includes: The designed time-varying integral terminal sliding mode surface for the speed error of the motor speed error equation to quickly converge to the state zero point: Where p>0, q>0; sgn() is the switching function; the state zero point means that the error, as the state variable, converges to 0; add an adaptive time-varying integral initial state to the integrator: s1, r1, s2, r2 are all less than 0; The time-varying integral sliding mode surface is constructed as follows: 0<λ<1.
4. The permanent magnet synchronous motor control method according to claim 3, characterized in that: The constructing of the adaptive time-varying integral sliding mode controller based on the time-varying integral sliding mode surface includes: The adaptive time-varying integral sliding mode controller is constructed as follows: α>1, k0>0, 0<p<1; In the formula, |ξ1| α The +k0 term makes the system speed up when it is far away from the sliding surface and slow down when it is close to the sliding surface; and the reaching law is switched by piecewise function. When the system moves near the sliding surface, it does not contain a switch term, and because of the power term e|s| p With the existence of sgn(s), the system can still converge to zero, reducing the jitter while ensuring the speed; In order to verify the stability of the sliding surface, the Lyapunov equation V = 0.5s 2 , and we can get We can get: When |s|>q, When |s|≤q, Λ=|ξ1| α +k0; Before the state variable reaches the sliding mode, It is always less than 0, which satisfies the stability condition and the system is stable.
5. The permanent magnet synchronous motor control method according to claim 4, characterized in that: The constructing of the sliding mode extended disturbance observer based on iterative learning based on the motor speed error equation includes: The constructed estimation equation is: represents the observed value of d; Based on the equivalent disturbance model and its estimation equation, obtain the observation error: l>0,u smo is the control input; The sliding surface of the observer designed based on the speed observation error is: The reaching law selects the adaptive switching control law u sw ; The control term u of the observer to be designed smo =u sw -e ω , Lyapunov's theorem can be used to prove that this extended sliding mode disturbance observer is stable; Introduce iterative learning and construct a sliding mode disturbance observer based on iterative learning as follows: r>0, r is the learning gain, which affects the tracking accuracy and convergence speed; 0<η<1, e is the forgetting factor for attenuating the accumulation effect of non-periodic disturbances.
6. The permanent magnet synchronous motor control method according to claim 5, characterized in that: Also including: Combine the time-varying integral sliding mode control and the sliding mode disturbance observer based on iterative learning to control the permanent magnet synchronous motor, and update the equivalent control law and switching control rate to: Based on the updated control rate, obtain the actual control output of the system: To analyze the stability of the time-varying integral sliding mode control under the iterative learning sliding mode disturbance observer, construct the Lyapunov function at the jth iteration as follows: in, s j is the sliding surface after the jth iteration of the observer, and we can get: When s<q: Therefore, the first Lyapunov function The change between two iterations can be derived as: The second Lyapunov function The changes between two consecutive iterations have the following form: The third Lyapunov function The changes between two consecutive iterations can be of the following forms: The change in the Lyapunov function between the jth and (j-1)th iterations can be obtained: is very small, then the above formula satisfies: Let the arrival rate coefficient e satisfy Then △V j is semi-negative definite, and s≠0, △V j <0, ensuring that the above controller can converge to zero; When s>q, it can be similarly proved that it converges to zero.
Citation Information
Cited By
A method for synchronous control of dual-motor drive system based on adaptive disturbance observer
CN119787877A
