Strong anti-interference prediction control method for permanent magnet motor system
By using the combination of controllable variable replacement voltage increment model and sliding mode observer in GPCC, the problem of insufficient dynamic tracking performance and disturbance resistance in permanent magnet synchronous motors is solved, and higher control performance is achieved and resilience.
Patent Information
- Application Number
- CN202410933119.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-07-12
AI Technical Summary
Generalized predicted current control (GPCC) in permanent magnet synchronous motors has insufficient dynamic tracking performance and disturbance resistance due to factors such as inductance mismatch and measurement noise. In addition, there are parameter errors and coupling relationships in traditional voltage increment models, which affects the control system. stability.
Use controllable variables to replace fixed parameters in the voltage increment model, pre-calculated by setting the cost function, and realize parameterless controllable controllable in real time, combined with the SMO observer (SMO) to correct the update strategy to reduce predictions Current error improves the system's disturbance resistance.
The coupling relationship of the voltage model is effectively avoided, the system mathematical model is simplified, the control performance is improved, and the parameter robustness and dynamic tracking performance of GPCC are significantly improved.
Smart Images

Figure CN118920933A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of permanent magnet motors, and in particular to a strong anti-disturbance predictive control method for a permanent magnet motor system. Background Art
[0002] Compared with traditional model predictive control, generalized predictive current control (GPCC) adjusts the control action by pre-calculating the output variable expression, which reduces the burden of online calculation and can solve the long-term prediction problem. In addition, GPCC uses the voltage increment model to realize the current control of permanent magnet synchronous motor (PMSM), which effectively avoids the bias error problem caused by parameter mismatch or dead zone voltage.
[0003] However, the voltage increment model is obtained by performing a difference operation on the models of adjacent cycles, in which the DC component is offset and the weight of the current differential term is amplified. When the coefficient of this term, i.e., the inductance mismatch, is present, it will seriously affect the dynamic tracking performance and steady-state oscillation amplitude of the control system.
[0004] At the same time, the premise that the incremental model can replace the initial model is that the speed of adjacent cycles is assumed to be constant. However, the accuracy of the position encoder will be affected by factors such as the installation position and signal processing; and when the load disturbance is large, the high-frequency fluctuations of the actual speed cannot be reflected due to the low filter bandwidth of the measured speed. If a fixed inductance parameter is used in the incremental model, the actual model has a large error and has a weak ability to suppress measurement noise and load disturbances. Summary of the invention
[0005] Purpose of the invention: The purpose of the present invention is to provide a strong anti-disturbance predictive control method for a permanent magnet motor system, to realize parameter-free control of GPCC, and to enable it to have a certain anti-disturbance capability without affecting its dynamic tracking performance.
[0006] Technical solution: A method for strong anti-disturbance predictive control of a permanent magnet motor system, comprising the following steps:
[0007] S1, according to the voltage increment model in GPCC, the fixed parameters in the voltage increment model are replaced by controllable variables to obtain a parameter-free voltage model; then the output variable Δu is pre-calculated through the set cost function dq Expression of
[0008] S2, based on the parameter-free regulation of GPCC and the need for model adaptive updating, updates the controllable variables with the goal of reducing the predicted current error;
[0009] S3, modify the update strategy of the controllable variables.
[0010] Furthermore, in step S1, the fixed parameters in the voltage increment model are replaced by controllable variables, which is implemented as follows:
[0011] Assuming the interior permanent magnet synchronous motor as an ideal motor, based on the forward Euler method, its discrete voltage model in the dq coordinate system is obtained:
[0012]
[0013] In the formula, the subscripts d and q represent the d-axis and q-axis parameters respectively; the superscript k represents the value of the corresponding parameter at the k sampling time; R represents the stator resistance; L d , L q 、u d 、u q 、i d and i q Respectively represent d-axis inductance, q-axis inductance, d-axis stator voltage, q-axis stator voltage, d-axis current, and q-axis current; ψ f represents the permanent magnet flux; ω e is the electrical angular velocity; T s Indicates the sampling time;
[0014] Ignoring the speed change in adjacent cycles, subtract the above equation from the equation at time k-1 to obtain the PMSM discrete voltage increment model:
[0015]
[0016] In the formula, the variable marked with "Δ" represents its corresponding increment;
[0017] Replace the coefficients of the current differential term with the controllable variables and discard the remaining terms to obtain the non-parameterized voltage increment model:
[0018]
[0019] In the formula, α d , α q are the controllable variables of dq axis respectively;
[0020] According to the implementation conditions of GPCC, the above parameter-free model is rewritten into the following form:
[0021]
[0022] In the formula, variables with superscript “^” represent their predicted values; bold variables represent their two-dimensional vector form, such as i dq k =[i d k ;i q k ]; I is the second-order unit matrix; A m , Bm , C m and X m Represents the selected corresponding matrix;
[0023] Then, the prediction model for the next N steps is derived from the iterative relationship:
[0024]
[0025] Combine the multi-step predicted current Y with the command current Y * The difference between the voltage increment ΔU is constrained, and the cost function is adopted as follows:
[0026]
[0027] In the formula, G is the weight coefficient of the voltage increment, which is used to adjust the degree of constraint on voltage change. The corresponding expression is G = diag[G 1 G 2… G N ] T , G k =I×g / G_step n-1 , n = 1, 2, 3, ..., N, where the value of g needs to be adjusted according to the actual control effect; the value of G_step should be less than 1, so that the constraint on the voltage increment increases with the increase of the prediction step number;
[0028] After solving, the expression of GPCC output ΔU is obtained:
[0029]
[0030] Among them, Y, F, Ω, and ΔU represent the selected corresponding matrices.
[0031] Further, in step S2, the controllable variable is updated in real time to α d and α q Without considering measurement noise and nonlinear disturbance, the predicted current error at time k is used to be equivalent to the model error at time k, and it is fully compensated to the predicted current equation at time k+1, and α is obtained. d and α q The predicted value of and the expression for the predicted current at time k+1.
[0032] Further, in step S3, in combination with the design principle of SMO, α d and α q The update strategy is used to correct the current prediction error; the current prediction error is defined as a sliding mode function, and the exponential approach rate method is used to obtain the α based on SMO. d Prediction value expression:
[0033]
[0034] In the formula, the variables with superscript “^” represent their predicted values; s k represents the sliding mode function; sgn represents the sign function; q and c are the exponential gain and sign function gain of SMO respectively;
[0035] After SMO output limiting, variable weight filtering is introduced:
[0036]
[0037]
[0038] In the formula, the variables with superscript “'” represent their filtering values; |s k |Representatives k The absolute value of; β is the filter coefficient;
[0039] Therefore, the corrected α d The expressions of the predicted value and the predicted current at time k+1 are as follows:
[0040]
[0041] In the formula, s k represents the sliding mode function; sgn represents the sign function; q and c are the exponential gain and sign function gain of SMO respectively.
[0042] Compared with the prior art, the present invention has the following significant effects:
[0043] 1. Based on the traditional GPCC, the present invention uses a non-parameterized model with controllable variables to replace the traditional voltage increment model. Since the proposed model only contains current differential terms, the coupling relationship between the dq axes of the voltage model is effectively avoided, the mathematical model of the system is simplified, and the control performance is almost not affected;
[0044] 2. In the parameter-free model proposed in the present invention, since each equation contains only one controllable variable and no other parameter information is required, the lack-rank problem of multivariate prediction can be avoided and the complexity of variable prediction can be reduced;
[0045] 3. The PF-GPCC strategy of the present invention updates the controllable variables in real time through SMO, which can significantly improve the parameter robustness and anti-disturbance capability of GPCC without affecting the dynamic performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 The overall structure diagram of PF-GPCC based on SMO is shown in the figure.
[0047] Figure 2(a) is the acceleration and deceleration test result of the traditional GPCC with measured parameters under no-load.
[0048] (b) is L under no load q *(given) = 1.5L q (Measured) acceleration and deceleration test results of traditional GPCC,
[0049] (c) is L under no load q *(given) = 0.5L q (Measured) acceleration and deceleration test results of traditional GPCC,
[0050] (d) Acceleration and deceleration test results of the proposed SMO-based PF-GPCC under no-load.
[0051] Figure 3 (a) is the load-reduction test result of the traditional GPCC using measured parameters.
[0052] (b) The load-addition and load-reduction test results of the proposed SMO-based PF-GPCC. DETAILED DESCRIPTION
[0053] The present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0054] like Figure 1 The flowchart of the strong parameter robustness self-disturbance rejection predictive control method of the permanent magnet motor system of this example is shown. The proposed parameter-free voltage model is used to realize multi-step current prediction, and then the output variable Δu is pre-calculated through the set cost function. dq In the corresponding PF-GPCC module in the figure, this expression, as well as the input current sampling and reference value, will be used to control the system action. dq Through an integrator with a limiting link, u can be obtained dq , and then through the "1.5ω e T s The 2r / 2s coordinate transformation of position angle delay compensation can obtain the reference input signal u of SVPWM αβ At the same time, for the controllable variable α in the non-parameterized voltage model dq The prediction will be achieved through the proposed cascade of SMO (Sliding Mode Observer), limiting and variable weight filtering.
[0055] Figure 2 This is a comparison chart of the experimental results of acceleration and deceleration under no-load, where Figure 2 (a) is the acceleration and deceleration test result of the traditional GPCC with measured parameters under no-load. Figure 2 (b) is L under no load q *(given) = 1.5L q (Measured) acceleration and deceleration test results of traditional GPCC, Figure 2 (c) is L under no load q *(given) = 0.5L q (Measured) acceleration and deceleration test results of traditional GPCC, Figure 2 (d) in the figure shows the acceleration and deceleration test results of the proposed SMO-based PF-GPCC under no-load.
[0056] Figure 3 The comparison chart of the experimental results of adding and reducing loads is shown in Figure 2. Figure 3 (a) is the load-reduction test result of the traditional GPCC using measured parameters. Figure 3 (b) in the figure shows the load-addition and load-reduction test results of the proposed SMO-based PF-GPCC.
[0057] The active disturbance rejection predictive control method for the permanent magnet motor system with strong parameter robustness specifically comprises the following steps:
[0058] Step 1, based on the voltage increment model used by GPCC, an improved strategy is proposed to replace the fixed parameters in the model with controllable variables;
[0059] In one embodiment, the above step 1 specifically includes:
[0060] Assuming the interior permanent magnet synchronous motor is an ideal motor, based on the forward Euler method, its discrete voltage model in the dq coordinate system can be obtained:
[0061]
[0062] In the formula, the subscripts d and q represent the d-axis and q-axis parameters respectively; the superscripts of all expressions about k represent the corresponding sampling time, for example, i d k Representative d The value at time k (current sampling time); R represents the stator resistance; L d , L q 、u d 、u q 、i d and i q Represent the inductance, stator voltage and dq components of current respectively; ψ f represents the permanent magnet flux; ω e is the electrical angular velocity; T s Indicates the sampling time.
[0063] Ignoring the speed change in adjacent cycles, subtracting the above equation from the equation at time k-1 (the previous sampling time), the PMSM discrete voltage increment model can be obtained:
[0064]
[0065] In the formula, the variable marked with "Δ" represents its corresponding increment, for example, Δi d k =i d k -i d k-1 .
[0066] The voltage increment model is obtained by performing a difference operation on the models of adjacent cycles, in which the DC component is offset and the weight of the current differential term is amplified; at the same time, due to the presence of nonlinear disturbances in the control link, such as inverter dead zone, current measurement noise, speed encoder calculation delay, etc., the ideal voltage model is difficult to be equivalent to the actual working condition. Therefore, the coefficient of the current differential term is replaced by a controllable variable, and the remaining terms are discarded, and a non-parameterized voltage increment model can be obtained:
[0067]
[0068] In the formula, α d , α q They are the controllable variables of the dq axes, respectively, which include the true parameter values in the traditional model and the unknown parts caused by the model error.
[0069] According to the implementation conditions of GPCC, the above parameter-free model is rewritten into the following form:
[0070]
[0071] In the formula, variables with superscript “^” represent their predicted values; bold variables represent their two-dimensional vector form, such as i dq k =[i d k ;i q k ]; I is the second-order unit matrix; A m , B m , C m and X m Represents the selected corresponding matrix.
[0072] Then, the prediction model for the next N steps can be derived from the iterative relationship:
[0073]
[0074] Combine the multi-step predicted current Y with the command current Y *The difference between the two and the voltage increment ΔU can be constrained by using the following cost function:
[0075]
[0076] In the formula, G is the weight coefficient of the voltage increment, which is used to adjust the degree of constraint on voltage change. The corresponding expression is G = diag[G 1 G 2… G N ] T , G k =I×g / G_step n-1 (n=1,2,3,…,N), where the value of g needs to be adjusted according to the actual control effect; the value of G_step should be less than 1, so that the constraint on the voltage increment is strengthened with the increase of the prediction step number.
[0077] After solving, the expression of GPCC output ΔU can be obtained:
[0078]
[0079] Among them, Y, F, Ω, and ΔU represent the selected corresponding matrices.
[0080] Step 2: Based on the parameter-free regulation of GPCC and the need for model adaptive updating, a controllable variable update strategy is proposed to reduce the predicted current error.
[0081] In one embodiment, the above step 2 specifically includes:
[0082] Since the proposed parameter-free model contains a controllable variable α d and α q In order to enhance its reliability, it is necessary to observe the model error and update the controllable variable α in real time. d and α q Without considering measurement noise and nonlinear disturbance, the predicted current error at time k can be used to be equivalent to the model error at time k, and it can be fully compensated to the predicted current equation at time k+1, and α can be obtained. d and α q The predicted value of and the expression for the predicted current at time k+1. Since the models of the dq axes are the same, only the d axis is taken as an example here:
[0083]
[0084] Among them, the variables with superscript “^” represent their predicted values.
[0085] Step 3: According to the SMO design principle and taking into account a certain degree of anti-disturbance capability, the update strategy of the controllable variables is modified.
[0086] In one example, the above step 3 specifically includes:
[0087] In the voltage increment model, α d and α q The update of α needs to consider the influence of measurement noise and nonlinear disturbance. The use of a high-bandwidth full compensation strategy will lead to a significant decrease in the anti-disturbance ability of the control system and make it difficult to operate stably. The design principle of SMO can be combined to d and α q The current prediction error is defined as a sliding mode function, and the exponential approach method is used to obtain the α based on SMO. d Prediction value expression:
[0088]
[0089] In the formula, s k represents the sliding mode function; sgn represents the sign function; q and c are the exponential gain and sign function gain of SMO respectively.
[0090] In order to further improve the control system's suppression effect on high-frequency disturbances, it is necessary to reduce the compensation bandwidth of the prediction error and take into account the Δu at time k. d As a divisor, a smaller value will affect α d The stability of the prediction results can be determined by the SMO output limit (0.2×~5×T S / L d ), variable weight filtering is introduced:
[0091]
[0092] In the formula, the variables with superscript “'” represent their filtering values; |s k |Representatives k The absolute value of β is the filter coefficient, which increases with the increase of the current prediction error, not only satisfying α d The filtering requirements of the prediction results are eliminated, and the SMO is able to track and compensate for the prediction current errors in a timely manner.
[0093] Therefore, the corrected α d The expressions of the predicted value and the predicted current at time k+1 are as follows:
[0094]
[0095] In order to achieve the asymptotic stability of SMO, the following sliding mode conditions need to be met:
[0096]
[0097] Since the constraint on the voltage increment in the cost function will continue to increase with the increase in the number of prediction steps, the voltage increment has a tendency to decay in the recovery phase after the sudden change in the operating condition. The left polynomial of the above sliding mode condition is less than zero and will leave a certain margin. Further combined with the polynomial on the right, q can be set to 1 and c can be set to 0.01.
[0098] Figure 2 The comparison of acceleration and deceleration experiments between traditional GPCC and PF-GPCC under no-load conditions under the condition of weak constraints on voltage increment of cost function is given. Figure 2 From (a) and (d) in Figure 1, it can be seen that both GPCC and PF-GPCC using measurement parameters can quickly track the current command and have good steady-state performance under no-load. Figure 2 From (b) in the figure, it can be seen that when the q-axis given inductance of the traditional GPCC is large, the q-axis current will oscillate significantly. Figure 2 From (c) in the figure, it can be seen that when the given inductance of the q-axis is small, the dynamic tracking performance of the q-axis current of the traditional GPCC is poor.
[0099] Figure 3 The comparison of load addition and reduction experiments between traditional GPCC and PF-GPCC at constant speed under the condition of weak constraint of cost function on voltage increment is given. Figure 3 As shown in (a) of Figure 1, the traditional GPCC using measured parameters shows good dynamic tracking performance, but cannot operate stably under full load. Figure 3 From (b) in Figure 2, we can see that PF-GPCC still has good anti-disturbance capability under full load conditions and retains the fast dynamic response characteristics of GPCC.
[0100] The above is only a description of the preferred embodiment of the present invention. For those skilled in the art, other advantages and variations can be easily associated with the above embodiment. Therefore, the present invention is not limited to the above embodiment, which is only used as an example to provide a detailed and exemplary description of one form of the present invention. Without departing from the scope of the purpose of the present invention, the usual changes and substitutions made by those skilled in the art within the scope of the technical solution of the present invention should be included in the protection scope of the present invention.
Claims
1. A strong anti-disturbance predictive control method for a permanent magnet motor system. It is characterized in that The steps include: S1, according to the voltage increment model in GPCC, the fixed parameters in the voltage increment model are replaced by controllable variables to obtain a parameter-free voltage model; then the output variable Δu is pre-calculated through the set cost function dq Expression of S2, based on the parameter-free regulation of GPCC and the need for model adaptive updating, updates the controllable variables with the goal of reducing the predicted current error; S3, modify the update strategy of the controllable variables.
2. According to the strong anti-disturbance predictive control method for a permanent magnet motor system according to claim 1, It is characterized in that In step S1, the fixed parameters in the voltage increment model are replaced by controllable variables, which is implemented as follows: Assuming the interior permanent magnet synchronous motor as an ideal motor, based on the forward Euler method, its discrete voltage model in the dq coordinate system is obtained: In the formula, the subscripts d and q represent the d-axis and q-axis parameters respectively; the superscript k represents the value of the corresponding parameter at the k sampling time; R represents the stator resistance; L d , L q 、u d 、u q 、i d and i q Respectively represent d-axis inductance, q-axis inductance, d-axis stator voltage, q-axis stator voltage, d-axis current, and q-axis current; ψ f represents the permanent magnet flux; ω e is the electrical angular velocity; T s Indicates the sampling time; Ignoring the speed change in adjacent cycles, subtract the above equation from the equation at time k-1 to obtain the PMSM discrete voltage increment model: In the formula, the variable marked with "Δ" represents its corresponding increment; Replace the coefficients of the current differential term with the controllable variables and discard the remaining terms to obtain the non-parameterized voltage increment model: In the formula, α d , α q are the controllable variables of dq axis respectively; According to the implementation conditions of GPCC, the above parameter-free model is rewritten into the following form: In the formula, variables with superscript "^" represent their predicted values; The bold variables represent their two-dimensional vector form; among them, i dq k =[i d k ;i q k ]; I is the second-order unit matrix; A m , B m , C m and X m Represents the selected corresponding matrix; Then, the prediction model for the next N steps is derived from the iterative relationship: Combine the multi-step predicted current Y with the command current Y * The difference between the voltage increment ΔU is constrained, and the cost function is adopted as follows: In the formula, G is the weight coefficient of the voltage increment, which is used to adjust the degree of constraint on voltage change. The corresponding expression is: G k =I×g / G_step n-1 , n = 1, 2, 3, ..., N, where the value of g needs to be adjusted according to the actual control effect; the value of G_step should be less than 1, so that the constraint on the voltage increment increases with the increase of the prediction step number; After solving, the expression of GPCC output ΔU is obtained: Among them, Y, F, Ω, and ΔU represent the selected corresponding matrices.
3. According to the strong anti-disturbance predictive control method for a permanent magnet motor system as described in claim 2, It is characterized in that In step S2, the controllable variable is updated in real time to α d and α q Without considering measurement noise and nonlinear disturbance, the predicted current error at time k is used to be equivalent to the model error at time k, and it is fully compensated to the predicted current equation at time k+1, and α is obtained. d and α q The predicted value of and the expression for the predicted current at time k+1.
4. According to the strong anti-disturbance predictive control method for a permanent magnet motor system as claimed in claim 3, It is characterized in that In step S3, based on the design principles of SMO, d and α q Modify the update strategy; The current prediction error is defined as a sliding mode function, and the exponential approach rate method is used to obtain the α based on SMO. d Prediction value expression: In the formula, the variables with superscript "^" represent their predicted values; s k represents the sliding mode function; sgn represents the sign function; q and c are the exponential gain and sign function gain of SMO respectively; After SMO output limiting, variable weight filtering is introduced: In the formula, the variables with superscript "'" represent their filtering values; |s k |Representatives k The absolute value of; β is the filter coefficient; Therefore, the corrected α d The expressions of the predicted value and the predicted current at time k+1 are as follows: In the formula, s k represents the sliding mode function; sgn represents the sign function; q and c are the exponential gain and sign function gain of SMO respectively.
Citation Information
Patent Citations
Permanent magnet synchronous motor cascade robust prediction current control method
CN110190795A
Sensorless and parameter-free current prediction control method for permanent magnet synchronous motor
CN116915103A
GPIO-based permanent magnet synchronous motor model prediction control method
CN117478009A
