Low-pass phase-locked loop position estimation method and system based on phase correction
By performing low-pass filtering and phase compensation on the rotational speed data before integrating the phase-locked loop VCO, the phase lag deviation and chattering problems in the sliding mode flux observer phase-locked loop position estimator are solved, and the estimation of angle and rotational speed is improved. accuracy and control performance.
Patent Information
- Application Number
- CN202410816739.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-09-27
AI Technical Summary
The existing phase-locked loop position estimator based on the sliding mode flux observer has phase lag deviation and speed buffeting phenomena, which affects the speed loop control performance and angle feedback accuracy.
Before integrating the phase-locked loop VCO, perform low-pass filtering on the rotational speed data, smooth the rotational speed data, perform phase compensation according to the phase-frequency characteristics of the loop filter, and output an angle estimate to improve angle estimation accuracy and rotational speed loop stability.
The chattering error of speed estimation is reduced, the angle estimation accuracy and speed loop control performance are improved, and the motor control effect is optimized.
Smart Images

Figure CN118713530A
Abstract
Description
Technical Field
[0001] The present application relates to an electromechanical control system, and in particular to a low-pass phase-locked loop position estimation method and system based on phase correction. Background Art
[0002] Sliding mode flux observer is a technique used in motor control to sense the magnitude and direction of the motor flux in real time. The sliding mode flux observer measures the current and voltage signals in the motor windings and uses these signals and the mathematical model of the motor to estimate the flux. The sliding mode flux observer is widely used in high-performance motor control and drive systems, such as electric vehicles, industrial automation and other fields.
[0003] The phase-locked loop position estimator based on the sliding mode flux observer is a position estimation method that combines the sliding mode flux observation technology and the phase-locked loop (PLL) principle. It is mainly used in motor systems such as permanent magnet synchronous motors (PMSM) to achieve accurate estimation of the motor rotor position. The existing phase-locked loop position estimator based on the sliding mode flux observer is essentially a phase tracking strategy. The phase error is eliminated through proportional-integral (PI) adjustment to obtain the corresponding target data, but the loop filter (LF) link of the phase-locked loop will produce a phase lag deviation, resulting in a certain error in the angle estimation. Therefore, the speed estimation in the existing phase-locked loop position estimator based on the sliding mode flux observer still has a jitter phenomenon, resulting in poor speed loop performance, affecting the speed loop control performance and angle feedback accuracy. Summary of the invention
[0004] Based on the problems existing in the prior art, the present invention provides a low-pass phase-locked loop position estimation method and system based on phase correction. The present invention performs low-pass filtering on the speed data before the phase-locked loop VCO integration to make the speed data smoother and improve the speed loop control performance. Phase compensation is performed in the phase-locked loop VCO link according to the LF filter phase-frequency characteristics to improve the angle estimation accuracy.
[0005] In a first aspect of the present invention, the present invention provides a low-pass phase-locked loop position estimation method based on phase correction, the method comprising:
[0006] The phase error of the acquired back electromotive force observation data is eliminated by a loop filter to obtain the speed data;
[0007] Inputting the speed data into a low-pass filter for filtering, and outputting smoothed speed data as speed feedback;
[0008] The speed data is input into a voltage controlled oscillator for integration, phase compensation is performed according to the phase-frequency characteristic of a loop filter, and an angle estimation value is output as angle feedback.
[0009] In a second aspect of the present invention, the present invention further provides a low-pass phase-locked loop position estimation system based on phase correction, the system comprising:
[0010] A loop filter is used to eliminate the phase error of the back electromotive force observation data to obtain the speed data;
[0011] A low-pass filter, used for inputting the rotation speed data into the low-pass filter for filtering, and outputting smoothed rotation speed data as speed feedback;
[0012] The voltage controlled oscillator is used to integrate the rotation speed data, perform phase compensation according to the phase-frequency characteristic of the loop filter, and output an angle estimation value as angle feedback.
[0013] Furthermore, the system also includes a sliding mode flux observer for acquiring back electromotive force observation data.
[0014] Beneficial effects of the present invention:
[0015] The present invention improves the estimation accuracy and speed estimation smoothness of the traditional phase-locked loop position estimator through filtering and smoothing processing of a low-pass filter and a phase compensation method based on phase-frequency characteristics. The speed is low-pass filtered before the phase-locked loop VCO is integrated, and this data is output to the speed control loop for speed feedback, thereby improving the stability of the speed loop of the permanent magnet synchronous motor position sensorless control system; after the phase-locked loop VCO is integrated, phase compensation is performed according to the phase-frequency characteristics of the phase-locked loop LF filter to eliminate the phase lag caused by filtering, and this data output is used as the control system angle feedback to improve the position estimation accuracy. The present invention reduces the speed estimation jitter error, improves the speed loop control performance, reduces the angle estimation phase deviation, and improves the angle estimation accuracy. The above two aspects improve the performance of the phase-locked loop position estimator and optimize the motor control effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is an architecture diagram of a low-pass phase-locked loop position estimation system based on phase correction according to an embodiment of the present invention;
[0017] Figure 2 is a flow chart of a low-pass phase-locked loop position estimation method based on phase correction according to an embodiment of the present invention;
[0018] Figure 3 It is an operation flow chart of a low-pass phase-locked loop position estimation method based on phase correction according to an embodiment of the present invention. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] Figure 1 : is a low-pass phase correction phase-locked loop position estimation system architecture diagram of an embodiment of the present invention, such as Figure 1 As shown, the phase-locked loop position estimation system includes:
[0021] A loop filter is used to eliminate the phase error of the back electromotive force observation data to obtain the speed data;
[0022] A low-pass filter, used for inputting the rotation speed data into the low-pass filter for filtering, and outputting smoothed rotation speed data as speed feedback;
[0023] The voltage controlled oscillator is used to integrate the rotation speed data, perform phase compensation according to the phase-frequency characteristic of the loop filter, and output an angle estimation value as angle feedback.
[0024] In a preferred embodiment of the present invention, the system further comprises a sliding mode flux observer for acquiring back electromotive force observation data.
[0025] In the present invention, the back electromotive force observation data E is obtained by the sliding mode flux observer, the data E is input into the phase-locked loop position estimator, the phase error is eliminated by the LF filter, and the speed data V is output. LF , when the data V LF Before being input into the phase-locked loop VCO for integration, a low-pass filter is performed, and the smoothed speed data V after filtering is LPF The output is used as speed feedback to the motor speed loop control system to improve the speed loop control performance. LF The input is sent to the VCO for integration, and phase compensation is performed according to the phase-frequency characteristics of the LF filter to output the angle estimation value θ e , as the angle feedback of the motor sensorless control system, improving the angle estimation accuracy.
[0026] Figure 2 is a flow chart of a low-pass phase-locked loop position estimation method based on phase correction according to an embodiment of the present invention. Figure 2 As shown, the method includes:
[0027] 101. Eliminate the phase error of the back electromotive force observation data through a loop filter to obtain the speed data;
[0028] In the embodiment of the present invention, it is assumed that the motor is a surface-mounted motor. According to the principle of electromechanics, the following voltage equation is obtained:
[0029] U d =R×i d -w×L×i q (1)
[0030] U q =R×i q +w×L×i d +E (2)
[0031] Where: R is the phase resistance; L is the phase inductance; ω is the motor speed; E is the back electromotive force observation data. In the two-phase stationary coordinate system, E can be calculated from E α and E β The back-EMF observation data E represents the back-EMF observation data in the α direction and the back-EMF observation data in the β direction, respectively, wherein the back-EMF observation data can be obtained by the sliding mode flux observer. In this embodiment, the back-EMF observation data E needs to be input into the phase-locked loop position estimator for the phase-locked loop position estimator to perform position estimation, wherein the position estimation includes speed estimation and angle estimation.
[0032] In an embodiment of the present invention, the phase error of the back electromotive force observation data is eliminated through a loop filter to obtain the speed data, including phase tracking of the acquired back electromotive force observation data, when there is an error between the angle estimation value and the actual angle value, there is a back electromotive force component on the d-axis; the error phase between the acquired back electromotive force observation data and the d-axis back electromotive force component is eliminated, and when the sine value of the angle estimation value approaches the value of the angle estimation value, the phase error is calculated; the phase angle when the phase error is 0 is calculated, and the phase angle when the phase error is 0 is used as the speed data.
[0033] Specifically, when the estimated position θ output by the phase-locked loop e When there is an error with the actual rotor position θ, a back electromotive force component E will appear on the d-axis d :
[0034] U d =R×i d -w×L×i q +E d (3)
[0035] E d =U d -R×i d +w×L×i q (4)
[0036] And there is the following relationship:
[0037] E d=E×sinθ err (5)
[0038] E=U q -R×i q -w×L×i d (6)
[0039] When the error is small, the sine value of the angle estimate can be made close to the value of the angle estimate, that is, there is a formula sinθ≈θ, so it can be concluded that:
[0040]
[0041] When θ err When adjusted to 0, w in the formula is the speed data V after eliminating the phase error of the back electromotive force observation data. LF .
[0042] 102. Input the speed data into a low-pass filter for filtering, and output smoothed speed data as speed feedback;
[0043] In the embodiment of the present invention, only a first-order low-pass filter needs to be introduced in the speed output loop to filter the burr noise to avoid excessive phase delay, which may cause the phase-locked loop to missynchronize and operate abnormally. For the first-order low-pass filter, the current S-domain transfer function is assumed to be:
[0044]
[0045] In the process of signal transmission, the following relationship exists:
[0046] z -n Y(z)=y(kn) (9)
[0047] Through discretization and backward difference, the difference equation expression can be obtained:
[0048]
[0049] Where: T is the single step time in the discretization process. The S-domain transfer function is:
[0050]
[0051] Where ω c is the cut-off frequency. Let A be the cut-off coefficient:
[0052]
[0053] The first-order low-pass filter is designed as follows:
[0054] y(k)=(1-A)y(k-1)+A·u(k) (15)
[0055] According to the frequency of the input signal, the cutoff frequency is selected to adjust the signal smoothness. At this time, the filter input is V LF , the output is V LPF For example, the cutoff frequency is selected based on about 10% of the signal frequency. It is understandable that in actual debugging, it can be adjusted around this value according to different performance requirements.
[0056] 103. Input the speed data into a voltage controlled oscillator for integration, perform phase compensation according to the phase-frequency characteristic of a loop filter, and output an angle estimation value as angle feedback.
[0057] In an embodiment of the present invention, the speed data is input into a voltage-controlled oscillator for integration, phase compensation is performed according to the phase-frequency characteristics of the loop filter, and an angle estimation value is output as an angle feedback, including constructing a closed-loop transfer system of the phase-locked loop according to the double pole configuration rule of the PI parameters of the loop filter and the closed-loop transfer function of the phase-locked loop; calculating the frequency value of the closed-loop transfer function of the phase-locked loop according to the phase-frequency characteristic rule; separating the real part and the imaginary part of the frequency value of the closed-loop transfer function to calculate the phase angle; and calculating the current angle estimation value according to the difference between the previous angle estimation value and the phase angle.
[0058] Specifically, the closed-loop transfer function of the phase-locked loop PLL is:
[0059]
[0060] Where: k p , k i is the PI parameter of the LF filter. According to the double pole configuration rule, it can be obtained:
[0061] [k p k i ]=[2ωω 2 ] (17)
[0062] Where ω is the PLL system bandwidth. According to the PLL transfer function G PLL (s), according to the phase-frequency characteristic rule, the phase angle solution process in the PLL system with bandwidth ω can be obtained. Let the transfer function G PLL (s) is transformed into the frequency domain to obtain:
[0063]
[0064] For G PLL (jw) Separate the real and imaginary parts:
[0065]
[0066] From this we can find the phase angle:
[0067]
[0068] According to the relationship in formula (17), the phase angle is as follows:
[0069]
[0070] Therefore, the estimated angle after VCO integration and phase compensation is:
[0071]
[0072] Among them, w e V LF , at this time the input is V LF , the output is θ e ,θ e represents the current angle estimation value; θ represents the angle estimation value of the previous round; represents a phase angle, which is used as a phase compensation value; w e represents the rotation speed data, and ω represents the system bandwidth of the phase-locked loop.
[0073] Figure 3 is an operation flow chart of a low-pass phase-locked loop position estimation method based on phase correction according to an embodiment of the present invention, such as Figure 3 As shown, for the phase-corrected low-pass phase-locked loop position estimation method and system, its operation process can be divided into two stages, including an initial stage and an estimation stage. The initial stage is the initialization of the motor control system, including electrical parameter identification, drive parameter initialization, and sliding mode observer initialization. After the motor is started, the estimation stage is entered in the interruption, and the phase-corrected low-pass phase-locked loop position estimation method is fully implemented.
[0074] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, which can include: ROM, RAM, disk or CD, etc.
[0075] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A low-pass phase-locked loop position estimation method based on phase correction, characterized in that: The method comprises: The phase error of the acquired back electromotive force observation data is eliminated by a loop filter to obtain the speed data; Inputting the speed data into a low-pass filter for filtering, and outputting smoothed speed data as speed feedback; The speed data is input into a voltage controlled oscillator for integration, phase compensation is performed according to the phase-frequency characteristic of a loop filter, and an angle estimation value is output as angle feedback.
2. A low-pass phase-locked loop position estimation method based on phase correction according to claim 1, characterized in that: The method for acquiring the back electromotive force observation data includes acquiring the back electromotive force observation data through a sliding mode flux observer.
3. The method for position estimation based on a low-pass phase-locked loop with phase correction according to claim 1, characterized in that: The phase error of the back-electromotive force observation data is eliminated by a loop filter to obtain the speed data, which includes phase tracking of the acquired back-electromotive force observation data. When there is an error between the angle estimation value and the actual angle value, there is a back-electromotive force component on the d-axis; the error phase between the acquired back-electromotive force observation data and the d-axis back-electromotive force component is eliminated, and when the sine value of the angle estimation value approaches the value of the angle estimation value, the phase error is calculated; the phase angle when the phase error is 0 is calculated, and the phase angle when the phase error is 0 is used as the speed data.
4. A low-pass phase-locked loop position estimation method based on phase correction according to claim 3, characterized in that: The calculation formula of the phase error is expressed as: Among them, θ err Represents the phase error, U d represents the d-axis voltage, U q represents the q-axis voltage, R is the phase resistance; i d represents the d-axis current, i q represents the q-axis current, w represents the motor speed, when θ err When it is 0, the motor speed w corresponds to the speed data, and L represents the phase inductance.
5. The method for position estimation based on a low-pass phase-locked loop with phase correction according to claim 1, characterized in that: The speed data is input into a low-pass filter for filtering, and smooth speed data is output as speed feedback, including selecting a cutoff frequency according to the sliding mode flux observer system response frequency to adjust the signal smoothness.
6. A low-pass phase-locked loop position estimation method based on phase correction according to claim 1, characterized in that: The speed data is input into a voltage controlled oscillator for integration, phase compensation is performed according to the phase-frequency characteristic of the loop filter, and an angle estimation value is output as an angle feedback, including building a closed-loop transfer system of the phase-locked loop according to the double pole configuration rule of the PI parameter of the loop filter and the closed-loop transfer function of the phase-locked loop; and the closed-loop transfer function frequency value of the phase-locked loop is calculated according to the phase-frequency characteristic rule; The real part and the imaginary part of the frequency value of the closed-loop transfer function are separated to calculate the phase angle; the current angle estimation value is calculated based on the difference between the previous angle estimation value and the phase angle.
7. A low-pass phase-locked loop position estimation method based on phase correction according to claim 6, characterized in that: The closed-loop transfer function frequency value of the phase-locked loop is expressed as: Among them, G PLL (jw) represents the closed-loop transfer function frequency value of the phase-locked loop, k p , k i are the proportional coefficient and integral coefficient of the loop filter, [k p k i ]=[2ωω 2 ], ω is the system bandwidth of the phase-locked loop; w e Indicates the motor speed.
8. The method for position estimation based on a low-pass phase-locked loop with phase correction according to claim 6, characterized in that: The calculation formula of the angle estimation value is expressed as: Among them, θ e Indicates the current angle estimate; Indicates the angle estimate of the previous round; represents a phase angle, which is used as a phase compensation value; w e represents the rotation speed data, and ω represents the system bandwidth of the phase-locked loop.
9. A low-pass phase-locked loop position estimation system based on phase correction, characterized in that: The system comprises: A loop filter is used to eliminate the phase error of the acquired back electromotive force observation data to obtain the speed data; A low-pass filter, used for inputting the rotation speed data into the low-pass filter for filtering, and outputting smoothed rotation speed data as speed feedback; The voltage controlled oscillator is used to integrate the rotation speed data, perform phase compensation according to the phase-frequency characteristic of the loop filter, and output an angle estimation value as angle feedback.
10. A low-pass phase-locked loop position estimation system based on phase correction according to claim 9, characterized in that: The system also includes a sliding mode flux observer for acquiring back electromotive force observation data.
Citation Information
Cited By
Permanent magnet synchronous motor back electromotive force reconstruction and position speed extraction method
CN119315888A
A method for back-EMF reconstruction and position and speed extraction of permanent magnet synchronous motor
CN119315888B
Frequency-adaptive sliding-mode observer phase-locked loop for power grid synchronization
CN121727104A
