A method for voltage harmonic injection in a permanent magnet synchronous motor for electric vehicles
By using the voltage harmonic injection method and calibrating harmonic voltage parameters with NVH equipment, the AC and DC axis voltages are directly compensated, which solves the noise and vibration problems caused by harmonics in permanent magnet synchronous motors, reduces hardware burden and noise, expands the harmonic injection range, and improves system performance.
Patent Information
- Application Number
- CN202410127632.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-30
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2044-01-30
AI Technical Summary
In existing permanent magnet synchronous motor control systems, high-order harmonics and time harmonics cause phase current distortion, resulting in a decrease in the smoothness of output torque and system performance loss. Traditional harmonic injection methods have high hardware resource requirements and limited effectiveness.
The voltage harmonic injection method is adopted. Noise and vibration data are collected through NVH equipment, the harmonic voltage injection parameters are calibrated, and the direct and quadrature axis voltage setpoints are directly compensated, reducing the hardware calculation burden, expanding the harmonic injection range, and improving NVH performance.
It reduces noise and vibration, decreases hardware resource requirements, expands the rotational speed range of harmonic injection, improves system performance, and reduces noise by 5-10 dB.
Smart Images

Figure CN117713617B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of motor control technology, and in particular to a method for voltage harmonic injection in a permanent magnet synchronous motor for electric vehicles. Background Technology
[0002] During steady-state operation of a permanent magnet synchronous motor, the dead-time effect of power devices and the voltage drop during conduction cause a large number of low-order harmonics in the three-phase current, known as time harmonics. The distortion of the air gap magnetic field caused by factors such as motor tooth asymmetry and core saturation is known as space harmonics. Both types of harmonics can lead to phase current distortion, resulting in a decrease in the smoothness of the output torque, negatively impacting system performance, and increasing losses in the stator windings and core.
[0003] Permanent magnet synchronous motor control systems inevitably introduce 6K±1 harmonics due to factors such as high-order harmonics in the motor's back EMF, unbalanced three-phase loads, or nonlinearities like dead-time effects and on-state voltage drops in inverter power devices. Here, K is a natural number. To eliminate the influence of high-frequency order noise, software control methods such as harmonic injection are often required. However, traditional harmonic injection methods mostly use current injection, extracting order noise through multiple rotating coordinate systems combined with low-pass filters, and then calculating harmonic suppression compensation voltage using a PI or resonant controller. The drawbacks of this approach are that it requires significant chip hardware resources, introducing at least two sets of coordinate transformation Clark-Park, LPF, and current PI circuits, placing a heavy burden on the CPU load. Furthermore, due to limitations imposed by the carrier frequency, the current bandwidth is limited, requiring closed-loop control for high-frequency currents. Often, the applied harmonic current fails to reach the expected given current, resulting in less than ideal actual harmonic injection performance. Summary of the Invention
[0004] This invention proposes a voltage harmonic injection method to directly compensate for the direct and quadrature axis voltage setpoints. It has low requirements for hardware performance such as the main chip's calculation speed, is not affected by the carrier frequency, can expand the rotational speed range of harmonic injection, and is easy to implement with good measured control effect.
[0005] The technical solution adopted by this application to solve its technical problem is: to provide a method for voltage harmonic injection in a permanent magnet synchronous motor for electric vehicles, comprising the following steps:
[0006] S1: Use NVH equipment to collect noise and vibration data of the vehicle at different speeds and torques, and filter out the working range of speed and torque when the noise and vibration are large, for use in NVH calibration of the automotive electric axle assembly;
[0007] S2: Based on the speed and torque operating range with high noise and vibration selected in S1, design the data points to be calibrated for harmonic voltage injection; start testing from the 5th harmonic voltage, scan and inject at fixed intervals within the range of 0 to 2π, observe the changes in the set order frequency or noise value online, determine the phase angle of the harmonic injection voltage, and then increase the amplitude of the harmonic injection voltage until the noise or vibration becomes large; then test the 7th harmonic voltage, and after scanning all the speed and torque ranges that require harmonic injection, record the amplitude and phase angle information of the 5th and 7th harmonic injection voltages in a two-dimensional program table;
[0008] S3: Based on the data recorded in the two-dimensional program table calibrated in S2, calculate the total d-axis voltage u with 5th and 7th harmonics. d and q-axis total voltage u q ;
[0009] S4: In actual operation, after determining the speed and torque range that need to be improved, the amplitude and phase of the harmonic injection voltage that need to be compensated are retrieved through the two-dimensional program table described in S2 in order to improve the NVH performance of the bridge assembly.
[0010] Further, the d-axis total voltage u mentioned in step S3 d and q-axis total voltage u q The derivation process is as follows:
[0011] The three-phase voltage with 5th and 7th harmonics has the following equation in the abc coordinate system:
[0012] u a =u1 sin(ωt+θ1)+u5 sin(-5ωt+θ5)+u7 sin(7ωt+θ7)
[0013] u b =u1 sin(ωt+θ1-2 / 3π)+u5 sin(-5ωt+θ5-2 / 3π)+u7 sin(7ωt+θ7-2 / 3π)
[0014] u c =u1 sin(ωt+θ1+2 / 3π)+u5 sin(-5ωt+θ5+2 / 3π)+u7 sin(7ωt+θ7+2 / 3π)
[0015] Where u1, u5 and u7 are the amplitudes of the fundamental voltage, the 5th harmonic voltage and the 7th harmonic voltage, respectively, and θ1, θ5 and θ7 are the initial phase angles of the fundamental voltage, the 5th harmonic voltage and the 7th harmonic voltage, respectively.
[0016] Furthermore, treating the 5th negative sequence harmonic voltage as a positive sequence harmonic voltage, the following equivalent equation is obtained by adjusting the phase sequence relationship:
[0017] u a =u1 sin(ωt+θ1)+u5 sin(5ωt+θ5)+u7 sin(7ωt+θ7)
[0018] u b =u1 sin(ωt+θ1-2 / 3π)+u5 sin(5ωt+θ5+2 / 3π)+u7 sin(7ωt+θ7-2 / 3π)
[0019] u c =u1 sin(ωt+θ1+2 / 3π)+u5 sin(5ωt+θ5-2 / 3π)+u7 sin(7ωt+θ7+2 / 3π)
[0020] Furthermore, for ease of control, an abc-dq coordinate transformation is performed on the coordinate system to obtain the equivalent voltage equation in the dynamic coordinate system. The total voltage u along the d-axis mentioned in step S3... d and q-axis total voltage u q The calculation formula is:
[0021] u d =u d1 +u5 sin(6ωt+θ5)+u7 sin(6ωt+θ7) (1)
[0022] u q =u q1 +u5 cos(6ωt+θ5)-u7cos(6ωt+θ7) (2)
[0023] Where u5 and u7 are the amplitudes of the 5th and 7th harmonic voltages, respectively; θ5 and θ7 are the initial phase angles of the 5th and 7th harmonic voltages, respectively; ω is the electrical angular velocity of the motor rotor; u d1 and u q1 These are the d-axis fundamental voltage and the q-axis fundamental voltage, respectively.
[0024] Furthermore, when calibrating the harmonic injection voltage in step S2, the phase and amplitude should be changed at the same speed and torque to lock in the optimal harmonic voltage calibration value.
[0025] Furthermore, in step S2, the derivation formula for the order frequency is set as follows: the frequency corresponding to the motor speed is called the fundamental frequency, i.e., the first order; the noise n times the fundamental frequency is called the Nth order noise; once the motor speed is determined, the order frequency observed online, i.e., the order frequency, can be derived using the following formula:
[0026] f = n / 10 * p (3)
[0027] Where f is the order frequency that needs to be observed online; n is the mechanical speed of the motor in rpm; and p is the number of pole pairs of the motor.
[0028] Further, in step S1, the sensors of the NVH equipment are arranged in the X, Y, and Z directions of the powertrain under test, and the vibration amount or noise value of a set order in the tangential force direction under different speeds and torques is recorded.
[0029] The beneficial effects of this invention are:
[0030] (1) Voltage harmonic injection adopts the direct voltage injection method, which eliminates the need for harmonic current extraction, coordinate transformation, filtering and current PI and many other data calculation processes. It has the least impact on the vector control algorithm modification. The offline identification method saves valuable CPU execution time, has low requirements on the main control chip's main frequency hardware attributes, and has a wider range of applications.
[0031] (2) Voltage harmonic injection method does not have a harmonic current PI link and a high-frequency current control link, so it is not limited by the carrier frequency. The range of harmonic injection is wider than that of current injection method.
[0032] (3) The voltage harmonic calibration method is easy to implement and has a good effect on improving noise. It can generally reduce noise by 5 to 10 dB compared with before harmonic injection. Attached Figure Description
[0033] Figure 1 This is a harmonic injection algorithm block diagram of a method for voltage harmonic injection in a permanent magnet synchronous motor for electric vehicles according to the present invention;
[0034] Figure 2 This is a harmonic injection calibration meter for a method of voltage harmonic injection in a permanent magnet synchronous motor for electric vehicles according to the present invention;
[0035] Figure 3 This invention relates to a method for voltage harmonic injection in a permanent magnet synchronous motor for electric vehicles, and includes a 50% maximum throttle acceleration NVH test (motor 3 pole pairs).
[0036] Figure 4 This invention relates to a method for voltage harmonic injection in a permanent magnet synchronous motor for electric vehicles, and includes a 70% maximum throttle acceleration NVH test (motor 3 pole pairs).
[0037] Figure 5 This invention relates to a method for voltage harmonic injection in a permanent magnet synchronous motor for electric vehicles, and includes a 100% maximum throttle acceleration NVH test (motor 3 pole pairs). Detailed Implementation
[0038] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to specific embodiments and the accompanying drawings. It should be understood that these descriptions are merely exemplary and not intended to limit the scope of the invention. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concept of the invention.
[0039] The preferred embodiments of the present invention will be further described below with reference to the accompanying drawings.
[0040] Example 1:
[0041] like Figure 1 As shown, a method for voltage harmonic injection in a permanent magnet synchronous motor for electric vehicles includes the following steps:
[0042] A method for voltage harmonic injection in a permanent magnet synchronous motor for electric vehicles, characterized by comprising the following steps:
[0043] S1: Use NVH equipment to collect noise and vibration data of the vehicle at different speeds and torques, and filter out the working range of speed and torque when the noise and vibration are large, for use in calibrating the NVH of the automotive electric axle assembly; arrange the sensors of the NVH equipment in the X, Y, and Z directions of the powertrain under test, and record the vibration or noise values of a set order in the tangential force direction at different speeds and torques.
[0044] S2: Based on the speed and torque operating range with high noise and vibration selected in S1, design the data points to be calibrated for harmonic voltage injection; start testing from the 5th harmonic voltage, scan and inject at fixed intervals within the range of 0 to 2π, observe the changes in the set order frequency or noise value online, determine the phase angle of the harmonic injection voltage, and then increase the amplitude of the harmonic injection voltage until the noise or vibration becomes large; then test the 7th harmonic voltage, and after scanning all the speed and torque ranges that require harmonic injection, record the amplitude and phase angle information of the 5th and 7th harmonic injection voltages in a two-dimensional program table;
[0045] Where u5 and u7 are the amplitudes of the 5th and 7th harmonic voltages, respectively; θ5 and θ7 are the initial phase angles of the 5th and 7th harmonic voltages, respectively; ω is the electrical angular velocity of the motor rotor; u d1 and u q1 These are the d-axis fundamental voltage and the q-axis fundamental voltage, respectively.
[0046] S3: Based on the data recorded in the two-dimensional program table calibrated in S2, calculate the total d-axis voltage u with 5th and 7th harmonics. d and q-axis total voltage u q ;
[0047] The total voltage u along the d-axisd and q-axis total voltage u q The calculation formula is:
[0048] u d =u d1 +u5 sin(6ωt+θ5)+u7 sin(6ωt+θ7) (1)
[0049] u q =u q1 +u5 cos(6ωt+θ5)-u7cos(6ωt+θ7) (2)
[0050] S4: In actual operation, after determining the speed and torque range that need to be improved, the amplitude and phase of the harmonic injection voltage that need to be compensated are retrieved through the two-dimensional program table described in S2 in order to improve the NVH performance of the bridge assembly.
[0051] When calibrating the harmonic injection voltage in step S2, the phase and amplitude should be changed at the same speed and torque to lock in the optimal harmonic voltage calibration value.
[0052] In step S2, the derivation formula for the order frequency is as follows: the frequency corresponding to the motor speed is called the fundamental frequency, i.e., the first order; the noise n times the fundamental frequency is called the Nth order noise; once the motor speed is determined, the order frequency observed online can be derived using the following formula:
[0053] f = n / 10 * p (3)
[0054] Where f is the order frequency that needs to be observed online; n is the mechanical speed of the motor in rpm; and p is the number of pole pairs of the motor.
[0055] Example 2:
[0056] Figures 3 to 5 The data presented here are actual measurement data from the implementation of this patent. The vibration levels at 18 characteristic frequencies were evaluated for a three-pole permanent magnet synchronous motor. Typical NVH acceleration tests were conducted at 50%, 70%, and 100% throttle. The curve before harmonic voltage injection is dark, while the curve after injection is light. As shown in the figure, harmonic voltage injection can effectively reduce the original vibration level by more than 50%.
[0057] It should be understood that the specific embodiments described above are merely illustrative or explanatory of the principles of the invention and do not constitute a limitation thereof. Therefore, any modifications, equivalent substitutions, improvements, etc., made without departing from the spirit and scope of the invention should be included within the protection scope of the invention. Furthermore, the appended claims are intended to cover all variations and modifications falling within the scope and boundaries of the appended claims, or equivalent forms of such scope and boundaries.
Claims
1. A method for voltage harmonic injection in a permanent magnet synchronous motor for electric vehicles, characterized in that, Includes the following steps: S1: Use NVH equipment to collect noise and vibration data of the vehicle at different speeds and torques, and filter out the working range of speed and torque when the noise and vibration are large, for use in NVH calibration of the automotive electric axle assembly; S2: Based on the speed and torque operating range with high noise and vibration selected in S1, design the data points to be calibrated for harmonic voltage injection; start testing from the 5th harmonic voltage, scan and inject at fixed intervals within the range of 0~2π, observe the changes in the set order frequency or noise value online, determine the phase angle of the harmonic injection voltage, and then increase the amplitude of the harmonic injection voltage until the noise or vibration becomes large; then test the 7th harmonic voltage, and after scanning all the speed and torque ranges that require harmonic injection, record the amplitude and phase angle information of the 5th and 7th harmonic injection voltages in a two-dimensional program table; S3: Based on the data recorded in the two-dimensional program table calibrated in S2, calculate the total d-axis voltage u with 5th and 7th harmonics. d and q-axis total voltage u q ; S4: In actual operation, after determining the speed and torque range that need to be improved, the amplitude and phase of the harmonic injection voltage that need to be compensated are retrieved through the two-dimensional program table described in S2 in order to improve the NVH performance of the bridge assembly.
2. The method for voltage harmonic injection in a permanent magnet synchronous motor for electric vehicles according to claim 1, characterized in that: The total d-axis voltage u mentioned in step S3 d and q-axis total voltage u q The calculation formula is: u d =u d1 +u5 sin(6ωt+θ5)+u7 sin(6ωt+θ7) (1) u q =u q1 +u5 cos(6ωt+θ5)-u7 cos(6ωt+θ7) (2) Where u5 and u7 are the amplitudes of the 5th and 7th harmonic voltages, respectively; θ5 and θ7 are the initial phase angles of the 5th and 7th harmonic voltages, respectively; ω is the electrical angular velocity of the motor rotor; u d1 and u q1 These are the d-axis fundamental voltage and the q-axis fundamental voltage, respectively.
3. The method for voltage harmonic injection in a permanent magnet synchronous motor for electric vehicles according to claim 1, characterized in that: When calibrating the harmonic injection voltage in step S2, the phase and amplitude should be changed at the same speed and torque to lock in the optimal harmonic voltage calibration value.
4. The method for voltage harmonic injection in a permanent magnet synchronous motor for electric vehicles according to claim 1, characterized in that: In step S2, the derivation formula for the order frequency is as follows: the frequency corresponding to the motor speed is called the fundamental frequency, i.e., the first order; the noise n times the fundamental frequency is called the Nth order noise; once the motor speed is determined, the order frequency observed online can be derived using the following formula: f = n / 10 * p (3) Where f is the order frequency that needs to be observed online; n is the mechanical speed of the motor in rpm; and p is the number of pole pairs of the motor.
5. The method for voltage harmonic injection in a permanent magnet synchronous motor for electric vehicles according to any one of claims 1-4, characterized in that: Step S1 involves arranging the sensors of the NVH equipment in the X, Y, and Z directions of the powertrain under test, and recording the vibration or noise values of a set order in the tangential force direction under different speeds and torques.
Citation Information
Patent Citations
Control method and system for suppressing torque ripples of motor under unbalanced load
CN106972798A
Harmonic injection method, device and equipment of permanent magnet synchronous motor
CN115955159A
