A method for obtaining a control input voltage and a related device

By obtaining the current value and reference current value in the permanent magnet synchronous motor, using the frequency multiplication disturbance coefficient and system error differential information, the observation system equation is constructed, which solves the problem of harmonic disturbance observation in current loop control, and improves the control effect and freedom Great.

CN118659695BActive Publication Date: 2024-11-22WEICHAI POWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411149526.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-11-22
Estimated Expiration
2044-08-21

AI Technical Summary

Technical Problem

The current loop control of the permanent magnet synchronous motor is unable to effectively observe the real harmonic disturbance caused by the nonlinearity of the inverter and the cogging effect of the motor body. Disturbance, the current loop control effect cannot be improved.

Method used

By obtaining the stator current value and reference current value of the permanent magnet synchronous motor at different times, determining the control input voltage based on the difference between the sum of multiple terms and the estimated term, using the frequency multiplication disturbance coefficient of the current and the differential information of the system error, the observation system equation is constructed To improve the accuracy of disturbance estimation and use the theoretical estimate of the total disturbance amount as a known parameter, reduce the observation bandwidth requirements and realize effective estimation of harmonic disturbances.

Benefits of technology

It improves the accuracy and robustness of the current loop control of permanent magnet synchronous motors, can effectively observe actual harmonic disturbances under a small observation bandwidth, and enhances the current loop control effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118659695B_ABST
    Figure CN118659695B_ABST
Patent Text Reader

Abstract

The present application discloses a method for obtaining a control input voltage and a related device, which relates to the field of motor control technology, including: based on the frequency-multiplied disturbance coefficient of the current and the differential information of the system error, it is beneficial to improve the estimation accuracy of the system disturbance and accelerate the estimation speed of the system disturbance, and taking the theoretical estimated value of the total disturbance amount at the first moment as a known parameter is beneficial to reduce the bandwidth requirement of the observation system, and realizes the effective estimation of the harmonic disturbance of the permanent magnet synchronous motor under the condition of a smaller observation bandwidth. Therefore, the actual harmonic disturbance can be accurately observed, which is beneficial to effectively improve the current loop control effect of the permanent magnet synchronous motor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of motor control technology, and in particular to a method for obtaining a control input voltage and a related device. Background Art

[0002] Permanent magnet synchronous motors are increasingly used in the field of electric drive due to their simple structure and high power density. Figure 1 For permanent magnet synchronous motor (PMSM, Figure 1 The schematic diagram of dual-loop control of the motor (referred to as the motor in the figure), in which the speed control module outputs a reference current. The current control module outputs a control input voltage based on the reference current and the collected motor current, which is then converted by the inverter and acts on the motor.

[0003] The harmonic disturbance caused by the nonlinearity of the inverter and the cogging effect of the motor body will reduce the control effect of the permanent magnet synchronous motor current loop, further weakening the robustness of the existing permanent magnet synchronous motor current control strategy.

[0004] At present, a linear extended state observer is usually used to observe the harmonic disturbances in the current loop of a permanent magnet synchronous motor, and the observed harmonic disturbances are processed to improve the control effect of the current loop of the permanent magnet synchronous motor. However, due to the limitations of the switching frequency and sampling frequency of the permanent magnet synchronous motor, the observation bandwidth of the linear extended state observer causes the linear extended state observer to be unable to observe the real harmonic disturbances. Therefore, it is unable to effectively process the real harmonic disturbances of the permanent magnet synchronous motor, resulting in the inability to effectively improve the control effect of the current loop of the permanent magnet synchronous motor. Summary of the invention

[0005] In view of the above problems, the present application provides a method for obtaining a control input voltage and a related device to achieve the purpose of improving the current loop control effect of a permanent magnet synchronous motor. The specific scheme is as follows:

[0006] A first aspect of the present application provides a method for obtaining a control input voltage, comprising:

[0007] Acquire parameter values, the parameter values ​​comprising: a current value and a reference current value of a stator of the permanent magnet synchronous motor at a first moment;

[0008] Based on the current value, the reference current value and a first rule, a control input voltage value of the stator of the permanent magnet synchronous motor at a second moment is obtained, wherein the first rule includes: the voltage value of the stator at the second moment is determined by a difference between a sum of multiple items and an estimated item, wherein the sum of multiple items includes a sum of a first item, a second item and a third item, and the first item is determined by a stator nominal inductance With the reference current value The second term is obtained by the product of the derivatives of the stator nominal resistance The stator current value at the first moment The third term is a value reflecting the feedback characteristics and current tracking characteristics of the stator. The estimated term is obtained by With estimated value The estimated value is the theoretical estimated value of the total disturbance at the first moment. Compensation value of total disturbance sum, said Based on the stator observation system equation, the stator observation system equation includes:

[0009] ,in, represents the first moment, represents the estimated value of the stator current at the first moment, express The estimated value of and They represent the estimated coefficients, , Represents the current Frequency doubling perturbation coefficient, represents the cut-off frequency, , represents the control gain coefficient, represents the inverse Laplace transform, represents the rotor flux electric angular velocity of the permanent magnet synchronous motor at the first moment, is a positive integer greater than 2, express The derivative value of represents the differential information of system error, represents the input voltage of the stator observation system equation at the first moment acquired in advance.

[0010] In some implementations, the The acquisition process includes:

[0011] Based on the second rule, the , the second rule includes:

[0012] , represents an ideal input voltage of the estimation system at the first moment, the estimation system being a system for estimating a theoretically estimated compensation value of a total disturbance of the stator, , , , is the control bandwidth of the ideal control system of the stator d-axis of the permanent magnet synchronous motor, is the control bandwidth of the ideal control system of the stator q-axis of the permanent magnet synchronous motor, Represents the stator current tracking error of the permanent magnet synchronous motor.

[0013] In some implementations, the first item includes: ;

[0014] The second item includes: , is the nominal inductance of the stator d-axis, is the nominal inductance of the stator q-axis, represents the reference current value of the stator d-axis of the permanent magnet synchronous motor at the first moment, represents the reference current value of the stator q axis of the permanent magnet synchronous motor at the first moment, represents the current value of the stator d-axis at the first moment, represents the current value of the stator q-axis at the first moment.

[0015] In some implementations, the third item includes: ,in, is the feedback coefficient of the stator d-axis, is the feedback coefficient of the stator q-axis, and The values ​​of are all positive. represents the current tracking error of the stator d-axis of the permanent magnet synchronous motor at the first moment, represents the current tracking error of the stator q axis of the permanent magnet synchronous motor at the first moment, is the feedback power index of the stator d-axis, is the feedback power index of the stator q axis, and They are all numbers greater than 0 and less than 1.

[0016] In some implementations, the parameter value further includes: a control input voltage value at a third moment;

[0017] The theoretical estimated value of the total disturbance at the first moment The acquisition process includes:

[0018] Obtaining the theoretical estimate of the total disturbance on the d-axis based on the third rule Theoretical estimate of the total disturbance on the q axis The third rule is obtained based on the stator current equation of the permanent magnet synchronous motor, the setting that the control input voltages of two adjacent control cycles are equal, and the deadbeat prediction current control method, and the third rule includes:

[0019] , represents the third moment, represents the control input voltage of the stator d-axis at the third moment, represents the control input voltage of the stator q axis at the third moment, represents a control period of the permanent magnet synchronous motor.

[0020] In some implementations, the stator current equation of the permanent magnet synchronous motor includes:

[0021] System disturbance terms and fixed motor parameters.

[0022] In some implementations, the stator current equation of the permanent magnet synchronous motor is:

[0023] , represents the total disturbance of the stator d axis, represents the total disturbance of the stator q axis, , as well as are fixed motor parameters.

[0024] A second aspect of the present application provides a device for obtaining a control input voltage, comprising:

[0025] A first acquisition module is used to acquire parameter values, wherein the parameter values ​​include: a current value and a reference current value of a stator of the permanent magnet synchronous motor at a first moment;

[0026] The second acquisition module is used to acquire the control input voltage value of the stator of the permanent magnet synchronous motor at the second moment based on the current value, the reference current value and a first rule, wherein the first rule includes: the voltage value of the stator at the second moment is determined by the difference between the sum of multiple items and the estimated item, the sum of multiple items includes the sum of the first item, the second item and the third item, the first item is determined by the stator nominal inductance With the reference current value The second term is obtained by the product of the derivatives of the stator nominal resistance The stator current value at the first moment The third term is a value reflecting the feedback characteristics and current tracking characteristics of the stator. The estimated term is obtained by With estimated value The estimated value is the theoretical estimated value of the total disturbance at the first moment. Compensation value of total disturbance sum, said Based on the stator observation system equation, the stator observation system equation includes:

[0027] ,in, represents the first moment, represents the estimated value of the stator current at the first moment, express The estimated value of and They represent the estimated coefficients, , Represents the current Frequency doubling perturbation coefficient, represents the cut-off frequency, , represents the control gain coefficient, represents the inverse Laplace transform, represents the rotor flux electric angular velocity of the permanent magnet synchronous motor at the first moment, is a positive integer greater than 2, express The derivative value of represents the differential information of system error, represents the input voltage of the stator observation system equation at the first moment acquired in advance.

[0028] A third aspect of the present application provides an electronic device, comprising at least one processor and a memory connected to the processor, wherein:

[0029] The memory is used to store computer programs;

[0030] The processor is used to execute the computer program so that the electronic device can implement the method for obtaining the control input voltage provided in the first aspect of the present application.

[0031] The fourth aspect of the present application provides a computer storage medium, which carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement the method for obtaining the control input voltage provided in the first aspect of the present application.

[0032] A fifth aspect of the present application provides a computer program product, comprising computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements the method for obtaining the control input voltage provided in the first aspect.

[0033] The sixth aspect of the present application provides a computer storage medium, which carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can execute the method for obtaining the control input voltage provided in the first aspect of the present application.

[0034] By means of the above technical solution, the method and device for obtaining the control input voltage provided by the present application are based on the current The frequency-multiplied disturbance coefficient and the differential information of the system error are conducive to improving the estimation accuracy of the system disturbance and accelerating the estimation speed of the system disturbance. In addition, taking the theoretical estimated value of the total disturbance at the first moment as a known parameter is conducive to reducing the bandwidth requirements of the observation system and realizing the effective estimation of the harmonic disturbance of the permanent magnet synchronous motor under the condition of a smaller observation bandwidth. Therefore, the actual harmonic disturbance can be accurately observed, which is conducive to effectively improving the control effect of the permanent magnet synchronous motor current loop. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0036] Figure 1 A schematic diagram of dual-loop control of a permanent magnet synchronous motor provided in the present application;

[0037] Figure 2 A schematic diagram of an ideal control system of the d-axis of a permanent magnet synchronous motor provided in the present application;

[0038] Figure 3 A flowchart of a method for obtaining a control input voltage provided in the present application;

[0039] Figure 4 This is a structural example diagram of a device for obtaining a control input voltage provided in the present application. DETAILED DESCRIPTION

[0040] The following describes the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method section of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.

[0041] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0042] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0043] In order to improve the control effect of the permanent magnet synchronous motor current loop, an embodiment of the present application provides a method for obtaining a control input voltage. Specifically, an embodiment of the present application provides a rule for obtaining a control input voltage. The rule effectively suppresses the harmonic disturbance problem caused by the nonlinearity of the inverter and the toothing effect of the motor body in the permanent magnet synchronous motor current loop control system, thereby obtaining a more accurate control input voltage.

[0044] The following first describes the principle of obtaining the acquisition rules.

[0045] 1. Construction of accurate stator current equation for permanent magnet synchronous motor:

[0046] In general, the d-axis and q-axis stator current equations of a permanent magnet synchronous motor can be expressed as:

[0047] (1)

[0048] In formula (1), is the state quantity, and , is the current of the stator d-axis of the permanent magnet synchronous motor, is the current of the stator q axis of the permanent magnet synchronous motor. is the control input, and , is the control input voltage of the stator d-axis of the permanent magnet synchronous motor, It is the control input voltage of the stator q-axis of the permanent magnet synchronous motor. is the state transfer matrix, and , is the stator resistance, is the inductance of the stator d-axis, is the inductance of the stator q-axis. is the control input matrix, and . is a coupling term related to the speed, and , is the rotor flux electrical angular velocity, is the rotor permanent magnet flux. Represents time Find the first-order derivative.

[0049] It can be seen from equation (1) that the real system disturbance information of the permanent magnet synchronous motor current loop is not reflected in equation (1).

[0050] In formula (1), , , as well as are parameters of the permanent magnet synchronous motor. In practice, these parameters are time-varying parameters, referred to as time-varying motor parameters for short. The time-varying motor parameters have an impact on the current loop control of the permanent magnet synchronous motor. In order to reduce the impact of the time-varying motor parameters and the real system disturbances of the permanent magnet synchronous motor current loop on the current loop control of the permanent magnet synchronous motor, thereby reducing the complexity of the current loop control of the permanent magnet synchronous motor, in an embodiment of the present application, the time-varying motor parameters are fixed, and the consideration of the system disturbance is added on the basis of the conventional stator current equation, and the stator current equation (1) of the permanent magnet synchronous motor is transformed into:

[0051] (2)

[0052] In formula (2), is the nominal state transfer matrix, and , represents the nominal resistance of the stator, is the nominal inductance of the stator d-axis, is the nominal inductance of the stator q-axis, is the nominal control input matrix, and . represents the nominal coupling term related to the speed, and , is the nominal permanent magnet flux of the rotor. represents the equivalent system disturbance caused by fixing the time-varying motor parameters, and , represents the equivalent d-axis system disturbance caused by fixing the time-varying motor parameters for the stator d-axis, It represents the equivalent q-axis system disturbance caused by fixing the time-varying motor parameters for the stator q-axis. The above nominal parameters (such as nominal resistance) refer to parameters that do not change and do not have disturbances.

[0053] represents other unmodeled system disturbances, where represents the unmodeled disturbance of the stator d-axis, represents the unmodeled disturbance of the stator q axis, Represents the total disturbance of the current loop, represents the total disturbance of the stator d-axis (current loop), It represents the total disturbance of the stator q-axis (current loop).

[0054] In summary, the improved stator current equation of permanent magnet synchronous motor can be rewritten as:

[0055] (3).

[0056] It can be understood that under the technical guidance of fixing motor parameters and considering system disturbances, a more accurate stator current equation of the permanent magnet synchronous motor is constructed, which more accurately simulates the behavior of the permanent magnet synchronous motor, thereby being able to more accurately simulate the changes in the stator current of the permanent magnet synchronous motor.

[0057] It can be seen from equation (3) that the total disturbance of the permanent magnet synchronous motor current loop needs to be considered.

[0058] 2. Theoretical estimation of total disturbance of permanent magnet synchronous motor current loop:

[0059] Based on the Euler discretization method, the total disturbance on the d-axis can be obtained from equation (3): and the total disturbance on the q axis The preliminary theoretical estimation formula is:

[0060] (4)

[0061] In formula (4) express The current value of the permanent magnet synchronous motor stator d axis at the moment, express The current value of the permanent magnet synchronous motor stator q axis at time. express The current value of the permanent magnet synchronous motor stator d axis at the moment, express The current value of the permanent magnet synchronous motor stator q axis at time. express The control input voltage value of the permanent magnet synchronous motor d axis at time, express The control input voltage value of the permanent magnet synchronous motor q axis at time. represents the control cycle, express The theoretical estimate of the total disturbance on the d-axis at time, express Theoretical estimate of the total disturbance on the axis at time q.

[0062] Considering that the permanent magnet synchronous motor current loop control cycle usually needs to be completed within 100 microseconds, assuming

[0063] (5),

[0064] In formula (5), express The control input voltage value of the permanent magnet synchronous motor stator d axis at time, express The control input voltage value of the q-axis of the permanent magnet synchronous motor stator at time . Formula (5) theoretically assumes that the control input voltage values ​​of the d-axis and q-axis of the permanent magnet synchronous motor stator do not change in two adjacent control cycles.

[0065] The principle of current control based on the deadbeat model prediction is

[0066] (6)

[0067] In formula (6), express The reference current value of the stator d-axis of the permanent magnet synchronous motor at the moment, express The reference current value of the stator q-axis of the permanent magnet synchronous motor at a given moment is generally directly given by the speed loop control system, such as the speed control module outputs the reference current value.

[0068] Based on the technical orientation of equal control input voltage values ​​in two adjacent control cycles and deadbeat predictive current control, the total disturbance of the d-axis can be obtained by combining equations (4), (5) and (6): and the total disturbance on the q axis Theoretical estimation formula:

[0069] (7)

[0070] The study found that there are two problems in the process of obtaining formula (7) above:

[0071] First, there is inevitably a discretization error in the process of obtaining the discrete form of the stator current equation (4) using the Euler discretization method.

[0072] Second, formula (5) assumes that the control input voltages of the stator d-axis and q-axis at two adjacent control moments do not change, which is often inconsistent with the actual situation.

[0073] Both of the above problems will lead to the total disturbance through the d axis and the total disturbance on the q axis The theoretical estimation formula (7) is not accurate enough to calculate the total disturbance of the system.

[0074] In order to solve the problem that the total disturbance of the system obtained by equation (7) is not accurate enough, the total disturbance of the system obtained by equation (7) is compensated, see the following 3.

[0075] 3. Compensation of the theoretical estimated value of the total disturbance of the permanent magnet synchronous motor current loop:

[0076] Taking the compensation of the theoretical estimated value of the total disturbance of the d-axis as an example, the d-axis stator current equation is improved based on formula (3) to obtain:

[0077] (8)

[0078] In formula (8), express The compensation value of the theoretical estimate of the total disturbance on the d-axis at time, express The derivative value of express The theoretical estimate of the total disturbance on the d-axis at time is obtained by calculation using formula (7) and can be considered as a known quantity here.

[0079] The next goal is to obtain the In the embodiment of the present application, an observation system is used to observe The numerical value of .

[0080] In this embodiment, in order to obtain more accurate observation results, the observation system is improved as follows:

[0081] Based on the differential information of system error and current Frequency doubling perturbation coefficient and total perturbation on the d-axis The theoretical estimated value of is used to construct the observation system equation for equation (8), and the constructed observation system equation is as follows:

[0082] (9)

[0083] In formula (9), express The d-axis current at time The estimated value of express The compensation value of the theoretical estimated value of the total disturbance of the d-axis at time The estimated value of . and They represent estimated coefficients respectively.

[0084] , Represents the current The frequency-doubling coefficient is represents the cut-off frequency, , represents the control gain coefficient, represents the inverse Laplace transform, is a positive integer greater than 2. By adding current Frequency doubling coefficient Real-time estimation of harmonic disturbances is achieved. Represents the rotor flux electric angular velocity at the first moment. express The estimated value of .

[0085] Represents the system error differential information.

[0086] Current The frequency-doubling disturbance coefficient and the differential information of the system error are beneficial to improving the estimation accuracy of the system disturbance and accelerating the estimation speed of the system disturbance.

[0087] In formula (9), To express The total disturbance on the d axis at time The theoretical estimate of As a known parameter, it is helpful to reduce the bandwidth requirement of the observation system and realize the effective estimation of the harmonic disturbance of the permanent magnet synchronous motor by the observation system under the condition of a smaller observation bandwidth.

[0088] In summary, the observation system represented by equation (9) can accurately observe the actual harmonic disturbance.

[0089] express The input voltage value of the d-axis observation system at time.

[0090] Subtracting (9) from (8) yields:

[0091] (10)

[0092] In formula (10), Represents the error between the estimated value and the actual value of the observation system. The estimation accuracy is to ensure the error between the estimated value and the actual value of the observation system Asymptotically stable, it approaches zero. Using the theoretical knowledge of linear system stability, we only need to let the observation error matrix The eigenvalues ​​of are negative.

[0093] Assume that the observation bandwidth of the observation system (9) is , is a positive number, we can get , When the observation error matrix The eigenvalue of is negative , thus theoretically achieving accurate estimate of .

[0094] Will Substituting into equation (9), we can choose a reasonable In the case of , by solving the differential equation, the compensation value of the theoretical estimate of the total disturbance on the d-axis can be obtained accurate estimate of .

[0095] In this embodiment, the following method is used to obtain .

[0096] Estimation of the control input voltage value of the system The determination process is as follows:

[0097] (11)

[0098] The ideal input voltage of the estimated system representing the compensation value of the theoretical estimate of the total disturbance of the d-axis.

[0099] Substituting formula (11) into formula (3), ignoring the observation error of the observation system, we get , assuming that the theoretical estimate of the total disturbance of the d-axis is the compensation value of the observed system's control input voltage and the control input voltage of the stator d-axis of the permanent magnet synchronous motor Equal, we can get:

[0100] (12)

[0101] Performing Laplace transform on formula (12) yields the transfer function of the current control system of the d-axis of the permanent magnet synchronous motor:

[0102] (13)

[0103] stands for Laplace operator.

[0104] make , , For the control bandwidth of the ideal control system of the permanent magnet synchronous motor d-axis, the design is as follows Figure 2 The d-axis current control system of the permanent magnet synchronous motor shown in the figure has a transfer function as follows:

[0105] (14)

[0106] From formula (14), we can see that by designing Figure 2 The d-axis ideal control system of the permanent magnet synchronous motor shown is a typical Type I system.

[0107] based on Figure 2 It can be seen that , substituting it into equation (11), and then combining it with equation (9), we can obtain Theoretical estimate of the compensation value of the total disturbance on the d-axis at time .

[0108] It is understandable that based on Figure 2 Get The method is only an example and is not intended to be limiting. Other methods may also be used to obtain.

[0109] Similarly, the same method can be used to obtain The theoretical estimate of the compensation value of the total disturbance on the q axis at time .

[0110] This embodiment relates to a method based on system error differential information and current fundamental wave. The observation system of the compensation value of the total disturbance theoretical estimation of the permanent magnet synchronous motor current loop designed by the frequency doubling disturbance coefficient, and the total disturbance of the d-axis and the total disturbance on the q axis The theoretical estimated value of is used as the known input of the observation system, which greatly reduces the minimum bandwidth requirement for accurate estimation of the current loop harmonic disturbance, and realizes accurate estimation of the total disturbance of the system under the condition of small bandwidth, which is easier to promote and apply in practical engineering. The observation system of the compensation value of the total disturbance theoretically estimated by the permanent magnet synchronous motor current loop designed by the frequency doubling disturbance coefficient can obtain more accurate harmonic disturbance.

[0111] 4. Determination of the control input voltage of the d-axis and q-axis of the permanent magnet synchronous motor:

[0112] The theoretical estimated value of the total disturbance of the d-axis and q-axis and the corresponding compensation value are summed to obtain the accurate estimated value of the total disturbance of the d-axis and q-axis, which is used as the estimated value of the real disturbance, that is,

[0113] (15)

[0114] In formula (15), represents an accurate estimate of the total disturbance along the d-axis, represents an accurate estimate of the total disturbance on the q-axis and satisfies and It can be seen that the theoretical estimated value of the total disturbance of the d-axis and q-axis and the corresponding compensation value are used together to make a high-precision estimate of the actual disturbance of the system.

[0115] For formula (15) Feedforward processing is performed separately to transform the current loop control system with harmonic disturbances into a nominal system that is easier to control (i.e., a system without any disturbances and without changes in motor parameters).

[0116] It should be pointed out that the control input voltage determined by conventional control methods such as conventional PI control and state feedback on the above basis can achieve efficient control of the permanent magnet synchronous motor current loop under different working conditions, and has the characteristics of strong adaptability to working conditions and high robustness.

[0117] conventional Figure 1 The design of the current control module shown is generally divided into two steps. First, the basic Figure 1 The current control module bandwidth shown is then empirically established based on Figure 1 The proportional relationship between the bandwidth of the current control module and the bandwidth of the observer is shown in Figure 2. Both steps rely on the designer’s experience, and any design deviation will affect Figure 1 The overall performance of the current control module is shown in Figure 2. Figure 1 The current control module design method shown has the characteristics of simple design, fast convergence speed and no dependence on designer's experience.

[0118] The current tracking equations of the permanent magnet synchronous motor d-axis and q-axis can be expressed as:

[0119] (16)

[0120] In formula (16), represents the current tracking error of the permanent magnet synchronous motor stator d axis, represents the current tracking error of the permanent magnet synchronous motor stator q axis, represents the reference current of the stator d axis, It represents the reference current of the stator q-axis. The specific value is generally given by the speed loop control system.

[0121] Substituting formula (16) into formula (3) yields:

[0122] (17)

[0123] Substituting the estimated d-axis and q-axis disturbances (15) into formula (17) yields:

[0124] (18)

[0125] Based on the non-smooth control theory, the following d-axis and q-axis feedback control rates are designed to make the system have the characteristic of finite time convergence:

[0126] (19)

[0127] In formula (19), is the feedback coefficient of the stator d-axis, is the feedback coefficient of the stator q-axis, and The values ​​of are both positive numbers. The size of the two values ​​represents the speed of convergence and can be set directly by the user without the need for a complicated parameter value design process. is the feedback power index of the stator d-axis, is the feedback power index of the stator q axis, where and They are all numbers greater than 0 and less than 1.

[0128] Substituting formula (19) into formula (18) and considering the control time, we can get Figure 1 The output equation of the current control module shown is:

[0129] (20)

[0130] By using the theoretical estimated values ​​of the total disturbances of the d-axis and q-axis and the corresponding compensation values ​​to make a high-precision estimate of the actual disturbances of the system, the permanent magnet synchronous motor current loop control system with disturbances is transformed into a nominal system with no disturbances and unchanged motor parameters based on non-smooth control theory, state feedback theory and the idea of ​​considering the actual disturbance suppression of the system, which reduces the control difficulty of the permanent magnet synchronous motor current loop and improves the adaptability and robustness of the permanent magnet synchronous motor current loop control strategy to working conditions.

[0131] Based on the above theoretical derivation process, the embodiment of the present application provides a method for obtaining a control input voltage, which is applied in Figure 1 Example of current control module. Figure 3 As shown, the following steps are included:

[0132] S11. Obtaining a stator current value and a reference current value of the permanent magnet synchronous motor at a first moment.

[0133] In this embodiment, use The moment represents the first moment, using Indicates the current value of the stator d axis at the first moment, using Indicates the current value of the stator q axis at the first moment, using Indicates the reference current value of the stator d axis at the first moment, using Indicates the reference current value of the stator q-axis at the first moment.

[0134] It is understandable that and Collectively referred to as ,Will and Collectively referred to as .

[0135] In some implementations, the current value and the reference current value of the stator at the first moment are obtained by sampling and measuring.

[0136] S12. Based on the stator current value, the stator reference current value and the first rule, obtain a control input voltage value of the stator of the permanent magnet synchronous motor at a second moment.

[0137] In this embodiment, use The time represents the second time.

[0138] The first rule includes: the voltage value of the stator at the second moment is determined by the difference between the sum of multiple items and the estimated item.

[0139] The sum of multiple items includes the sum of the first item, the second item, and the third item.

[0140] The first term is obtained by the product of the stator inductance and the derivative of the reference current value. It is understandable that the first term can be the product of the stator inductance and the derivative of the reference current value, or a variation of the product of the stator inductance and the derivative of the reference current value, which is not limited here. The derivative includes but is not limited to the first-order derivative. In some implementations, the stator inductance is the stator nominal inductance, the purpose of which is to convert the time-varying inductance into a constant nominal inductance, reduce the difficulty of calculation, and improve the operating adaptability and robustness of the permanent magnet synchronous motor current loop control strategy.

[0141] An example of the first term is .

[0142] The second term is obtained by the product of the stator resistance and the stator current value at the first moment. The second term can be the product of the stator resistance and the stator current value at the first moment, or a variation thereof. In some implementations, the stator resistance is the stator nominal resistance. An example of the second term is .

[0143] The third term is a value that reflects the feedback characteristics and current tracking characteristics of the stator. The third term is a pre-configured value. An example of the third term is Understandably, This is only an example, and this embodiment is not limited to this combination, and other variations are also possible.

[0144] The estimated term is obtained by multiplying the stator inductance by the estimated value. In some implementations, the stator inductance is a stator nominal inductance.

[0145] The estimated value is the sum of the theoretical estimated value of the total disturbance at the first moment and the compensation value of the total disturbance. The estimated value is and The calculation method of the estimated value can be found in formula (15).

[0146] In some implementations, the method for obtaining the theoretical estimated value of the total disturbance can be referred to in formula (7). Since formula (7) is obtained based on the idea of ​​equal input voltage control in two adjacent control cycles and deadbeat predictive current control, it has the characteristics of simple calculation and high estimation accuracy. In the case of obtaining the theoretical estimated value of the total disturbance based on formula (7), in S11, it is also possible to collect the value at the third moment (i.e. In other implementations, the theoretical estimated value of the total disturbance is obtained based on a traditional method.

[0147] In this embodiment, the compensation value of the total disturbance is obtained based on the stator observation system equation. The observation system equation of the stator d-axis can be seen in equation (9). As mentioned above, equation (9) can accurately observe the actual harmonic disturbance.

[0148] It can be understood that in formula (9) One way to obtain is formula (11), on this basis, the d-axis and q-axis are uniformly obtained The second rule is .

[0149] In summary, an example of the first rule can be found in equation (20). By combining equation (20), equation (15), equation (9), equation (7) and equation (11), the control input voltage value at the second moment is obtained.

[0150] Based on the above formula taking the d-axis as an example, the d-axis and the q-axis are unified, and the stator observation system equation obtained is:

[0151] (9a)

[0152] Get (9a) The second rule is . represents the ideal input voltage of the stator estimation system, which is a system for estimating a compensation value of a theoretical estimate of the total disturbance of the stator, , , , is the control bandwidth of the ideal control system for the stator d-axis of the permanent magnet synchronous motor, is the control bandwidth of the ideal control system for the stator q-axis of the permanent magnet synchronous motor, Represents the stator current tracking error of the permanent magnet synchronous motor.

[0153] The method provided in this embodiment has the following advantages:

[0154] 1. The current included in formula (9) The frequency-doubling disturbance coefficient and the differential information of the system error are beneficial to improving the estimation accuracy of the system disturbance and accelerating the estimation speed of the system disturbance. As a known parameter, it is helpful to reduce the bandwidth requirement of the observation system and realize the effective estimation of the harmonic disturbance of the permanent magnet synchronous motor under the condition of a smaller observation bandwidth. Therefore, equation (9) can accurately observe the actual harmonic disturbance, which is helpful to effectively improve the control effect of the permanent magnet synchronous motor current loop.

[0155] 2. Formula (20) uses the theoretical estimated values ​​of the total disturbances of the d-axis and q-axis and the corresponding compensation values ​​to make a high-precision estimate of the actual disturbance of the system. Based on the non-smooth control theory, state feedback theory and the idea of ​​considering the actual disturbance suppression of the system, the permanent magnet synchronous motor current loop control system with disturbances is transformed into a nominal system without disturbances and without changes in motor parameters. This reduces the control difficulty of the permanent magnet synchronous motor current loop and improves the working condition adaptability and robustness of the permanent magnet synchronous motor current loop control strategy.

[0156] 3. The theoretical estimation method of the total disturbance is as shown in formula (7), which has the characteristics of simple calculation and high estimation accuracy.

[0157] 4. The above formulas are obtained based on the stator current equation of the permanent magnet synchronous motor. The stator current equation of the permanent magnet synchronous motor used in this embodiment takes into account the fixed motor parameters and system disturbances. Therefore, it can more accurately simulate the behavior of the permanent magnet synchronous motor, which is conducive to further improving the current loop control effect of the permanent magnet synchronous motor.

[0158] In summary, the method provided in this embodiment has a relatively precise control effect, applicability and robustness.

[0159] Figure 4 An embodiment of the present application discloses a device for obtaining a controlled input voltage, comprising: a first obtaining module and a second obtaining module.

[0160] The first acquisition module is used to acquire parameter values, and the parameter values ​​include: the permanent magnet synchronous motor at the first moment The second acquisition module is used to acquire the control input voltage value of the stator of the permanent magnet synchronous motor at the second moment based on the current value, the reference current value and the first rule. The specific implementation method can refer to the above method embodiment.

[0161] Figure 4 The control input voltage acquisition device shown has a more precise control effect, applicability and robustness.

[0162] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0163] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.

[0164] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.

Claims

1. A method for obtaining a control input voltage, characterized in that: include: Acquire parameter values, the parameter values ​​comprising: a current value and a reference current value of a stator of the permanent magnet synchronous motor at a first moment; Based on the current value, the reference current value and a first rule, a control input voltage value of the stator of the permanent magnet synchronous motor at a second moment is obtained, wherein the first rule includes: the voltage value of the stator at the second moment is determined by a difference between a sum of multiple items and an estimated item, wherein the sum of multiple items includes a sum of a first item, a second item and a third item, and the first item is a sum of a stator nominal inductance L0 and the reference current value i ref The second term is obtained by the product of the derivatives of the stator resistance R s0 The third term is a value reflecting the feedback characteristics and current tracking characteristics of the stator. The estimated term is obtained by multiplying L0 and the estimated value The estimated value is the theoretical estimated value of the total disturbance at the first moment. Compensation value F of the total disturbance com (k) and, the F com (k) Acquisition based on a stator observation system equation, wherein the stator observation system equation includes: Wherein, k represents the first moment, represents the estimated value of the stator current at the first moment, Indicates F com (k), α1 and α2 represent the estimated coefficients, Q = Q2 + Q3 + ... + Q i , Represents the current i-fold frequency disturbance coefficient, ω c represents the cut-off frequency, ω i =iω e , k r Represents the control gain coefficient, L -1 represents the inverse Laplace transform, ω e (k) represents the rotor flux electric angular velocity of the permanent magnet synchronous motor at the first moment, Indicates the ω e (k), i is a positive integer greater than 2, h(k) represents the estimated value of F com The derivative value of (k), represents the system error differential information, and u1(k) represents the input voltage of the stator observation system equation at the first moment acquired in advance.

2. The method according to claim 1, characterized in that The process of obtaining u1(k) includes: The u1(k) is obtained based on a second rule, wherein the second rule includes: u0(k) represents the ideal input voltage of the estimation system at the first moment, the estimation system being a system for estimating a theoretically estimated compensation value of the total disturbance of the stator, ω cd is the control bandwidth of the ideal control system of the stator d-axis of the permanent magnet synchronous motor, ω cq is the control bandwidth of the ideal control system of the stator q-axis of the permanent magnet synchronous motor, and E represents the stator current tracking error of the permanent magnet synchronous motor.

3. The method according to claim 1 or 2, characterized in that: The first item includes: The second item includes: L d0 is the nominal inductance of the stator d-axis, L q0 is the nominal inductance of the stator q-axis, represents the reference current value of the stator d-axis of the permanent magnet synchronous motor at the first moment, represents the reference current value of the stator q axis of the permanent magnet synchronous motor at the first moment, i d (k) represents the current value of the stator d-axis at the first moment, i q (k) represents the current value of the stator q-axis at the first moment.

4. The method according to claim 1 or 2, characterized in that: The third item includes: Among them, K d is the stator d-axis feedback coefficient, K q is the stator q-axis feedback coefficient, K d and K q The values ​​of E are all positive. d (k) represents the current tracking error of the stator d-axis of the permanent magnet synchronous motor at the first moment, E q (k) represents the current tracking error of the stator q-axis of the permanent magnet synchronous motor at the first moment, α is the feedback power index of the stator d-axis, β is the feedback power index of the stator q-axis, and both α and β are numbers greater than 0 and less than 1.

5. The method according to claim 3, characterized in that: The parameter value also includes: a control input voltage value at a third moment; The theoretical estimated value of the total disturbance at the first moment The acquisition process includes: Obtaining the theoretical estimate of the total disturbance on the d-axis based on the third rule Theoretical estimate of the total disturbance on the q axis The third rule is obtained based on the stator current equation of the permanent magnet synchronous motor, the setting that the control input voltages of two adjacent control cycles are equal, and the deadbeat predictive current control method, and the third rule includes: k-1 represents the third moment, u d (k-1) represents the control input voltage of the stator d axis at the third moment, u q (k-1) represents the control input voltage of the stator q axis at the third moment, T s represents a control period of the permanent magnet synchronous motor.

6. The method according to claim 5, characterized in that The stator current equation of the permanent magnet synchronous motor includes: System disturbance terms and fixed motor parameters.

7. The method according to claim 6, characterized in that The stator current equation of the permanent magnet synchronous motor is: F d represents the total disturbance of the stator d axis, F q Represents the total disturbance of the stator q axis.

8. A device for obtaining a control input voltage, characterized in that: include: A first acquisition module is used to acquire parameter values, wherein the parameter values ​​include: a current value and a reference current value of a stator of the permanent magnet synchronous motor at a first moment; The second acquisition module is used to acquire the control input voltage value of the stator of the permanent magnet synchronous motor at the second moment based on the current value, the reference current value and a first rule, wherein the first rule includes: the voltage value of the stator at the second moment is determined by the difference between the sum of multiple items and the estimated item, the sum of multiple items includes the sum of the first item, the second item and the third item, the first item is the sum of the stator nominal inductance L0 and the reference current value i ref The second term is obtained by the product of the derivatives of the stator resistance R s0 The third term is a value reflecting the feedback characteristics and current tracking characteristics of the stator. The estimated term is obtained by multiplying L0 and the estimated value The estimated value is the theoretical estimated value of the total disturbance at the first moment. Compensation value F of the total disturbance com (k) and, the F com (k) Acquisition based on a stator observation system equation, wherein the stator observation system equation includes: Wherein, k represents the first moment, represents the estimated value of the stator current at the first moment, Indicates F com (k), α1 and α2 represent the estimated coefficients, Q = Q2 + Q3 + ... + Q i , Represents the current i-fold frequency disturbance coefficient, ω c represents the cut-off frequency, ω i =iω e , k r Represents the control gain coefficient, L -1 represents the inverse Laplace transform, ω e (k) represents the rotor flux electric angular velocity of the permanent magnet synchronous motor at the first moment, Indicates the ω e (k), i is a positive integer greater than 2, h(k) represents the estimated value of F com The derivative value of (k), represents the system error differential information, and u1(k) represents the input voltage of the stator observation system equation at the first moment acquired in advance.

9. An electronic 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 electronic device can implement the method for obtaining the control input voltage as described in any one of claims 1 to 7.

10. A computer storage medium, characterized in that: The storage medium carries one or more computer programs, and when the one or more computer programs are executed by an electronic device, the electronic device can implement the method for obtaining a control input voltage as described in any one of claims 1 to 7.