A fractional-order PID control method for permanent magnet synchronous motors
By using fractional-order PID control, combined with LMI and genetic algorithms to optimize the controller parameters of the permanent magnet synchronous motor, the problem of insufficient frequency domain performance in the existing technology is solved, achieving improved frequency domain performance while maintaining time domain performance, and simplifying the design process.
Patent Information
- Application Number
- CN202210675776.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-15
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2042-06-15
AI Technical Summary
Existing FOPID controllers have difficulty simultaneously ensuring performance in both the time and frequency domains when controlling permanent magnet synchronous motors, especially in the frequency domain.
A fractional-order PID control method is adopted. By constructing a permanent magnet synchronous motor model and combining LMI stability design, gain margin design, and phase margin design, the frequency domain fitness function is calculated. The fitness function is then optimized by combining time domain indices. Finally, a genetic algorithm is used to optimize the controller parameters to achieve multi-objective optimization.
It effectively improves the frequency domain performance of permanent magnet synchronous motor servo systems while maintaining good time domain performance, and simplifies the controller design process.
Smart Images

Figure CN117270378B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of motor control technology, and in particular to a fractional-order PID control method for permanent magnet synchronous motors. Background Technology
[0002] To evaluate the control performance of PID controllers, various quantitative metrics are used, such as integral absolute error (IAE), integral squared error (ISE), time-weighted integral absolute error (ITAE), and time-squared error (ITSE). However, using a single metric is insufficient to guarantee the performance of complex systems across various aspects. Although multiple metrics can be considered, determining appropriate values for various weighting parameters is not easy for inexperienced designers and engineers, and the objective function and performance metrics can easily contradict each other. Existing GA-tuned FOPID controllers typically employ general metrics such as ITAE, ISE, and IAE, or perform multi-objective optimization of multiple general time-domain metrics. This control method usually only ensures the controller's time-domain performance, but does not adequately guarantee frequency-domain metrics such as bandwidth, or stability metrics. Summary of the Invention
[0003] This invention discloses a fractional-order PID control method for permanent magnet synchronous motors, which solves the problem that existing FOPID controllers can only ensure the time-domain performance of the controller, but do not adequately guarantee the frequency-domain performance and stability of the controller, thus effectively improving the frequency-domain performance of permanent magnet synchronous motor servo systems.
[0004] To achieve the above objectives, the technical solution of the present invention is specifically implemented as follows:
[0005] This invention discloses a fractional-order PID control method for a permanent magnet synchronous motor, comprising the following steps:
[0006] Construct a controlled permanent magnet synchronous motor model;
[0007] LMI calculates offspring fitness, and the frequency domain fitness function is obtained through LMI stability design, LMI gain margin design, and LMI phase margin design.
[0008] Fitness is calculated using time-domain indices. The time-domain fitness function is obtained by calculating several time-domain indices.
[0009] Design the weight matrix of the fitness function to achieve multi-objective optimization of time-domain fitness and frequency-domain fitness;
[0010] Set the GA parameters and perform GA evolution calculations to obtain the expected FOPID controller parameter values;
[0011] The permanent magnet synchronous motor is controlled using the obtained expected FOPID controller parameter values.
[0012] Furthermore, the steps for constructing a controlled permanent magnet synchronous motor model include:
[0013] Constructing the flux linkage equation:
[0014]
[0015] Where, ψ d ψ q These are the flux linkage components generated on the d and q coordinate axes, respectively; L d L q The armature inductances generated on the d and q coordinate axes are ψ and ψ, respectively. rf The interferometric flux generated between the rotor and stator D-axis current i d The differential, Q-axis current i q The differential;
[0016] Construct the voltage equation:
[0017]
[0018] Among them, u d The voltage across the D-axis, u q Where ω is the Q-axis voltage and ω is the angular velocity;
[0019] In the flux linkage equation, ψ d ψ q Substituting into (1), we get:
[0020]
[0021] Where R is the stator resistance, ω is the rotor angular velocity, and p is the differential operator constant;
[0022] Construct the torque equation:
[0023]
[0024] Among them, T e P is the rotor electromagnetic torque. N This represents the number of rotor pole pairs;
[0025] Construct the power equation:
[0026] P = u d i d +u q i q (5).
[0027] Furthermore, the steps for LMI stability design include:
[0028] Construct a stability criterion, LMI;
[0029] When the real and imaginary parts are less than 0:
[0030] Im{L(jω)}<0, 0≤ω<ω Pe (6)
[0031] ω=ω Pe When the real part is greater than -1, the imaginary part is equal to 0:
[0032] R e {L(jω)}>-1∧Im{L(jω Pe )}=0 (7)
[0033] ω>ω Pe When the imaginary part is greater than 0:
[0034] Im{L(jω)}>0,ω Pe <ω (8)
[0035] Based on the controlled permanent magnet synchronous motor model and the FOPID controller model, the open-loop transfer function is obtained;
[0036] The system's open-loop transfer function is written as:
[0037] L(jω)=C(jω)P(jω) (9)
[0038] Where C(jω) is the controller transfer function and P(jω) is the controlled object transfer function;
[0039] The FOPID controller is:
[0040] C(jω)=W(jω)X (10)
[0041] Where W(jω) is the weight matrix and X is the controller parameter;
[0042] The controlled system of the controlled permanent magnet synchronous motor model is:
[0043]
[0044] Among them, K V R is the inverter gain. S T is the phase resistance of the motor. V For inverter delay, L is the motor phase inductance;
[0045] Decompose W(jω) and P(jω) into:
[0046] W(jω)=W r (jω)+jW i (jω) (12)
[0047] P(jω)=P r (jω)+jP i (jω) (13)
[0048] get:
[0049]
[0050] Substituting equation (14) into equations (6)-(8) respectively, we obtain:
[0051] W i (jω)XP r (jω)+W r (jω)XP i (jω)<0, 0≤ω<ω Pe (15)
[0052] W r (jω Pe XP r (jω Pe )-W i XP i (jω Pe )>-1 (16)
[0053] -ε<W i (jω Pe XP r (jω Pe )+W r (jω Pe XP i (jω Pe )<ε (17)
[0054] W i (jω)XP r (jω)+W r (jω)XP i (jω)>0,ω Pe <ω (18)
[0055] Where ε < 0.01.
[0056] Furthermore, the steps for designing the LMI gain margin and LMI phase margin include:
[0057] Gain margin calculation:
[0058] GM = 20Log(|L(jω) Pe (19)
[0059] If the gain margin is set to GM = -3dB, and L(jω) Pe The imaginary part is 0, and L(jω) can be calculated from the above formula. PeThe length of the real part is:
[0060] Then we have:
[0061] W r (jω Pe XP r (jω Pe )-W i XP i (jω Pe )>R e L (20)
[0062] Set the inequality (20) according to the required gain margin;
[0063] Phase margin calculation:
[0064] Phase margin calculation is equivalent to minimization:
[0065] According to Schur's complement lemma, the minimization problem is equivalent to the generalized eigenvalue problem, and combined with the properties of the Hermitian matrix, we obtain the equivalent LMI:
[0066]
[0067] To ensure that the phase value of the open-loop frequency response lies within a specified phase margin range over a large gain range, equation (21) is constructed:
[0068]
[0069] Transforming equation (21) into the generalized eigenvalue form, we obtain equations (22) and (23):
[0070]
[0071]
[0072] The smaller γ is in the formula, the more ω ph The closer the system phase is to θ;
[0073] In order to satisfy |L(jω0)|<α at a certain frequency like ω0, it is further concluded that:
[0074]
[0075] The GEVP solution was obtained using the LMI toolbox in MATLAB, yielding a near-zero γ and X, where X is the offspring of this calculation and γ is the frequency domain fitness of the offspring.
[0076] Furthermore, the fitness is calculated using time-domain indices. The steps to obtain the time-domain fitness function through the calculation of several time-domain indices include:
[0077] Using a time-domain index, the offspring X is used as a parameter of the FOPID controller. The controller and the controlled object are combined into a closed-loop system. Given a step excitation, the time-domain index value is calculated and used as the time-domain fitness function of the offspring X. The time-domain index includes:
[0078] The time-weighted integral absolute error index is:
[0079]
[0080] The integral squared error index is:
[0081]
[0082] The time-weighted integral squared error index is:
[0083]
[0084] The absolute error of integration is:
[0085]
[0086] Overshoot:
[0087]
[0088] Absolute steady-state error:
[0089]
[0090] Where e(t) is the error;
[0091] Stabilization time:
[0092] The time Ts required for the system to enter the 5% error band.
[0093] Furthermore, a weight matrix for the fitness function is designed to achieve multi-objective optimization of both time-domain and frequency-domain fitness:
[0094] F fitness =w T F IATE +w F γ (31)
[0095] Among them, F fitness For the final fitness function, w T F represents the time-domain weighting coefficient. ITAE The time-domain fitness calculated for the ITAE metric, w FHere, γ represents the frequency domain weighting coefficient, and γ represents the LMI frequency domain fitness.
[0096] Extend equation (31) into a weight matrix form:
[0097]
[0098] Beneficial technical effects:
[0099] This invention discloses a fractional-order PID control method for permanent magnet synchronous motors (PMSMs), comprising the following steps: constructing a controlled PMSM model; calculating the fitness of offspring using the LMI (Low Motion Mixing) algorithm, obtaining a frequency domain fitness function through LMI stability design, LMI gain margin design, and LMI phase margin design; calculating the fitness using time domain indices, obtaining a time domain fitness function through several time domain indices; designing a weight matrix for the fitness function to achieve multi-objective optimization of time domain and frequency domain fitness; setting GA (Gas Algorithm) parameters and performing GA evolution calculation to obtain the expected FOPID controller parameter values; and controlling the PMSM using the obtained expected FOPID controller parameter values. This method solves the problem that existing FOPID controller control methods can only ensure the time domain performance of the controller, without adequately guaranteeing the frequency domain and stability of the controller, effectively improving the frequency domain performance of the PMSM servo system. Attached Figure Description
[0100] To more clearly illustrate the technical solution of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below.
[0101] Figure 1 This is a flowchart illustrating the steps of a fractional-order PID control method for a permanent magnet synchronous motor according to the present invention.
[0102] Figure 2 This is a control logic diagram of a fractional-order PID control method for a permanent magnet synchronous motor according to the present invention.
[0103] Figure 3 This is a diagram showing the relative positions of the three coordinate systems. Detailed Implementation
[0104] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.
[0105] The embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0106] This invention discloses a fractional-order PID control method for a permanent magnet synchronous motor, see [link to relevant documentation]. Figures 1-2 Specifically, it includes the following steps:
[0107] S1: Construct a controlled permanent magnet synchronous motor model;
[0108] It is important to understand that when building a model, it is usually necessary to idealize the model. The following idealized assumptions are made for permanent magnet synchronous motors: 1. Core saturation of the motor is not considered; 2. Eddy current and hysteresis losses of the motor are not considered; 3. The winding currents are strictly sinusoidal and have a phase difference of 120°; 4. The rotor has no damping windings.
[0109] Specifically, the rotor of a permanent magnet synchronous motor is energized by permanent magnets, and the magnetic poles rotate continuously relative to the stator. A rotating coordinate system dq is established on the rotating rotor. The d-axis is usually fixed as a fixed axis, which is fixed in the direction of the excitation flux generated by the permanent magnets. Since the permanent magnets are fixed on the rotor, the direction of the excitation flux is the d-axis, which is fixed for the rotor of the permanent magnet synchronous motor. The q-axis is set to lead the d-axis by 90° electrical angle to form an orthogonal axis.
[0110] The stator of a permanent magnet synchronous motor is a three-phase stator winding. Therefore, a planar three-axis fixed coordinate system, abc coordinate system, is established on the axes of the three-phase windings, with the three axes differing by 120°. Since the dq coordinate system is a two-axis coordinate system, it is necessary to convert the abc coordinate system into a two-axis coordinate system: establishing the αβ coordinate system. The α axis coincides with the a axis in the abc coordinate system, and the β axis leads the α axis by 90° electrical angle and is orthogonal to the α axis. The angle between the d-axis in the dq coordinate system and the α axis in the αβ coordinate system is taken as the rotor electrical angular displacement θ.
[0111] By establishing these three coordinate systems, it is convenient to perform mathematical modeling and calculations on permanent magnet synchronous motors, obtaining the required flux linkage equations, voltage equations, power equations, and the motor's torque and motion equations. The relative positions of the three coordinate systems are shown in the diagram below. Figure 3 As shown;
[0112] Based on Clark and Park variations, derive the mathematical model of the motor in the dq coordinate system:
[0113] Constructing the flux linkage equation:
[0114]
[0115] Where, ψ d ψ q These are the flux linkage components generated on the d and q coordinate axes, respectively; L d L q The armature inductances generated on the d and q coordinate axes are ψ and ψ, respectively. rf The interferometric flux generated between the rotor and stator D-axis current id The differential, Q-axis current i q The differential;
[0116] Construct the voltage equation:
[0117]
[0118] Among them, u d The voltage across the D-axis, u q Where ω is the Q-axis voltage and ω is the angular velocity;
[0119] In the flux linkage equation, ψ d ψ q Substituting into (1), we get:
[0120]
[0121] Where R is the stator resistance, ω is the rotor angular velocity, and p is the differential operator constant;
[0122] Construct the torque equation:
[0123] T e =P N (ψ d i q -ψ q i d ) = P N [ψ rf i q +(L d -L q )i d i q (4)
[0124] Among them, T e P is the rotor electromagnetic torque. N This represents the number of rotor pole pairs;
[0125] Construct the power equation:
[0126] P = u d i d +u q i q (5)
[0127] Using the above equations for flux linkage, voltage, torque, and power, a mathematical model of the permanent magnet synchronous motor can be completed in the dq coordinate system.
[0128] S2: LMI calculates the offspring fitness, and obtains the frequency domain fitness function through LMI stability design, LMI gain margin design and LMI phase margin design;
[0129] It should be noted that when calculating the offspring fitness function using LMI, it includes, but is not limited to, LMI stability design, LMI gain margin design, and LMI phase margin design. It may also include some extended function designs, such as sensitivity functions and complementary sensitivity functions.
[0130] Specifically, the steps for LMI stability design are as follows:
[0131] First, the stability criterion LMI is constructed. Based on the permanent magnet synchronous motor model and the FOPID controller model, the open-loop transfer function is obtained. Therefore, according to the Nyquist criterion, the control curve needs to either "encircle (-1, 0)" or "not encircle (-1, 0)" to maintain system stability.
[0132] List LMIs:
[0133] When the real and imaginary parts are less than 0:
[0134] Im{L(jω)}<0, 0≤ω<ω Pe (6)
[0135] ω=ω Pe When the real part is greater than -1, the imaginary part is equal to 0:
[0136] R e {L(jω)}>-1∧Im{L(jω Pe )}=0 (7)
[0137] ω>ω Pe When the imaginary part is greater than 0:
[0138] Im{L(jω)}>0,ω Pe <ω (8)
[0139] Based on the controlled permanent magnet synchronous motor model and the FOPID controller model, the open-loop transfer function is obtained;
[0140] The system's open-loop transfer function is written as:
[0141] L(jω)=C(jω)P(jω) (9)
[0142] Where C(jω) is the controller transfer function and P(jω) is the controlled object transfer function;
[0143] The FOPID controller is:
[0144] C(jω)=W(jω)X (10)
[0145] Where W(jω) is the weight matrix and X is the controller parameter;
[0146] The controlled system of the controlled permanent magnet synchronous motor model is:
[0147]
[0148] Among them, K V R is the inverter gain. S T is the phase resistance of the motor. V For inverter delay, L is the motor phase inductance;
[0149] Decompose W(jω) and P(jω) into:
[0150] W(jω)=W r (jω)+jW i (jω) (12)
[0151] P(jω)=P r (jω)+jP i (jω) (13)
[0152] get:
[0153]
[0154] Substituting equation (14) into equations (6)-(8) respectively, we obtain:
[0155] W i (jω)XP r (jω)+W r (jω)XP i (jω)<0, 0≤ω<ω Pe (15)
[0156] W r (jω Pe XP r (jω Pe )-W i XP i (jω Pe )>-1 (16)
[0157] -ε<W i (jω Pe XP r (jω Pe )+W r (jω Pe XP i (jω Pe )<ε (17)
[0158] W i (jω)XP r (jω)+W r (jω)XP i (jω)>0,ω Pe<ω (18)
[0159] Where ε is a very small positive real constant, specifically, ε < 0.01.
[0160] Specifically, the steps for LMI gain margin design and phase margin design are as follows;
[0161] Gain margin calculation:
[0162] GM = 20Log(|L(jω) Pe (19)
[0163] If the gain margin is set to GM = -3dB, and L(jω) Pe The imaginary part is 0, and L(jω) can be calculated from the above formula. Pe The length of the real part is:
[0164] Then we have:
[0165] W r (jω Pe XP r (jω Pe )-W i XP i (jω Pe )>R e L (20)
[0166] Set the inequality (20) according to the required gain margin;
[0167] Phase margin calculation:
[0168] Phase margin calculation is mathematically equivalent to minimization:
[0169] According to Schur's complement lemma, the minimization problem is equivalent to the generalized eigenvalue problem, and combined with the properties of the Hermitian matrix, we obtain the equivalent LMI:
[0170]
[0171] To ensure that the phase value of the open-loop frequency response lies within a specified phase margin range over a large gain range, equation (21) is constructed:
[0172]
[0173] Transforming equation (21) into the generalized eigenvalue form, we obtain equations (22) and (23):
[0174]
[0175]
[0176] The smaller γ is in the formula, the more ω ph The closer the system phase is to θ;
[0177] In order to satisfy |L(jω0)|<α at a certain frequency like ω0, it is further concluded that:
[0178]
[0179] The GEVP solution was obtained using the LMI toolbox in MATLAB, yielding a near-zero γ and X, where X is the offspring of this calculation and γ is the frequency domain fitness of the offspring.
[0180] S3: Calculate fitness using time-domain metrics. The time-domain fitness function is obtained by calculating several time-domain metrics.
[0181] Specifically, a time-domain index is used, and the X offspring is used as the parameter of the FOPID controller. The controller and the controlled object are combined into a closed-loop system. Given a step excitation, the time-domain index value is obtained through calculation and used as the time-domain fitness function of the offspring X.
[0182] The time-domain metrics used include:
[0183] The time-weighted integral absolute error index is:
[0184]
[0185] The integral squared error index is:
[0186]
[0187] The time-weighted integral squared error index is:
[0188]
[0189] The absolute error of integration is:
[0190]
[0191] Overshoot:
[0192]
[0193] Absolute steady-state error:
[0194]
[0195] Where e(t) is the error;
[0196] Stabilization time:
[0197] The time Ts required for the system to enter the 5% error band.
[0198] Understandably, control engineers (users) can add other time-domain design metrics as needed.
[0199] S4: Design the weight matrix of the fitness function to achieve multi-objective optimization of time-domain fitness and frequency-domain fitness;
[0200] Specifically, by constructing a weighting function, multi-objective optimization of time-domain fitness and frequency-domain fitness is achieved:
[0201] F fitness =w T F IATE +w F γ (31)
[0202] Among them, F fitness For the final fitness function, w T F represents the time-domain weighting coefficient. ITAE The time-domain fitness calculated for the ITAE metric, w F Here, γ represents the frequency domain weighting coefficient, and γ represents the LMI frequency domain fitness.
[0203] Extend equation (31) into a weight matrix form:
[0204]
[0205] By forming a fitness weight matrix that takes into account both time-domain and frequency-domain indicators and dynamically adjusting the weights, the evolutionary direction can be guided in a targeted manner.
[0206] The weight matrix design, in general, involves querying a preset weight matrix table based on requirements to select weights. For more advanced modes, control professionals can customize the weight matrix. Specifically, the quick weight matrix lookup table is shown in Table 1:
[0207] Table 1
[0208]
[0209] S5: Set the GA parameters and perform GA evolution calculations to obtain the expected FOPID controller parameter values;
[0210] Specifically, according to the final fitness function F fitness Through continuous GA iteration and evolution, the desired parameters of the FOPID controller are finally obtained.
[0211] S6: Use the obtained expected FOPID controller parameter values to control the permanent magnet synchronous motor to achieve the expected time-domain and frequency-domain performance.
[0212] The user uses the fractional-order PID control method for a permanent magnet synchronous motor disclosed in this invention as follows:
[0213] (1) Determine the selection of time-domain indicators and frequency-domain LMIs formula module based on the required motor performance.
[0214] (2) Set the parameter values into the time domain module and frequency domain module according to the requirements so that the corresponding module calculations can be performed during the evolution process.
[0215] (3) Look up the weight matrix coefficients in the table. (Control engineers can further customize the matrix according to their needs.)
[0216] (4) Add the weight coefficients to the formula to obtain the fitness function formula:
[0217]
[0218] (5) Set GA parameters and perform GA evolution calculation.
[0219] (6) The evolution ends and the required FOPID controller parameter values are obtained.
[0220] The specific operation is as follows: Assume that the requirement is that the PMSM (Permanent Magnet Synchronous Motor Model) needs to have a fast response speed and there is no special requirement for steady-state error; in the frequency domain, it needs to achieve a phase margin of 40° and an amplitude margin of 3dB.
[0221] The above requirements can be divided into time domain requirements and frequency domain requirements.
[0222] In the time domain, a fast response speed is required, but there is no requirement for steady-state error. According to the time domain design in step S4, adding the time domain index ISE (integral squared error) which is independent of time can meet the requirements.
[0223] In the frequency domain, the main requirements are phase margin and amplitude margin. Only a margin module needs to be added; no additional sensitivity function or complementary sensitivity function is needed. Therefore, according to step S3, LMI margin design, GM is set to -3dB.
[0224] System stability is essential, therefore, according to step S2LMI stability design, a stability LMI is added;
[0225] Based on the LMI module above, we know that evolution requires calculation of the LMI basic module (stability module and margin module) to obtain the γ frequency domain index; and calculation of ISE to obtain the time domain index T. ISE .
[0226] The fitness function is obtained by quickly looking up the weight matrix in the lookup table.
[0227] Fitness = 0.12 * T ISE +0.88γ
[0228] By designing and evolving the GA parameters, the required FOPID controller parameter values can be obtained.
[0229] This invention discloses a fractional-order PID control method for permanent magnet synchronous motors, which improves the frequency domain performance of permanent magnet synchronous motor servo systems and achieves controller performance considering multiple factors. It also provides a basic, user-friendly lookup table process, significantly simplifying the design process and enabling rapid application in workshops. Furthermore, for professional control engineers, the basic modules can be further customized to achieve more targeted parameter optimization.
[0230] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0231] The above embodiments are merely descriptions of preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Various modifications and improvements made by those skilled in the art to the technical solutions of the present invention without departing from the spirit of the present invention should fall within the protection scope defined by the claims of the present invention.
Claims
1. A fractional-order PID control method for a permanent magnet synchronous motor, characterized in that, Includes the following steps: Construct a controlled permanent magnet synchronous motor model; LMI calculates offspring fitness, and the frequency domain fitness function is obtained through LMI stability design, LMI gain margin design, and LMI phase margin design. Fitness is calculated using time-domain indices. The time-domain fitness function is obtained by calculating several time-domain indices. Design the weight matrix of the fitness function to achieve multi-objective optimization of time-domain fitness and frequency-domain fitness; Set the GA parameters and perform GA evolution calculations to obtain the expected FOPID controller parameter values; The permanent magnet synchronous motor is controlled using the obtained expected FOPID controller parameter values; The steps involved in LMI stability design include: Construct a stability criterion, LMI; When the real and imaginary parts are less than 0: (6) When the real part is greater than -1, the imaginary part is equal to 0: (7) When the imaginary part is greater than 0: (8) Based on the controlled permanent magnet synchronous motor model and the FOPID controller model, the open-loop transfer function is obtained; The system's open-loop transfer function is written as: (9) in, Pass functions to the controller. Pass functions to the controlled object; The FOPID controller is: (10) in, This is the weight matrix. For controller parameters; The controlled system of the controlled permanent magnet synchronous motor model is: (11) in, For inverter gain, For motor phase resistance, For inverter delay, For motor phase inductance; Will Decompose: (12) (13) get: (14) Substituting equation (14) into equations (6) to (8) respectively, we obtain: (15) (16) (17) (18) in, ; The steps for designing LMI gain margin and LMI phase margin include: Gain margin calculation: (19) If a gain margin is set ,and The imaginary part is 0, calculated from the above formula. The length of the real part is: ; Then we have: (20) Set the inequality (20) according to the required gain margin. Phase margin calculation: Phase margin calculation is equivalent to minimization: ; According to Schur's complement lemma, the minimization problem is equivalent to the generalized eigenvalue problem, and combined with the properties of the Hermitian matrix, we obtain the equivalent LMI: ; To ensure that the phase value of the open-loop frequency response lies within a specified phase margin range over a large gain range, equation (21) is constructed: (21) Transforming equation (21) into the generalized eigenvalue form, we obtain equations (22) and (23): (22) (23) In the formula The smaller, The closer the system phase is to ; In order to be like At a certain frequency, satisfying This leads to the conclusion that: (24) The GEVP solution was obtained using the LMI toolbox in MATLAB, yielding a value close to zero. and obtain , It is the offspring of this calculation. This represents the frequency domain fitness of the offspring.
2. The fractional-order PID control method for a permanent magnet synchronous motor according to claim 1, characterized in that, The steps for constructing a controlled permanent magnet synchronous motor model include: Constructing the flux linkage equation: (1) in, , They are respectively The magnetic flux components generated on the coordinate axes; They are respectively The armature inductance generated on the coordinate axis, The interferometric flux generated between the rotor and stator D-axis current The differential, Q-axis current The differential; Construct the voltage equation: (2) in, The voltage along the D-axis. This is the Q-axis voltage. Angular velocity; In the flux linkage equation , Substituting into (1), we get: (3) in, For stator resistance, The rotor's angular velocity. These are the constants of the differential operator; Construct the torque equation: (4) in, For rotor electromagnetic torque, This represents the number of rotor pole pairs; Construct the power equation: (5)。 3. The fractional-order PID control method for a permanent magnet synchronous motor according to claim 1, characterized in that, The steps for calculating the fitness function using time-domain indices include: Using time-domain metrics, The offspring is used as a parameter of the FOPID controller. The controller and the controlled object are combined into a closed-loop system. Given a step excitation, the time-domain index value is calculated and used as the offspring. The time-domain fitness function; the time-domain index includes: The time-weighted integral absolute error index is: (25) The integral squared error index is: (26) The time-weighted integral squared error index is: (27) The absolute error of integration is: (28) Overshoot: (29) Absolute steady-state error: (30) in, For error; Stabilization time: The time Ts required for the system to enter the 5% error band.
4. The fractional-order PID control method for a permanent magnet synchronous motor according to claim 3, characterized in that, Design the weight matrix of the fitness function to achieve multi-objective optimization of time-domain fitness and frequency-domain fitness: (31) in, For the final fitness function, These are the time-domain weighting coefficients. The time-domain fitness calculated for the ITAE metric. These are the frequency domain weighting coefficients. For LMI frequency domain fitness; Extend equation (31) into a weight matrix form: (32)。
Citation Information
Patent Citations
Permanent magnet synchronous motor optimal fractional order PID (proportional-integral-derivative) control method having great tracking performance
CN107863910A
