Rotary transformer software decoding method and system based on enhanced single-degree-of-freedom active disturbance rejection controller

CN119030397APending Publication Date: 2024-11-26HARBIN INST OF TECH +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411319765.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The traditional rotary transformer software demodulation algorithm estimates the rotor position under the motor speed change, which affects the motor driving performance and cannot meet the high-performance control requirements.

Method used

Using the software decoding method of rotary transformer based on enhanced single-degree of freedom self-immune disturbance controller, the expansion state observer is constructed to perform disturbance feedforward compensation, and a new control law is designed to suppress the rotor position error signal and improve the motor's dynamic changes. Control accuracy.

Benefits of technology

It effectively suppresses rotor position estimation error, improves the performance and robustness of the motor drive control system, can respond quickly during the motor acceleration process and maintain high-precision control, reducing the performance degradation caused by estimation error.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030397A_ABST
    Figure CN119030397A_ABST
Patent Text Reader

Abstract

The invention discloses a rotary transformer software decoding method and system based on an enhanced single-degree-of-freedom active disturbance rejection controller, and relates to the technical field of motor control. The problem that the rotor position has an estimation error when the speed of the permanent magnet synchronous motor is changed based on a software-based demodulation technology of an existing rotary transformer is solved. The method comprises the following steps: obtaining an error state equation of a rotor position angle convergence system according to a rotary transformer software decoding system model; a first expansion state observer is constructed, and feedforward compensation is carried out by using total disturbance observed by the first expansion state observer; residual disturbance which cannot be inhibited by the first extended state observer is observed by using the second extended state observer, and feedforward compensation is carried out; and designing a control law, inputting disturbance estimated by the first extended state observer and the second extended state observer into the control law as feed-forward compensation, and converging a rotor position error signal in the acceleration process of the permanent magnet synchronous motor. The performance of the motor driving control system is improved, and the method is applied to the industrial control field.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of motor control, and in particular to a software decoding technology for a permanent magnet synchronous motor rotary transformer. Background Art

[0002] Permanent magnet synchronous motors are widely used in various fields of AC motor speed control systems due to their simple structure, high power density and power factor. In recent years, high-performance industrial control occasions such as equipment manufacturing, military and aerospace have put forward higher and higher requirements for permanent magnet synchronous motor drive systems. The rotor position sensor is a key part of the permanent magnet synchronous motor drive system. It provides accurate rotor position and speed information to achieve high-performance control of the permanent magnet synchronous motor. The main position sensors currently include Hall sensors, photoelectric encoders, and resolvers. Among these sensors, resolvers are widely used due to their convenient installation, strong anti-interference ability, and wide temperature range. The high-frequency signal output by the resolver is demodulated by the resolver digital conversion system to obtain the rotor position information. The demodulation methods include hardware demodulation and software demodulation. Hardware demodulation mainly refers to the use of decoding chips that match the resolver, such as the AD2S series of Analog Devices. However, these chips are expensive and increase costs in industrial applications. Therefore, algorithm-based software decoding technology is the current research focus. It can be implemented in the controller together with the motor control algorithm to achieve demodulation of the resolver position signal with low-cost hardware. The accuracy of the rotor position obtained by software demodulation technology is mainly related to the algorithm used, and different algorithms have different accuracy. The current mainstream software demodulation algorithms, such as closed-loop algorithms based on linear proportional integral controllers, mainly focus on the estimation accuracy of the motor speed in steady state. They can converge quickly under steady-state conditions, but in many scenarios such as electric vehicles, CNC machine tool spindle drives, and electric locomotives, the motor speed needs to be changed frequently. In the dynamic process of motor acceleration and deceleration, there are errors in the rotor position estimation, which cannot meet the requirements of high-performance motor control.

[0003] The requirements for resolver software demodulation in high-performance control applications include: simple algorithm, small processor computational burden, easy implementation, and accurate estimation of rotor position regardless of whether the motor speed is steady or changing dynamically. However, the traditional resolver software demodulation algorithm has the following problems:

[0004] Under conditions where the motor accelerates, decelerates, or changes speed instantaneously, the traditional resolver software demodulation algorithm may have significant errors in estimating the rotor position, which will inevitably lead to incomplete decoupling of the d-axis and q-axis currents of the permanent magnet synchronous motor, causing significant fluctuations in the motor output speed and deteriorating the motor's control performance. Summary of the invention

[0005] Aiming at the problem that the conventional rotary transformer software demodulation algorithm deviates from the estimated rotor position under the condition of motor speed variation, which affects the motor driving performance, the present invention proposes a rotary transformer software decoding method based on an enhanced single-degree-of-freedom active disturbance rejection controller, which is applied to a permanent magnet synchronous motor vector control system. The method comprises:

[0006] S1: Obtain the error state equation of the rotor position angle convergence system based on the resolver software decoding system model;

[0007] S2: construct an extended state observer 1 according to the rotor position error state equation, and use the total disturbance observed by the extended state observer 1 to perform feedforward compensation;

[0008] S3: The disturbance observed by the extended state observer 1 is regarded as a known disturbance, and is added as input to the new extended state observer 2. The extended state observer 2 is used to observe the remaining disturbance that cannot be suppressed by the extended state observer 1 and perform feedforward compensation;

[0009] S4: Design a control law, input the disturbance estimated by the extended state observer 1 and the extended state observer 2 into the control law as feedforward compensation, and converge the rotor position error signal during the acceleration process of the permanent magnet synchronous motor.

[0010] Furthermore, a preferred method is proposed, in which the error state equation of the rotor position angle convergence system obtained in step S1 includes:

[0011] The state equation of the rotor position convergence system is:

[0012]

[0013] Among them, u m is the controller output, b is the system gain, d is the total disturbance in the system, To estimate the rotor position signal;

[0014] Defining the position error signal Get the position error state equation:

[0015]

[0016] Among them, θ m Indicates the actual position signal of the rotor, d e is the total disturbance in the position error state equation;

[0017] The total disturbance d in the position error state equation is e Expanding to a new state variable x2, the expression of the new state space equation is constructed as follows:

[0018]

[0019] Where x1 is the state variable of the position error state equation, x1 = e θ , x2 is the new state variable expanded from the total disturbance of the position error state equation, x2 = d e , y is the output of the position error state equation.

[0020] Furthermore, a preferred method is proposed, wherein the step S2 of constructing an extended state observer comprises:

[0021]

[0022] Where z1 is the observed value of the state variable x1, z2 is the observed value of the state variable x2, and h1 and h2 are the gains of the extended state observer one.

[0023] Furthermore, a preferred method is proposed, in step S3, the second extended state observer is designed as follows:

[0024]

[0025] Among them, s1 is the observed value of the state variable x1, s2 is the disturbance observation value except z2, and h3 and h4 are the gains of the extended state observer 2.

[0026] Furthermore, a preferred embodiment is proposed, in which the control law of step S4 is:

[0027]

[0028] Among them, k0 is the proportional gain in the controller, which represents the controller bandwidth.

[0029] Furthermore, a preferred method is proposed, in which the rotor position error signal during the acceleration of the permanent magnet synchronous motor in step S4 is specifically:

[0030]

[0031] Among them, e θ is the system tracking error, G clo_2 (s) is the transfer function from the reference signal to the output signal, s is the frequency domain variable, and k1 is the rotor acceleration.

[0032] Furthermore, a preferred embodiment is proposed, in which the transfer function from the reference signal to the output signal is specifically:

[0033]

[0034] Based on the same inventive concept, the present invention also proposes a rotary transformer software decoding system based on an enhanced single-degree-of-freedom active disturbance rejection controller, the system comprising:

[0035] An error state equation acquisition unit, used to obtain an error state equation of a rotor position angle convergence system according to a resolver software decoding system model;

[0036] A total disturbance compensation unit is used to construct an extended state observer 1 according to the rotor position error state equation, and perform feedforward compensation using the total disturbance observed by the extended state observer 1;

[0037] A residual disturbance compensation unit is used to regard the disturbance observed by the extended state observer 1 as a known disturbance, add it as an input to the new extended state observer 2, use the extended state observer 2 to observe the residual disturbance that cannot be suppressed by the extended state observer 1 and perform feedforward compensation;

[0038] The convergence unit is used for designing a control law, taking the disturbance estimated by the extended state observer 1 and the extended state observer 2 as a feedforward compensation input into the control law, and converging the rotor position error signal during the acceleration process of the permanent magnet synchronous motor.

[0039] Based on the same inventive concept, the present invention also proposes a computer device, including a memory and a processor, wherein a computer program is stored in the memory. When the processor runs the computer program stored in the memory, the processor executes a software decoding method for a rotary transformer based on an enhanced single-degree-of-freedom active disturbance rejection controller according to any one of the above-mentioned methods.

[0040] Based on the same inventive concept, the present invention also proposes a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of a software decoding method for a rotary transformer based on an enhanced single-degree-of-freedom active disturbance rejection controller as described above are executed.

[0041] The present invention is beneficial in that:

[0042] The present invention solves the problem that the conventional rotary transformer software demodulation algorithm may deviate from the estimated rotor position under the condition of motor speed variation, thereby affecting the motor driving performance.

[0043] The present invention proposes a software decoding method for a rotary transformer based on an enhanced single-degree-of-freedom anti-disturbance controller, which uses a single-degree-of-freedom anti-disturbance controller to replace the proportional-integral controller in the traditional software decoding algorithm, and uses a second error-based extended state observer cascaded with the original extended state observer to observe the residual disturbance that the original extended state observer cannot suppress. In the dynamic process of the permanent magnet synchronous motor speed change, the rotor position estimation error under acceleration can be effectively suppressed, and the performance of the motor drive control system can be improved.

[0044] In the software decoding method of a rotary transformer based on an enhanced single-degree-of-freedom anti-disturbance controller proposed in the present invention, the disturbance observed by the extended state observer 1 is regarded as a known disturbance and added as an input to the new extended state observer 2 to further perform feedforward compensation. In this way, the disturbance in the system can be compensated more accurately, and the robustness and stability of the system are improved.

[0045] In the software decoding method of the rotary transformer based on the enhanced single-degree-of-freedom anti-disturbance controller proposed in the present invention, a new control law is also designed to use the disturbance estimated by two extended state observers as the feedforward compensation input. This design can better process the rotor position error signal that appears during the acceleration process of the permanent magnet synchronous motor, so that the system can respond quickly and maintain high-precision control in dynamic changes.

[0046] Compared with the traditional software decoding method of the rotary transformer based on the proportional integral controller, the software decoding method of the rotary transformer based on the enhanced single degree of freedom anti-disturbance controller proposed in the present invention can fully suppress the rotor position estimation error when the motor is in the process of acceleration. For example, when the motor speed acceleration is 12000r / min / s, the rotor position estimation error is reduced from 2.2° to 0°.

[0047] The invention is applied to the field of industrial control. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 This is a block diagram of a rotary transformer digital signal conversion system based on software decoding according to the eleventh embodiment;

[0049] Figure 2 The rotor position angle convergence system based on proportional-integral controller according to the eleventh embodiment;

[0050] Figure 3 The rotor position angle convergence system based on the single-degree-of-freedom active disturbance rejection controller according to the eleventh embodiment;

[0051] Figure 4 The rotor position angle convergence system based on the enhanced single-degree-of-freedom active disturbance rejection controller described in the eleventh embodiment;

[0052] Figure 5 is the rotor position angle observation error under different controllers according to the eleventh embodiment, wherein: Figure 5 (a) is the estimated rotor position angle curve under the different controllers, Figure 5 (b) is the rotor position angle observation error under different controllers;

[0053] Figure 6The Bode diagram of the closed-loop transfer function of the angle convergence system of different controllers described in the eleventh embodiment, wherein: Figure 6 (a) is the logarithmic amplitude-frequency characteristic curve of the closed-loop transfer function of the angle convergence system of different controllers, Figure 6 (b) is the logarithmic phase-frequency characteristic curve of the closed-loop transfer function of the angle convergence system of different controllers;

[0054] Figure 7 The waveform of the angle convergence system based on proportional integral controller under motor acceleration and deceleration described in embodiment 11;

[0055] Figure 8 The waveform of the angle convergence system based on the single-degree-of-freedom active disturbance rejection controller under motor acceleration and deceleration according to the eleventh embodiment;

[0056] Fig. 9 This is the waveform of the angle convergence system based on the enhanced single-degree-of-freedom active disturbance rejection controller under motor acceleration and deceleration as described in embodiment 11. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments.

[0058] Implementation method 1: A software decoding method for a rotary transformer based on an enhanced single-degree-of-freedom active disturbance rejection controller described in this implementation method comprises:

[0059] S1: Obtain the error state equation of the rotor position angle convergence system based on the resolver software decoding system model;

[0060] S2: construct an extended state observer 1 according to the rotor position error state equation, and use the total disturbance observed by the extended state observer 1 to perform feedforward compensation;

[0061] S3: The disturbance observed by the extended state observer 1 is regarded as a known disturbance, and is added as input to the new extended state observer 2. The extended state observer 2 is used to observe the remaining disturbance that cannot be suppressed by the extended state observer 1 and perform feedforward compensation;

[0062] S4: Design a control law, input the disturbance estimated by the extended state observer 1 and the extended state observer 2 into the control law as feedforward compensation, and converge the rotor position error signal during the acceleration process of the permanent magnet synchronous motor.

[0063] In the traditional resolver demodulation algorithm, speed changes will cause deviations in the rotor position estimation, affecting the driving performance of the motor. This is because the traditional algorithm cannot adjust its estimation strategy in real time when facing dynamic changes. In this embodiment, by introducing an enhanced single-degree-of-freedom anti-disturbance controller, the total disturbance in the system can be estimated and compensated in real time, thereby improving the estimation accuracy of the rotor position. In this way, when the motor speed changes, the system can track the position of the rotor more accurately, reducing the performance degradation caused by estimation errors.

[0064] Traditional demodulation algorithms cannot effectively compensate for various disturbances (such as noise and system dynamic changes), resulting in unstable system performance. In this implementation, two extended state observers are used: Extended State Observer 1 is used to observe and compensate for the total disturbance, thereby reducing the initial error in the system. Extended State Observer 2, based on Observer 1, further observes and compensates for the remaining disturbances that Observer 1 cannot handle. Such a hierarchical compensation mechanism improves the comprehensive processing capability of disturbances.

[0065] In this embodiment, the disturbance observed by the extended state observer 1 is regarded as a known disturbance and added as an input to the new extended state observer 2 to further perform feedforward compensation. In this way, the disturbance in the system can be compensated more accurately, and the robustness and stability of the system are improved.

[0066] In this embodiment, a new control law is also designed, which uses the disturbance estimated by the two extended state observers as the feedforward compensation input. This design can better process the rotor position error signal that appears during the acceleration process of the permanent magnet synchronous motor, so that the system can respond quickly and maintain high-precision control in dynamic changes.

[0067] Embodiment 2: This embodiment further limits the method for software decoding of a rotary transformer based on an enhanced single-degree-of-freedom active disturbance rejection controller described in embodiment 1. The error state equation of the rotor position angle convergence system obtained in step S1 includes:

[0068] The state equation of the rotor position convergence system is:

[0069]

[0070] Among them, u m is the controller output, b is the system gain, d is the total disturbance in the system, To estimate the rotor position signal;

[0071] Defining the position error signal Get the position error state equation:

[0072]

[0073] Among them, θ m Indicates the actual position signal of the rotor, d e is the total disturbance in the position error state equation;

[0074] The total disturbance d in the position error state equation is e Expanding to a new state variable x2, the expression of the new state space equation is constructed as follows:

[0075]

[0076] Where x1 is the state variable of the position error state equation, x1 = e θ , x2 is the new state variable expanded from the total disturbance of the position error state equation, x2 = d e , y is the output of the position error state equation.

[0077] Embodiment 3: This embodiment further limits the method for software decoding of a rotary transformer based on an enhanced single-degree-of-freedom active disturbance rejection controller described in embodiment 1. The step S2 of constructing an extended state observer 1 includes:

[0078]

[0079] Where z1 is the observed value of the state variable x1, z2 is the observed value of the state variable x2, and h1 and h2 are the gains of the extended state observer one.

[0080] The gain determination method used is to set h1 = 2ω b , h2=ω b 2 , where h1, h2 are the gains of extended state observer 1, ω b is the bandwidth of the extended state observer 1. Then, the bandwidth of the extended state observer 1 is determined according to the requirements of the system dynamic performance, and then the gain of the extended state observer 1 is determined.

[0081] By setting the observation values ​​z1 and z2 as the observation values ​​of the state variables x1 and x2, the extended state observer can estimate the internal state of the system more accurately. This precise state observation helps to control and decode the system more accurately, thereby improving the overall performance of the system. The gains h1 and h2 of the extended state observer are designed to enhance the robustness of the system. The appropriate gain value can make the observer more adaptable to internal disturbances and external interferences in the system, thereby effectively suppressing the impact of these interferences on system performance. This means that even when the system is disturbed or there is uncertainty, the system can still maintain stable performance.

[0082] Embodiment 4: This embodiment further limits the method for software decoding of a rotary transformer based on an enhanced single-degree-of-freedom active disturbance rejection controller described in embodiment 3. In step S3, the extended state observer 2 is designed as follows:

[0083]

[0084] Among them, s1 is the observed value of the state variable x1, s2 is the disturbance observation value except z2, and h3 and h4 are the gains of the extended state observer 2.

[0085] The design method of the newly added extended state observer 2 is the same as that in step S2, and the gain determination method of the extended state observer 2 is h3=2ω s , h4=ω s 2 , where h3, h4 are the gains of the extended state observer 2, ω s is the bandwidth of the extended state observer 2. Then, the bandwidth of the extended state observer 2 is determined according to the requirements of the system dynamic performance, and then the gain of the observer 2 is determined.

[0086] Embodiment 5: This embodiment further limits the method for software decoding of a rotary transformer based on an enhanced single-degree-of-freedom active disturbance rejection controller described in Embodiment 3. The control law of step S4 is:

[0087]

[0088] Among them, k0 is the proportional gain in the controller, which represents the controller bandwidth.

[0089] Embodiment 6: This embodiment further limits the method for software decoding of a rotary transformer based on an enhanced single-degree-of-freedom auto-disturbance rejection controller described in embodiment 3. In step S4, the rotor position error signal of the permanent magnet synchronous motor during acceleration is converged, specifically:

[0090]

[0091] Among them, e θ is the system tracking error, G clo_2 (s) is the transfer function from the reference signal to the output signal, s is the frequency domain variable, and k1 is the magnitude of the rotor acceleration.

[0092] In this implementation, the tracking capability of the system is enhanced by accurately processing the rotor position error signal, making the decoding result more accurate. The ADRC can adjust the control strategy in real time, reduce system errors, and improve the overall stability of the system. The improved control strategy enables the system to better adapt to various working conditions and interferences and maintain good performance.

[0093] Embodiment 7: This embodiment further limits the method for software decoding of a rotary transformer based on an enhanced single-degree-of-freedom active disturbance rejection controller described in Embodiment 6, and the transfer function from the reference signal to the output signal is specifically:

[0094]

[0095] Embodiment 8: A rotary transformer software decoding system based on an enhanced single-degree-of-freedom active disturbance rejection controller described in this embodiment comprises:

[0096] An error state equation acquisition unit, used to obtain an error state equation of a rotor position angle convergence system according to a resolver software decoding system model;

[0097] A total disturbance compensation unit is used to construct an extended state observer 1 according to the rotor position error state equation, and perform feedforward compensation using the total disturbance observed by the extended state observer 1;

[0098] A residual disturbance compensation unit is used to regard the disturbance observed by the extended state observer 1 as a known disturbance, add it as an input to the new extended state observer 2, use the extended state observer 2 to observe the residual disturbance that cannot be suppressed by the extended state observer 1 and perform feedforward compensation;

[0099] The convergence unit is used for designing a control law, taking the disturbance estimated by the extended state observer 1 and the extended state observer 2 as a feedforward compensation input into the control law, and converging the rotor position error signal during the acceleration process of the permanent magnet synchronous motor.

[0100] Embodiment 9. A computer device described in this embodiment includes a memory and a processor, wherein a computer program is stored in the memory. When the processor runs the computer program stored in the memory, the processor executes a software decoding method for a rotary transformer based on an enhanced single-degree-of-freedom anti-disturbance controller according to any one of embodiments 1 to 7.

[0101] Implementation method ten, a computer-readable storage medium described in this implementation method, on which a computer program is stored, and when the computer program is executed by a processor, the steps of a software decoding method for a rotary transformer based on an enhanced single-degree-of-freedom active disturbance rejection controller as described in any one of implementation methods one to seven are executed.

[0102] Implementation method 11: See Figures 1 to 9 This embodiment provides a specific example of a software decoding method for a rotary transformer based on an enhanced single-degree-of-freedom active disturbance rejection controller described in the first embodiment, and is also used to explain the second to ninth embodiments, specifically:

[0103] Step 1: According to Figure 1 The resolver software decoding system block diagram is shown in the figure, and the state equation of the rotor position convergence system is obtained. It is rewritten as the rotor position error state equation, and the total disturbance in the error state equation is expanded into the new state of the system. The specific process is:

[0104] The excitation signal generator provides an excitation signal U to the primary winding. exc , the expression is shown in formula (1):

[0105] U exc =U m sin(ω e t)(1)

[0106] Where U m is the excitation signal amplitude, ω e is the angular frequency of the excitation signal.

[0107] The output signal of the secondary winding of the rotary encoder can be expressed by formula (2):

[0108]

[0109] Where K is the coupling coefficient between the stator and rotor windings of the resolver, θ m Indicates the actual angular position of the rotor.

[0110] The secondary winding is connected to the estimated rotor position signal The error signal e can be obtained by multiplying the sine and cosine values ​​of and taking the difference, as shown in formula (3):

[0111]

[0112] The error signal e and the excitation signal U exc After multiplication and low-pass filtering, the rotor position error signal err can be obtained. θ As shown in formula (4):

[0113]

[0114] Where LPF[·] is a low-pass filter.

[0115] Position error signal err θ The controller can converge to 0, making the observed rotor position the actual position. Therefore, the state equation of the position convergence system is shown in formula (5):

[0116]

[0117] In the formula, u mis the controller output, b is the system gain, and d is the total disturbance in the system. According to formula (5), the position error signal is redefined as The position error state equation is shown in formula (6):

[0118]

[0119] Where, d e is the total disturbance in the position error state equation.

[0120] The total disturbance d in the position error state equation is e Expanding to a new state variable x2, the expression of the new state space equation is shown in formula (7):

[0121]

[0122] Where x1 is the state variable of the position error state equation, x1 = e θ , x2 is the new state variable expanded from the total disturbance of the position error state equation, x2 = d e , y is the output of the position error state equation.

[0123] Step 2: Use the new state space equation in step 1 to construct an extended state observer 1, and use the total disturbance z2 observed by the extended state observer 1 for feedforward compensation:

[0124] First, select an extended state observer with a suitable order. Here, an extended state observer with the same order as the state equation is selected. Secondly, for the selection of the gain of the extended state observer, in order to ensure the stability and excellent performance of the system, the gain determination method adopted by the present invention is to set h1 = 2ω b , h2=ω b 2 , where h1, h2 are the gains of the extended state observer, ω b is the bandwidth of the extended state observer 1. Then, the bandwidth of the extended state observer 1 is determined according to the requirements of the system dynamic performance, and then the gain of the extended state observer 1 is determined.

[0125] Among them, the expression of the constructed extended state observer is:

[0126]

[0127] Where z1 and z2 are the observed values ​​of state variables x1 and x2, respectively, and h1 and h2 are the gains of extended state observer 1, respectively.

[0128] Step 3: Treat the disturbance observed by the extended state observer 1 as a known disturbance and add it as input to the new extended state observer 2. Use the newly added extended state observer 2 to observe the remaining disturbance that the original extended state observer 1 cannot suppress and feedforward compensate it.

[0129] The design method of the newly added extended state observer 2 is the same as that in step 2. The gain determination method of the extended state observer 2 is h3=2ω s , h4=ω s 2 , where h3, h4 are the gains of the extended state observer 2, ω s is the bandwidth of the extended state observer 2. Then, the bandwidth of the extended state observer 2 is determined according to the requirements of the system dynamic performance, and then the gain of the observer 2 is determined.

[0130] The second extended observer can be designed as shown in formula (9):

[0131]

[0132] Where s1 and s2 are the observed value of the state variable x1 and the disturbance observed value except z2, respectively, and h3 and h4 are the gains of the extended state observer 2, respectively.

[0133] The two observers are used in cascade, one estimates the lumped disturbance and uses the estimated value as the input as the known part of the second extended observer. This reduces its burden of estimating disturbances, strengthens its ability to estimate disturbances under speed variation conditions, reduces its estimation error of the rotor position angle, and enhances the motor drive performance.

[0134] Step 4: The sum of the disturbances estimated by the two extended observers is used as feedforward compensation in the control law. The control law is designed based on the two observers so that the rotor position error signal converges to 0 during the acceleration process of the permanent magnet synchronous motor. The control law is designed as follows:

[0135]

[0136] Where k0 is the proportional gain in the controller, representing the controller bandwidth.

[0137] This implementation further improves the traditional single-degree-of-freedom anti-disturbance control strategy to obtain stronger anti-disturbance performance. Figure 3 The single degree of freedom active disturbance rejection controller is explained and analyzed:

[0138] The extended state observer is the core unit of the ADRC, which can be used to approximate the sum of all disturbances of the system except the control quantity. With the idea of ​​the extended state observer, the disturbance that can affect the controlled output is synthesized into a state quantity, called the "extended state" of the system, and this part of the disturbance is input into the system in a certain form through the control quantity, thereby eliminating the influence of the disturbance on the system. Its basic principle is as follows:

[0139] For a first-order system state equation

[0140]

[0141] Where: x1 is the system state variable, b is the system gain, u m is the controller output, and y is the system output.

[0142] It can be written in the form of an error state equation,

[0143]

[0144] Where: y ref Input for system reference.

[0145] Let x2 = d e , x1=e, then the state equation of the system can be written as

[0146]

[0147] Where: x2 is the expansion state variable.

[0148] According to the above formula (13), the corresponding extended state observer is established for the first-order system:

[0149]

[0150] Where: h1, h2 are the gains of the extended state observer, z1, z2 are the estimated values ​​of the state variables x1, x2 respectively.

[0151] Its control rate can be written as follows:

[0152]

[0153] Where: k0 is the proportional gain of the control law, representing the bandwidth of the control law.

[0154] It can be deduced that the transfer function from the reference signal to the output signal is

[0155]

[0156] However, when the motor is accelerating in a ramp, the rotor position θ m, the system will produce a tracking error e θ .

[0157]

[0158] It can be seen that due to the limited ability of a single extended state observer to estimate disturbances, it is unable to completely suppress disturbances during the motor ramp acceleration process. Therefore, two extended state observers are cascaded. Figure 4 The enhanced single-degree-of-freedom ADRC is explained as follows: the disturbance observed by the original extended state observer 1 is regarded as a known disturbance and added as input to the new extended state observer 2. The newly added extended state observer 2 is used to observe the remaining disturbance that the original extended state observer 1 cannot suppress, and the control law is designed. The extended state observer 2 is designed as:

[0159]

[0160] Where s1 and s2 are the observed value of the state variable x1 and the disturbance observed value except z2, respectively, and h3 and h4 are the gains of the extended state observer, respectively.

[0161] The control law can be designed as:

[0162]

[0163] It can be obtained that the transfer function from the reference signal to the output signal is:

[0164]

[0165] The rotor position θ during the motor ramp acceleration process m , system tracking error e θ for

[0166]

[0167] Therefore, this solution can effectively suppress the acceleration position error in the resolver software decoding.

[0168] according to Figure 5 and Figure 6 As shown in the figure, in the simulation, based on the software decoding algorithms of three different controllers, when the motor rotor acceleration k1 is 720° / s, the rotor position estimation error of the rotary transformer software decoding method based on the PI controller is about 0.29°, the rotor position estimation error of the rotary transformer software decoding method based on the single-degree-of-freedom anti-disturbance controller is about 0.12°, and the rotor position estimation error of the rotary transformer software decoding method based on the enhanced single-degree-of-freedom anti-disturbance controller is 0°. Figure 2 and Figure 7As shown in the figure, when the motor acceleration is 12000r / min / s, the position error of the resolver software decoding method based on the proportional integral controller is 2.2°. Figure 8 , the position error of the resolver software decoding method based on the single-degree-of-freedom anti-disturbance controller is 1°. Fig. 9 , the position error of the resolver software decoding method based on the enhanced single-degree-of-freedom anti-disturbance controller is 0°. The experimental results show that the proposed scheme can effectively suppress the acceleration rotor position error and enhance the driving performance of the motor system. The scheme has the advantage of strong anti-acceleration disturbance capability and can also be used in the speed loop or current loop of the PMSM drive system. In addition, it has the potential for wide application in other industries.

[0169] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0170] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present disclosure. It should be understood that each process and / or block in the flowchart and / or block diagram and the combination of processes and / or blocks in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0171] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0172] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present disclosure rather than to limit its protection scope. Although the present disclosure has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that after reading the present disclosure, those skilled in the art can still make various changes, modifications or equivalent substitutions to the specific implementation methods of the invention, but these changes, modifications or equivalent substitutions are all within the protection scope of the disclosed claims to be approved.

Claims

1. A software decoding method for a rotary transformer based on an enhanced single-degree-of-freedom active disturbance rejection controller. It is characterized in that The method comprises: S1: Obtain the error state equation of the rotor position angle convergence system based on the resolver software decoding system model; S2: construct an extended state observer 1 according to the rotor position error state equation, and use the total disturbance observed by the extended state observer 1 to perform feedforward compensation; S3: The disturbance observed by the extended state observer 1 is regarded as a known disturbance, and is added as input to the new extended state observer 2. The extended state observer 2 is used to observe the remaining disturbance that cannot be suppressed by the extended state observer 1 and perform feedforward compensation; S4: Design a control law, input the disturbance estimated by the extended state observer 1 and the extended state observer 2 into the control law as feedforward compensation, and converge the rotor position error signal during the acceleration process of the permanent magnet synchronous motor.

2. According to claim 1, a software decoding method for a rotary transformer based on an enhanced single-degree-of-freedom active disturbance rejection controller, It is characterized in that The error state equation of the rotor position angle convergence system obtained in step S1 includes: The state equation of the rotor position convergence system is: Among them, u m is the controller output, b is the system gain, d is the total disturbance in the system, To estimate the rotor position signal; Defining the position error signal Get the position error state equation: Among them, θ m Indicates the actual position signal of the rotor, d e is the total disturbance in the position error state equation; The total disturbance d in the position error state equation is e Expand to the new state variable x 2 , the expression of constructing the new state space equation is: Among them, x 1 is the state variable of the position error state equation, x 1 =e θ , x 2 is the new state variable expanded from the total disturbance of the position error state equation, x 2 =d e , y is the output of the position error state equation.

3. According to claim 1, a software decoding method for a rotary transformer based on an enhanced single-degree-of-freedom active disturbance rejection controller, It is characterized in that The step S2 of constructing an extended state observer 1 includes: Among them, z 1 is the state variable x 1 The observed value, z 2 is the state variable x 2 The observed value, h 1 and h 2 is the gain of extended state observer one.

4. According to claim 3, a software decoding method for a rotary transformer based on an enhanced single-degree-of-freedom active disturbance rejection controller, It is characterized in that The extended state observer 2 in step S3 is designed as: Among them, s 1 is the state variable x 1 The observed value, s 2 is divided by z 2 The external disturbance observation value, h 3 and h 4 is the gain of extended state observer 2.

5. According to claim 3, a software decoding method for a rotary transformer based on an enhanced single-degree-of-freedom active disturbance rejection controller, It is characterized in that The control law of step S4 is: Among them, k 0 is the proportional gain in the controller.

6. According to claim 3, a software decoding method for a rotary transformer based on an enhanced single-degree-of-freedom active disturbance rejection controller, It is characterized in that The rotor position error signal during the acceleration of the permanent magnet synchronous motor in step S4 is specifically: Among them, e θ is the system tracking error, G clo_2 (s) is the transfer function from the reference signal to the output signal, s is the frequency domain variable, k 1 is the magnitude of the rotor acceleration.

7. The method for software decoding of a rotary transformer based on an enhanced single-degree-of-freedom active disturbance rejection controller according to claim 6, It is characterized in that The transfer function from the reference signal to the output signal is specifically:

8. A software decoding system for rotary transformer based on enhanced single-degree-of-freedom active disturbance rejection controller, It is characterized in that The system comprises: An error state equation acquisition unit, used to obtain an error state equation of a rotor position angle convergence system according to a resolver software decoding system model; A total disturbance compensation unit is used to construct an extended state observer 1 according to the rotor position error state equation, and perform feedforward compensation using the total disturbance observed by the extended state observer 1; A residual disturbance compensation unit is used to regard the disturbance observed by the extended state observer 1 as a known disturbance, add it as an input to the new extended state observer 2, use the extended state observer 2 to observe the residual disturbance that cannot be suppressed by the extended state observer 1 and perform feedforward compensation; The convergence unit is used for designing a control law, taking the disturbance estimated by the extended state observer 1 and the extended state observer 2 as a feedforward compensation input into the control law, and converging the rotor position error signal during the acceleration process of the permanent magnet synchronous motor.

9. A computer device, Features: It comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor runs the computer program stored in the memory, the processor executes a software decoding method for a rotary transformer based on an enhanced single-degree-of-freedom active disturbance rejection controller according to any one of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of a software decoding method for a rotary transformer based on an enhanced single-degree-of-freedom active disturbance rejection controller as described in any one of claims 1 to 7.

Citation Information

Cited By

  • Current decoupling control method based on improved active disturbance rejection controller

    CN120691786A

  • Current decoupling control method based on improved active disturbance rejection controller

    CN120691786B