Permanent magnet synchronous motor control method, device and equipment
By decomposing the fundamental wave and harmonics of the stator current of the permanent magnet synchronous motor, observing and calculating the disturbance value, and determining the voltage value to control the motor, the problem of torque fluctuation caused by harmonic disturbance is solved and the control accuracy is improved.
Patent Information
- Application Number
- CN202410808083.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-06-21
AI Technical Summary
In actual operation, the permanent magnet synchronous motor is affected by harmonic disturbances caused by factors such as the nonlinearity of the inverter, the non-sinusoidal magnetic density of the motor body, and the cogging effect, resulting in torque fluctuations and making it difficult to achieve high-precision control.
By splitting the stator current into fundamental current and harmonic current, the stator fundamental current equation is constructed with the fundamental current as the state quantity, and the fundamental wave constant disturbance observer and the non-fundamental constant disturbance estimation value calculation formula are used, Observe and calculate fundamental and non-fundamental disturbance values, and then determine the voltage value to control the motor and suppress harmonic disturbances.
The control accuracy of the permanent magnet synchronous motor current loop is improved, the torque ripple of the output torque is reduced, and high-precision permanent magnet synchronous motor control is achieved.
Smart Images

Figure CN118381392B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of motor control technology, and in particular to a permanent magnet synchronous motor control method, device, equipment and computer program product. Background Art
[0002] Permanent magnet synchronous motors are increasingly used in home appliances, automobile drives, etc., due to their simple structure, high power density, and low cost. Currently, the current loop control task of permanent magnet synchronous motors is usually achieved by controlling the stator direct axis (i.e., stator d-axis) voltage and the stator quadrature axis (i.e., stator q-axis) voltage.
[0003] However, the actual operation process of the permanent magnet synchronous motor will inevitably be affected by the harmonic disturbance caused by the nonlinearity of the inverter, the non-sinusoidal magnetic flux density of the motor body and the cogging effect, resulting in the fluctuation of the output torque of the permanent magnet synchronous motor, making it difficult to achieve high-precision permanent magnet synchronous motor control tasks. Summary of the invention
[0004] In view of the above problems, the present application provides a permanent magnet synchronous motor control method, device, equipment and computer program product to achieve high-precision permanent magnet synchronous motor control tasks.
[0005] The specific plan is as follows:
[0006] A first aspect of the present application provides a permanent magnet synchronous motor control method, comprising:
[0007] Extracting the stator direct-axis fundamental current value and the stator quadrature-axis fundamental current value at the current sampling moment from the stator direct-axis current and the stator quadrature-axis current;
[0008] Calling a pre-constructed fundamental wave constant disturbance observer to observe and obtain the stator direct-axis fundamental wave constant disturbance value and the stator quadrature-axis fundamental wave constant disturbance value at the current sampling moment; wherein the fundamental wave constant disturbance observer is constructed based on the stator fundamental wave current equation, and the stator fundamental wave current equation is a current equation with the fundamental wave current as the state quantity obtained by splitting the fundamental wave current and the harmonic wave current on the basis of the original stator current equation, and the disturbance term of the stator fundamental wave current equation includes the disturbance quantity caused by the harmonic current;
[0009] Calling a non-fundamental wave constant disturbance estimation value calculation formula, and calculating a stator direct-axis non-fundamental wave constant disturbance estimation value and a stator quadrature-axis non-fundamental wave constant disturbance estimation value at a sampling moment before the current sampling moment according to the stator direct-axis fundamental wave current value and the stator quadrature-axis fundamental wave current value; using the stator direct-axis non-fundamental wave constant disturbance estimation value as the stator direct-axis non-fundamental wave constant disturbance value at the current sampling moment, and using the stator quadrature-axis non-fundamental wave constant disturbance estimation value as the stator quadrature-axis non-fundamental wave constant disturbance value at the current sampling moment; wherein the non-fundamental wave constant disturbance estimation value calculation formula is a calculation formula obtained by discretizing the stator fundamental wave current equation using the forward Euler method;
[0010] Calculating a stator direct-axis voltage value and a stator quadrature-axis voltage value according to the stator direct-axis fundamental wave constant disturbance value, the stator quadrature-axis fundamental wave constant disturbance value, the stator direct-axis non-fundamental wave constant disturbance value, and the stator quadrature-axis non-fundamental wave constant disturbance value;
[0011] At the current sampling moment, the permanent magnet synchronous motor is controlled according to the stator direct-axis voltage value and the stator quadrature-axis voltage value.
[0012] A second aspect of the present application provides a permanent magnet synchronous motor control device, comprising:
[0013] A fundamental current extraction unit, used to extract a stator direct-axis fundamental current value and a stator quadrature-axis fundamental current value at a current sampling moment from the stator direct-axis current and the stator quadrature-axis current;
[0014] A fundamental wave constant disturbance determination unit is used to call a pre-constructed fundamental wave constant disturbance observer to observe and obtain the stator direct-axis fundamental wave constant disturbance value and the stator quadrature-axis fundamental wave constant disturbance value at the current sampling moment; wherein the fundamental wave constant disturbance observer is constructed based on the stator fundamental wave current equation, and the stator fundamental wave current equation is a current equation with the fundamental wave current as the state quantity obtained by splitting the fundamental wave current and the harmonic wave current on the basis of the original stator current equation, and the disturbance term of the stator fundamental wave current equation includes the disturbance quantity caused by the harmonic current;
[0015] A non-fundamental wave constant value disturbance determination unit is used to call a non-fundamental wave constant value disturbance estimation value calculation formula, and calculate the stator direct axis non-fundamental wave constant value disturbance estimation value and the stator quadrature axis non-fundamental wave constant value disturbance estimation value at a sampling moment before the current sampling moment according to the stator direct axis fundamental wave current value and the stator quadrature axis fundamental wave current value; use the stator direct axis non-fundamental wave constant value disturbance estimation value as the stator direct axis non-fundamental wave constant value disturbance value at the current sampling moment, and use the stator quadrature axis non-fundamental wave constant value disturbance estimation value as the stator quadrature axis non-fundamental wave constant value disturbance value at the current sampling moment; wherein the non-fundamental wave constant value disturbance estimation value calculation formula is a calculation formula obtained by discretizing the stator fundamental wave current equation using the forward Euler method;
[0016] A control voltage determination unit, used for calculating a stator direct-axis voltage value and a stator quadrature-axis voltage value according to the stator direct-axis fundamental wave constant disturbance value, the stator quadrature-axis fundamental wave constant disturbance value, the stator direct-axis non-fundamental wave constant disturbance value and the stator quadrature-axis non-fundamental wave constant disturbance value;
[0017] A motor control unit is used to control the permanent magnet synchronous motor according to the stator direct-axis voltage value and the stator quadrature-axis voltage value at the current sampling moment.
[0018] A third aspect of the present application provides a permanent magnet synchronous motor control device, comprising at least one processor and a memory connected to the processor, wherein:
[0019] The memory is used to store computer programs;
[0020] The processor is used to execute the computer program so that the permanent magnet synchronous motor control device can implement any of the above-mentioned permanent magnet synchronous motor control methods.
[0021] A fourth aspect of the present application provides a computer program product, comprising computer-readable instructions, which, when executed on an electronic device, enables the electronic device to implement any of the above-mentioned permanent magnet synchronous motor control methods.
[0022] By means of the above technical scheme, the present application considers the adverse effect of harmonic current on the output torque of the permanent magnet synchronous motor, splits the stator current into fundamental current and harmonic current, and constructs a stator fundamental current equation with fundamental current as the state quantity, in which the disturbance term includes the disturbance caused by the harmonic current; on this basis, a fundamental constant disturbance observer is constructed to realize the observation task of the fundamental constant disturbance of the stator direct axis and the stator quadrature axis at the current sampling moment; a calculation formula for the estimated value of the non-fundamental constant disturbance is also constructed, and the estimated value of the non-fundamental constant disturbance at the previous sampling moment is calculated. The sampling period is usually small, and it can be considered that the non-fundamental constant disturbance values at adjacent sampling moments are consistent, and the non-fundamental constant disturbance values of the stator direct axis and stator quadrature axis at the current sampling moment are determined accordingly; thereby realizing the disturbance observation task at the current sampling moment, and providing a basis for suppressing the harmonic disturbance of the permanent magnet synchronous motor current loop; then, according to the stator direct axis fundamental constant disturbance value, the stator quadrature axis fundamental constant disturbance value, the stator direct axis non-fundamental constant disturbance value and the stator quadrature axis non-fundamental constant disturbance value, the stator direct axis voltage value and the stator quadrature axis voltage value to be applied are calculated, and the permanent magnet synchronous motor is controlled accordingly. When determining the control voltage, the present application compensates for the system disturbance based on the determined disturbance value, and controls the motor according to the voltage value determined in this way, which can improve the control accuracy of the current loop to a certain extent, and realize the high-precision control task of the permanent magnet synchronous motor. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] By reading the detailed description of the preferred embodiment below, various other advantages and benefits will become clear to those of ordinary skill in the art. The accompanying drawings are only used for the purpose of illustrating the preferred embodiment and are not considered to be limitations of the present application. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings.
[0024] In the attached picture:
[0025] Figure 1 shows a control schematic diagram of a permanent magnet synchronous motor;
[0026] Figure 2 is a flow chart of a permanent magnet synchronous motor control method according to an embodiment of the present application;
[0027] Figure 3 A schematic diagram of the extraction process of the stator fundamental current is shown;
[0028] Figure 4 A structural schematic diagram of a stator j-axis current control system is shown;
[0029] Figure 5 is a structural schematic diagram of a permanent magnet synchronous motor control device according to an embodiment of the present application;
[0030] Figure 6 It is a structural schematic diagram of a permanent magnet synchronous motor control device according to an embodiment of the present application. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0032] The applicant in this case found that the existing permanent magnet synchronous motor control scheme mainly includes speed loop control and current loop control, such as Figure 1 As shown, current loop control is the basis of speed loop control, so the control accuracy of the current loop will affect the overall control accuracy of the motor. The applicant in this case found through analyzing the current loop of the permanent magnet synchronous motor that in the current control system, harmonic currents are inevitably present due to factors such as the nonlinearity of the inverter and the tooth slot effect of the motor body. The presence of harmonic currents causes torque pulsation of the permanent magnet synchronous motor's external output torque, affecting the smoothness of the permanent magnet synchronous motor's external output torque.
[0033] In order to suppress the harmonic current in the current loop control system of a permanent magnet synchronous motor, reduce the torque pulsation of the permanent magnet synchronous motor's external output torque, and improve the control accuracy of the permanent magnet synchronous motor, the embodiments of the present application provide a permanent magnet synchronous motor control method, device, equipment and computer program product.
[0034] Figure 2 1 is a flow chart of a method for controlling a permanent magnet synchronous motor according to an embodiment of the present application. Figure 2 As shown, the method may include the following steps:
[0035] Step S101 : extracting the stator direct-axis fundamental current value and the stator quadrature-axis fundamental current value at the current sampling moment from the stator direct-axis current and the stator quadrature-axis current respectively.
[0036] It should be noted that for any axis of the stator direct axis and the stator quadrature axis (referred to as the j-axis), the j-axis current may include the fundamental current and the harmonic current, which can be expressed as: j =i j1 +i j_others , where i j1 represents the fundamental current of the j-axis, i j_others represents the j-axis current i j The harmonic current other than the fundamental current, the harmonic current described in the present application may refer to a 6mth harmonic current, wherein m is a positive integer, and among the 6mth harmonic current, the 6th harmonic current is dominant.
[0037] Step S102: calling a pre-built fundamental wave constant disturbance observer to observe and obtain the stator direct axis fundamental wave constant disturbance value and the stator quadrature axis fundamental wave constant disturbance value at the current sampling moment.
[0038] Among them, the fundamental constant disturbance observer is constructed based on the stator fundamental current equation; the stator fundamental current equation is a current equation with the fundamental current as the state quantity obtained by splitting the fundamental current and the harmonic current on the basis of the original stator current equation, and the disturbance term of the stator fundamental current equation includes the disturbance caused by the harmonic current.
[0039] For example, the original stator current equation can be expressed as:
[0040]
[0041] Among them, x represents the state quantity, x=[i d i q ] T ,i d represents the stator direct axis current, i q It represents the stator quadrature axis current; It means the first-order derivative of the variable with respect to time t, Indicates i d The first derivative with respect to time t is Indicates i q The first-order derivative with respect to time t; A represents the state transfer matrix, B represents the control input matrix, which is related to the motor parameters; u represents the control input quantity, u=[u d u q ] T ,u d represents the stator direct axis voltage, u q represents the stator quadrature-axis voltage; G represents the quadrature-direct-axis coupling term related to the speed.
[0042] On the basis of the original stator current equation, the state quantity is split into the fundamental current state quantity and the harmonic current state quantity other than the fundamental current, that is, the state quantity x=x1+x2, where the fundamental current state quantity x1=[i d1 i q1 ] T ,i d1 represents the stator direct axis fundamental current, i q1 Represents the stator quadrature axis fundamental current, harmonic current state quantity x2=[i d_others i q_others ] T ,i d_others It represents the stator direct-axis harmonic current other than the stator direct-axis fundamental current in the stator direct-axis current, i q_othersrepresents the stator quadrature-axis harmonic current other than the stator quadrature-axis fundamental current in the stator quadrature-axis current; on this basis, the items related to the harmonic current are regarded as disturbances, and the stator fundamental current equation with the fundamental current as the state quantity is generated, which can be expressed as:
[0043]
[0044] in, Indicates i d1 The first derivative with respect to time t is Indicates i q1 The first-order derivative with respect to time t; in the stator fundamental current equation, all items except Ax1+Bu can be disturbance items, which may include coupling items related to the speed and disturbances related to harmonic currents. G represents the AC-DC coupling item related to the speed. Indicates i d_others The first derivative with respect to time t is Indicates i q_others The first derivative with respect to time t. It should be noted that the above equation is a continuous equation, which can be called a continuous stator fundamental current equation.
[0045] Step S103, calculating the stator direct-axis non-fundamental wave constant disturbance value and the stator quadrature-axis non-fundamental wave constant disturbance value at the current sampling moment.
[0046] It should be noted that the current loop of the permanent magnet synchronous motor usually needs to meet the switching frequency of 10 kHz. The control period corresponding to the switching frequency of 10 kHz is 100 microseconds. Since the time interval between adjacent control moments (i.e., sampling moments) is short, by analyzing the historical information data of the permanent magnet synchronous motor, in actual engineering, it can be considered that within the control period of 100 microseconds, the non-fundamental wave constant disturbance value of the system does not change, that is, the non-fundamental wave constant disturbance values at adjacent sampling moments are the same. Taking sampling moment T as an example, the stator direct axis non-fundamental wave constant disturbance value f at sampling moment T is d_noncon (T) is equal to the stator direct axis non-fundamental constant disturbance value f at the previous sampling time T-1 d_noncon (T-1), the stator quadrature axis non-fundamental constant disturbance value f at sampling time T q_noncon (T) is equal to the stator quadrature axis non-fundamental constant disturbance value f at the previous sampling time T-1 q_noncon (T-1).
[0047] Based on this, step S103 may include the following steps AB:
[0048] Step A, calling the non-fundamental constant disturbance estimation calculation formula, and calculating the stator direct-axis non-fundamental constant disturbance estimation value and the stator quadrature-axis non-fundamental constant disturbance estimation value at a sampling moment before the current sampling moment based on the stator direct-axis fundamental current value and the stator quadrature-axis fundamental current value.
[0049] Among them, the calculation formula for the estimated value of the non-fundamental constant disturbance is a calculation formula obtained by discretizing the stator fundamental current equation using the forward Euler method. In a possible implementation, the calculation formula for the estimated value of the non-fundamental constant disturbance can be a calculation formula obtained by splitting the disturbance term in the discrete equation into a fundamental constant disturbance term and a non-fundamental constant disturbance term, and using the non-fundamental constant disturbance term as the unknown term to be calculated, and the discrete equation is an equation obtained by processing the continuous stator fundamental current equation using the forward Euler method. Specifically, the calculation formula for the estimated value of the non-fundamental constant disturbance can be obtained by processing according to the following steps:
[0050] The first step is to discretize the continuous stator fundamental current equation using the forward Euler method to obtain a discrete equation.
[0051] Exemplarily, for any sampling time T, at the sampling time T-1 before the sampling time T, the discrete equation can be expressed as:
[0052]
[0053] Among them, i d1 (T) represents the stator direct axis fundamental current value at sampling time T, i d1 (T-1) represents the stator direct axis fundamental current value at sampling time T-1; i q1 (T) represents the stator quadrature axis fundamental current value at sampling time T, i q1 (T-1) represents the stator quadrature axis fundamental current value at sampling time T-1; T s Indicates the sampling period; u d (T-1) represents the stator direct axis voltage value at sampling time T-1, u q (T-1) represents the stator quadrature-axis voltage value at sampling time T-1; f d (T-1) represents the stator direct axis disturbance value at sampling time T-1, f q (T-1) represents the stator quadrature-axis disturbance value at sampling time T-1.
[0054] The second step is to split the disturbance term in the discrete equation into a fundamental wave constant disturbance term and a non-fundamental wave constant disturbance term; and use the non-fundamental wave constant disturbance term in the equation as the unknown term to be calculated, so as to obtain the calculation formula of the non-fundamental wave constant disturbance estimate.
[0055] For example, for sampling time T-1, there is Among them, f d1_con (T-1) and f q1_con (T-1) represents the stator direct axis fundamental wave constant disturbance value and the stator quadrature axis fundamental wave constant disturbance value at sampling time T-1, respectively, d_noncon (T-1) and f q_noncon (T-1) represents the stator direct axis non-fundamental constant disturbance value and the stator quadrature axis non-fundamental constant disturbance value at sampling time T-1 respectively; on this basis, ignoring the estimation error, we have in, and The stator direct axis non-fundamental wave constant value disturbance estimation value and the stator quadrature axis non-fundamental wave constant value disturbance estimation value at the sampling time T-1 to be calculated are represented in turn. The non-fundamental wave constant value disturbance estimation value calculation formula can be expressed as:
[0056]
[0057] For the explanation of the parameters in the formula, please refer to the above description.
[0058] Step B: using the stator direct-axis non-fundamental constant disturbance estimate value as the stator direct-axis non-fundamental constant disturbance value at the current sampling moment, and using the stator quadrature-axis non-fundamental constant disturbance estimate value as the stator quadrature-axis non-fundamental constant disturbance value at the current sampling moment.
[0059] Based on the above content, the following formula can be used to calculate the estimated value of the non-fundamental constant disturbance at the current sampling time as the current non-fundamental constant disturbance value:
[0060]
[0061] In the formula, k represents the current sampling time, and k-1 represents the sampling time before the current sampling time.
[0062] Step S104, calculating a stator direct-axis voltage value and a stator quadrature-axis voltage value according to the stator direct-axis fundamental wave constant disturbance value, the stator quadrature-axis fundamental wave constant disturbance value, the stator direct-axis non-fundamental wave constant disturbance value and the stator quadrature-axis non-fundamental wave constant disturbance value.
[0063] Step S105 : controlling the permanent magnet synchronous motor according to the stator direct-axis voltage value and the stator quadrature-axis voltage value at the current sampling moment.
[0064] The above scheme takes into account the adverse effects of harmonic current on the output torque of the permanent magnet synchronous motor, splits the stator current into fundamental current and harmonic current, and constructs a stator fundamental current equation with fundamental current as the state quantity. The disturbance term includes the disturbance caused by harmonic current. The stator fundamental current equation can more accurately describe the actual behavior of the permanent magnet synchronous motor; on this basis, a fundamental constant disturbance observer is constructed to realize the observation task of the fundamental constant disturbance of the stator direct axis and stator quadrature axis at the current sampling moment; a calculation formula for the estimated value of non-fundamental constant disturbance is also constructed, and the estimated value of the non-fundamental constant disturbance at the previous sampling moment is calculated, which is obtained by Since the actual sampling period is usually small, it can be considered that the non-fundamental constant disturbance values at adjacent sampling moments are consistent, and the non-fundamental constant disturbance values of the stator direct axis and stator quadrature axis at the current sampling moment are determined accordingly; so far, based on the extracted current fundamental current, the disturbance observation task at the current sampling moment is realized, which provides a basis for suppressing the harmonic disturbance of the permanent magnet synchronous motor current loop; then, according to the stator direct axis fundamental constant disturbance value, the stator quadrature axis fundamental constant disturbance value, the stator direct axis non-fundamental constant disturbance value and the stator quadrature axis non-fundamental constant disturbance value, the stator direct axis voltage value and the stator quadrature axis voltage value to be applied are calculated, and the permanent magnet synchronous motor is controlled accordingly. When determining the control voltage, the present application compensates for the system disturbance based on the determined disturbance value, and controls the motor according to the voltage value determined in this way, which can improve the control accuracy of the current loop to a certain extent, and thus realize the high-precision control task of the permanent magnet synchronous motor.
[0065] For example, Figure 3 The schematic diagram of the extraction process of the stator fundamental current is shown in the figure. Figure 3 As shown, the step of extracting the stator direct-axis fundamental current value and the stator quadrature-axis fundamental current value at the current sampling moment from the stator direct-axis current and the stator quadrature-axis current respectively may include step CH:
[0066] Step C: transform the stator current state quantity from two-phase rotation to two-phase stationary according to the rotor flux electrical angle value at the current sampling moment corresponding to the fundamental wave to obtain a first intermediate state quantity.
[0067] The stator current state quantity may include the stator direct axis current and the stator quadrature axis current, which may be expressed as: Correspondingly, the fundamental current state quantity to be extracted can be expressed as The rotor flux electrical angle value at the current sampling moment corresponding to the fundamental wave can be expressed as ω e T s ,ω e It should be noted that the transformation from two-phase rotation to two-phase stationary refers to the transformation of the state quantity from the dq rotating coordinate system to the αβ stationary coordinate system.
[0068] Step D: According to the rotor flux electrical angle value at the current sampling moment corresponding to the harmonic, the first intermediate state quantity is transformed from two-phase static to two-phase rotating, low-pass filtered, and transformed from two-phase rotating to two-phase static in sequence to obtain a second intermediate state quantity.
[0069] Among them, the rotor flux electrical angle value at the current sampling moment corresponding to the harmonic can be expressed as 6mω e T s , 6m represents the harmonic order, and m is a positive integer. It should be noted that the transformation from two-phase static to two-phase rotating refers to the transformation of the state quantity from the αβ static coordinate system to the dq rotating coordinate system.
[0070] Step E: Based on the opposite number of the rotor flux electrical angle value at the current sampling moment corresponding to the harmonic (i.e. -6mω e T s ), and sequentially perform a transformation from two-phase static to two-phase rotating, a low-pass filter, and a transformation from two-phase rotating to two-phase static on the first intermediate state quantity to obtain a third intermediate state quantity.
[0071] The above-mentioned step D and step E can be executed in parallel or one after another; this application does not limit the execution order of step D and step E.
[0072] Step F: Add the second intermediate state quantity to the third intermediate state quantity to obtain a fourth intermediate state quantity.
[0073] Step G: Based on the rotor flux electrical angle value (i.e. ω) corresponding to the fundamental wave at the current sampling moment e T s ), transform the fourth intermediate state quantity from two-phase static to two-phase rotating to obtain a fifth intermediate state quantity.
[0074] Step H: subtract the stator current state quantity from the fifth intermediate state quantity to obtain the fundamental current state quantity, and determine the stator direct-axis fundamental current value and the stator quadrature-axis fundamental current value at the current sampling moment.
[0075] The above scheme provides a fundamental current extraction method based on dq axis coordinate transformation. Optionally, this method can also be applied to a position-free estimation strategy based on fundamental current of a permanent magnet synchronous motor.
[0076] In addition, other methods may be used to extract the fundamental current, which is not limited in this application.
[0077] In one or more embodiments provided in the present application, the stator fundamental current equation may be: a discrete stator fundamental current equation.
[0078] Optionally, the discrete stator fundamental current equation can be obtained by performing a preset order Taylor expansion of the state quantity at the sampling moment after the specified sampling moment at the specified sampling moment; the specified sampling moment can be any sampling moment; the derivative values of each order of the state quantity in the discrete stator fundamental current equation at the specified sampling moment can be calculated by the continuous stator fundamental current equation; the continuous stator fundamental current equation can be a current equation with the fundamental current as the state quantity obtained by splitting the state quantity in the original stator current equation, and the disturbance term of the continuous stator fundamental current equation includes the disturbance caused by the harmonic current.
[0079] Exemplarily, the discrete stator fundamental current equation can be obtained by IK transformation according to the following steps, specifically:
[0080] Step I: split the stator current in the original stator current equation into fundamental current and harmonic current.
[0081] Exemplarily, the stator current equation obtained by step I can be expressed as:
[0082]
[0083] Step J: transform to obtain a continuous stator fundamental current equation with the fundamental current as the state quantity.
[0084] It should be noted that the disturbance term f of the continuous stator fundamental current equation contains the disturbance caused by the harmonic current. The continuous stator fundamental current equation can be expressed as: It can also be expressed as: Where f represents the disturbance term, f = [f d f q ] T , f d and f q They represent the stator direct-axis disturbance and the stator quadrature-axis disturbance respectively, which include the direct- and quadrature-axis coupling terms related to the speed and the terms related to the harmonic current.
[0085] Step K: Based on the continuous stator fundamental current equation, at a specified sampling time, a preset order Taylor expansion is performed on the state quantity at a sampling time after the sampling time to obtain the discrete stator fundamental current equation.
[0086] Specifically, step K may include the following steps K1-K2:
[0087] Step K1: At a designated sampling time, a preset order Taylor expansion (ie, n-order Taylor expansion) is performed on the state quantity at a sampling time subsequent to the sampling time.
[0088] It should be noted that the control period of the current loop of the permanent magnet synchronous motor (i.e. the sampling period described in this application) is usually very short, generally in the microsecond level. Based on this, the state variable at one moment can be Taylor expanded at the previous moment: Generally, the larger the expansion order, the greater the discrete accuracy and the greater the computational cost. Based on this, in actual engineering, the accuracy and computational cost can be weighed and the Taylor expansion order can be set according to requirements.
[0089] Exemplarily, for any sampling time T, the Taylor expansion obtained by step K1 can be expressed as:
[0090]
[0091] Among them, the state quantity x1(T) at the sampling time T = [i d1 (T)i q1 (T)] T ; The state quantity x1(T+1)=[i d1 (T+1)i q1 (T+1)] T ,i d1 (T+1) represents the stator direct axis fundamental current value at sampling time T+1, i q1 (T+1) represents the stator quadrature axis fundamental current value at sampling time T+1; R n (x1(T)) represents the n-th order Taylor remainder at sampling time T; n represents the preset Taylor expansion order, and n is a positive integer; i represents the sampling time T d1 The first derivative value with respect to time t is, i represents the sampling time T q1 The first derivative value with respect to time t; i represents the sampling time T d1 The second-order derivative value with respect to time t is, i represents the sampling time T q1 The second derivative value with respect to time t; i represents the sampling time T d1 The value of the nth derivative with respect to time t, i represents the sampling time T q1 The value of the nth derivative with respect to time t.
[0092] Step K2, substituting the derivative values of each order of the state quantity calculated according to the continuous stator fundamental current equation and ignoring the nth order Taylor remainder, to obtain the discrete stator fundamental current equation.
[0093] It should be noted that, since the current loop control period (i.e., the sampling period described in this application) is relatively small, within a sampling period, it can be considered that the control voltage value and the total disturbance value of the system are approximately unchanged. Based on this, the first-order derivative value of the state quantity can be calculated based on the continuous stator fundamental current equation, which can be expressed as: Among them, the control input quantity u(T) at the sampling time T = [u d (T) u q (T)] T ; The disturbance term at sampling time T f(T) = [f d (T) f q (T)] T , f d (T) represents the stator direct axis disturbance value at sampling time T, f q (T) represents the stator quadrature axis disturbance value at sampling time T; on this basis, the continuous stator fundamental current equation is successively differentiated to obtain the calculation formulas of the derivative values of each order of state quantity except the first-order derivative, specifically:
[0094]
[0095] Based on the above, the discrete stator fundamental current equation can be expressed as:
[0096] x1(T+1)=A'x1(T)+B'u(T)+I'f(T);
[0097] in, I represents the 2×2 unit matrix; A', B' and I' are all 2×2 diagonal matrices, where T s T s Abbreviation of I. The calculated A'x1(T), B'u(T) and I'f(T) are all 2×1 matrices.
[0098] The fundamental current state quantity x1(T+1) in the above-mentioned discrete stator fundamental current equation can represent the fundamental current state quantity extracted at the sampling time T+1, or it can represent the fundamental current state quantity at the sampling time T+1 calculated based on the fundamental current state quantity x1(T) at the sampling time T, the control input quantity u(T) and the disturbance quantity f(T). By means of the continuous stator fundamental current equation and the Taylor expansion of the preset order, the embodiment of the present application constructs a discrete high-precision permanent magnet synchronous motor stator fundamental current equation. Moreover, by taking the AC-DC coupling term as part of the disturbance, the decoupling of the stator AC-axis current and the stator AC-axis current is achieved.
[0099] In a possible implementation, the state transfer matrix and the control input matrix in the continuous stator fundamental current equation are both matrices composed of time-varying motor parameters.
[0100] Exemplarily, the continuous stator fundamental current equation can be expressed as:
[0101]
[0102] In the continuous stator fundamental current equation, the state transfer matrix A = A1, the control input matrix B = B1, R s Indicates the actual stator resistance value, L d Indicates the actual stator direct axis inductance, L q represents the actual stator quadrature-axis inductance; the disturbance term of the continuous stator fundamental current equation G1 represents the AC-DC coupling term related to the speed, ω e represents the rotor flux electrical angular velocity, i q represents the stator quadrature axis current, i d represents the stator direct axis current, represents the actual rotor permanent magnet flux value; x2 represents the harmonic current state quantity other than the fundamental current, x2 = [i d_others i q_others ] T ,i d_others It represents the stator direct-axis harmonic current other than the stator direct-axis fundamental current in the stator direct-axis current, i q_others Indicates the stator quadrature-axis harmonic current in the stator quadrature-axis current except the stator quadrature-axis fundamental current; Indicates i d_others The first derivative with respect to time t is Indicates i q_others The first derivative with respect to time t.
[0103] Based on the above, the discrete stator fundamental current equation can be expressed as:
[0104] x1(T+1)=A'x1(T)+B'u(T)+I'f(T); where,
[0105]
[0106] It should be noted that the above motor parameter values (including R s , L d , L q and ) may refer to the motor parameter value corresponding to the actual working condition obtained in the actual working condition, and may be determined by checking MAP, for example.
[0107] In another possible implementation, the state transfer matrix and the control input matrix in the continuous stator fundamental current equation are both matrices composed of fixed motor parameters, and the disturbance term in the continuous stator fundamental current equation includes: the disturbance caused by the fixation of time-varying motor parameters.
[0108] It should be noted that the parameters of the permanent magnet synchronous motor change with the motor operating conditions and are time-varying variables. Taking the state transfer matrix as an example, the variables can be split into a fixed part and a time-varying part, and the terms related to the time-varying part can be regarded as disturbances to obtain the above-mentioned continuous stator fundamental current equation.
[0109] Exemplarily, the continuous stator fundamental current equation can be expressed as:
[0110]
[0111] In the continuous stator fundamental current equation, the state transfer matrix A = A0, the control input matrix B = B0, R s0 Indicates the preset stator resistance value (such as nominal resistance value), L d0 Indicates the preset stator direct axis inductance value (such as the stator direct axis nominal inductance value), L q0 represents a preset stator quadrature-axis inductance value (such as a stator quadrature-axis nominal inductance value); the disturbance term of the continuous stator fundamental current equation G0 represents the AC-DC coupling term related to the speed, ω e represents the rotor flux electrical angular velocity, i q represents the stator quadrature axis current, i d represents the stator direct axis current, represents the preset rotor permanent magnet flux value (such as the nominal rotor permanent magnet flux value); x2 represents the harmonic current state quantity other than the fundamental current, x2 = [i d_others i q_others ] T ,i d_others It represents the stator direct-axis harmonic current other than the stator direct-axis fundamental current in the stator direct-axis current, i q_others It represents the stator quadrature-axis harmonic current other than the stator quadrature-axis fundamental current in the stator quadrature-axis current. Indicates i d_others The first derivative with respect to time t is Indicates i q_others The first derivative with respect to time t; Δf = [Δf d Δf q ] T is the disturbance caused by fixing the time-varying motor parameters.
[0112] Based on the above, the discrete stator fundamental current equation can be expressed as:
[0113] x1(T+1)=A'x1(T)+B'u(T)+I'f(T); where,
[0114]
[0115] That is:
[0116]
[0117] Correspondingly, in the fundamental constant disturbance observer and the non-fundamental constant disturbance estimation value calculation formula based on the discrete stator fundamental current equation, the state transfer matrix A=A0, and the control input matrix B=B0.
[0118] The above scheme, on the basis of considering the harmonic current state quantity, further considers the changes of stator direct-axis inductance, stator quadrature-axis inductance, stator resistance and rotor permanent magnet flux as the system state changes in actual working conditions, as well as the difficulty in obtaining actual motor parameters. The motor parameters are fixed, and the changes in motor parameters are regarded as disturbances. A stator fundamental current equation that can better represent the actual current behavior of the permanent magnet synchronous motor is constructed, thereby reducing the control scheme's dependence on the permanent magnet synchronous motor parameters and providing a basis for achieving high-precision permanent magnet synchronous motor control tasks.
[0119] In one or more embodiments provided in the present application, the fundamental wave constant disturbance observer may include a stator direct-axis fundamental wave constant disturbance observer and a stator quadrature-axis fundamental wave constant disturbance observer.
[0120] Specifically, for any disturbance observer of the stator direct axis fundamental wave constant disturbance observer and the stator quadrature axis fundamental wave constant disturbance observer, the disturbance observer of the stator j axis can be expressed as:
[0121]
[0122] in, represents the observed value of the stator j-axis fundamental current at sampling time T, represents the observed value of the stator j-axis fundamental current at the sampling time T-1 before the sampling time T, i j1 (T-1) represents the stator j-axis fundamental current value at sampling time T-1, represents the observed value of the fundamental constant disturbance of the stator j axis at the sampling time T, A' represents the observed value of the fundamental constant disturbance of the stator j axis at sampling time T-1. JJ Represents the element value of the Jth row and Jth column in the state transition matrix A', B' JJrepresents the value of the element in the Jth row and Jth column of the control input matrix B', u j1 (T-1) represents the stator j-axis control input voltage value at sampling time T-1, and represents the observation gain coefficient of the disturbance observer of the stator j axis, and and Satisfies: Matrix The amplitude of the eigenvalue is less than 1, which can ensure the accuracy of the disturbance observer of the stator j axis.
[0123] It should be noted that the stator j-axis control input voltage value is different from the stator j-axis voltage value. The stator j-axis control input voltage value is the control input voltage of the stator j-axis fundamental constant disturbance observation system. Specifically, the stator j-axis control input voltage value u at sampling time T-1 is j1 The determination process of (T-1) may include the following steps LN:
[0124] Step L, ignore the perturbation observation error (i.e. ), and it is assumed that the control input voltage of the stator j-axis fundamental wave constant disturbance observation system is equal to the stator j-axis voltage of the permanent magnet synchronous motor (i.e., u j1 =u j ), the pre-established voltage equation Substitution get Perform Laplace transform to obtain the transfer function of the stator j-axis permanent magnet synchronous motor current control system
[0125] Among them, f j It represents the total disturbance of the stator j axis, which is composed of fundamental constant disturbance and non-fundamental constant disturbance. represents f j The estimate of the observed total disturbance of the stator j axis; u j1 represents the stator j-axis control input voltage, u j represents the stator j-axis voltage; u j0 represents the ideal input voltage of the j-axis of the stator j-axis fundamental wave constant disturbance observation system; is the element value of the Jth row and Jth column in the state transfer matrix A0, is the element value of the Jth row and the Jth column in the control input matrix B0; S represents the Laplace operator. The above-mentioned disturbance observation error may include the observation error of the observer.
[0126] Step M: construct a permanent magnet synchronous motor stator j-axis current control system, wherein the controller is a PI controller, and the controller parameters are The ω cj Represents the j-axis system control bandwidth.
[0127] Figure 4 FIG. 5 shows a schematic diagram of the structure of the stator j-axis current control system constructed in step M. The transfer function of the stator j-axis current control system can be expressed as: It is a typical Type I system.
[0128] Step N: Calculate the ideal input voltage value u at sampling time T-1 based on the stator j-axis current control system j0 (T-1), calling the voltage equation The stator j-axis control input voltage value at sampling time T-1 is calculated and can be expressed as
[0129] It should be noted that in the process of determining the stator direct-axis fundamental wave constant disturbance observer and the stator direct-axis control input voltage value, j=d, J=1; in the process of determining the stator quadrature-axis fundamental wave constant disturbance observer and the stator quadrature-axis control input voltage value, j=q, J=2.
[0130] The above scheme gives a fundamental constant disturbance observer based on a state transfer matrix and a control input matrix with fixed parameters. For the fundamental constant disturbance observer based on a state transfer matrix and a control input matrix with time-varying parameters and their construction process, you can refer to the above content and will not go into details here.
[0131] In one or more embodiments provided in the present application, when the continuous stator fundamental current equation is a current equation containing a disturbance caused by the time-varying parameter value of the permanent magnet synchronous motor, the non-fundamental constant disturbance estimation value calculation formula can be expressed as:
[0132]
[0133] When the non-fundamental constant disturbance values at adjacent sampling moments are equal, the above formula can be expressed as: So as to calculate the non-fundamental constant disturbance value at the current sampling moment.
[0134] Ignoring the estimation error, the total disturbance at the current sampling time can be determined by the above scheme, which can be expressed as: Wherein, k represents the current sampling time.
[0135] In some embodiments provided in the present application, the above-mentioned step S104, calculating the stator direct-axis voltage value and the stator quadrature-axis voltage value according to the stator direct-axis fundamental wave constant disturbance value, the stator quadrature-axis fundamental wave constant disturbance value, the stator direct-axis non-fundamental wave constant disturbance value and the stator quadrature-axis non-fundamental wave constant disturbance value, may include:
[0136] According to the stator fundamental current equation and the idea of zero-beat predictive control, the stator direct-axis voltage value and the stator quadrature-axis voltage value corresponding to the stator direct-axis fundamental constant disturbance value, the stator quadrature-axis fundamental constant disturbance value, the stator direct-axis non-fundamental constant disturbance value and the stator quadrature-axis non-fundamental constant disturbance value are calculated.
[0137] It should be noted that in the deadbeat predictive control concept, the stator direct-axis fundamental current value at the next sampling moment after the current sampling moment is the preset stator direct-axis current target value, and the stator quadrature-axis fundamental current value at the next sampling moment is the preset stator quadrature-axis current target value. Exemplarily, it can be expressed as: In the formula, and They represent the stator direct-axis current target value and the stator quadrature-axis current target value respectively, and can also be called reference current, such as Figure 1 As shown, it is generally given by the permanent magnet synchronous motor speed loop control system; i d1 (k+1) represents the stator direct axis fundamental current value at the next sampling time k+1 after the current sampling time k, i q1 (k+1) represents the stator quadrature axis fundamental current value at the next sampling time k+1 after the current sampling time k. By determining the control voltage based on the deadbeat predictive control concept and controlling the motor accordingly, the stator direct axis fundamental current value at the next sampling time can be made to approach or be equal to the stator direct axis current target value, and the stator quadrature axis current value at the next sampling time can be made to approach or be equal to the stator quadrature axis current target value.
[0138] In one possible implementation, the stator direct-axis voltage value and the stator quadrature-axis voltage value at the current sampling moment can be calculated based on the continuous stator fundamental current equation by calculating the first-order derivative value of the stator direct-axis current and the first-order derivative value of the stator quadrature-axis current at the current sampling moment.
[0139] In another possible implementation, the stator direct-axis voltage value and the stator quadrature-axis voltage value at the current sampling moment can also be calculated based on the discrete stator fundamental current equation. Then, for the permanent magnet synchronous motor current control system, the control voltage value to be applied at the current sampling moment can be expressed as:
[0140]
[0141] In the formula, (B') -1 represents the inverse matrix of B',
[0142] Optionally, the state transfer matrix and the control input matrix in the continuous stator fundamental current equation are both matrices composed of time-varying motor parameters. On this basis, the matrix A and the matrix B in the above A', B' and I' can be matrices composed of time-varying motor parameters, that is, A=A1, and B=B1, then f(k) is the total disturbance determined at the current sampling moment, and does not include the disturbance caused by the fixation of the time-varying motor parameters.
[0143] Optionally, the state transfer matrix and the control input matrix in the continuous stator fundamental current equation are matrices composed of fixed motor parameters, and the disturbance term in the continuous stator fundamental current equation includes: the disturbance caused by the fixation of time-varying motor parameters. On this basis, the matrix A and the matrix B in the above A', B' and I' can be matrices composed of fixed motor parameters, that is, A=A0, and B=B0, then f(k) is the total disturbance determined at the current sampling moment, and includes the disturbance caused by the fixation of time-varying motor parameters. Exemplarily, the control voltage value at the current sampling moment can be expressed as:
[0144]
[0145] In the formula,
[0146] In some embodiments provided in the present application, the above-mentioned step S104, calculating the stator direct-axis voltage value and the stator quadrature-axis voltage value according to the stator direct-axis fundamental wave constant disturbance value, the stator quadrature-axis fundamental wave constant disturbance value, the stator direct-axis non-fundamental wave constant disturbance value and the stator quadrature-axis non-fundamental wave constant disturbance value, may include the following step OP:
[0147] Step O: Determine a control input voltage calculation formula based on the discrete stator fundamental current equation.
[0148] The control input voltage calculation formula can be expressed as: u(T) = -[Kx1(T) + (B′) -1 I′f(T)], which has a certain disturbance processing capability, where K represents the proportional coefficient matrix, And the eigenvalue amplitude of the matrix (A'-B'K) is less than 1, k d is the stator direct axis proportional coefficient, k q is the stator quadrature axis proportional coefficient.
[0149] It should be noted that by substituting the above-mentioned control input voltage calculation formula into the discrete stator fundamental current equation, we can obtain: x1(T+1)=(A'-B'K)x1(T). When the eigenvalue amplitude of the matrix (A'-B'K) is less than 1, the control effect on the stator direct-axis current and the stator quadrature-axis current can be guaranteed to converge asymptotically. Based on this, by making the eigenvalue amplitude of the matrix (A'-B'K) less than 1, the value of the proportional coefficient matrix can be determined to determine the control voltage.
[0150] Step P, calling the control input voltage calculation formula, and calculating the stator direct-axis voltage value and the stator quadrature-axis voltage value according to the stator direct-axis fundamental current value, the stator quadrature-axis fundamental current value, the stator direct-axis fundamental constant disturbance value, the stator quadrature-axis fundamental constant disturbance value, the stator direct-axis non-fundamental constant disturbance value and the stator quadrature-axis non-fundamental constant disturbance value.
[0151] Optionally, the state transfer matrix and the control input matrix in the continuous stator fundamental current equation are matrices composed of fixed motor parameters, and the disturbance term in the continuous stator fundamental current equation includes: the disturbance caused by the fixation of time-varying motor parameters. On this basis, the matrices A and B in the above-mentioned discrete stator fundamental current equations, A', B' and I' are matrices composed of fixed motor parameters, that is, A=A0, and B=B0.
[0152] The above scheme compensates for system disturbances when determining the control voltage by means of the control input voltage calculation formula, and thus has the characteristics of strong adaptability to working conditions and high robustness; the motor parameters in the matrix (A'-B'K) are fixed values, so the high-precision control task of the permanent magnet synchronous motor under all working conditions can be achieved based on a set of proportional coefficients.
[0153] Optionally, descriptions of other implementations may refer to the above description and will not be repeated here.
[0154] The permanent magnet synchronous motor control scheme provided in the present application constructs a continuous form of the stator fundamental current equation while taking into account the influence of harmonic currents, which improves the accuracy of describing the actual behavior of the permanent magnet synchronous motor to a certain extent, and then, based on the Taylor polynomial expansion principle, a high-precision discrete form of the stator fundamental current equation is constructed; on this basis, based on the extraction of the fundamental current observation fundamental constant disturbance value and the calculation of the non-fundamental constant disturbance value, the total system disturbance is determined, thereby realizing compensation for the system disturbance; finally, on the basis of the above-mentioned discrete form of the stator fundamental current equation, the current control voltage value is obtained, and the permanent magnet synchronous motor is controlled accordingly, which can realize the suppression of harmonic currents in the permanent magnet synchronous motor current loop control system, reduce the torque pulsation of the permanent magnet synchronous motor's external output torque, and provide a basis for realizing high-precision permanent magnet synchronous motor control tasks.
[0155] The permanent magnet synchronous motor control device provided in an embodiment of the present application is described below. The permanent magnet synchronous motor control device described below and the permanent magnet synchronous motor control method described above can be referenced to each other.
[0156] See also Figure 5 , Figure 5 Schematic diagram of the structure of a permanent magnet synchronous motor control device disclosed in the embodiment of the present application. Figure 5 As shown, the device may include:
[0157] A fundamental current extraction unit 11 is used to extract a stator direct-axis fundamental current value and a stator quadrature-axis fundamental current value at a current sampling moment from the stator direct-axis current and the stator quadrature-axis current;
[0158] A fundamental wave constant disturbance determination unit 12 is used to call a pre-constructed fundamental wave constant disturbance observer to observe and obtain the stator direct-axis fundamental wave constant disturbance value and the stator quadrature-axis fundamental wave constant disturbance value at the current sampling moment; wherein the fundamental wave constant disturbance observer is constructed based on the stator fundamental wave current equation, and the stator fundamental wave current equation is a current equation with the fundamental wave current as the state quantity obtained by splitting the fundamental wave current and the harmonic wave current on the basis of the original stator current equation, and the disturbance term of the stator fundamental wave current equation includes the disturbance quantity caused by the harmonic current;
[0159] The non-fundamental wave constant disturbance determination unit 13 is used to call the non-fundamental wave constant disturbance estimation value calculation formula, and calculate the stator direct-axis non-fundamental wave constant disturbance estimation value and the stator quadrature-axis non-fundamental wave constant disturbance estimation value at the sampling moment before the current sampling moment according to the stator direct-axis fundamental wave current value and the stator quadrature-axis fundamental wave current value; use the stator direct-axis non-fundamental wave constant disturbance estimation value as the stator direct-axis non-fundamental wave constant disturbance value at the current sampling moment, and use the stator quadrature-axis non-fundamental wave constant disturbance estimation value as the stator quadrature-axis non-fundamental wave constant disturbance value at the current sampling moment; wherein the non-fundamental wave constant disturbance estimation value calculation formula is a calculation formula obtained by discretizing the stator fundamental wave current equation using the forward Euler method;
[0160] A control voltage determination unit 14 is used to calculate a stator direct-axis voltage value and a stator quadrature-axis voltage value according to the stator direct-axis fundamental wave constant disturbance value, the stator quadrature-axis fundamental wave constant disturbance value, the stator direct-axis non-fundamental wave constant disturbance value and the stator quadrature-axis non-fundamental wave constant disturbance value;
[0161] The motor control unit 15 is used to control the permanent magnet synchronous motor according to the stator direct-axis voltage value and the stator quadrature-axis voltage value at the current sampling moment.
[0162] In one or more embodiments provided in the present application, the stator fundamental current equation is a discrete stator fundamental current equation, which is obtained by performing a preset order Taylor expansion on the state quantity at a sampling moment after the specified sampling moment at the specified sampling moment; the derivative values of each order of the state quantity in the discrete stator fundamental current equation at the specified sampling moment are calculated by the continuous stator fundamental current equation; the continuous stator fundamental current equation is a current equation with the fundamental current as the state quantity obtained by splitting the state quantity in the original stator current equation, and the disturbance term of the continuous stator fundamental current equation includes the disturbance caused by the harmonic current.
[0163] Wherein, the continuous stator fundamental current equation is expressed as:
[0164]
[0165] In the formula, x1 represents the fundamental current state quantity, x1=[i d1 i q1 ] T ,i d1 represents the stator direct axis fundamental current, i q1 represents the stator quadrature axis fundamental current, Indicates i d1 The first derivative with respect to time t is Indicates i q1The first-order derivative at time t, A represents the state transfer matrix, B represents the control input matrix, u represents the control input, u=[u d u q ] T ,u d represents the stator direct axis voltage, u q represents the stator quadrature axis voltage, f represents the disturbance term, f=[f d f q ] T , f d represents the stator direct axis disturbance, f q represents the stator quadrature-axis disturbance;
[0166] The discrete stator fundamental current equation is expressed as:
[0167] x1(T+1)=A'x1(T)+B'u(T)+I'f(T);
[0168] In the formula, for any sampling time T, the state quantity x1(T+1) at the next sampling time T+1 after sampling time T = [i d1 (T+1)i q1 (T+1)] T ,i d1 (T+1) represents the stator direct axis fundamental current value at sampling time T+1, i q1 (T+1) represents the stator quadrature-axis fundamental current value at sampling time T+1; I represents the 2×2 unit matrix, T s represents the sampling period, n represents the pre-set Taylor expansion order; the state quantity x1(T) at the sampling time T = [i d1 (T)i q1 (T)] T ,i d1 (T) represents the stator direct axis fundamental current value at sampling time T, i q1 (T) represents the stator quadrature-axis fundamental current value at sampling time T; The control input at sampling time T u(t) = [u d (T) u q (T)] T ,u d (T) represents the stator direct axis voltage value at sampling time T, u q (T) represents the stator quadrature-axis voltage value at sampling time T; The disturbance term at sampling time T f(T) = [f d (T)f q (T)] T ;f d (T) represents the stator direct axis disturbance value at sampling time T, f d (T) = fd1_con (T)+ fd_noncon (T), f d1_con (T) represents the stator direct axis fundamental constant disturbance value at sampling time T, f d_noncon (T) represents the stator direct axis non-fundamental constant disturbance value at sampling time T; f q (T) represents the stator quadrature axis disturbance value at sampling time T, f q (T) = f q1_con (T)+f q_noncon (T), f q1_con (T) represents the stator quadrature axis fundamental wave constant disturbance value at sampling time T, f q_noncon (T) represents the stator quadrature axis non-fundamental constant disturbance value at sampling time T.
[0169] In addition, the transformation process of the discrete stator fundamental current equation can refer to the above description and will not be repeated here.
[0170] In one or more embodiments provided in the present application, the state transfer matrix and the control input matrix in the continuous stator fundamental current equation are both matrices composed of fixed motor parameters, and the disturbance term in the continuous stator fundamental current equation includes: the disturbance caused by the fixation of time-varying motor parameters.
[0171] The continuous stator fundamental current equation can be expressed as:
[0172]
[0173] In the continuous stator fundamental current equation, the state transfer matrix A = A0, the control input matrix B = B0, R s0 Indicates the preset stator resistance value, L d0 Indicates the preset stator direct axis inductance value, L q0 represents the preset stator quadrature-axis inductance value; the disturbance term of the continuous stator fundamental current equation G0 represents the AC-DC coupling term related to the speed, ω e represents the rotor flux electrical angular velocity, i q represents the stator quadrature axis current, i d represents the stator direct axis current, represents the preset rotor permanent magnet flux value; x2 represents the harmonic current state quantity other than the fundamental current, x2 = [i d_others i q_others ] T ,i d_others It represents the stator direct-axis harmonic current other than the stator direct-axis fundamental current in the stator direct-axis current, i q_othersIt represents the stator quadrature-axis harmonic current other than the stator quadrature-axis fundamental current in the stator quadrature-axis current. Indicates i d_others The first derivative with respect to time t is Indicates i q_others The first derivative with respect to time t; Δf = [Δf d Δf q ] T is the disturbance caused by the fixation of the time-varying motor parameters;
[0174] Based on the above, the discrete stator fundamental current equation can be expressed as:
[0175] x1(T+1)=A'x1(T)+B'u(T)+I'f(T); where,
[0176]
[0177] That is, in the discrete stator fundamental current equation, the state transfer matrix A=A0, and the control input matrix B=B0.
[0178] In one or more embodiments provided in the present application, the fundamental wave constant disturbance observer may include a stator direct axis fundamental wave constant disturbance observer and a stator quadrature axis fundamental wave constant disturbance observer. For any disturbance observer of the stator direct axis fundamental wave constant disturbance observer and the stator quadrature axis fundamental wave constant disturbance observer, the disturbance observer of the stator j axis is:
[0179]
[0180] in, represents the observed value of the stator j-axis fundamental current at sampling time T, represents the observed value of the stator j-axis fundamental current at the sampling time T-1 before the sampling time T, i j1 (T-1) represents the stator j-axis fundamental current value at sampling time T-1, represents the observed value of the fundamental constant disturbance of the stator j axis at the sampling time T, A' represents the observed value of the fundamental constant disturbance of the stator j axis at sampling time T-1. JJ Represents the element value of the Jth row and Jth column in the state transition matrix A', B' JJ represents the value of the element in the Jth row and Jth column of the control input matrix B', u d1 (T-1) represents the stator j-axis control input voltage value at sampling time T-1, and represents the observation gain coefficient of the disturbance observer of the stator j axis, and and Satisfies: Matrix The magnitude of the eigenvalue is less than 1.
[0181] Among them, in the stator direct-axis fundamental wave constant disturbance observer, j=d, J=1; in the stator quadrature-axis fundamental wave constant disturbance observer, j=q, J=2.
[0182] In one or more embodiments provided in the present application, the non-fundamental constant disturbance estimate calculation formula can be a calculation formula obtained by splitting the disturbance term in the discrete equation into a fundamental constant disturbance term and a non-fundamental constant disturbance term, and taking the non-fundamental constant disturbance term as the unknown term to be calculated, and the discrete equation is an equation obtained by processing the continuous stator fundamental current equation using the forward Euler method. The specific process of transforming to obtain the non-fundamental constant disturbance estimate calculation formula can be referred to the above description and will not be repeated here.
[0183] Wherein, the discrete equation can be expressed as:
[0184]
[0185] The non-fundamental constant disturbance estimation value calculation formula can be expressed as:
[0186]
[0187] In the formula, i d1 (T-1) represents the stator direct axis fundamental current value at the sampling time T-1 before the sampling time T, i q1 (T-1) represents the stator quadrature axis fundamental current value at sampling time T-1; u d (T-1) represents the stator direct axis voltage value at sampling time T-1, u q (T-1) represents the stator quadrature-axis voltage value at sampling time T-1; f d (T-1) represents the stator direct axis disturbance value at sampling time T-1, f q (T-1) represents the stator quadrature axis disturbance value at sampling time T-1; f d1_con (T-1) and f q1_con (T-1) represents the stator direct axis fundamental wave constant disturbance value and the stator quadrature axis fundamental wave constant disturbance value at sampling time T-1 respectively; and They represent the stator direct-axis non-fundamental wave constant disturbance estimate value and the stator quadrature-axis non-fundamental wave constant disturbance estimate value at the sampling time T-1 to be calculated respectively.
[0188] In one or more embodiments provided in the present application, the state transfer matrix and the control input matrix in the continuous stator fundamental current equation are both matrices composed of time-varying motor parameters.
[0189] The continuous stator fundamental current equation can be expressed as:
[0190]
[0191] Among them, in the continuous stator fundamental current equation, the state transfer matrix A=A1, the control input matrix B=B1, R s Indicates the actual stator resistance value, L d Indicates the actual stator direct axis inductance, L q represents the actual stator quadrature-axis inductance; the disturbance term of the continuous stator fundamental current equation G1 represents the AC-DC coupling term related to the speed, ω e represents the rotor flux electrical angular velocity, i q represents the stator quadrature axis current, i d represents the stator direct axis current, represents the actual rotor permanent magnet flux value; x2 represents the harmonic current state quantity other than the fundamental current, x2 = [i d_orhsrs i q_others ] T ,i d_others It represents the stator direct-axis harmonic current other than the stator direct-axis fundamental current in the stator direct-axis current, i q_others Indicates the stator quadrature-axis harmonic current in the stator quadrature-axis current except the stator quadrature-axis fundamental current; Indicates i d_others The first derivative with respect to time t is Indicates i q_others The first derivative with respect to time t.
[0192] Based on the above, the discrete stator fundamental current equation can be expressed as:
[0193] x1(T+1)=A'x1(T)+B'u(T)+I'f(T); where,
[0194]
[0195] That is, in the discrete stator fundamental current equation, the state transfer matrix A=A1, and the control input matrix B=B1.
[0196] In one or more embodiments provided in the present application, the control voltage determination unit 14 calculates the stator direct-axis voltage value and the stator quadrature-axis voltage value according to the stator direct-axis fundamental wave constant disturbance value, the stator quadrature-axis fundamental wave constant disturbance value, the stator direct-axis non-fundamental wave constant disturbance value, and the stator quadrature-axis non-fundamental wave constant disturbance value, and the process may include:
[0197] According to the discrete stator fundamental current equation, the control input voltage calculation formula is determined; the control input voltage calculation formula is expressed as: u(T) = -[Kx1(T) + (B') -1 I'f(T)], where K represents the proportional coefficient matrix, And the eigenvalue amplitude of the matrix (A'-B'K) is less than 1, k d is the stator direct axis proportional coefficient, k q is the stator quadrature axis proportional coefficient;
[0198] The control input voltage calculation formula is called to calculate the stator direct-axis voltage value and the stator quadrature-axis voltage value according to the stator direct-axis fundamental current value, the stator quadrature-axis fundamental current value, the stator direct-axis fundamental constant disturbance value, the stator quadrature-axis fundamental constant disturbance value, the stator direct-axis non-fundamental constant disturbance value and the stator quadrature-axis non-fundamental constant disturbance value.
[0199] In one or more embodiments provided in the present application, the control voltage determination unit 14 calculates the stator direct-axis voltage value and the stator quadrature-axis voltage value according to the stator direct-axis fundamental wave constant disturbance value, the stator quadrature-axis fundamental wave constant disturbance value, the stator direct-axis non-fundamental wave constant disturbance value, and the stator quadrature-axis non-fundamental wave constant disturbance value, and the process may include:
[0200] According to the stator fundamental current equation and the deadbeat predictive control concept, the stator direct-axis voltage value and the stator quadrature-axis voltage value corresponding to the stator direct-axis fundamental constant disturbance value, the stator quadrature-axis fundamental constant disturbance value, the stator direct-axis non-fundamental constant disturbance value and the stator quadrature-axis non-fundamental constant disturbance value are calculated; in the deadbeat predictive control concept, the stator direct-axis fundamental current value at the sampling moment after the current sampling moment is a preset stator direct-axis current target value, and the stator quadrature-axis fundamental current value at the sampling moment after the current sampling moment is a preset stator direct-axis current target value.
[0201] In one or more embodiments provided in the present application, the process of the fundamental current extraction unit 11 extracting the stator direct-axis fundamental current value and the stator quadrature-axis fundamental current value at the current sampling moment from the stator direct-axis current and the stator quadrature-axis current may include:
[0202] According to the rotor flux electrical angle value at the current sampling moment corresponding to the fundamental wave, the stator current state quantity is transformed from two-phase rotation to two-phase static to obtain a first intermediate state quantity; the stator current state quantity includes a stator direct-axis current and a stator quadrature-axis current;
[0203] According to the rotor flux electrical angle value at the current sampling moment corresponding to the harmonic, the first intermediate state quantity is sequentially transformed from two-phase static to two-phase rotating, low-pass filtered, and transformed from two-phase rotating to two-phase static to obtain a second intermediate state quantity;
[0204] According to the opposite number of the rotor flux electrical angle value at the current sampling moment corresponding to the harmonic, the first intermediate state quantity is sequentially transformed from two-phase static to two-phase rotating, low-pass filtered, and transformed from two-phase rotating to two-phase static to obtain a third intermediate state quantity;
[0205] Adding the second intermediate state quantity to the third intermediate state quantity to obtain a fourth intermediate state quantity;
[0206] According to the rotor flux electrical angle value at the current sampling moment corresponding to the fundamental wave, the fourth intermediate state quantity is transformed from two-phase static to two-phase rotating to obtain a fifth intermediate state quantity;
[0207] The stator current state quantity is subtracted from the fifth intermediate state quantity to obtain the fundamental current state quantity, and the stator direct-axis fundamental current value and the stator quadrature-axis fundamental current value at the current sampling moment are determined.
[0208] The permanent magnet synchronous motor control device provided in the embodiment of the present application can be applied to permanent magnet synchronous motor control equipment, such as electronic devices with data processing capabilities: servers, PCs, PADs, mobile phones, ECUs (Electronic Control Units), VCUs (Vehicle Control Units), MCUs (Micro Controller Units), HCUs (Hybrid Control Units), etc. Optionally, Figure 6 The hardware structure diagram of the permanent magnet synchronous motor control device is shown in FIG. Figure 6 , the hardware structure of the permanent magnet synchronous motor control device may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
[0209] In the embodiment of the present application, the number of the processor 1, the communication interface 2, the memory 3, and the communication bus 4 is at least one, and the processor 1, the communication interface 2, and the memory 3 communicate with each other through the communication bus 4;
[0210] The processor 1 may be a central processing unit CPU, or an application-specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present invention, etc.;
[0211] The memory 3 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory;
[0212] Among them, the memory is used to store computer programs; the processor is used to execute the computer programs stored in the memory, so that the permanent magnet synchronous motor control device can implement any permanent magnet synchronous motor control method provided in the embodiments of the present application.
[0213] An embodiment of the present application also provides a computer program product including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements any permanent magnet synchronous motor control method provided in the embodiment of the present application.
[0214] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any permanent magnet synchronous motor control method provided in the embodiment of the present application.
[0215] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0216] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.
[0217] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A permanent magnet synchronous motor control method, characterized in that: include: Extracting the stator direct-axis fundamental current value and the stator quadrature-axis fundamental current value at the current sampling moment from the stator direct-axis current and the stator quadrature-axis current; Calling a pre-constructed fundamental wave constant disturbance observer to observe and obtain the stator direct-axis fundamental wave constant disturbance value and the stator quadrature-axis fundamental wave constant disturbance value at the current sampling moment; wherein the fundamental wave constant disturbance observer is constructed based on the stator fundamental wave current equation, the stator fundamental wave current equation is a current equation with the fundamental wave current as the state quantity obtained by splitting the fundamental wave current and the harmonic wave current on the basis of the original stator current equation, and the disturbance term of the stator fundamental wave current equation includes the disturbance quantity caused by the harmonic current; Call the non-fundamental constant disturbance estimation calculation formula, calculate the stator direct-axis non-fundamental constant disturbance estimation value and the stator quadrature-axis non-fundamental constant disturbance estimation value at the sampling moment before the current sampling moment according to the stator direct-axis fundamental current value and the stator quadrature-axis fundamental current value; use the stator direct-axis non-fundamental constant disturbance estimation value as the stator direct-axis non-fundamental constant disturbance value at the current sampling moment, and use the stator quadrature-axis non-fundamental constant disturbance estimation value as the stator quadrature-axis non-fundamental constant disturbance value at the current sampling moment; wherein, The non-fundamental constant disturbance estimation value calculation formula is a calculation formula obtained by discretizing the stator fundamental current equation using the forward Euler method; the non-fundamental constant disturbance estimation value calculation formula is a calculation formula obtained by splitting the disturbance term in the discrete equation into a fundamental constant disturbance term and a non-fundamental constant disturbance term, and taking the non-fundamental constant disturbance term as the unknown term to be calculated, and the discrete equation is an equation obtained by processing the continuous stator fundamental current equation using the forward Euler method; wherein the continuous stator fundamental current equation is expressed as: In the formula, x1 represents the fundamental current state quantity, x1=[i d1 i q1 ] T ,i d1 represents the stator direct axis fundamental current, i q1 represents the stator quadrature axis fundamental current, Indicates i d1 The first derivative with respect to time t is Indicates i q1 The first-order derivative at time t, A represents the state transfer matrix, B represents the control input matrix, u represents the control input, u=[u d u q ] T ,u d represents the stator direct axis voltage, u q represents the stator quadrature axis voltage, f represents the disturbance term, f=[f d f q ] T , f d represents the stator direct axis disturbance, f q represents the stator quadrature axis disturbance; the discrete equation is expressed as: The non-fundamental constant disturbance estimation value calculation formula is expressed as: In the formula, i d1 (T-1) represents the stator direct axis fundamental current value at the sampling time T-1 before the sampling time T, i q1 (T-1) represents the stator quadrature axis fundamental current value at sampling time T-1; u d (T-1) represents the stator direct axis voltage value at sampling time T-1, u q (T-1) represents the stator quadrature-axis voltage value at sampling time T-1; f d (T-1) represents the stator direct axis disturbance value at sampling time T-1, f q (T-1) represents the stator quadrature axis disturbance value at sampling time T-1; f d1_con (T-1) and f q1_con (T-1) represents the stator direct axis fundamental wave constant disturbance value and the stator quadrature axis fundamental wave constant disturbance value at sampling time T-1 respectively; and In turn, the stator direct-axis non-fundamental wave constant disturbance estimation value and the stator quadrature-axis non-fundamental wave constant disturbance estimation value at the sampling time T-1 to be calculated are represented; according to the stator direct-axis fundamental wave constant disturbance value, the stator quadrature-axis fundamental wave constant disturbance value, the stator direct-axis non-fundamental wave constant disturbance value and the stator quadrature-axis non-fundamental wave constant disturbance value, the stator direct-axis voltage value and the stator quadrature-axis voltage value are calculated; At the current sampling moment, the permanent magnet synchronous motor is controlled according to the stator direct-axis voltage value and the stator quadrature-axis voltage value.
2. The permanent magnet synchronous motor control method according to claim 1, characterized in that: The stator fundamental current equation is a discrete stator fundamental current equation; The discrete stator fundamental current equation is obtained by performing a preset order Taylor expansion on the state quantity at a sampling moment after the specified sampling moment at the specified sampling moment; the derivative values of each order of the state quantity in the discrete stator fundamental current equation at the specified sampling moment are calculated by the continuous stator fundamental current equation; the continuous stator fundamental current equation is a current equation with the fundamental current as the state quantity obtained by splitting the state quantity in the original stator current equation, and the disturbance term of the continuous stator fundamental current equation includes the disturbance quantity caused by the harmonic current; The discrete stator fundamental current equation is expressed as: x1(T+1)=A'x1(T)+B'u(T)+I'f(T); In the formula, for any sampling time T, the state quantity x1(T+1) at the next sampling time T+1 after sampling time T = [i d1 (T+1) i q1 (T+1)] T ,i d1 (T+1) represents the stator direct axis fundamental current value at sampling time T+1, i q1 (T+1) represents the stator quadrature-axis fundamental current value at sampling time T+1; I represents the 2×2 unit matrix, T s represents the sampling period, n represents the pre-set Taylor expansion order; the state quantity x1(T) at the sampling time T = [i d1 (T) i q1 (T)] T ,i d1 (T) represents the stator direct axis fundamental current value at sampling time T, i q1 (T) represents the stator quadrature-axis fundamental current value at sampling time T; The control input at sampling time T u(T) = [u d (T)u q (T)] T ,u d (T) represents the stator direct axis voltage value at sampling time T, u q (T) represents the stator quadrature-axis voltage value at sampling time T; The disturbance term at sampling time T f(T) = [f d (T) f q (T)] T ;f d (T) represents the stator direct axis disturbance value at sampling time T, f d (T) = f d1_con (T)+f d_noncon (T), f d1_con (T) represents the stator direct axis fundamental constant disturbance value at sampling time T, f d_noncon (T) represents the stator direct axis non-fundamental constant disturbance value at sampling time T; f q (T) represents the stator quadrature axis disturbance value at sampling time T, f q (T) = f q1_con (T)+f q_noncon (T), f q1_con (T) represents the stator quadrature axis fundamental wave constant disturbance value at sampling time T, f q_noncon (T) represents the stator quadrature axis non-fundamental constant disturbance value at sampling time T.
3. The permanent magnet synchronous motor control method according to claim 2, characterized in that: The state transfer matrix and the control input matrix in the continuous stator fundamental current equation are both matrices composed of fixed motor parameters, and the disturbance term in the continuous stator fundamental current equation includes: a disturbance amount caused by fixing the time-varying motor parameters; The continuous stator fundamental current equation is expressed as: In the continuous stator fundamental current equation, the state transfer matrix A = A0, the control input matrix B = B0, R s0 Indicates the preset stator resistance value, L d0 Indicates the preset stator direct axis inductance value, L q0 Indicates the preset stator quadrature-axis inductance value; The disturbance term of the continuous stator fundamental current equation is G0 represents the AC-DC coupling term related to the speed, ω e represents the rotor flux electrical angular velocity, i q represents the stator quadrature axis current, i d represents the stator direct axis current, represents the preset rotor permanent magnet flux value; x2 represents the harmonic current state quantity other than the fundamental current, x2 = [i d_others i q_others ] T ,i d_others It represents the stator direct-axis harmonic current other than the stator direct-axis fundamental current in the stator direct-axis current, i q_others It represents the stator quadrature-axis harmonic current other than the stator quadrature-axis fundamental current in the stator quadrature-axis current. Indicates i d_others The first derivative with respect to time t is Indicates i q_others The first derivative with respect to time t; Δf = [Δf d Δf q ] T is the disturbance caused by the fixation of the time-varying motor parameters; The discrete stator fundamental current equation is expressed as: x1(T+1)=A'x1(T)+B'u(T)+I'f(T); In the formula, 4. The permanent magnet synchronous motor control method according to claim 3, characterized in that: The fundamental wave constant disturbance observer comprises a stator direct axis fundamental wave constant disturbance observer and a stator quadrature axis fundamental wave constant disturbance observer; For any disturbance observer of the stator direct axis fundamental wave constant disturbance observer and the stator quadrature axis fundamental wave constant disturbance observer, the disturbance observer of the stator j axis is: in, represents the observed value of the stator j-axis fundamental current at sampling time T, represents the observed value of the stator j-axis fundamental current at the sampling time T-1 before the sampling time T, i j1 (T-1) represents the stator j-axis fundamental current value at sampling time T-1, represents the observed value of the fundamental constant disturbance of the stator j axis at sampling time T, A' represents the observed value of the fundamental constant disturbance of the stator j axis at sampling time T-1. JJ Represents the element value of the Jth row and Jth column in the state transition matrix A', B' JJ represents the value of the element in the Jth row and Jth column of the control input matrix B', u d1 (T-1) represents the stator j-axis control input voltage value at sampling time T-1, and represents the observation gain coefficient of the disturbance observer of the stator j axis, and and Satisfies: Matrix The amplitude of the eigenvalue of is less than 1; In the stator direct-axis fundamental wave constant disturbance observer, j=d, J=1; in the stator quadrature-axis fundamental wave constant disturbance observer, j=q, J=2.
5. The permanent magnet synchronous motor control method according to claim 2, characterized in that: The state transfer matrix and the control input matrix in the continuous stator fundamental current equation are both matrices composed of time-varying motor parameters; The continuous stator fundamental current equation is expressed as: In the continuous stator fundamental current equation, the state transfer matrix A = A1, the control input matrix B = B1, R s Indicates the actual stator resistance value, L d Indicates the actual stator direct axis inductance, L q represents the actual stator quadrature-axis inductance; the disturbance term of the continuous stator fundamental current equation G1 represents the AC-DC coupling term related to the speed, ω e represents the rotor flux electrical angular velocity, i q represents the stator quadrature axis current, i d represents the stator direct axis current, represents the actual rotor permanent magnet flux value; x2 represents the harmonic current state quantity other than the fundamental current, x2 = [i d_others i q_others ] T ,i d_others It represents the stator direct-axis harmonic current other than the stator direct-axis fundamental current in the stator direct-axis current, i q_others Indicates the stator quadrature-axis harmonic current in the stator quadrature-axis current except the stator quadrature-axis fundamental current; Indicates i d_others The first derivative with respect to time t is Indicates i q_others The first derivative with respect to time t; The discrete stator fundamental current equation is expressed as: x1(T+1)=A'x1(T)+B'u(T)+I'f(T); In the formula, 6. The permanent magnet synchronous motor control method according to any one of claims 2 to 5, characterized in that: The calculating of the stator direct-axis voltage value and the stator quadrature-axis voltage value according to the stator direct-axis fundamental wave constant disturbance value, the stator quadrature-axis fundamental wave constant disturbance value, the stator direct-axis non-fundamental wave constant disturbance value and the stator quadrature-axis non-fundamental wave constant disturbance value comprises: According to the discrete stator fundamental current equation, the control input voltage calculation formula is determined; the control input voltage calculation formula is expressed as: u(T) = -[Kx1(T) + (B') -1 I'f(T)], where K represents the proportional coefficient matrix, And the eigenvalue amplitude of the matrix (A'-B'K) is less than 1, k d is the stator direct axis proportional coefficient, k q is the stator quadrature axis proportional coefficient; The control input voltage calculation formula is called to calculate the stator direct-axis voltage value and the stator quadrature-axis voltage value according to the stator direct-axis fundamental current value, the stator quadrature-axis fundamental current value, the stator direct-axis fundamental constant disturbance value, the stator quadrature-axis fundamental constant disturbance value, the stator direct-axis non-fundamental constant disturbance value and the stator quadrature-axis non-fundamental constant disturbance value.
7. The permanent magnet synchronous motor control method according to any one of claims 1 to 5, characterized in that: The calculating of the stator direct-axis voltage value and the stator quadrature-axis voltage value according to the stator direct-axis fundamental wave constant disturbance value, the stator quadrature-axis fundamental wave constant disturbance value, the stator direct-axis non-fundamental wave constant disturbance value and the stator quadrature-axis non-fundamental wave constant disturbance value comprises: The preset stator direct-axis current target value is used as the stator direct-axis fundamental current value at the sampling moment after the current sampling moment, and the preset stator quadrature-axis current target value is used as the stator quadrature-axis fundamental current value at the sampling moment after the current sampling moment. According to the stator fundamental current equation, the stator direct-axis fundamental constant disturbance value, the stator quadrature-axis fundamental constant disturbance value, the stator direct-axis non-fundamental constant disturbance value and the stator quadrature-axis non-fundamental constant disturbance value are calculated. The stator direct-axis voltage value and the stator quadrature-axis voltage value corresponding to the stator direct-axis fundamental constant disturbance value, the stator quadrature-axis fundamental constant disturbance value, the stator direct-axis non-fundamental constant disturbance value and the stator quadrature-axis non-fundamental constant disturbance value are calculated.
8. The permanent magnet synchronous motor control method according to any one of claims 1 to 5, characterized in that: The step of extracting the stator direct-axis fundamental current value and the stator quadrature-axis fundamental current value at the current sampling moment from the stator direct-axis current and the stator quadrature-axis current comprises: According to the rotor flux electrical angle value at the current sampling moment corresponding to the fundamental wave, the stator current state quantity is transformed from two-phase rotation to two-phase static to obtain a first intermediate state quantity; the stator current state quantity includes a stator direct-axis current and a stator quadrature-axis current; According to the rotor flux electrical angle value at the current sampling moment corresponding to the harmonic, the first intermediate state quantity is sequentially transformed from two-phase static to two-phase rotating, low-pass filtered, and transformed from two-phase rotating to two-phase static to obtain a second intermediate state quantity; According to the opposite number of the rotor flux electrical angle value at the current sampling moment corresponding to the harmonic, the first intermediate state quantity is sequentially transformed from two-phase static to two-phase rotating, low-pass filtered, and transformed from two-phase rotating to two-phase static to obtain a third intermediate state quantity; Adding the second intermediate state quantity to the third intermediate state quantity to obtain a fourth intermediate state quantity; According to the rotor flux electrical angle value at the current sampling moment corresponding to the fundamental wave, the fourth intermediate state quantity is transformed from two-phase static to two-phase rotating to obtain a fifth intermediate state quantity; The stator current state quantity is subtracted from the fifth intermediate state quantity to obtain the fundamental current state quantity, and the stator direct-axis fundamental current value and the stator quadrature-axis fundamental current value at the current sampling moment are determined.
9. A permanent magnet synchronous motor control device, characterized in that: include: A fundamental current extraction unit, used to extract a stator direct-axis fundamental current value and a stator quadrature-axis fundamental current value at a current sampling moment from the stator direct-axis current and the stator quadrature-axis current; A fundamental wave constant disturbance determination unit is used to call a pre-constructed fundamental wave constant disturbance observer to observe and obtain the stator direct-axis fundamental wave constant disturbance value and the stator quadrature-axis fundamental wave constant disturbance value at the current sampling moment; wherein the fundamental wave constant disturbance observer is constructed based on the stator fundamental wave current equation, the stator fundamental wave current equation is a current equation with the fundamental wave current as the state quantity obtained by splitting the fundamental wave current and the harmonic wave current on the basis of the original stator current equation, and the disturbance term of the stator fundamental wave current equation includes the disturbance quantity caused by the harmonic current; A non-fundamental wave constant value disturbance determination unit is used to call a non-fundamental wave constant value disturbance estimation calculation formula, and calculate the stator direct-axis non-fundamental wave constant value disturbance estimation value and the stator quadrature-axis non-fundamental wave constant value disturbance estimation value at a sampling moment before the current sampling moment according to the stator direct-axis fundamental wave current value and the stator quadrature-axis fundamental wave current value; use the stator direct-axis non-fundamental wave constant value disturbance estimation value as the stator direct-axis non-fundamental wave constant value disturbance value at the current sampling moment, and use the stator quadrature-axis non-fundamental wave constant value disturbance estimation value as the stator quadrature-axis non-fundamental wave constant value disturbance value at the current sampling moment. Disturbance value; wherein, the non-fundamental constant disturbance estimation value calculation formula is a calculation formula obtained by discretizing the stator fundamental current equation using the forward Euler method; the non-fundamental constant disturbance estimation value calculation formula is a calculation formula obtained by splitting the disturbance term in the discrete equation into a fundamental constant disturbance term and a non-fundamental constant disturbance term, and taking the non-fundamental constant disturbance term as the unknown term to be calculated, and the discrete equation is an equation obtained by processing the continuous stator fundamental current equation using the forward Euler method; wherein, the continuous stator fundamental current equation is expressed as: In the formula, x1 represents the fundamental current state quantity, x1=[i d1 i q1 ] T ,i d1 represents the stator direct axis fundamental current, i q1 represents the stator quadrature axis fundamental current, Indicates i d1 The first derivative with respect to time t is Indicates i q1 The first-order derivative at time t, A represents the state transfer matrix, B represents the control input matrix, u represents the control input, u=[u d u q ] T ,u d represents the stator direct axis voltage, u q represents the stator quadrature axis voltage, f represents the disturbance term, f=[f d f q ] T , f d represents the stator direct axis disturbance, f q represents the stator quadrature axis disturbance; the discrete equation is expressed as: The non-fundamental constant disturbance estimation value calculation formula is expressed as: In the formula, i d1 (T-1) represents the stator direct axis fundamental current value at the sampling time T-1 before the sampling time T, i q1 (T-1) represents the stator quadrature axis fundamental current value at sampling time T-1; u d (T-1) represents the stator direct axis voltage value at sampling time T-1, u q (T-1) represents the stator quadrature-axis voltage value at sampling time T-1; f d (T-1) represents the stator direct axis disturbance value at sampling time T-1, f q (T-1) represents the stator quadrature axis disturbance value at sampling time T-1; f d1_con (T-1) and f q1_con (T-1) represents the stator direct axis fundamental wave constant disturbance value and the stator quadrature axis fundamental wave constant disturbance value at sampling time T-1 respectively; and The stator direct-axis non-fundamental wave constant disturbance estimation value and the stator quadrature-axis non-fundamental wave constant disturbance estimation value at the sampling time T-1 to be calculated are represented in sequence; the control voltage determination unit is used to calculate the stator direct-axis voltage value and the stator quadrature-axis voltage value according to the stator direct-axis fundamental wave constant disturbance value, the stator quadrature-axis fundamental wave constant disturbance value, the stator direct-axis non-fundamental wave constant disturbance value and the stator quadrature-axis non-fundamental wave constant disturbance value; A motor control unit is used to control the permanent magnet synchronous motor according to the stator direct-axis voltage value and the stator quadrature-axis voltage value at the current sampling moment.
10. A permanent magnet synchronous motor control device, characterized in that: The method comprises at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs; The processor is used to execute the computer program so that the permanent magnet synchronous motor control device can implement the permanent magnet synchronous motor control method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Permanent magnet synchronous motor current proportional integral quasi-resonance control method based on disturbance observer
CN116094382A
Permanent magnet synchronous motor current robust control method based on improved disturbance observer
CN116404933A
Nine-phase open-winding permanent magnet synchronous motor model prediction robust control method
CN116667722A
Disturbance estimation method of permanent magnet synchronous motor, control method and related device
CN117040341A
GPIO-based permanent magnet synchronous motor model prediction control method
CN117478009A
