A method and device for harmonic current control of an arbitrary delay angle virtual winding motor
By employing an arbitrary delay angle virtual winding current control method in the harmonic control of a virtual winding motor, the problems of slow separation speed and weak noise suppression caused by a fixed delay angle in traditional methods are solved, achieving accurate separation and noise suppression of the fundamental frequency and target harmonics at arbitrary delay angles.
Patent Information
- Application Number
- CN202611552141.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-09
- Publication Date
- 2026-11-27
AI Technical Summary
In traditional virtual winding motor harmonic control methods, the fixed delay angle structure is difficult to achieve accurate separation of the fundamental frequency and harmonics under non-ideal conditions. Furthermore, the separation speed is slow when the delay angle is large, and the noise suppression capability is weak when the delay angle is small.
The harmonic current control method of the motor with arbitrary delay angle is adopted. By selecting an arbitrary virtual delay angle within the range that meets the decoupling conditions, and calculating the analytical reconstruction coefficient according to the target harmonic order and noise gain constraints, the virtual winding current with arbitrary delay angle is constructed to achieve accurate separation of the fundamental frequency and the target harmonic.
Achieving rapid separation of the fundamental frequency and target harmonics under non-ideal delay angles, balancing separation speed and noise suppression capability, adapting to different dynamic requirements, and improving the dynamic response and stability of the control system.
Smart Images

Figure CN123184571A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of harmonic control technology for motor drivers, and in particular to a method and apparatus for controlling harmonic current in a virtual winding motor with arbitrary delay angle. Background Technology
[0002] Permanent magnet synchronous motors (PMSMs) are widely used in new energy vehicles, industrial servos, wind power generation, and home appliances due to their advantages such as high efficiency, high power density, and fast dynamic response. However, in actual drive systems, factors such as inverter dead-zone effect, back EMF distortion, winding parameter imbalance, current sampling error, position measurement error, and external periodic loads introduce harmonic components into the stator current.
[0003] To suppress or actively regulate harmonic currents, traditional multi-synchronous rotating coordinate system methods typically rely on low-pass filters to extract harmonic components. The bandwidth of the low-pass filter limits the harmonic separation speed, dynamic response, and stability. A harmonic current control method based on virtual windings and vector space decoupling constructs a virtual winding with a fixed spatial phase difference from the actual winding, effectively transforming a single- or three-phase motor into a multi-phase system in the control algorithm. Furthermore, it uses vector space decoupling transformation to map the fundamental frequency and target harmonics to different subspaces.
[0004] Traditional virtual windings typically select an ideal fixed delay angle based on the target harmonic order to simulate a specific multiphase motor structure. This type of fixed delay angle structure is simple to implement, but the delay time is determined by both the electrical angular velocity and the delay angle. A larger delay angle requires longer data storage and waiting time, which limits the harmonic separation speed and closed-loop dynamic response.
[0005] Furthermore, the fixed delay angle structure does not explicitly provide a universal analytical relationship for the reconstruction of the fundamental frequency and harmonics under arbitrary delay angles. When the delay angle deviates from the ideal delay angle, if the traditional decoupling matrix is still used, incomplete separation of the fundamental frequency and harmonics is likely to occur. Although reducing the delay angle is beneficial to improving the separation speed, it will also weaken the virtual winding structure's ability to attenuate high-frequency noise and other frequency interferences.
[0006] Therefore, a virtual winding structure is needed that can operate outside of ideal fixed delay angles, can select any delay angle according to target harmonics and operating conditions, and can balance separation speed and noise suppression capability. Summary of the Invention
[0007] In view of this, embodiments of this application provide a method and apparatus for controlling harmonic current of a virtual winding motor with arbitrary delay angle. This method allows for the selection of any virtual delay angle within a range that satisfies the decoupling condition, and calculates analytical reconstruction coefficients based on the target harmonic order and the arbitrary virtual delay angle. Thus, while ensuring accurate separation between the fundamental frequency and the target harmonic, the delay angle can be flexibly configured according to dynamic response and noise suppression requirements.
[0008] According to a first aspect of the embodiments of this application, a method for controlling harmonic current in a virtual winding motor with arbitrary delay angle is provided, comprising: Within one control cycle, the three-phase stator current, rotor electrical angle, and electrical angular velocity of the motor are obtained; Calculate the original winding current based on the three-phase stator current and the rotor electrical angle; The virtual delay angle is determined based on the target harmonic order, harmonic separation time constraint, and noise gain constraint. Based on the virtual delay angle, the electric angular velocity, and the sampled data buffer, construct a virtual winding current with an arbitrary delay angle that differs from the original winding current by the virtual delay angle; Analytical reconstruction coefficients are calculated based on the target harmonic order and the virtual delay angle; Based on the original winding current, the virtual winding current with arbitrary delay angle, and the analytical reconstruction coefficient, calculate the fundamental frequency current component and the target harmonic current component; Based on the fundamental frequency current component and the target harmonic current component, the output voltage of the current controller is calculated, the inverter PWM drive signal is generated, and the closed-loop control of the fundamental frequency current and the target harmonic current is completed.
[0009] According to a second aspect of the embodiments of this application, a harmonic current control device for a virtual winding motor with arbitrary delay angle is provided, comprising: The data acquisition module is used to acquire the three-phase stator current, rotor electrical angle, and electrical angular velocity of the motor within one control cycle. The first calculation module is used to calculate the original winding current based on the three-phase stator current and the rotor electrical angle; The second calculation module is used to determine the virtual delay angle based on the target harmonic order, harmonic separation time constraint, and noise gain constraint. The third calculation module is used to construct a virtual winding current with an arbitrary delay angle that differs from the original winding current by the virtual delay angle, based on the virtual delay angle, the electric angular velocity, and the sampled data buffer. The fourth calculation module is used to calculate the analytical reconstruction coefficients based on the target harmonic order and the virtual delay angle; The fifth calculation module is used to calculate the fundamental frequency current component and the target harmonic current component based on the original winding current, the virtual winding current with arbitrary delay angle, and the analytical reconstruction coefficient. The sixth calculation module is used to calculate the output voltage of the current controller based on the base frequency current component and the target harmonic current component, generate the inverter PWM drive signal, and complete the closed-loop control of the base frequency current and the target harmonic current.
[0010] According to a third aspect of the embodiments of this application, an electronic device is provided, comprising: One or more processors; Memory, used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors perform the method as described in the first aspect.
[0011] According to a fourth aspect of the embodiments of this application, a computer-readable storage medium is provided that stores computer instructions thereon, which, when executed by a processor, implement the steps of the method as described in the first aspect.
[0012] The technical solutions provided by the embodiments of this application may include the following beneficial effects: This application allows for the selection of any virtual delay angle within the range that satisfies the analytical decoupling condition, and calculates the corresponding reconstruction coefficient based on the target harmonic order and the actual delay angle. This overcomes the problem that traditional virtual windings must use a fixed ideal delay angle and are difficult to adapt to different dynamic requirements, thereby enabling accurate separation of the fundamental frequency and the target harmonic current under non-ideal delay angles.
[0013] This application utilizes both harmonic separation time constraints and noise gain constraints to select the virtual delay angle, which can clearly address the contradiction that "the smaller the delay angle, the faster the separation, but the greater the high-frequency noise gain." Furthermore, it allows for quantitative configuration between dynamic performance and noise immunity based on electrical angular velocity, noise level, and controller stability margin.
[0014] The analytical reconstruction coefficients can be calculated in real time, or obtained by reading from a preset lookup table or by interpolating adjacent coefficients. This reduces real-time trigonometric function calculations and adapts to the storage and computing power conditions of different controllers, thereby improving the engineering feasibility of the method. Attached Figure Description
[0015] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0016] Figure 1 This is a flowchart illustrating a harmonic current control method for a virtual winding motor with arbitrary delay angle according to an exemplary embodiment.
[0017] Figure 2 This is a diagram illustrating the relationship between harmonic separation time, harmonic order, and delay angle of a virtual winding with arbitrary delay angle, according to an exemplary embodiment.
[0018] Figure 3 This is a diagram showing the relationship between noise amplification factor, harmonic order, and delay angle in an arbitrary delay angle virtual winding structure according to an exemplary embodiment.
[0019] Figure 4 This is an example of an equivalent transfer function amplitude-frequency gain curve diagram at different delay angles in a virtual winding structure with arbitrary delay angle, wherein (a) is the amplitude-frequency gain curve of the fundamental frequency separation channel and (b) is the amplitude-frequency gain curve of the negative sequence 5th harmonic separation channel.
[0020] Figure 5 This is an exemplary embodiment illustrating an arbitrary delay angle virtual winding at 100 rpm with a virtual delay angle of... The result of the harmonic separation experiment at / 6 is shown in the figure.
[0021] Figure 6 This is an exemplary embodiment illustrating an arbitrary delay angle virtual winding at 100 rpm with a virtual delay angle of... The result of the harmonic separation experiment at / 12.
[0022] Figure 7 This is an exemplary embodiment illustrating an arbitrary delay angle virtual winding at 100 rpm with a virtual delay angle of... The result of the harmonic separation experiment at / 30 is shown in the figure.
[0023] Figure 8 This is an exemplary embodiment illustrating an arbitrary delay angle virtual winding at a virtual delay angle of... / 6. Harmonic separation experiment results at 200 rpm.
[0024] Figure 9 This is an exemplary embodiment illustrating an arbitrary delay angle virtual winding at a virtual delay angle of... / 6. Harmonic separation experiment results at 500 rpm.
[0025] Figure 10 This is an exemplary embodiment illustrating an arbitrary delay angle virtual winding at a virtual delay angle of... / 6. Harmonic separation experiment results at 1000 rpm.
[0026] Figure 11 This is an exemplary embodiment illustrating an arbitrary delay angle virtual winding structure at 500 rpm and a virtual delay angle of... The experimental results of the closed-loop dynamic regulation characteristics at / 6 are shown in the figure.
[0027] Figure 12 This is an exemplary embodiment illustrating an arbitrary delay angle virtual winding structure at 500 rpm and a virtual delay angle of... The experimental results of the closed-loop dynamic regulation characteristics at / 12 are shown in the figure.
[0028] Figure 13This is an exemplary embodiment illustrating an arbitrary delay angle virtual winding structure at 500 rpm and a virtual delay angle of... Experimental results of closed-loop dynamic regulation characteristics at / 30.
[0029] Figure 14 This is a block diagram illustrating a harmonic current control device for a virtual winding motor with arbitrary delay angle according to an exemplary embodiment. Detailed Implementation
[0030] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of methods consistent with some aspects of this application as detailed in the appended claims.
[0031] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0032] It should be understood that although the terms first, second, third, etc., may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0033] Figure 1 This is a flowchart illustrating a harmonic current control method for a virtual winding motor with arbitrary delay angle according to an exemplary embodiment, such as... Figure 1 As shown, the method may include the following steps: S1: Within one control cycle, obtain the three-phase stator current, rotor electrical angle, and electrical angular velocity of the motor; Specifically, the phase current sensor and analog-to-digital converter synchronously acquire the three-phase stator current at a preset sampling time, the encoder or rotary transformer acquires the rotor position and converts it into rotor electrical angle; the controller calculates the electrical angular velocity based on the electrical angle change in adjacent control cycles and the known control cycle. Aligning the three types of data within the same control cycle ensures that the current coordinate transformation and virtual delay calculation use a consistent time base.
[0034] (1) in, Indicates the current electric angular velocity. Indicates the control cycle number; and These represent the rotor electrical angles of the current and previous control cycles, respectively. Indicates the current control cycle. (Spanning) At the boundary, the angle difference is first calculated using 2... Periodic expansion and recalculation.
[0035] S2: Calculate the original winding current based on the three-phase stator current and the rotor electrical angle; Specifically, the three-phase stator current acquired in the current control cycle is transformed using Clarke transformation to obtain the static current. The original winding current in the coordinate system is used, with the rotor electrical angle as the phase reference for subsequent rotational coordinate transformations. The original winding current specifically refers to the current in the current control cycle, which is distinct from the historical current read from the cache later, and thus can serve as a real-time reference for virtual windings with arbitrary delay angles.
[0036] (2) (3) in, This represents the three-phase stator current vector. They represent , , Three-phase stator current; Indicates stillness The original winding current vector in the coordinate system; superscript Indicates transpose; This represents the Clarke transformation matrix with equal amplitude.
[0037] S3: Determine the virtual delay angle based on the target harmonic order, harmonic separation time constraint, and noise gain constraint; Specifically, the traditional ideal delay angle is first determined based on the target harmonic order, and prohibited delay angles are excluded based on the condition that the denominator of the analytical reconstruction coefficients is non-zero. Then, within the selectable range of greater than zero and not greater than the traditional ideal delay angle, the actual virtual delay angle is determined by combining the maximum allowable harmonic separation time and the upper limit of noise gain. Reducing the delay angle can proportionally shorten the harmonic separation time, but it will increase the high-frequency noise gain and the amplitude gain of other non-target frequency disturbances. Therefore, the above constraints are used to make a quantifiable choice between dynamic response speed and noise and disturbance rejection performance.
[0038] (4) in, Indicates the target harmonic order A fixed, traditional ideal delay angle.
[0039] S4: Based on the virtual delay angle, the electrical angular velocity, and the sampled data buffer, construct a virtual winding current with an arbitrary delay angle that differs from the original winding current by the virtual delay angle; this step includes the following sub-steps: S41: Calculate the virtual delay time based on the virtual delay angle and the electric angular velocity; Specifically, the virtual delay angle is converted into the time required for the electrical angle to rotate through that angle, i.e., the virtual delay angle is divided by the current electrical angular velocity to obtain the virtual delay time. This conversion allows the virtual winding to adapt to the electrical angular velocity: as the rotational speed increases, the time corresponding to the same electrical angle shortens, and as the rotational speed decreases, the corresponding time lengthens.
[0040] (5) in, Indicates the first The virtual delay time for each control cycle; Indicates the virtual delay angle; This represents the current electrical angular velocity; the absolute value is used to ensure that the delay time is positive. The selectable range should also simultaneously satisfy the non-zero denominator condition of equation (12), the separation speed condition of equation (17), and the upper limit of noise gain of equation (24).
[0041] S42: Determine the delay index in the sampling data buffer based on the virtual delay time; Specifically, the number of control cycles required for the delay is obtained by dividing the virtual delay time by the control cycle, and the delay index is determined according to the discrete indexing rules of the digital cache. The cache counts backwards from the current write position, so the index represents the number of control cycles that need to be traced back, rather than the new physical winding number.
[0042] (6) in, Indicates the theoretically delayed index; Indicates the current control cycle. When using integer cache addresses... Rounding is performed according to preset rules; when fractional delay is used, the data is reconstructed by interpolation of adjacent integer index samples.
[0043] S43: Read the original winding current at the delay time according to the delay index, and record the original winding current at the delay time as the virtual winding current of arbitrary delay angle. Specifically, the controller moves the delay index from the current write position in the sampling data buffer towards the historical direction, reads the original winding current stored in the historical control cycle, and records it as the virtual winding current with an arbitrary delay angle. The electrical angle difference between the current in the current control cycle and the historical current is the selected virtual delay angle, thus obtaining a second set of current observation information without adding physical windings.
[0044] (7) in, Represents the virtual winding current vector with arbitrary delay angle; subscript Represents a virtual winding with an arbitrary delay angle; Indicates the original winding current; This indicates the corresponding historical sampling location.
[0045] S5: Calculate the analytical reconstruction coefficients based on the target harmonic order and the virtual delay angle; Specifically, this step can be done in the following three ways: (1) Calculate the analytical reconstruction coefficients for reconstructing the fundamental frequency current component and the target harmonic current component based on the target harmonic order and the virtual delay angle; Specifically, based on equation (8), the phase equations of the fundamental frequency and the target harmonic in the original winding and the virtual winding with arbitrary delay angle are established, and the analytical reconstruction relationships and coefficients shown in equations (9) to (11) are obtained by solving. This method directly uses the target harmonic order. And actual virtual delay angle The calculation coefficients are suitable for situations where the controller resources can handle real-time trigonometric function calculations.
[0046] (2) Alternatively, based on the target harmonic order and the virtual delay angle, the analytical reconstruction coefficients are read from a preset lookup table; Specifically, analytical reconstruction coefficients are pre-calculated for different target harmonic orders and virtual delay angles, and stored in a lookup table using a two-dimensional index. During runtime, the corresponding coefficients are directly read based on the current target harmonic order and virtual delay angle. This method shifts real-time trigonometric function calculations to an offline stage, which can shorten the calculation time within a single control cycle.
[0047] (3) Alternatively, based on the target harmonic order and the virtual delay angle, interpolate the adjacent coefficients in the preset lookup table to obtain the analytical reconstruction coefficients.
[0048] Specifically, when the current virtual delay angle lies between two adjacent sampling angles in the lookup table, two sets of adjacent coefficients are read and linearly interpolated according to the position of the virtual delay angle within that interval to obtain approximate analytical reconstruction coefficients. This method can improve coefficient resolution while limiting the lookup table capacity, balancing storage resources and reconstruction accuracy.
[0049] When the control system simultaneously has a base frequency and During the second harmonic, the current expressions for the original winding and the virtual winding with arbitrary delay angle are shown in equation (8): (8) in, and These represent the original winding currents at... shaft and Components on the axis; and These represent the virtual winding currents at arbitrary delay angles. shaft and Components on the axis; and These represent the fundamental frequency and the target harmonic current amplitude, respectively. Indicates the rotor electrical angle; and These represent the initial phase angles of the fundamental frequency and the target harmonic, respectively. Indicates the target harmonic order; This represents the actual virtual delay angle. Solving equation (8) yields the analytical separation relation of equation (9).
[0050] (9) Analytical reconstruction coefficients in equation (9) , , It can be obtained from equation (10); where , , These represent the three dimensionless coefficients in the analytically reconstructed matrix.
[0051] (10) Let the actual virtual delay angle be... Compared with the traditional ideal delay angle The deviation between them is , that is Substituting this relationship into the aforementioned analytical reconstruction coefficients and utilizing the properties of trigonometric functions, we can obtain the subsequent simplified formula.
[0052] Will Substituting into equation (10), the analytical reconstruction coefficients can be simplified to equation (11).
[0053] (11) To ensure that the denominator of the analytical reconstruction relation does not have a zero value, the virtual delay angle should also satisfy the constraint condition of equation (12); where Represents an arbitrary integer index.
[0054] (12) To reduce the computational load of real-time trigonometric functions, different... and The corresponding coefficients are compiled into a lookup table, and approximate analytical coefficients are obtained in the controller by looking up the table or by linear interpolation of adjacent points.
[0055] S6: Calculate the fundamental frequency current component and the target harmonic current component based on the original winding current, the virtual winding current with arbitrary delay angle, and the analytical reconstruction coefficient; Specifically, the original winding current of the current control cycle and the virtual winding current with arbitrary delay angle obtained according to the delay index are combined to form a current vector, which is then multiplied by the analytical reconstruction matrix corresponding to equation (9) or equation (11) to obtain the fundamental frequency current component and the target harmonic current component, respectively. Since the reconstruction coefficient is adjusted with the actual virtual delay angle, even if Not equal to It can also eliminate separation errors caused by fixed matrix mismatch.
[0056] Based on the analytical reconstruction coefficients, the original winding current and the virtual winding current with arbitrary delay angle are linearly reconstructed, and the fundamental frequency current component and the target harmonic current component are mapped to the corresponding subspaces to obtain the fundamental frequency current component and the target harmonic current component.
[0057] S7: Based on the fundamental frequency current component and the target harmonic current component, calculate the output voltage of the current controller, generate the inverter PWM drive signal, and complete the closed-loop control of the fundamental frequency current and the target harmonic current; this step includes the following sub-steps: S71: Transform the fundamental frequency current component and the target harmonic current component to the corresponding rotating coordinate system respectively, calculate the fundamental frequency voltage command based on the fundamental frequency current reference value and the fundamental frequency current component, and calculate the harmonic voltage command based on the target harmonic current reference value and the target harmonic current component. Specifically, the separated fundamental frequency current and target harmonic current are transformed to their respective synchronous rotating coordinate systems, and the difference between these coordinates and the corresponding current reference values is input to the fundamental frequency current regulator and the harmonic current regulator to obtain the fundamental frequency voltage command and the harmonic voltage command, respectively. Separating the components before adjusting them independently avoids one regulator treating another frequency component as an error and repeatedly compensating for it.
[0058] (13) (14) in, and These represent the fundamental frequency and target harmonic current feedback vectors, respectively; the superscript * indicates a reference value or command value. and These represent the current error vectors of the two channels, respectively. ( ) and ( ) These represent the fundamental frequency and target harmonic current regulators, respectively. Represents the Laplace operator; and These represent the voltage command vectors for the two channels, respectively.
[0059] S72: Combine the base frequency voltage command and the harmonic voltage command into a stator voltage reference value, and generate the inverter PWM drive signal based on the stator voltage reference value.
[0060] Specifically, the two types of voltage commands are transformed to the same stationary coordinate system and superimposed to form a stator voltage reference value. Then, the inverter drive signal is generated through space vector PWM or other PWM methods. In this way, the current separation result at any delay angle is used for actual voltage control, realizing closed-loop regulation of the fundamental frequency and target harmonic current.
[0061] (15) in, This represents the stator voltage reference vector fed into the PWM modulator; PWM stands for Pulse Width Modulation; the modulator combines the DC bus voltage to generate the duty cycle or equivalent switching drive signal for each inverter bridge arm.
[0062] According to the analytical relationship, the harmonic separation time can be calculated by equation (16) and compared with the virtual delay angle. Proportional. To avoid the structure with arbitrary delay angles being slower than the traditional structure, It is advisable to satisfy formula (17): (16) in, Indicates the harmonic separation time; Indicates electric angular velocity; Represents the fundamental frequency, and | |=2 ; This represents the actual virtual delay angle.
[0063] (17) Assuming that both the original winding current and the virtual winding current are composed of an ideal component and random high-frequency white noise superposition, it can be expressed as equation (18). Where the subscript... Represents the noise-free ideal current component; , , and These represent the zero-mean white noise of the four input channels, respectively.
[0064] (18) When the input noises are independent and of equal intensity, their standard deviation satisfies equation (19). , , and These represent the standard deviations of each noise component; This represents the standard deviation of the input noise.
[0065] (19) Substituting the noise component of equation (18) into the analytical reconstruction matrix, we obtain equation (20). , , - and - These represent the noise in the two-axis components of the fundamental frequency and the target harmonic after separation, respectively.
[0066] (20) Since the four output noises have the same intensity, the output standard deviation can be calculated using equation (21). This represents the noise standard deviation of any separated output component.
[0067] (twenty one) Define noise gain The ratio of the standard deviation of the output noise to the standard deviation of the input noise is given by the general expression shown in equation (22). It is a dimensionless quantity. , , The meaning is the same as in formula (10).
[0068] (twenty two) Substituting the analytical reconstruction coefficients of equation (11) into equation (22) and simplifying, we can obtain the closed-form expression for the noise gain of equation (23).
[0069] (twenty three) The extreme value condition for noise gain is shown in equation (24). and These represent the maximum and minimum values of the noise gain, respectively. Represents a set of integers.
[0070] (twenty four) when From 0 When the interval changes, The smaller the value, the shorter the harmonic separation time, but the greater the noise gain; near At this time, the noise attenuation capability is good, but the separation speed is relatively slow. Therefore, this application can select based on the maximum allowable noise gain, target separation time, electrical angular velocity, and storage capacity. .
[0071] To illustrate the ability of arbitrary delay angle structure to suppress other non-target harmonics, taking the separation of fundamental frequency and negative sequence 5th harmonic as an example, equation (9) is converted into complex form to obtain equation (25).
[0072] (25) Substituting the coefficients of equation (11) into equation (25) and simplifying, we can obtain the equivalent transfer function of equation (26).
[0073] (26) in, = + , = + ; Represents the imaginary unit; ( ) and ( ) These represent the equivalent transfer functions of the fundamental frequency and the negative 5th harmonic separation channels, respectively. Indicates the retardation angle deviation; Indicates the fundamental frequency; For natural constants; subscript This represents a virtual winding with an arbitrary delay angle. This example illustrates... When the amplitude gain of non-target high-order frequency bands is reduced, it will increase.
[0074] Figure 2 The diagram shows that the harmonic separation time of a virtual winding with an arbitrary delay angle increases linearly with the increase of the actual delay angle. The ideal delay angle and the forbidden value region are marked, indicating that reducing the actual delay angle can shorten the separation time. Figure 3 The noise gain is shown to vary periodically with harmonic order and actual delay angle: the noise gain tends to infinity at the forbidden delay angle and reaches a smaller value near odd multiples of the conventional ideal delay angle, revealing the trade-off between separation speed and noise suppression capability. Figure 4In the figure, (a) is the amplitude-frequency gain curve of the fundamental frequency separation channel, and (b) is the amplitude-frequency gain curve of the negative 5th harmonic separation channel. The two channels achieve the passage of the target component and the suppression of another component at the fundamental frequency and the negative 5th harmonic, respectively. When the actual delay angle decreases, the main lobe widens and the non-target higher harmonic gain increases.
[0075] Figures 5 to 7 The harmonic separation results at different delay angles at 100 rpm are shown, where Figure 5 , Figure 6 and Figure 7 The corresponding virtual delay angles are respectively 6、 / 12 and / 30. The harmonic separation times at the three delay angles are 12.9ms, 6.12ms, and 2.53ms, respectively, which are consistent with the theoretical values of 12.5ms, 6.25ms, and 2.5ms; the corresponding steady-state separation noise peak-to-peak values are 0.09A, 0.12A, and 0.31A, respectively. A comparison of the three figures shows that reducing the delay angle can shorten the separation time, but it will significantly increase the high-frequency noise.
[0076] Figures 8 to 10 The virtual delay angle is shown as Harmonic separation results at different speeds at / 6, where Figure 8 , Figure 9 and Figure 10 The corresponding speeds are 200 rpm, 500 rpm, and 1000 rpm. The separation times are 6.37 ms, 2.41 ms, and 1.22 ms, respectively, while the peak-to-peak values of the steady-state separation noise are approximately 0.09 A, 0.09 A, and 0.11 A. This shows that increasing the rotational speed can shorten the time delay corresponding to the same electrical angle, while having a relatively small impact on the steady-state noise.
[0077] Figures 11 to 13 The closed-loop dynamic adjustment results at different delay angles are shown when the control parameters are the same and the rpm is 500 rpm. Figure 11 , Figure 12 and Figure 13 The corresponding virtual delay angles are respectively 6、 / 12 and / 30, the dynamic overshoot of harmonic currents are 0.23A, 0.21A and 0.13A respectively. As can be seen from the three figures, reducing the delay angle within the noise tolerance range can reduce the dynamic overshoot and improve the closed-loop stability margin by shortening the harmonic separation time.
[0078] In summary, this application proposes a method for controlling harmonic current in a virtual winding motor with arbitrary delay angle. The innovation of this method lies in determining the virtual delay angle based on the target harmonic order, harmonic separation time constraints, and noise gain constraints, and calculating the analytical reconstruction coefficients based on the target harmonic order and the virtual delay angle. Based on this method, accurate separation of the fundamental frequency and the target harmonic can be achieved under arbitrary delay angle conditions, and a quantifiable trade-off can be made between separation speed and high-frequency noise attenuation capability according to engineering requirements.
[0079] Corresponding to the aforementioned embodiments of the harmonic current control method for a virtual winding motor with arbitrary delay angle, this application also provides embodiments of a harmonic current control device for a virtual winding motor with arbitrary delay angle.
[0080] Figure 14 This is a block diagram illustrating a harmonic current control device for a virtual winding motor with an arbitrary delay angle, according to an exemplary embodiment. (Refer to...) Figure 14 The device includes: Acquisition module 1 is used to acquire the three-phase stator current, rotor electrical angle, and electrical angular velocity of the motor within one control cycle; The first calculation module 2 is used to calculate the original winding current based on the three-phase stator current and the rotor electrical angle; The second calculation module 3 is used to determine the virtual delay angle based on the target harmonic order, harmonic separation time constraint, and noise gain constraint; The third calculation module 4 is used to construct a virtual winding current with an arbitrary delay angle that differs from the original winding current by the virtual delay angle, based on the virtual delay angle, the electric angular velocity, and the sampled data buffer. The fourth calculation module 5 is used to calculate the analytical reconstruction coefficients based on the target harmonic order and the virtual delay angle; The fifth calculation module 6 is used to calculate the fundamental frequency current component and the target harmonic current component based on the original winding current, the virtual winding current with arbitrary delay angle, and the analytical reconstruction coefficient. The sixth calculation module 7 is used to calculate the output voltage of the current controller based on the base frequency current component and the target harmonic current component, generate the inverter PWM drive signal, and complete the closed-loop control of the base frequency current and the target harmonic current.
[0081] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0082] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this application according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0083] Accordingly, this application also provides an electronic device, including: one or more processors; a memory for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the arbitrary delay angle virtual winding motor harmonic current control method as described above.
[0084] Accordingly, this application also provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the harmonic current control method for a virtual winding motor with arbitrary delay angle as described above.
[0085] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this application are indicated by the claims.
[0086] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A method for controlling harmonic current in a virtual winding motor with arbitrary delay angle, characterized in that, include: Within one control cycle, the three-phase stator current, rotor electrical angle, and electrical angular velocity of the motor are obtained; Calculate the original winding current based on the three-phase stator current and the rotor electrical angle; The virtual delay angle is determined based on the target harmonic order, harmonic separation time constraint, and noise gain constraint. Based on the virtual delay angle, the electric angular velocity, and the sampled data buffer, construct a virtual winding current with an arbitrary delay angle that differs from the original winding current by the virtual delay angle; Analytical reconstruction coefficients are calculated based on the target harmonic order and the virtual delay angle; Based on the original winding current, the virtual winding current with arbitrary delay angle, and the analytical reconstruction coefficient, calculate the fundamental frequency current component and the target harmonic current component; Based on the fundamental frequency current component and the target harmonic current component, the output voltage of the current controller is calculated, the inverter PWM drive signal is generated, and the closed-loop control of the fundamental frequency current and the target harmonic current is completed.
2. The method according to claim 1, characterized in that, Based on the target harmonic order, harmonic separation time constraint, and noise gain constraint, the virtual delay angle is determined, including: Calculate the conventional ideal delay angle based on the target harmonic order; Based on the traditional ideal delay angle and the preset prohibition conditions, the selectable range of the virtual delay angle is determined; Based on the harmonic separation time constraint and noise gain constraint, the virtual delay angle is selected within the selectable range of the virtual delay angle.
3. The method according to claim 1, characterized in that, Based on the virtual delay angle, the electrical angular velocity, and the sampled data buffer, construct a virtual winding current with an arbitrary delay angle that differs from the original winding current by the virtual delay angle, including: Calculate the virtual delay time based on the virtual delay angle and the electric angular velocity; Determine the delay index in the sampled data cache based on the virtual delay time; The original winding current at the delay time is read according to the delay index, and the original winding current at the delay time is recorded as the virtual winding current at any delay angle.
4. The method according to claim 1, characterized in that, Based on the target harmonic order and the virtual delay angle, the analytical reconstruction coefficients are calculated, including: Based on the target harmonic order and the virtual delay angle, calculate the analytical reconstruction coefficients used to reconstruct the fundamental frequency current component and the target harmonic current component; Alternatively, analytical reconstruction coefficients can be read from a preset lookup table based on the target harmonic order and the virtual delay angle; Alternatively, based on the target harmonic order and the virtual delay angle, adjacent coefficients in a preset lookup table can be interpolated to obtain analytical reconstruction coefficients.
5. The method according to claim 1, characterized in that, Based on the original winding current, the virtual winding current with arbitrary delay angle, and the analytical reconstruction coefficients, the fundamental frequency current component and the target harmonic current component are calculated, including: Based on the analytical reconstruction coefficients, the original winding current and the virtual winding current with arbitrary delay angle are linearly reconstructed, and the fundamental frequency current component and the target harmonic current component are mapped to the corresponding subspaces to obtain the fundamental frequency current component and the target harmonic current component.
6. The method according to claim 1, characterized in that, Based on the fundamental frequency current component and the target harmonic current component, the output voltage of the current controller is calculated, and the inverter PWM drive signal is generated, including: The fundamental frequency current component and the target harmonic current component are transformed to their respective rotating coordinate systems. The fundamental frequency voltage command is calculated based on the fundamental frequency current reference value and the fundamental frequency current component. The harmonic voltage command is calculated based on the target harmonic current reference value and the target harmonic current component. The base frequency voltage command and the harmonic voltage command are combined into a stator voltage reference value, and the inverter PWM drive signal is generated based on the stator voltage reference value.
7. A harmonic current control device for a virtual winding motor with arbitrary delay angle, characterized in that, include: The data acquisition module is used to acquire the three-phase stator current, rotor electrical angle, and electrical angular velocity of the motor within one control cycle. The first calculation module is used to calculate the original winding current based on the three-phase stator current and the rotor electrical angle; The second calculation module is used to determine the virtual delay angle based on the target harmonic order, harmonic separation time constraint, and noise gain constraint. The third calculation module is used to construct a virtual winding current with an arbitrary delay angle that differs from the original winding current by the virtual delay angle, based on the virtual delay angle, the electric angular velocity, and the sampled data buffer. The fourth calculation module is used to calculate the analytical reconstruction coefficients based on the target harmonic order and the virtual delay angle; The fifth calculation module is used to calculate the fundamental frequency current component and the target harmonic current component based on the original winding current, the virtual winding current with arbitrary delay angle, and the analytical reconstruction coefficient. The sixth calculation module is used to calculate the output voltage of the current controller based on the base frequency current component and the target harmonic current component, generate the inverter PWM drive signal, and complete the closed-loop control of the base frequency current and the target harmonic current.
8. An electronic device, characterized in that, include: One or more processors; Memory, used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-6.
9. A computer-readable storage medium storing computer instructions thereon, characterized in that, When executed by the processor, this instruction implements the steps of the method as described in any one of claims 1-6.
